From 37495e3e4a90dc9c5abbf74e7d58152a9af10daf Mon Sep 17 00:00:00 2001 From: ItsSudip Date: Sun, 8 Oct 2023 18:44:07 +0530 Subject: [PATCH 01/98] fix: create instance of transformedObj --- src/controllers/eventTest.ts | 2 +- src/services/eventTest/eventTester.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/eventTest.ts b/src/controllers/eventTest.ts index db6fc8cb6f..8888b63807 100644 --- a/src/controllers/eventTest.ts +++ b/src/controllers/eventTest.ts @@ -19,7 +19,7 @@ export default class EventTestController { }; ctx.status = 400; } - ctx.set('apiVersion', this.API_VERSION); + ctx.set('apiVersion', EventTestController.API_VERSION); } public static status(ctx: Context) { diff --git a/src/services/eventTest/eventTester.ts b/src/services/eventTest/eventTester.ts index d4f30fff78..a3755d3e80 100644 --- a/src/services/eventTest/eventTester.ts +++ b/src/services/eventTest/eventTester.ts @@ -11,7 +11,7 @@ export default class EventTesterService { function capitalize(s) { return s === 'id' ? s.toUpperCase() : s.charAt(0).toUpperCase() + s.slice(1); } - let transformedObj: FixMe; + const transformedObj: FixMe = {}; const { destinationDefinition } = dest; Object.keys(dest).forEach((key) => { transformedObj[capitalize(key)] = dest[key]; @@ -54,7 +54,7 @@ export default class EventTesterService { libraries, }; - let response: FixMe; + let response: FixMe = {}; let errorFound = false; if (stage.user_transform) { From 1ba7d2225e3ff2a0f499e4c52b6f9df73dea9a85 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 9 Oct 2023 10:22:15 +0000 Subject: [PATCH 02/98] chore(release): 1.44.2 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a92a073191..b7341a6623 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.44.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.1...v1.44.2) (2023-10-09) + + +### Bug Fixes + +* create instance of transformedObj ([37495e3](https://github.com/rudderlabs/rudder-transformer/commit/37495e3e4a90dc9c5abbf74e7d58152a9af10daf)) + ### [1.44.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.0...v1.44.1) (2023-10-06) diff --git a/package-lock.json b/package-lock.json index f39c2db7b4..e88cdfe9f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.44.1", + "version": "1.44.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.44.1", + "version": "1.44.2", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 43b4abbb86..88d99217b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.44.1", + "version": "1.44.2", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 6bdb01e1152f52339dc6d1936cbe686e64faf070 Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:09:19 +0530 Subject: [PATCH 03/98] feat(integrations): introduced new status codes to suppress or filter events (#2611) * feat(integrations): introduced new actions to suppress or filter events * feat(integrations): introduced new actions to suppress or filter events * chore: klaviyo multiple response action fix * chore: statuscode changes * chore: introduce new statuscode for filter and suppress events * chore: code review changes * chore: added support of server<>transformer cross compatibility * chore: code review changes * chore: added new status code tests for braze * chore: added new tests for both transformer versions - with status code and without status code * chore: code review changes * chore: code review changes * chore: code review changes --- src/routes/destination.ts | 6 +- src/services/destination/nativeIntegration.ts | 15 +- src/services/misc.ts | 1 + src/util/errorNotifier/bugsnag.js | 2 + src/v0/destinations/braze/transform.js | 22 +- src/v0/destinations/braze/util.js | 9 +- src/v0/destinations/klaviyo/transform.js | 80 +- src/v0/destinations/klaviyo/util.js | 48 +- src/v0/util/constant.js | 12 +- src/v0/util/errorTypes/filteredEventsError.js | 14 + src/v0/util/errorTypes/index.js | 2 + src/v0/util/index.js | 22 +- src/v0/util/tags.js | 1 + test/__mocks__/klaviyo.mock.js | 1 + test/__tests__/braze.test.js | 55 +- test/__tests__/data/braze_router.json | 1036 +++++++++++++++++ test/__tests__/data/braze_router_input.json | 416 ------- test/__tests__/data/braze_router_output.json | 281 ----- test/__tests__/data/klaviyo.json | 116 +- test/__tests__/data/klaviyo_router.json | 599 ++++++++++ test/__tests__/data/klaviyo_router_input.json | 227 ---- .../__tests__/data/klaviyo_router_output.json | 202 ---- test/__tests__/klaviyo.test.js | 23 +- 23 files changed, 1927 insertions(+), 1263 deletions(-) create mode 100644 src/v0/util/errorTypes/filteredEventsError.js create mode 100644 test/__tests__/data/braze_router.json delete mode 100644 test/__tests__/data/braze_router_input.json delete mode 100644 test/__tests__/data/braze_router_output.json create mode 100644 test/__tests__/data/klaviyo_router.json delete mode 100644 test/__tests__/data/klaviyo_router_input.json delete mode 100644 test/__tests__/data/klaviyo_router_output.json diff --git a/src/routes/destination.ts b/src/routes/destination.ts index ee19fd1246..3d4be42ff3 100644 --- a/src/routes/destination.ts +++ b/src/routes/destination.ts @@ -1,6 +1,7 @@ import Router from '@koa/router'; import DestinationController from '../controllers/destination'; import RegulationController from '../controllers/regulation'; +import FeatureFlagController from '../middlewares/featureFlag'; import RouteActivationController from '../middlewares/routeActivation'; const router = new Router(); @@ -9,22 +10,25 @@ router.post( '/:version/destinations/:destination', RouteActivationController.isDestinationRouteActive, RouteActivationController.destinationProcFilter, + FeatureFlagController.handle, DestinationController.destinationTransformAtProcessor, ); router.post( '/routerTransform', RouteActivationController.isDestinationRouteActive, RouteActivationController.destinationRtFilter, + FeatureFlagController.handle, DestinationController.destinationTransformAtRouter, ); router.post( '/batch', RouteActivationController.isDestinationRouteActive, RouteActivationController.destinationBatchFilter, + FeatureFlagController.handle, DestinationController.batchProcess, ); router.post('/deleteUsers', RegulationController.deleteUsers); const destinationRoutes = router.routes(); -export default destinationRoutes; \ No newline at end of file +export default destinationRoutes; diff --git a/src/services/destination/nativeIntegration.ts b/src/services/destination/nativeIntegration.ts index 49fb806094..a788b388e4 100644 --- a/src/services/destination/nativeIntegration.ts +++ b/src/services/destination/nativeIntegration.ts @@ -50,7 +50,7 @@ export default class NativeIntegrationDestinationService implements IntegrationD events: ProcessorTransformationRequest[], destinationType: string, version: string, - _requestMetadata: NonNullable, + requestMetadata: NonNullable, ): Promise { const destHandler = FetchHandler.getDestHandler(destinationType, version); const respList: ProcessorTransformationResponse[][] = await Promise.all( @@ -58,7 +58,7 @@ export default class NativeIntegrationDestinationService implements IntegrationD try { const transformedPayloads: | ProcessorTransformationOutput - | ProcessorTransformationOutput[] = await destHandler.process(event); + | ProcessorTransformationOutput[] = await destHandler.process(event, requestMetadata); return DestinationPostTransformationService.handleProcessorTransformSucessEvents( event, transformedPayloads, @@ -88,7 +88,7 @@ export default class NativeIntegrationDestinationService implements IntegrationD events: RouterTransformationRequestData[], destinationType: string, version: string, - _requestMetadata: NonNullable, + requestMetadata: NonNullable, ): Promise { const destHandler = FetchHandler.getDestHandler(destinationType, version); const allDestEvents: NonNullable = groupBy( @@ -106,7 +106,7 @@ export default class NativeIntegrationDestinationService implements IntegrationD ); try { const doRouterTransformationResponse: RouterTransformationResponse[] = - await destHandler.processRouterDest(cloneDeep(destInputArray)); + await destHandler.processRouterDest(cloneDeep(destInputArray), requestMetadata); metaTO.metadata = destInputArray[0].metadata; return DestinationPostTransformationService.handleRouterTransformSuccessEvents( doRouterTransformationResponse, @@ -132,7 +132,7 @@ export default class NativeIntegrationDestinationService implements IntegrationD events: RouterTransformationRequestData[], destinationType: string, version: any, - _requestMetadata: NonNullable, + requestMetadata: NonNullable, ): RouterTransformationResponse[] { const destHandler = FetchHandler.getDestHandler(destinationType, version); if (!destHandler.batch) { @@ -145,7 +145,10 @@ export default class NativeIntegrationDestinationService implements IntegrationD const groupedEvents: RouterTransformationRequestData[][] = Object.values(allDestEvents); const response = groupedEvents.map((destEvents) => { try { - const destBatchedRequests: RouterTransformationResponse[] = destHandler.batch(destEvents); + const destBatchedRequests: RouterTransformationResponse[] = destHandler.batch( + destEvents, + requestMetadata, + ); return destBatchedRequests; } catch (error: any) { const metaTO = this.getTags( diff --git a/src/services/misc.ts b/src/services/misc.ts index fe38b5b2bd..4c3e2ae6da 100644 --- a/src/services/misc.ts +++ b/src/services/misc.ts @@ -30,6 +30,7 @@ export default class MiscService { return { namespace: 'Unknown', cluster: 'Unknown', + features: ctx.state?.features || {}, }; } diff --git a/src/util/errorNotifier/bugsnag.js b/src/util/errorNotifier/bugsnag.js index 09b2cd9f71..a88432f23d 100644 --- a/src/util/errorNotifier/bugsnag.js +++ b/src/util/errorNotifier/bugsnag.js @@ -23,6 +23,7 @@ const { UnhandledStatusCodeError, UnauthorizedError, NetworkInstrumentationError, + FilteredEventsError, } = require('../../v0/util/errorTypes'); const { @@ -48,6 +49,7 @@ const errorTypesDenyList = [ NetworkInstrumentationError, CDKCustomError, DataValidationError, + FilteredEventsError, ]; const pathsDenyList = [ diff --git a/src/v0/destinations/braze/transform.js b/src/v0/destinations/braze/transform.js index 5f651041ea..9816d792f1 100644 --- a/src/v0/destinations/braze/transform.js +++ b/src/v0/destinations/braze/transform.js @@ -22,8 +22,13 @@ const { isHttpStatusSuccess, simpleProcessRouterDestSync, simpleProcessRouterDest, + isNewStatusCodesAccepted, } = require('../../util'); -const { InstrumentationError, NetworkError } = require('../../util/errorTypes'); +const { + InstrumentationError, + NetworkError, + FilteredEventsError, +} = require('../../util/errorTypes'); const { ConfigCategory, mappingConfig, @@ -223,7 +228,13 @@ async function processIdentify(message, destination) { } } -function processTrackWithUserAttributes(message, destination, mappingJson, processParams) { +function processTrackWithUserAttributes( + message, + destination, + mappingJson, + processParams, + reqMetadata, +) { let payload = getUserAttributesObject(message, mappingJson); if (payload && Object.keys(payload).length > 0) { payload = setExternalIdOrAliasObject(payload, message); @@ -236,6 +247,10 @@ function processTrackWithUserAttributes(message, destination, mappingJson, proce ); if (dedupedAttributePayload) { requestJson.attributes = [dedupedAttributePayload]; + } else if (isNewStatusCodesAccepted(reqMetadata)) { + throw new FilteredEventsError( + '[Braze Deduplication]: Duplicate user detected, the user is dropped', + ); } else { throw new InstrumentationError( '[Braze Deduplication]: Duplicate user detected, the user is dropped', @@ -444,7 +459,7 @@ function processAlias(message, destination) { ); } -async function process(event, processParams = { userStore: new Map() }) { +async function process(event, processParams = { userStore: new Map() }, reqMetadata = {}) { let response; const { message, destination } = event; const messageType = message.type.toLowerCase(); @@ -490,6 +505,7 @@ async function process(event, processParams = { userStore: new Map() }) { destination, mappingConfig[category.name], processParams, + reqMetadata, ); break; case EventType.GROUP: diff --git a/src/v0/destinations/braze/util.js b/src/v0/destinations/braze/util.js index 0793ca5891..f9bcdb9496 100644 --- a/src/v0/destinations/braze/util.js +++ b/src/v0/destinations/braze/util.js @@ -22,7 +22,7 @@ const { ALIAS_BRAZE_MAX_REQ_COUNT, TRACK_BRAZE_MAX_REQ_COUNT, } = require('./config'); -const { JSON_MIME_TYPE } = require('../../util/constant'); +const { JSON_MIME_TYPE, HTTP_STATUS_CODES } = require('../../util/constant'); const { isObject } = require('../../util'); const { removeUndefinedValues, getIntegrationsObj } = require('../../util'); const { InstrumentationError } = require('../../util/errorTypes'); @@ -363,11 +363,14 @@ const processBatch = (transformedEvents) => { const purchaseArray = []; const successMetadata = []; const failureResponses = []; + const filteredResponses = []; const subscriptionsArray = []; const mergeUsersArray = []; for (const transformedEvent of transformedEvents) { if (!isHttpStatusSuccess(transformedEvent?.statusCode)) { failureResponses.push(transformedEvent); + } else if (transformedEvent?.statusCode === HTTP_STATUS_CODES.FILTER_EVENTS) { + filteredResponses.push(transformedEvent); } else if (transformedEvent?.batchedRequest?.body?.JSON) { const { attributes, events, purchases, subscription_groups, merge_updates } = transformedEvent.batchedRequest.body.JSON; @@ -446,6 +449,10 @@ const processBatch = (transformedEvents) => { finalResponse.push(...failureResponses); } + if (filteredResponses.length > 0) { + finalResponse.push(...filteredResponses); + } + return finalResponse; }; diff --git a/src/v0/destinations/klaviyo/transform.js b/src/v0/destinations/klaviyo/transform.js index 86d5880e4c..b235748fdd 100644 --- a/src/v0/destinations/klaviyo/transform.js +++ b/src/v0/destinations/klaviyo/transform.js @@ -34,10 +34,10 @@ const { checkInvalidRtTfEvents, handleRtTfSingleEventError, flattenJson, + isNewStatusCodesAccepted, } = require('../../util'); - const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); -const { JSON_MIME_TYPE } = require('../../util/constant'); +const { JSON_MIME_TYPE, HTTP_STATUS_CODES } = require('../../util/constant'); /** * Main Identify request handler func @@ -49,9 +49,10 @@ const { JSON_MIME_TYPE } = require('../../util/constant'); * @param {*} message * @param {*} category * @param {*} destination + * @param {*} reqMetadata * @returns */ -const identifyRequestHandler = async (message, category, destination) => { +const identifyRequestHandler = async (message, category, destination, reqMetadata) => { // If listId property is present try to subscribe/member user in list const { privateApiKey, enforceEmailAsPrimary, listId, flattenProperties } = destination.Config; const mappedToDestination = get(message, MappedToDestinationKey); @@ -105,17 +106,40 @@ const identifyRequestHandler = async (message, category, destination) => { }, }; - const profileId = await getIdFromNewOrExistingProfile(endpoint, payload, requestOptions); + const { profileId, response, statusCode } = await getIdFromNewOrExistingProfile( + endpoint, + payload, + requestOptions, + ); - // Update Profile - const responseArray = [profileUpdateResponseBuilder(payload, profileId, category, privateApiKey)]; + const responseMap = { + profileUpdateResponse: profileUpdateResponseBuilder( + payload, + profileId, + category, + privateApiKey, + ), + }; // check if user wants to subscribe profile or not and listId is present or not if (traitsInfo?.properties?.subscribe && (traitsInfo.properties?.listId || listId)) { - responseArray.push(subscribeUserToList(message, traitsInfo, destination)); - return responseArray; + responseMap.subscribeUserToListResponse = subscribeUserToList(message, traitsInfo, destination); + } + + if (isNewStatusCodesAccepted(reqMetadata) && statusCode === HTTP_STATUS_CODES.CREATED) { + responseMap.suppressEventResponse = { + ...responseMap.profileUpdateResponse, + statusCode: HTTP_STATUS_CODES.SUPPRESS_EVENTS, + error: JSON.stringify(response), + }; + return responseMap.subscribeUserToListResponse + ? [responseMap.subscribeUserToListResponse] + : responseMap.suppressEventResponse; } - return responseArray[0]; + + return responseMap.subscribeUserToListResponse + ? [responseMap.profileUpdateResponse, responseMap.subscribeUserToListResponse] + : responseMap.profileUpdateResponse; }; // ---------------------- @@ -241,7 +265,7 @@ const groupRequestHandler = (message, category, destination) => { }; // Main event processor using specific handler funcs -const processEvent = async (message, destination) => { +const processEvent = async (message, destination, reqMetadata) => { if (!message.type) { throw new InstrumentationError('Event type is required'); } @@ -255,7 +279,7 @@ const processEvent = async (message, destination) => { switch (messageType) { case EventType.IDENTIFY: category = CONFIG_CATEGORIES.IDENTIFY; - response = await identifyRequestHandler(message, category, destination); + response = await identifyRequestHandler(message, category, destination, reqMetadata); break; case EventType.SCREEN: case EventType.TRACK: @@ -272,8 +296,8 @@ const processEvent = async (message, destination) => { return response; }; -const process = async (event) => { - const result = await processEvent(event.message, event.destination); +const process = async (event, reqMetadata) => { + const result = await processEvent(event.message, event.destination, reqMetadata); return result; }; @@ -312,7 +336,7 @@ const processRouterDest = async (inputs, reqMetadata) => { // if not transformed getEventChunks( { - message: await process(event), + message: await process(event, reqMetadata), metadata: event.metadata, destination, }, @@ -326,13 +350,31 @@ const processRouterDest = async (inputs, reqMetadata) => { } }), ); - let batchedSubscribeResponseList = []; + const batchedSubscribeResponseList = []; if (subscribeRespList.length > 0) { - batchedSubscribeResponseList = batchSubscribeEvents(subscribeRespList); + const batchedResponseList = batchSubscribeEvents(subscribeRespList); + batchedSubscribeResponseList.push(...batchedResponseList); } - const nonSubscribeSuccessList = nonSubscribeRespList.map((resp) => - getSuccessRespEvents(resp.message, [resp.metadata], resp.destination), - ); + const nonSubscribeSuccessList = nonSubscribeRespList.map((resp) => { + const response = resp; + const { message, metadata, destination: eventDestination } = response; + if ( + isNewStatusCodesAccepted(reqMetadata) && + message?.statusCode && + message.statusCode === HTTP_STATUS_CODES.SUPPRESS_EVENTS + ) { + delete message.statusCode; + return getSuccessRespEvents( + message, + [metadata], + eventDestination, + false, + HTTP_STATUS_CODES.SUPPRESS_EVENTS, + ); + } + return getSuccessRespEvents(message, [metadata], eventDestination); + }); + batchResponseList = [...batchedSubscribeResponseList, ...nonSubscribeSuccessList]; return [...batchResponseList, ...batchErrorRespList]; diff --git a/src/v0/destinations/klaviyo/util.js b/src/v0/destinations/klaviyo/util.js index 21a492739b..4304edd78f 100644 --- a/src/v0/destinations/klaviyo/util.js +++ b/src/v0/destinations/klaviyo/util.js @@ -12,14 +12,13 @@ const { getSuccessRespEvents, defaultPatchRequestConfig, } = require('../../util'); - -const { BASE_ENDPOINT, MAPPING_CONFIG, CONFIG_CATEGORIES, MAX_BATCH_SIZE } = require('./config'); -const { JSON_MIME_TYPE } = require('../../util/constant'); -const { NetworkError, InstrumentationError } = require('../../util/errorTypes'); -const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const tags = require('../../util/tags'); const { handleHttpRequest } = require('../../../adapters/network'); +const { JSON_MIME_TYPE, HTTP_STATUS_CODES } = require('../../util/constant'); +const { NetworkError, InstrumentationError } = require('../../util/errorTypes'); +const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const { client: errNotificationClient } = require('../../../util/errorNotifier'); +const { BASE_ENDPOINT, MAPPING_CONFIG, CONFIG_CATEGORIES, MAX_BATCH_SIZE } = require('./config'); const REVISION_CONSTANT = '2023-02-22'; @@ -35,6 +34,7 @@ const REVISION_CONSTANT = '2023-02-22'; * @returns */ const getIdFromNewOrExistingProfile = async (endpoint, payload, requestOptions) => { + let response; let profileId; const endpointPath = '/api/profiles'; const { processedResponse: resp } = await handleHttpRequest( @@ -48,15 +48,22 @@ const getIdFromNewOrExistingProfile = async (endpoint, payload, requestOptions) endpointPath, }, ); - if (resp.status === 201) { + + /** + * 201 - profile is created with updated payload no need to update it again (suppress event with 299 status code) + * 409 - profile is already exist, it needs to get updated + */ + if (resp.status === HTTP_STATUS_CODES.CREATED) { profileId = resp.response?.data?.id; - } else if (resp.status === 409) { + const { data } = resp.response; + response = { id: data.id, attributes: data.attributes }; + } else if (resp.status === HTTP_STATUS_CODES.CONFLICT) { const { errors } = resp.response; profileId = errors?.[0]?.meta?.duplicate_profile_id; } if (profileId) { - return profileId; + return { profileId, response, statusCode: resp.status }; } let statusCode = resp.status; @@ -80,6 +87,14 @@ const getIdFromNewOrExistingProfile = async (endpoint, payload, requestOptions) ); }; +/** + * Update profile response builder + * @param {*} payload + * @param {*} profileId + * @param {*} category + * @param {*} privateApiKey + * @returns + */ const profileUpdateResponseBuilder = (payload, profileId, category, privateApiKey) => { const updatedPayload = payload; const identifyResponse = defaultRequestConfig(); @@ -238,7 +253,7 @@ const generateBatchedPaylaodForArray = (events) => { * @param {*} subscribeResponseList * @returns */ -const groupSubsribeResponsesUsingListId = (subscribeResponseList) => { +const groupSubscribeResponsesUsingListId = (subscribeResponseList) => { const subscribeEventGroups = lodash.groupBy( subscribeResponseList, (event) => event.message.body.JSON.data.attributes.list_id, @@ -262,9 +277,13 @@ const getBatchedResponseList = (subscribeEventGroups, identifyResponseList) => { }); batchedResponseList = [...batchedResponseList, ...batchedResponse]; }); - identifyResponseList.forEach((response) => { - batchedResponseList[0].batchedRequest.push(response); - }); + + if (identifyResponseList.length > 0) { + identifyResponseList.forEach((response) => { + batchedResponseList[0].batchedRequest.push(response); + }); + } + return batchedResponseList; }; @@ -272,6 +291,7 @@ const batchSubscribeEvents = (subscribeRespList) => { const identifyResponseList = []; subscribeRespList.forEach((event) => { const processedEvent = event; + // for group and identify events (it will contain only subscribe response) if (processedEvent.message.length === 2) { // the array will contain one update profile reponse and one subscribe reponse identifyResponseList.push(event.message[0]); @@ -282,7 +302,7 @@ const batchSubscribeEvents = (subscribeRespList) => { } }); - const subscribeEventGroups = groupSubsribeResponsesUsingListId(subscribeRespList); + const subscribeEventGroups = groupSubscribeResponsesUsingListId(subscribeRespList); const batchedResponseList = getBatchedResponseList(subscribeEventGroups, identifyResponseList); @@ -295,6 +315,6 @@ module.exports = { populateCustomFieldsFromTraits, generateBatchedPaylaodForArray, batchSubscribeEvents, - getIdFromNewOrExistingProfile, profileUpdateResponseBuilder, + getIdFromNewOrExistingProfile, }; diff --git a/src/v0/util/constant.js b/src/v0/util/constant.js index a06fbd8b9a..50f1b76a74 100644 --- a/src/v0/util/constant.js +++ b/src/v0/util/constant.js @@ -10,6 +10,8 @@ const API_CALL = 'api_call_count'; const JSON_MIME_TYPE = 'application/json'; +const FEATURE_FILTER_CODE = 'filter-code'; + const HTTP_STATUS_CODES = { // 1xx Informational CONTINUE: 100, @@ -25,6 +27,8 @@ const HTTP_STATUS_CODES = { RESET_CONTENT: 205, PARTIAL_CONTENT: 206, MULTI_STATUS: 207, + FILTER_EVENTS: 298, + SUPPRESS_EVENTS: 299, // 3xx Redirection MULTIPLE_CHOICES: 300, @@ -75,14 +79,14 @@ const HTTP_STATUS_CODES = { GATEWAY_TIMEOUT: 504, HTTP_VERSION_NOT_SUPPORTED: 505, INSUFFICIENT_STORAGE: 507, - NETWORK_AUTHENTICATION_REQUIRED: 511 + NETWORK_AUTHENTICATION_REQUIRED: 511, }; - module.exports = { API_CALL, AUTH_CACHE_TTL, - USER_LEAD_CACHE_TTL, JSON_MIME_TYPE, - HTTP_STATUS_CODES + HTTP_STATUS_CODES, + USER_LEAD_CACHE_TTL, + FEATURE_FILTER_CODE, }; diff --git a/src/v0/util/errorTypes/filteredEventsError.js b/src/v0/util/errorTypes/filteredEventsError.js new file mode 100644 index 0000000000..35a384f4e3 --- /dev/null +++ b/src/v0/util/errorTypes/filteredEventsError.js @@ -0,0 +1,14 @@ +const tags = require('../tags'); +const { BaseError } = require('./base'); +const { HTTP_STATUS_CODES } = require('../constant'); + +class FilteredEventsError extends BaseError { + constructor(message, statusCode = HTTP_STATUS_CODES.FILTER_EVENTS) { + const finalStatTags = { + [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.TRANSFORMATION, + }; + super(message, statusCode, finalStatTags); + } +} + +module.exports = FilteredEventsError; diff --git a/src/v0/util/errorTypes/index.js b/src/v0/util/errorTypes/index.js index 01708caa15..2926306dcd 100644 --- a/src/v0/util/errorTypes/index.js +++ b/src/v0/util/errorTypes/index.js @@ -14,6 +14,7 @@ const UnhandledStatusCodeError = require('./unhandledStatusCodeError'); const UnauthorizedError = require('./unauthorizedError'); const NetworkInstrumentationError = require('./networkInstrumentationError'); const UnsupportedEventError = require('./unsupportedEventError'); +const FilteredEventsError = require('./filteredEventsError'); module.exports = { BaseError, @@ -32,4 +33,5 @@ module.exports = { NetworkInstrumentationError, UnsupportedEventError, RedisError, + FilteredEventsError, }; diff --git a/src/v0/util/index.js b/src/v0/util/index.js index 42a4100510..71c89a5a86 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -32,6 +32,7 @@ const { REFRESH_TOKEN, AUTH_STATUS_INACTIVE, } = require('../../adapters/networkhandler/authConstants'); +const { FEATURE_FILTER_CODE } = require('./constant'); // ======================================================================== // INLINERS // ======================================================================== @@ -78,6 +79,14 @@ const isPrimitive = (arg) => { return arg == null || (type !== 'object' && type !== 'function'); }; +const isNewStatusCodesAccepted = (reqMetadata = {}) => { + if (reqMetadata && typeof reqMetadata === 'object' && !Array.isArray(reqMetadata)) { + const { features } = reqMetadata; + return !!(features && features[FEATURE_FILTER_CODE]); + } + return false; +}; + /** * * @param {*} arg @@ -454,11 +463,17 @@ const defaultBatchRequestConfig = () => ({ // Router transformer // Success responses -const getSuccessRespEvents = (message, metadata, destination, batched = false) => ({ +const getSuccessRespEvents = ( + message, + metadata, + destination, + batched = false, + statusCode = 200, +) => ({ batchedRequest: message, metadata, batched, - statusCode: 200, + statusCode, destination, }); @@ -1704,7 +1719,7 @@ const simpleProcessRouterDestSync = async (inputs, singleTfFunc, reqMetadata, pr // transform if not already done if (!input.message.statusCode) { // eslint-disable-next-line no-await-in-loop - resp = await singleTfFunc(input, processParams); + resp = await singleTfFunc(input, processParams, reqMetadata); } respList.push(getSuccessRespEvents(resp, [input.metadata], input.destination)); } catch (error) { @@ -2129,4 +2144,5 @@ module.exports = { hasCircularReference, getAuthErrCategoryFromErrDetailsAndStCode, getAuthErrCategoryFromStCode, + isNewStatusCodesAccepted, }; diff --git a/src/v0/util/tags.js b/src/v0/util/tags.js index 95e78825c3..81e6b9a2a6 100644 --- a/src/v0/util/tags.js +++ b/src/v0/util/tags.js @@ -51,6 +51,7 @@ const ERROR_TYPES = { OAUTH_SECRET: 'oAuthSecret', UNSUPPORTED: 'unsupported', REDIS: 'redis', + FILTERED: 'filtered', }; const METADATA = { diff --git a/test/__mocks__/klaviyo.mock.js b/test/__mocks__/klaviyo.mock.js index f768af0fb3..020387d1f2 100644 --- a/test/__mocks__/klaviyo.mock.js +++ b/test/__mocks__/klaviyo.mock.js @@ -19,6 +19,7 @@ const klaviyoPostRequestHandler = (url, payload) => { data: { data: { id: '01GW3PHVY0MTCDGS0A1612HARX', + attributes: {} }, } }; diff --git a/test/__tests__/braze.test.js b/test/__tests__/braze.test.js index 9e4a663d51..c1d317c6ba 100644 --- a/test/__tests__/braze.test.js +++ b/test/__tests__/braze.test.js @@ -1,3 +1,4 @@ +const cloneDeep = require('lodash/cloneDeep'); const integration = "braze"; const name = "Braze"; @@ -6,6 +7,7 @@ const path = require("path"); const version = "v0"; +const { FEATURE_FILTER_CODE } = require('../../src/v0/util/constant'); const transformer = require(`../../src/${version}/destinations/${integration}/transform`); const inputDataFile = fs.readFileSync( path.resolve(__dirname, `./data/${integration}_input.json`) @@ -18,38 +20,57 @@ const expectedData = JSON.parse(outputDataFile); inputData.forEach((input, index) => { it(`${name} Tests: payload - ${index}`, async () => { - let output, expected; + let output1, output2, output3, expected; try { - output = await transformer.process(input); + // default reqMetadata + output1 = await transformer.process(cloneDeep(input)); + // null reqMetadata + output2 = await transformer.process(cloneDeep(input), { userStore: new Map() }, null); + // undefined reqMetadata + output3 = await transformer.process(cloneDeep(input), { userStore: new Map() }, undefined); expected = expectedData[index]; } catch (error) { - output = error.message; + output1 = error.message; + output2 = error.message; + output3 = error.message; expected = expectedData[index].message; } - expect(output).toEqual(expected); + expect(output1).toEqual(expected); + expect(output2).toEqual(expected); + expect(output3).toEqual(expected); }); }); + // 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 routerTestDataFile = fs.readFileSync( + path.resolve(__dirname, `./data/${integration}_router.json`) ); -const inputRouterData = JSON.parse(inputRouterDataFile); -const expectedRouterData = JSON.parse(outputRouterDataFile); +const routerTestData = JSON.parse(routerTestDataFile); +const { simpleRouterTestData, dedupEnabledRouterTestData } = routerTestData; describe(`${name} Tests`, () => { describe("Simple Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData.simpleRouterRequests); - expect(routerOutput).toEqual(expectedRouterData.simpleRouterResponse); + simpleRouterTestData.forEach((dataPoint, index) => { + it(`${index}. ${integration} - ${dataPoint.description}`, async () => { + const output = await transformer.processRouterDest(dataPoint.input); + expect(output).toEqual(dataPoint.output); + }); }); }); describe("Dedupenabled Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData.dedupEnabledRouterRequests); - expect(routerOutput).toEqual(expectedRouterData.dedupEnabledRouterResponse); + dedupEnabledRouterTestData.forEach((dataPoint, index) => { + it(`${index}. ${integration} - ${dataPoint.description}`, async () => { + // default reqMetadata + const oldTransformerOutput = await transformer.processRouterDest(cloneDeep(dataPoint.input)); + // valid reqMetadata + const newTransformerOutput = await transformer.processRouterDest(cloneDeep(dataPoint.input), { features: { [FEATURE_FILTER_CODE]: true } }); + // invalid reqMetadata + const invalidRequestMetadataOutput = await transformer.processRouterDest(cloneDeep(dataPoint.input), [{ features: { [FEATURE_FILTER_CODE]: true } }]); + + expect(oldTransformerOutput).toEqual(dataPoint.oldTransformerOutput); + expect(newTransformerOutput).toEqual(dataPoint.newTransformerOutput); + expect(invalidRequestMetadataOutput).toEqual(dataPoint.oldTransformerOutput); + }); }); }); }); diff --git a/test/__tests__/data/braze_router.json b/test/__tests__/data/braze_router.json new file mode 100644 index 0000000000..8bfd7c7d42 --- /dev/null +++ b/test/__tests__/data/braze_router.json @@ -0,0 +1,1036 @@ +{ + "simpleRouterTestData": [ + { + "description": "simple router tests", + "input": [ + { + "destination": { + "Config": { + "restApiKey": "dummyApiKey", + "prefixProperties": true, + "useNativeSDK": false, + "dataCenter": "eu-01" + }, + "DestinationDefinition": { + "DisplayName": "Braze", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "BRAZE" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Braze", + "Transformations": [] + }, + "metadata": { + "jobId": 1 + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": {}, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", + "originalTimestamp": "2020-01-24T06:29:02.358Z", + "properties": { + "path": "/tests/html/index2.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index2.html" + }, + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53708", + "sentAt": "2020-01-24T06:29:02.359Z", + "timestamp": "2020-01-24T11:59:02.402+05:30", + "type": "page", + "userId": "" + } + }, + { + "destination": { + "Config": { + "restApiKey": "dummyApiKey", + "prefixProperties": true, + "useNativeSDK": false, + "dataCenter": "us-01" + }, + "DestinationDefinition": { + "DisplayName": "Braze", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "BRAZE" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Braze", + "Transformations": [] + }, + "metadata": { + "jobId": 2 + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstname": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "originalTimestamp": "2020-01-24T06:29:02.362Z", + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53709", + "sentAt": "2020-01-24T06:29:02.363Z", + "timestamp": "2020-01-24T11:59:02.402+05:30", + "type": "identify", + "userId": "" + } + }, + { + "destination": { + "Config": { + "restApiKey": "dummyApiKey", + "prefixProperties": true, + "useNativeSDK": false, + "dataCenter": "us-01", + "enableSubscriptionGroupInGroupCall": true + }, + "DestinationDefinition": { + "DisplayName": "Braze", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "BRAZE" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Braze", + "Transformations": [] + }, + "metadata": { + "jobId": 3 + }, + "message": { + "anonymousId": "56yrtsdfgbgxcb-22b4-401d-aae5-1b994be9a969", + "groupId": "c90f0fd2-2a02-4f2f-bf07-7e7d2c2ed2b1", + "traits": { + "phone": "5055077683", + "subscriptionState": "subscribed" + }, + "userId": "user123", + "type": "group" + } + }, + { + "destination": { + "Config": { + "restApiKey": "dummyApiKey", + "prefixProperties": true, + "useNativeSDK": false, + "dataCenter": "us-01", + "enableSubscriptionGroupInGroupCall": true + }, + "DestinationDefinition": { + "DisplayName": "Braze", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "BRAZE" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Braze", + "Transformations": [] + }, + "metadata": { + "jobId": 4 + }, + "message": { + "anonymousId": "dfgdfgdfg-22b4-401d-aae5-1b994be9a969", + "groupId": "58d0a278-b55b-4f10-b7d2-98d1c5dd4c30", + "traits": { + "phone": "5055077683", + "subscriptionState": "subscribed" + }, + "userId": "user877", + "type": "group" + } + }, + { + "destination": { + "Config": { + "restApiKey": "dummyApiKey", + "prefixProperties": true, + "useNativeSDK": false, + "dataCenter": "us-01", + "enableSubscriptionGroupInGroupCall": true + }, + "DestinationDefinition": { + "DisplayName": "Braze", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "BRAZE" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Braze", + "Transformations": [] + }, + "metadata": { + "jobId": 5 + }, + "message": { + "type": "alias", + "previousId": "adsfsaf", + "userId": "dsafsdf" + } + }, + { + "destination": { + "Config": { + "restApiKey": "dummyApiKey", + "prefixProperties": true, + "useNativeSDK": false, + "dataCenter": "us-01", + "enableSubscriptionGroupInGroupCall": true + }, + "DestinationDefinition": { + "DisplayName": "Braze", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "BRAZE" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Braze", + "Transformations": [] + }, + "metadata": { + "jobId": 6 + }, + "message": { + "type": "alias", + "previousId": "adsfsaf2", + "userId": "dsafsdf2" + } + } + ], + "output": [ + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://rest.fra-01.braze.eu/users/track", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json", + "Authorization": "Bearer dummyApiKey" + }, + "params": {}, + "body": { + "JSON": { + "partner": "RudderStack", + "events": [ + { + "name": "Page Viewed", + "time": "2020-01-24T11:59:02.402+05:30", + "properties": { + "path": "/tests/html/index2.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index2.html" + }, + "_update_existing_only": false, + "user_alias": { + "alias_name": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "alias_label": "rudder_id" + } + } + ], + "attributes": [ + { + "email": "mickey@disney.com", + "city": "Disney", + "country": "USA", + "firstname": "Mickey", + "_update_existing_only": false, + "user_alias": { + "alias_name": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "alias_label": "rudder_id" + } + } + ] + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://rest.fra-01.braze.eu/v2/subscription/status/set", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json", + "Authorization": "Bearer dummyApiKey" + }, + "params": {}, + "body": { + "JSON": { + "subscription_groups": [ + { + "external_id": ["user123"], + "phones": ["5055077683"], + "subscription_group_id": "c90f0fd2-2a02-4f2f-bf07-7e7d2c2ed2b1", + "subscription_state": "subscribed" + }, + { + "external_id": ["user877"], + "phones": ["5055077683"], + "subscription_group_id": "58d0a278-b55b-4f10-b7d2-98d1c5dd4c30", + "subscription_state": "subscribed" + } + ] + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://rest.fra-01.braze.eu/users/merge", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json", + "Authorization": "Bearer dummyApiKey" + }, + "params": {}, + "body": { + "JSON": { + "merge_updates": [ + { + "identifier_to_keep": { + "external_id": "dsafsdf" + }, + "identifier_to_merge": { + "external_id": "adsfsaf" + } + }, + { + "identifier_to_keep": { + "external_id": "dsafsdf2" + }, + "identifier_to_merge": { + "external_id": "adsfsaf2" + } + } + ] + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + } + ], + "metadata": [ + { + "jobId": 1 + }, + { + "jobId": 2 + }, + { + "jobId": 3 + }, + { + "jobId": 4 + }, + { + "jobId": 5 + }, + { + "jobId": 6 + } + ], + "batched": true, + "statusCode": 200, + "destination": { + "Config": { + "restApiKey": "dummyApiKey", + "prefixProperties": true, + "useNativeSDK": false, + "dataCenter": "eu-01" + }, + "DestinationDefinition": { + "DisplayName": "Braze", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "BRAZE" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Braze", + "Transformations": [] + } + } + ] + } + ], + "dedupEnabledRouterTestData": [ + { + "description": "dedup enabled router tests", + "input": [ + { + "destination": { + "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", + "Name": "Braze-Test", + "Config": { + "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", + "blacklistedEvents": [], + "dataCenter": "US-03", + "enableNestedArrayOperations": false, + "enableSubscriptionGroupInGroupCall": false, + "eventFilteringOption": "disable", + "oneTrustCookieCategories": [], + "restApiKey": "dummyApiKey", + "supportDedup": true, + "trackAnonymousUser": true, + "whitelistedEvents": [] + }, + "Enabled": true, + "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", + "Transformations": [], + "IsProcessorEnabled": true, + "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" + }, + "metadata": { + "jobId": 1 + }, + "message": { + "type": "track", + "event": "Sign In Completed", + "sentAt": "2023-03-10T18:36:04.738Z", + "userId": "braze_test_user", + "channel": "web", + "context": { + "locale": "en-US", + "traits": { + "subscribe_once": true, + "pwa": true, + "email": "jackson24miranda@gmail.com", + "lastName": "Miranda", + "firstName": "Spencer", + "is_registered": true, + "last_identify": "GOOGLE_SIGN_IN", + "account_region": "ON", + "is_pickup_selected": "false", + "has_tradein_attempt": false, + "custom_obj_attr": { + "key1": "value1", + "key2": "value2", + "key4": "value4" + }, + "custom_arr": [1, 2, "str1"] + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.5" + }, + "campaign": {}, + "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" + }, + "rudderId": "4118560d-e4fc-4fd1-a734-9c69eae2c047", + "messageId": "1a342814-a882-4b65-9cc9-347544997268", + "timestamp": "2023-03-10T18:36:05.028Z", + "properties": { + "cause": "/redirector", + "method": "GOOGLE", + "region": "ON", + "orderId": "6179367977099", + "order_id": "6179367977099", + "webhookurl": "https://my.test.com", + "countingMethod": "standard", + "is_first_time_signin": false + }, + "receivedAt": "2023-03-18T01:41:42.257+05:30", + "request_ip": "[::1]", + "anonymousId": "77e278c9-e984-4cdd-950c-cd0b61befd03", + "originalTimestamp": "2023-03-10T18:36:04.733Z" + } + }, + { + "destination": { + "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", + "Name": "Braze-Test", + "Config": { + "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", + "blacklistedEvents": [], + "dataCenter": "US-03", + "enableNestedArrayOperations": false, + "enableSubscriptionGroupInGroupCall": false, + "eventFilteringOption": "disable", + "oneTrustCookieCategories": [], + "restApiKey": "dummyApiKey", + "supportDedup": true, + "trackAnonymousUser": true, + "whitelistedEvents": [] + }, + "Enabled": true, + "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", + "Transformations": [], + "IsProcessorEnabled": true, + "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" + }, + "metadata": { + "jobId": 2 + }, + "message": { + "type": "track", + "event": "Sign In Completed", + "sentAt": "2023-03-10T18:36:04.738Z", + "userId": "braze_test_user", + "channel": "web", + "context": { + "locale": "en-US", + "traits": { + "subscribe_once": true, + "pwa": true, + "email": "jackson24miranda@gmail.com", + "lastName": "Miranda 2", + "firstName": "Spencer", + "is_registered": true, + "last_identify": "GOOGLE_SIGN_IN", + "account_region": "ON", + "is_pickup_selected": "true", + "has_tradein_attempt": false, + "custom_obj_attr": { + "key1": "value1", + "key2": "value2", + "key4": "value4" + }, + "custom_arr": ["1", "2", "str1"] + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "2.9.5" + }, + "campaign": {}, + "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" + }, + "rudderId": "4118560d-e4fc-4fd1-a734-9c69eae2c047", + "messageId": "1a342814-a882-4b65-9cc9-347544997268", + "timestamp": "2023-03-10T18:36:05.028Z", + "properties": { + "cause": "/redirector", + "method": "GOOGLE", + "region": "ON", + "orderId": "6179367977099", + "order_id": "6179367977099", + "webhookurl": "https://my.test.com", + "countingMethod": "standard", + "is_first_time_signin": false + }, + "receivedAt": "2023-03-18T01:41:42.257+05:30", + "request_ip": "[::1]", + "anonymousId": "77e278c9-e984-4cdd-950c-cd0b61befd03", + "originalTimestamp": "2023-03-10T18:36:04.733Z" + } + }, + { + "destination": { + "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", + "Name": "Braze-Test", + "Config": { + "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", + "blacklistedEvents": [], + "dataCenter": "US-03", + "enableNestedArrayOperations": false, + "enableSubscriptionGroupInGroupCall": false, + "eventFilteringOption": "disable", + "oneTrustCookieCategories": [], + "restApiKey": "dummyApiKey", + "supportDedup": true, + "trackAnonymousUser": true, + "whitelistedEvents": [] + }, + "Enabled": true, + "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", + "Transformations": [], + "IsProcessorEnabled": true, + "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" + }, + "metadata": { + "jobId": 3 + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstName": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "type": "identify", + "userId": "user@50" + } + }, + { + "destination": { + "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", + "Name": "Braze-Test", + "Config": { + "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", + "blacklistedEvents": [], + "dataCenter": "US-03", + "enableNestedArrayOperations": false, + "enableSubscriptionGroupInGroupCall": false, + "eventFilteringOption": "disable", + "oneTrustCookieCategories": [], + "restApiKey": "dummyApiKey", + "supportDedup": true, + "trackAnonymousUser": true, + "whitelistedEvents": [] + }, + "Enabled": true, + "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", + "Transformations": [], + "IsProcessorEnabled": true, + "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" + }, + "metadata": { + "jobId": 4 + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstName": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "type": "identify", + "userId": "user@50" + } + } + ], + "newTransformerOutput": [ + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://rest.iad-03.braze.com/users/track", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json", + "Authorization": "Bearer dummyApiKey" + }, + "params": {}, + "body": { + "JSON": { + "partner": "RudderStack", + "attributes": [ + { + "first_name": "Spencer", + "subscribe_once": true, + "pwa": true, + "external_id": "braze_test_user", + "custom_obj_attr": { + "key1": "value1", + "key2": "value2", + "key4": "value4" + } + }, + { + "last_name": "Miranda 2", + "is_pickup_selected": "true", + "external_id": "braze_test_user", + "custom_arr": ["1", "2", "str1"] + }, + { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "external_id": "user@50", + "first_name": "Mickey" + } + ], + "events": [ + { + "name": "Sign In Completed", + "time": "2023-03-10T18:36:05.028Z", + "properties": { + "cause": "/redirector", + "method": "GOOGLE", + "region": "ON", + "orderId": "6179367977099", + "order_id": "6179367977099", + "webhookurl": "https://my.test.com", + "countingMethod": "standard", + "is_first_time_signin": false + }, + "external_id": "braze_test_user" + }, + { + "name": "Sign In Completed", + "time": "2023-03-10T18:36:05.028Z", + "properties": { + "cause": "/redirector", + "method": "GOOGLE", + "region": "ON", + "orderId": "6179367977099", + "order_id": "6179367977099", + "webhookurl": "https://my.test.com", + "countingMethod": "standard", + "is_first_time_signin": false + }, + "external_id": "braze_test_user" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + ], + "metadata": [ + { + "jobId": 1 + }, + { + "jobId": 2 + }, + { + "jobId": 3 + } + ], + "batched": true, + "statusCode": 200, + "destination": { + "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", + "Name": "Braze-Test", + "Config": { + "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", + "blacklistedEvents": [], + "dataCenter": "US-03", + "enableNestedArrayOperations": false, + "enableSubscriptionGroupInGroupCall": false, + "eventFilteringOption": "disable", + "oneTrustCookieCategories": [], + "restApiKey": "dummyApiKey", + "supportDedup": true, + "trackAnonymousUser": true, + "whitelistedEvents": [] + }, + "Enabled": true, + "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", + "Transformations": [], + "IsProcessorEnabled": true, + "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" + } + }, + { + "error": "[Braze Deduplication]: Duplicate user detected, the user is dropped", + "statTags": { + "errorCategory": "transformation" + }, + "statusCode": 298, + "batched": false, + "metadata": [ + { + "jobId": 4 + } + ], + "destination": { + "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", + "Name": "Braze-Test", + "Config": { + "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", + "blacklistedEvents": [], + "dataCenter": "US-03", + "enableNestedArrayOperations": false, + "enableSubscriptionGroupInGroupCall": false, + "eventFilteringOption": "disable", + "oneTrustCookieCategories": [], + "restApiKey": "dummyApiKey", + "supportDedup": true, + "trackAnonymousUser": true, + "whitelistedEvents": [] + }, + "Enabled": true, + "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", + "Transformations": [], + "IsProcessorEnabled": true, + "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" + } + } + ], + "oldTransformerOutput": [ + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://rest.iad-03.braze.com/users/track", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json", + "Authorization": "Bearer dummyApiKey" + }, + "params": {}, + "body": { + "JSON": { + "partner": "RudderStack", + "attributes": [ + { + "first_name": "Spencer", + "subscribe_once": true, + "pwa": true, + "external_id": "braze_test_user", + "custom_obj_attr": { + "key1": "value1", + "key2": "value2", + "key4": "value4" + } + }, + { + "last_name": "Miranda 2", + "is_pickup_selected": "true", + "external_id": "braze_test_user", + "custom_arr": ["1", "2", "str1"] + }, + { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "external_id": "user@50", + "first_name": "Mickey" + } + ], + "events": [ + { + "name": "Sign In Completed", + "time": "2023-03-10T18:36:05.028Z", + "properties": { + "cause": "/redirector", + "method": "GOOGLE", + "region": "ON", + "orderId": "6179367977099", + "order_id": "6179367977099", + "webhookurl": "https://my.test.com", + "countingMethod": "standard", + "is_first_time_signin": false + }, + "external_id": "braze_test_user" + }, + { + "name": "Sign In Completed", + "time": "2023-03-10T18:36:05.028Z", + "properties": { + "cause": "/redirector", + "method": "GOOGLE", + "region": "ON", + "orderId": "6179367977099", + "order_id": "6179367977099", + "webhookurl": "https://my.test.com", + "countingMethod": "standard", + "is_first_time_signin": false + }, + "external_id": "braze_test_user" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + ], + "metadata": [ + { + "jobId": 1 + }, + { + "jobId": 2 + }, + { + "jobId": 3 + } + ], + "batched": true, + "statusCode": 200, + "destination": { + "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", + "Name": "Braze-Test", + "Config": { + "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", + "blacklistedEvents": [], + "dataCenter": "US-03", + "enableNestedArrayOperations": false, + "enableSubscriptionGroupInGroupCall": false, + "eventFilteringOption": "disable", + "oneTrustCookieCategories": [], + "restApiKey": "dummyApiKey", + "supportDedup": true, + "trackAnonymousUser": true, + "whitelistedEvents": [] + }, + "Enabled": true, + "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", + "Transformations": [], + "IsProcessorEnabled": true, + "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" + } + }, + { + "error": "[Braze Deduplication]: Duplicate user detected, the user is dropped", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation" + }, + "statusCode": 400, + "batched": false, + "metadata": [ + { + "jobId": 4 + } + ], + "destination": { + "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", + "Name": "Braze-Test", + "Config": { + "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", + "blacklistedEvents": [], + "dataCenter": "US-03", + "enableNestedArrayOperations": false, + "enableSubscriptionGroupInGroupCall": false, + "eventFilteringOption": "disable", + "oneTrustCookieCategories": [], + "restApiKey": "dummyApiKey", + "supportDedup": true, + "trackAnonymousUser": true, + "whitelistedEvents": [] + }, + "Enabled": true, + "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", + "Transformations": [], + "IsProcessorEnabled": true, + "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" + } + } + ] + } + ] +} diff --git a/test/__tests__/data/braze_router_input.json b/test/__tests__/data/braze_router_input.json deleted file mode 100644 index 074287823e..0000000000 --- a/test/__tests__/data/braze_router_input.json +++ /dev/null @@ -1,416 +0,0 @@ -{ - "simpleRouterRequests": [ - { - "destination": { - "Config": { - "restApiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "dataCenter": "eu-01" - }, - "DestinationDefinition": { - "DisplayName": "Braze", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "BRAZE" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Braze", - "Transformations": [] - }, - "metadata": { - "jobId": 1 - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "originalTimestamp": "2020-01-24T06:29:02.358Z", - "properties": { - "path": "/tests/html/index2.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index2.html" - }, - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.359Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "page", - "userId": "" - } - }, - { - "destination": { - "Config": { - "restApiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "dataCenter": "us-01" - }, - "DestinationDefinition": { - "DisplayName": "Braze", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "BRAZE" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Braze", - "Transformations": [] - }, - "metadata": { - "jobId": 2 - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53709", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "restApiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "dataCenter": "us-01", - "enableSubscriptionGroupInGroupCall": true - }, - "DestinationDefinition": { - "DisplayName": "Braze", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "BRAZE" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Braze", - "Transformations": [] - }, - "metadata": { - "jobId": 3 - }, - "message": { - "anonymousId": "56yrtsdfgbgxcb-22b4-401d-aae5-1b994be9a969", - "groupId": "c90f0fd2-2a02-4f2f-bf07-7e7d2c2ed2b1", - "traits": { - "phone": "5055077683", - "subscriptionState": "subscribed" - }, - "userId": "user123", - "type": "group" - } - }, - { - "destination": { - "Config": { - "restApiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "dataCenter": "us-01", - "enableSubscriptionGroupInGroupCall": true - }, - "DestinationDefinition": { - "DisplayName": "Braze", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "BRAZE" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Braze", - "Transformations": [] - }, - "metadata": { - "jobId": 4 - }, - "message": { - "anonymousId": "dfgdfgdfg-22b4-401d-aae5-1b994be9a969", - "groupId": "58d0a278-b55b-4f10-b7d2-98d1c5dd4c30", - "traits": { - "phone": "5055077683", - "subscriptionState": "subscribed" - }, - "userId": "user877", - "type": "group" - } - }, - { - "destination": { - "Config": { - "restApiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "dataCenter": "us-01", - "enableSubscriptionGroupInGroupCall": true - }, - "DestinationDefinition": { - "DisplayName": "Braze", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "BRAZE" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Braze", - "Transformations": [] - }, - "metadata": { - "jobId": 5 - }, - "message": { - "type": "alias", - "previousId": "adsfsaf", - "userId": "dsafsdf" - } - }, - { - "destination": { - "Config": { - "restApiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "dataCenter": "us-01", - "enableSubscriptionGroupInGroupCall": true - }, - "DestinationDefinition": { - "DisplayName": "Braze", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "BRAZE" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Braze", - "Transformations": [] - }, - "metadata": { - "jobId": 6 - }, - "message": { - "type": "alias", - "previousId": "adsfsaf2", - "userId": "dsafsdf2" - } - } - ], - "dedupEnabledRouterRequests": [ - { - "destination": { - "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", - "Name": "Braze-Test", - "Config": { - "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", - "blacklistedEvents": [], - "dataCenter": "US-03", - "enableNestedArrayOperations": false, - "enableSubscriptionGroupInGroupCall": false, - "eventFilteringOption": "disable", - "oneTrustCookieCategories": [], - "restApiKey": "dummyApiKey", - "supportDedup": true, - "trackAnonymousUser": true, - "whitelistedEvents": [] - }, - "Enabled": true, - "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", - "Transformations": [], - "IsProcessorEnabled": true, - "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" - }, - "metadata": { - "jobId": 1 - }, - "message": { - "type": "track", - "event": "Sign In Completed", - "sentAt": "2023-03-10T18:36:04.738Z", - "userId": "braze_test_user", - "channel": "web", - "context": { - "locale": "en-US", - "traits": { - "subscribe_once": true, - "pwa": true, - "email": "jackson24miranda@gmail.com", - "lastName": "Miranda", - "firstName": "Spencer", - "is_registered": true, - "last_identify": "GOOGLE_SIGN_IN", - "account_region": "ON", - "is_pickup_selected": "false", - "has_tradein_attempt": false, - "custom_obj_attr": { - "key1": "value1", - "key2": "value2", - "key4": "value4" - }, - "custom_arr": [1, 2, "str1"] - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "2.9.5" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" - }, - "rudderId": "4118560d-e4fc-4fd1-a734-9c69eae2c047", - "messageId": "1a342814-a882-4b65-9cc9-347544997268", - "timestamp": "2023-03-10T18:36:05.028Z", - "properties": { - "cause": "/redirector", - "method": "GOOGLE", - "region": "ON", - "orderId": "6179367977099", - "order_id": "6179367977099", - "webhookurl": "https://my.test.com", - "countingMethod": "standard", - "is_first_time_signin": false - }, - "receivedAt": "2023-03-18T01:41:42.257+05:30", - "request_ip": "[::1]", - "anonymousId": "77e278c9-e984-4cdd-950c-cd0b61befd03", - "originalTimestamp": "2023-03-10T18:36:04.733Z" - } - }, - { - "destination": { - "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", - "Name": "Braze-Test", - "Config": { - "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", - "blacklistedEvents": [], - "dataCenter": "US-03", - "enableNestedArrayOperations": false, - "enableSubscriptionGroupInGroupCall": false, - "eventFilteringOption": "disable", - "oneTrustCookieCategories": [], - "restApiKey": "dummyApiKey", - "supportDedup": true, - "trackAnonymousUser": true, - "whitelistedEvents": [] - }, - "Enabled": true, - "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", - "Transformations": [], - "IsProcessorEnabled": true, - "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" - }, - "metadata": { - "jobId": 2 - }, - "message": { - "type": "track", - "event": "Sign In Completed", - "sentAt": "2023-03-10T18:36:04.738Z", - "userId": "braze_test_user", - "channel": "web", - "context": { - "locale": "en-US", - "traits": { - "subscribe_once": true, - "pwa": true, - "email": "jackson24miranda@gmail.com", - "lastName": "Miranda 2", - "firstName": "Spencer", - "is_registered": true, - "last_identify": "GOOGLE_SIGN_IN", - "account_region": "ON", - "is_pickup_selected": "true", - "has_tradein_attempt": false, - "custom_obj_attr": { - "key1": "value1", - "key2": "value2", - "key4": "value4" - }, - "custom_arr": ["1", "2", "str1"] - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "2.9.5" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" - }, - "rudderId": "4118560d-e4fc-4fd1-a734-9c69eae2c047", - "messageId": "1a342814-a882-4b65-9cc9-347544997268", - "timestamp": "2023-03-10T18:36:05.028Z", - "properties": { - "cause": "/redirector", - "method": "GOOGLE", - "region": "ON", - "orderId": "6179367977099", - "order_id": "6179367977099", - "webhookurl": "https://my.test.com", - "countingMethod": "standard", - "is_first_time_signin": false - }, - "receivedAt": "2023-03-18T01:41:42.257+05:30", - "request_ip": "[::1]", - "anonymousId": "77e278c9-e984-4cdd-950c-cd0b61befd03", - "originalTimestamp": "2023-03-10T18:36:04.733Z" - } - } - ] -} diff --git a/test/__tests__/data/braze_router_output.json b/test/__tests__/data/braze_router_output.json deleted file mode 100644 index d3ec0581dc..0000000000 --- a/test/__tests__/data/braze_router_output.json +++ /dev/null @@ -1,281 +0,0 @@ -{ - "simpleRouterResponse": [ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://rest.fra-01.braze.eu/users/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "partner": "RudderStack", - "events": [ - { - "name": "Page Viewed", - "time": "2020-01-24T11:59:02.402+05:30", - "properties": { - "path": "/tests/html/index2.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index2.html" - }, - "_update_existing_only": false, - "user_alias": { - "alias_name": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "alias_label": "rudder_id" - } - } - ], - "attributes": [ - { - "email": "mickey@disney.com", - "city": "Disney", - "country": "USA", - "firstname": "Mickey", - "_update_existing_only": false, - "user_alias": { - "alias_name": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "alias_label": "rudder_id" - } - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://rest.fra-01.braze.eu/v2/subscription/status/set", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "subscription_groups": [ - { - "external_id": ["user123"], - "phones": ["5055077683"], - "subscription_group_id": "c90f0fd2-2a02-4f2f-bf07-7e7d2c2ed2b1", - "subscription_state": "subscribed" - }, - { - "external_id": ["user877"], - "phones": ["5055077683"], - "subscription_group_id": "58d0a278-b55b-4f10-b7d2-98d1c5dd4c30", - "subscription_state": "subscribed" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://rest.fra-01.braze.eu/users/merge", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "merge_updates": [ - { - "identifier_to_keep": { - "external_id": "dsafsdf" - }, - "identifier_to_merge": { - "external_id": "adsfsaf" - } - }, - { - "identifier_to_keep": { - "external_id": "dsafsdf2" - }, - "identifier_to_merge": { - "external_id": "adsfsaf2" - } - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 1 - }, - { - "jobId": 2 - }, - { - "jobId": 3 - }, - { - "jobId": 4 - }, - { - "jobId": 5 - }, - { - "jobId": 6 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "restApiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "dataCenter": "eu-01" - }, - "DestinationDefinition": { - "DisplayName": "Braze", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "BRAZE" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Braze", - "Transformations": [] - } - } - ], - "dedupEnabledRouterResponse": [ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://rest.iad-03.braze.com/users/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "partner": "RudderStack", - "attributes": [ - { - "first_name": "Spencer", - "subscribe_once": true, - "pwa": true, - "external_id": "braze_test_user", - "custom_obj_attr": { - "key1": "value1", - "key2": "value2", - "key4": "value4" - } - }, - { - "last_name": "Miranda 2", - "is_pickup_selected": "true", - "external_id": "braze_test_user", - "custom_arr": ["1", "2", "str1"] - } - ], - "events": [ - { - "name": "Sign In Completed", - "time": "2023-03-10T18:36:05.028Z", - "properties": { - "cause": "/redirector", - "method": "GOOGLE", - "region": "ON", - "orderId": "6179367977099", - "order_id": "6179367977099", - "webhookurl": "https://my.test.com", - "countingMethod": "standard", - "is_first_time_signin": false - }, - "external_id": "braze_test_user" - }, - { - "name": "Sign In Completed", - "time": "2023-03-10T18:36:05.028Z", - "properties": { - "cause": "/redirector", - "method": "GOOGLE", - "region": "ON", - "orderId": "6179367977099", - "order_id": "6179367977099", - "webhookurl": "https://my.test.com", - "countingMethod": "standard", - "is_first_time_signin": false - }, - "external_id": "braze_test_user" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 1 - }, - { - "jobId": 2 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "ID": "2N9UakqKF0D35wfzSeofIxPdL8X", - "Name": "Braze-Test", - "Config": { - "appKey": "0e5440c3-226b-45d0-91b5-c64da56cde16", - "blacklistedEvents": [], - "dataCenter": "US-03", - "enableNestedArrayOperations": false, - "enableSubscriptionGroupInGroupCall": false, - "eventFilteringOption": "disable", - "oneTrustCookieCategories": [], - "restApiKey": "dummyApiKey", - "supportDedup": true, - "trackAnonymousUser": true, - "whitelistedEvents": [] - }, - "Enabled": true, - "WorkspaceID": "27O0bhB6p5ehfOWeeZlOSsSDTLg", - "Transformations": [], - "IsProcessorEnabled": true, - "RevisionID": "2N9Uaf2tWq2QRmatBWQm03Rz6qX" - } - } - ] -} diff --git a/test/__tests__/data/klaviyo.json b/test/__tests__/data/klaviyo.json index 1fc46a6e4c..796d9ed8e0 100644 --- a/test/__tests__/data/klaviyo.json +++ b/test/__tests__/data/klaviyo.json @@ -1,11 +1,11 @@ [ { - "description": "Profile updation call and subcribe user", + "description": "Profile updating call and subscribe user (old transformer)", "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" } }, "message": { @@ -71,9 +71,9 @@ "method": "PATCH", "endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", "headers": { - "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", + "Accept": "application/json", "revision": "2023-02-22" }, "params": {}, @@ -117,7 +117,7 @@ "headers": { "Content-Type": "application/json", "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "revision": "2023-02-22" }, "params": {}, @@ -149,12 +149,12 @@ ] }, { - "description": "Identify call for with flattenProperties enabled", + "description": "Identify call for with flattenProperties enabled (old transformer)", "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d", + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey", "flattenProperties": true } }, @@ -228,9 +228,9 @@ "method": "PATCH", "endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", "headers": { - "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", + "Accept": "application/json", "revision": "2023-02-22" }, "params": {}, @@ -253,11 +253,11 @@ "zip": "100-0001" }, "properties": { - "Flagged": false, - "Residence": "Shibuya", "friend.age": 25, "friend.names.first": "Alice", - "friend.names.last": "Smith" + "friend.names.last": "Smith", + "Flagged": false, + "Residence": "Shibuya" } }, "id": "01GW3PHVY0MTCDGS0A1612HARX" @@ -277,7 +277,7 @@ "headers": { "Content-Type": "application/json", "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "revision": "2023-02-22" }, "params": {}, @@ -313,8 +313,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" } }, "message": { @@ -382,8 +382,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" } }, "message": { @@ -447,9 +447,9 @@ "method": "PATCH", "endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", "headers": { - "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", + "Accept": "application/json", "revision": "2023-02-22" }, "params": {}, @@ -491,8 +491,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d", + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey", "enforceEmailAsPrimary": true } }, @@ -559,9 +559,9 @@ "method": "PATCH", "endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", "headers": { - "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", + "Accept": "application/json", "revision": "2023-02-22" }, "params": {}, @@ -605,7 +605,7 @@ "headers": { "Content-Type": "application/json", "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "revision": "2023-02-22" }, "params": {}, @@ -641,8 +641,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d", + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey", "enforceEmailAsPrimary": true } }, @@ -709,8 +709,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" } }, "message": { @@ -784,7 +784,7 @@ "endpoint": "https://a.klaviyo.com/api/events", "headers": { "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", "revision": "2023-02-22" }, @@ -823,8 +823,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d", + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey", "flattenProperties": true } }, @@ -905,7 +905,7 @@ "endpoint": "https://a.klaviyo.com/api/events", "headers": { "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", "revision": "2023-02-22" }, @@ -946,8 +946,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" } }, "message": { @@ -1024,7 +1024,7 @@ "endpoint": "https://a.klaviyo.com/api/events", "headers": { "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", "revision": "2023-02-22" }, @@ -1066,8 +1066,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d", + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey", "enforceEmailAsPrimary": true } }, @@ -1142,7 +1142,7 @@ "endpoint": "https://a.klaviyo.com/api/events", "headers": { "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", "revision": "2023-02-22" }, @@ -1181,8 +1181,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d", + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey", "enforceEmailAsPrimary": true } }, @@ -1257,8 +1257,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" } }, "message": { @@ -1291,7 +1291,7 @@ "headers": { "Content-Type": "application/json", "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "revision": "2023-02-22" }, "params": {}, @@ -1323,8 +1323,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" } }, "message": { @@ -1357,8 +1357,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" } }, "message": { @@ -1391,8 +1391,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" } }, "message": { @@ -1472,7 +1472,7 @@ "method": "POST", "endpoint": "https://a.klaviyo.com/api/events", "headers": { - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", "Accept": "application/json", "revision": "2023-02-22" @@ -1519,8 +1519,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d", + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey", "flattenProperties": true } }, @@ -1622,7 +1622,7 @@ "method": "POST", "endpoint": "https://a.klaviyo.com/api/events", "headers": { - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", "Accept": "application/json", "revision": "2023-02-22" @@ -1675,8 +1675,8 @@ "input": { "destination": { "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" } }, "message": { @@ -1769,7 +1769,7 @@ "method": "POST", "endpoint": "https://a.klaviyo.com/api/events", "headers": { - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", "Content-Type": "application/json", "Accept": "application/json", "revision": "2023-02-22" diff --git a/test/__tests__/data/klaviyo_router.json b/test/__tests__/data/klaviyo_router.json new file mode 100644 index 0000000000..da857369f1 --- /dev/null +++ b/test/__tests__/data/klaviyo_router.json @@ -0,0 +1,599 @@ +[ + { + "description": "Router tests", + "input": [ + { + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + }, + "metadata": { + "jobId": 1 + }, + "message": { + "type": "identify", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "test", + "channel": "web", + "context": { + "os": { + "name": "", + "version": "" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "firstName": "Test", + "lastName": "Rudderlabs", + "email": "test@rudderstack.com", + "phone": "+12 345 578 900", + "userId": "Testc", + "title": "Developer", + "organization": "Rudder", + "city": "Tokyo", + "region": "Kanto", + "country": "JP", + "zip": "100-0001", + "Flagged": false, + "Residence": "Shibuya", + "properties": { + "consent": ["email", "sms"] + } + }, + "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", + "integrations": { + "All": true + }, + "originalTimestamp": "2021-01-03T17:02:53.193Z" + } + }, + { + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + }, + "metadata": { + "jobId": 2 + }, + "message": { + "type": "identify", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "test", + "channel": "web", + "context": { + "os": { + "name": "", + "version": "" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "firstName": "Test", + "lastName": "Rudderlabs", + "email": "test@rudderstack.com", + "phone": "+12 345 578 900", + "userId": "test", + "title": "Developer", + "organization": "Rudder", + "city": "Tokyo", + "region": "Kanto", + "country": "JP", + "zip": "100-0001", + "Flagged": false, + "Residence": "Shibuya", + "properties": { + "listId": "XUepkK", + "subscribe": true, + "consent": ["email", "sms"] + } + }, + "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", + "integrations": { + "All": true + }, + "originalTimestamp": "2021-01-03T17:02:53.193Z" + } + }, + { + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + }, + "metadata": { + "jobId": 3 + }, + "message": { + "userId": "user123", + "type": "group", + "groupId": "XUepkK", + "traits": { + "subscribe": true + }, + "context": { + "traits": { + "email": "test@rudderstack.com", + "phone": "+12 345 678 900", + "consent": ["email"] + }, + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-01-21T00:21:34.208Z" + } + }, + { + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + }, + "metadata": { + "jobId": 4 + }, + "message": { + "userId": "user123", + "type": "random", + "groupId": "XUepkK", + "traits": { + "subscribe": true + }, + "context": { + "traits": { + "email": "test@rudderstack.com", + "phone": "+12 345 678 900", + "consent": "email" + }, + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-01-21T00:21:34.208Z" + } + }, + { + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + }, + "metadata": { + "jobId": 5 + }, + "message": { + "userId": "user123", + "type": "group", + "groupId": "", + "traits": { + "subscribe": true + }, + "context": { + "traits": { + "email": "test@rudderstack.com", + "phone": "+12 345 678 900", + "consent": "email" + }, + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-01-21T00:21:34.208Z" + } + } + ], + "newTransformerOutput": [ + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://a.klaviyo.com/api/profile-subscription-bulk-create-jobs", + "headers": { + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", + "Content-Type": "application/json", + "Accept": "application/json", + "revision": "2023-02-22" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "profile-subscription-bulk-create-job", + "attributes": { + "list_id": "XUepkK", + "subscriptions": [ + { + "email": "test@rudderstack.com", + "phone_number": "+12 345 678 900" + }, + { + "email": "test@rudderstack.com", + "phone_number": "+12 345 578 900", + "channels": { + "email": ["MARKETING"], + "sms": ["MARKETING"] + } + } + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + ], + "metadata": [ + { + "jobId": 3 + }, + { + "jobId": 2 + } + ], + "batched": true, + "statusCode": 200, + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + } + }, + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", + "headers": { + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", + "Content-Type": "application/json", + "Accept": "application/json", + "revision": "2023-02-22" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "profile", + "attributes": { + "external_id": "test", + "email": "test@rudderstack.com", + "first_name": "Test", + "last_name": "Rudderlabs", + "phone_number": "+12 345 578 900", + "title": "Developer", + "organization": "Rudder", + "location": { + "city": "Tokyo", + "region": "Kanto", + "country": "JP", + "zip": "100-0001" + }, + "properties": { + "Flagged": false, + "Residence": "Shibuya" + } + }, + "id": "01GW3PHVY0MTCDGS0A1612HARX" + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "error": "{\"id\":\"01GW3PHVY0MTCDGS0A1612HARX\",\"attributes\":{}}" + }, + "metadata": [ + { + "jobId": 1 + } + ], + "batched": false, + "statusCode": 299, + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + } + }, + { + "error": "Event type random is not supported", + "metadata": [ + { + "jobId": 4 + } + ], + "batched": false, + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation" + }, + "statusCode": 400, + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + } + }, + { + "error": "groupId is a required field for group events", + "metadata": [ + { + "jobId": 5 + } + ], + "batched": false, + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation" + }, + "statusCode": 400, + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + } + } + ], + "oldTransformerOutput": [ + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://a.klaviyo.com/api/profile-subscription-bulk-create-jobs", + "headers": { + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", + "Content-Type": "application/json", + "Accept": "application/json", + "revision": "2023-02-22" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "profile-subscription-bulk-create-job", + "attributes": { + "list_id": "XUepkK", + "subscriptions": [ + { + "email": "test@rudderstack.com", + "phone_number": "+12 345 678 900" + }, + { + "email": "test@rudderstack.com", + "phone_number": "+12 345 578 900", + "channels": { + "email": ["MARKETING"], + "sms": ["MARKETING"] + } + } + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", + "headers": { + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", + "Content-Type": "application/json", + "Accept": "application/json", + "revision": "2023-02-22" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "profile", + "attributes": { + "external_id": "test", + "email": "test@rudderstack.com", + "first_name": "Test", + "last_name": "Rudderlabs", + "phone_number": "+12 345 578 900", + "title": "Developer", + "organization": "Rudder", + "location": { + "city": "Tokyo", + "region": "Kanto", + "country": "JP", + "zip": "100-0001" + }, + "properties": { + "Flagged": false, + "Residence": "Shibuya" + } + }, + "id": "01GW3PHVY0MTCDGS0A1612HARX" + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + ], + "metadata": [ + { + "jobId": 3 + }, + { + "jobId": 2 + } + ], + "batched": true, + "statusCode": 200, + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + } + }, + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", + "headers": { + "Authorization": "Klaviyo-API-Key dummyPrivateApiKey", + "Content-Type": "application/json", + "Accept": "application/json", + "revision": "2023-02-22" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "profile", + "attributes": { + "external_id": "test", + "email": "test@rudderstack.com", + "first_name": "Test", + "last_name": "Rudderlabs", + "phone_number": "+12 345 578 900", + "title": "Developer", + "organization": "Rudder", + "location": { + "city": "Tokyo", + "region": "Kanto", + "country": "JP", + "zip": "100-0001" + }, + "properties": { + "Flagged": false, + "Residence": "Shibuya" + } + }, + "id": "01GW3PHVY0MTCDGS0A1612HARX" + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + "metadata": [ + { + "jobId": 1 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + } + }, + { + "metadata": [ + { + "jobId": 4 + } + ], + "batched": false, + "statusCode": 400, + "error": "Event type random is not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation" + }, + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + } + }, + { + "metadata": [ + { + "jobId": 5 + } + ], + "batched": false, + "statusCode": 400, + "error": "groupId is a required field for group events", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation" + }, + "destination": { + "Config": { + "publicApiKey": "dummyPublicApiKey", + "privateApiKey": "dummyPrivateApiKey" + } + } + } + ] + } +] diff --git a/test/__tests__/data/klaviyo_router_input.json b/test/__tests__/data/klaviyo_router_input.json deleted file mode 100644 index 9150bc5522..0000000000 --- a/test/__tests__/data/klaviyo_router_input.json +++ /dev/null @@ -1,227 +0,0 @@ -[ - { - "destination": { - "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" - } - }, - "metadata": { - "jobId": 1 - }, - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "test", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "firstName": "Test", - "lastName": "Rudderlabs", - "email": "test@rudderstack.com", - "phone": "+12 345 578 900", - "userId": "Testc", - "title": "Developer", - "organization": "Rudder", - "city": "Tokyo", - "region": "Kanto", - "country": "JP", - "zip": "100-0001", - "Flagged": false, - "Residence": "Shibuya", - "properties": { - "listId": "XUepkK", - "subscribe": true, - "consent": ["email", "sms"] - } - }, - "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", - "integrations": { - "All": true - }, - "originalTimestamp": "2021-01-03T17:02:53.193Z" - } - }, - { - "destination": { - "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" - } - }, - "metadata": { - "jobId": 2 - }, - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "test", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "firstName": "Test", - "lastName": "Rudderlabs", - "email": "test@rudderstack.com", - "phone": "+12 345 578 900", - "userId": "test", - "title": "Developer", - "organization": "Rudder", - "city": "Tokyo", - "region": "Kanto", - "country": "JP", - "zip": "100-0001", - "Flagged": false, - "Residence": "Shibuya", - "properties": { - "listId": "XUepkK", - "subscribe": true, - "consent": ["email", "sms"] - } - }, - "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", - "integrations": { - "All": true - }, - "originalTimestamp": "2021-01-03T17:02:53.193Z" - } - }, - { - "destination": { - "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" - } - }, - "metadata": { - "jobId": 3 - }, - "message": { - "userId": "user123", - "type": "group", - "groupId": "XUepkK", - "traits": { - "subscribe": true - }, - "context": { - "traits": { - "email": "test@rudderstack.com", - "phone": "+12 345 678 900", - "consent": ["email"] - }, - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-01-21T00:21:34.208Z" - } - }, - { - "destination": { - "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" - } - }, - "metadata": { - "jobId": 4 - }, - "message": { - "userId": "user123", - "type": "random", - "groupId": "XUepkK", - "traits": { - "subscribe": true - }, - "context": { - "traits": { - "email": "test@rudderstack.com", - "phone": "+12 345 678 900", - "consent": "email" - }, - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-01-21T00:21:34.208Z" - } - }, - { - "destination": { - "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" - } - }, - "metadata": { - "jobId": 5 - }, - "message": { - "userId": "user123", - "type": "group", - "groupId": "", - "traits": { - "subscribe": true - }, - "context": { - "traits": { - "email": "test@rudderstack.com", - "phone": "+12 345 678 900", - "consent": "email" - }, - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-01-21T00:21:34.208Z" - } - } -] diff --git a/test/__tests__/data/klaviyo_router_output.json b/test/__tests__/data/klaviyo_router_output.json deleted file mode 100644 index fbc9ad65cf..0000000000 --- a/test/__tests__/data/klaviyo_router_output.json +++ /dev/null @@ -1,202 +0,0 @@ -[ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://a.klaviyo.com/api/profile-subscription-bulk-create-jobs", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", - "revision": "2023-02-22" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "profile-subscription-bulk-create-job", - "attributes": { - "list_id": "XUepkK", - "subscriptions": [ - { - "email": "test@rudderstack.com", - "phone_number": "+12 345 678 900" - }, - { - "email": "test@rudderstack.com", - "phone_number": "+12 345 578 900", - "channels": { - "email": ["MARKETING"], - "sms": ["MARKETING"] - } - }, - { - "email": "test@rudderstack.com", - "phone_number": "+12 345 578 900", - "channels": { - "email": ["MARKETING"], - "sms": ["MARKETING"] - } - } - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", - "headers": { - "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", - "Content-Type": "application/json", - "revision": "2023-02-22" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "profile", - "attributes": { - "external_id": "test", - "email": "test@rudderstack.com", - "first_name": "Test", - "last_name": "Rudderlabs", - "phone_number": "+12 345 578 900", - "title": "Developer", - "organization": "Rudder", - "location": { - "city": "Tokyo", - "region": "Kanto", - "country": "JP", - "zip": "100-0001" - }, - "properties": { - "Flagged": false, - "Residence": "Shibuya" - } - }, - "id": "01GW3PHVY0MTCDGS0A1612HARX" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", - "headers": { - "Accept": "application/json", - "Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", - "Content-Type": "application/json", - "revision": "2023-02-22" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "profile", - "attributes": { - "email": "test@rudderstack.com", - "external_id": "test", - "first_name": "Test", - "last_name": "Rudderlabs", - "phone_number": "+12 345 578 900", - "title": "Developer", - "organization": "Rudder", - "location": { - "city": "Tokyo", - "region": "Kanto", - "country": "JP", - "zip": "100-0001" - }, - "properties": { - "Flagged": false, - "Residence": "Shibuya" - } - }, - "id": "01GW3PHVY0MTCDGS0A1612HARX" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 3 - }, - { - "jobId": 1 - }, - { - "jobId": 2 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" - } - } - }, - { - "error": "Event type random is not supported", - "metadata": [ - { - "jobId": 4 - } - ], - "batched": false, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - }, - "statusCode": 400, - "destination": { - "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" - } - } - }, - { - "error": "groupId is a required field for group events", - "metadata": [ - { - "jobId": 5 - } - ], - "batched": false, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - }, - "statusCode": 400, - "destination": { - "Config": { - "publicApiKey": "WJqij9", - "privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" - } - } - } -] diff --git a/test/__tests__/klaviyo.test.js b/test/__tests__/klaviyo.test.js index 871bf1f28c..209811b007 100644 --- a/test/__tests__/klaviyo.test.js +++ b/test/__tests__/klaviyo.test.js @@ -5,6 +5,7 @@ const integration = "klaviyo"; const name = "Klaviyo"; const version = "v0"; +const { FEATURE_FILTER_CODE } = require('../../src/v0/util/constant'); const transformer = require(`../../src/${version}/destinations/${integration}/transform`); // Processor Test Data @@ -14,14 +15,10 @@ const testDataFile = fs.readFileSync( const testData = JSON.parse(testDataFile); // Router Test Data -const inputRouterDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router_input.json`) +const routerTestDataFile = fs.readFileSync( + path.resolve(__dirname, `./data/${integration}_router.json`) ); -const outputRouterDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router_output.json`) -); -const inputRouterData = JSON.parse(inputRouterDataFile); -const expectedRouterData = JSON.parse(outputRouterDataFile); +const routerTestData = JSON.parse(routerTestDataFile); describe(`${name} Tests`, () => { describe("Processor", () => { @@ -37,10 +34,14 @@ describe(`${name} Tests`, () => { }); }); - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); + describe("Router", () => { + routerTestData.forEach((dataPoint, index) => { + it(`${index}. ${integration} - ${dataPoint.description}`, async () => { + const oldTransformerOutput = await transformer.processRouterDest(dataPoint.input); + const newTransformerOutput = await transformer.processRouterDest(dataPoint.input, { features: { [FEATURE_FILTER_CODE]: true } }); + expect(oldTransformerOutput).toEqual(dataPoint.oldTransformerOutput); + expect(newTransformerOutput).toEqual(dataPoint.newTransformerOutput); + }); }); }); }); From 4ce47ec4dcfc880e77aba75a26cebc2baa1f4968 Mon Sep 17 00:00:00 2001 From: devops-github-rudderstack <88187154+devops-github-rudderstack@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:45:24 +0000 Subject: [PATCH 04/98] chore(release): pull main into develop post release v1.44.2 (#2702) * fix: create instance of transformedObj * chore(release): 1.44.2 --------- Co-authored-by: ItsSudip Co-authored-by: GitHub Actions Co-authored-by: Sandeep Digumarty --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a92a073191..b7341a6623 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.44.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.1...v1.44.2) (2023-10-09) + + +### Bug Fixes + +* create instance of transformedObj ([37495e3](https://github.com/rudderlabs/rudder-transformer/commit/37495e3e4a90dc9c5abbf74e7d58152a9af10daf)) + ### [1.44.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.0...v1.44.1) (2023-10-06) diff --git a/package-lock.json b/package-lock.json index f39c2db7b4..e88cdfe9f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.44.1", + "version": "1.44.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.44.1", + "version": "1.44.2", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 43b4abbb86..88d99217b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.44.1", + "version": "1.44.2", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From f2053255bedac6017f909fe8b6de3775dd50bc93 Mon Sep 17 00:00:00 2001 From: Utsab Chowdhury Date: Tue, 10 Oct 2023 10:46:16 +0530 Subject: [PATCH 05/98] feat: onboard braze stats (#2703) --- src/v0/destinations/braze/util.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/v0/destinations/braze/util.js b/src/v0/destinations/braze/util.js index f9bcdb9496..b3e60f2c6a 100644 --- a/src/v0/destinations/braze/util.js +++ b/src/v0/destinations/braze/util.js @@ -419,6 +419,23 @@ const processBatch = (transformedEvents) => { const attributes = attributeArrayChunks[i]; const events = eventsArrayChunks[i]; const purchases = purchaseArrayChunks[i]; + + if (attributes) { + stats.gauge('braze_batch_attributes_pack_size', attributes.length, { + destination_id: destination.ID, + }); + } + if (events) { + stats.gauge('braze_batch_events_pack_size', events.length, { + destination_id: destination.ID, + }); + } + if (purchases) { + stats.gauge('braze_batch_purchase_pack_size', purchases.length, { + destination_id: destination.ID, + }); + } + const response = defaultRequestConfig(); response.endpoint = endpoint; response.body.JSON = removeUndefinedAndNullValues({ From 6e20a72cdd5bce0ca28af51ad69ccb73234d4497 Mon Sep 17 00:00:00 2001 From: Utsab Chowdhury Date: Tue, 10 Oct 2023 11:01:02 +0530 Subject: [PATCH 06/98] chore: add metrics to prometheus (#2705) --- src/util/prometheus.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/util/prometheus.js b/src/util/prometheus.js index 0899590cd5..8018750b5d 100644 --- a/src/util/prometheus.js +++ b/src/util/prometheus.js @@ -551,6 +551,24 @@ class Prometheus { type: 'gauge', labelNames: ['destType', 'feature'], }, + { + name: 'braze_batch_attributes_pack_size', + help: 'braze_batch_attributes_pack_size', + type: 'gauge', + labelNames: ['destination_id'], + }, + { + name: 'braze_batch_events_pack_size', + help: 'braze_batch_events_pack_size', + type: 'gauge', + labelNames: ['destination_id'], + }, + { + name: 'braze_batch_purchase_pack_size', + help: 'braze_batch_purchase_pack_size', + type: 'gauge', + labelNames: ['destination_id'], + }, // Histograms { From bc88f1303ec4f60a466492c72e8c3b57dd5070af Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Wed, 11 Oct 2023 09:15:02 +0530 Subject: [PATCH 07/98] fix(klaviyo): sending error field at root level for suppress events (#2707) --- src/v0/destinations/klaviyo/transform.js | 18 +++++++++++------- test/__tests__/data/klaviyo_router.json | 4 ++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/v0/destinations/klaviyo/transform.js b/src/v0/destinations/klaviyo/transform.js index b235748fdd..5ad9b1869d 100644 --- a/src/v0/destinations/klaviyo/transform.js +++ b/src/v0/destinations/klaviyo/transform.js @@ -363,14 +363,18 @@ const processRouterDest = async (inputs, reqMetadata) => { message?.statusCode && message.statusCode === HTTP_STATUS_CODES.SUPPRESS_EVENTS ) { + const { error } = message; + delete message.error; delete message.statusCode; - return getSuccessRespEvents( - message, - [metadata], - eventDestination, - false, - HTTP_STATUS_CODES.SUPPRESS_EVENTS, - ); + return { + ...getSuccessRespEvents( + message, + [metadata], + eventDestination, + false, + HTTP_STATUS_CODES.SUPPRESS_EVENTS, + ), error + } } return getSuccessRespEvents(message, [metadata], eventDestination); }); diff --git a/test/__tests__/data/klaviyo_router.json b/test/__tests__/data/klaviyo_router.json index da857369f1..7fae2ad90e 100644 --- a/test/__tests__/data/klaviyo_router.json +++ b/test/__tests__/data/klaviyo_router.json @@ -331,9 +331,9 @@ "XML": {}, "FORM": {} }, - "files": {}, - "error": "{\"id\":\"01GW3PHVY0MTCDGS0A1612HARX\",\"attributes\":{}}" + "files": {} }, + "error": "{\"id\":\"01GW3PHVY0MTCDGS0A1612HARX\",\"attributes\":{}}", "metadata": [ { "jobId": 1 From b21184019691b472650901f6002ef81b579a1146 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Wed, 11 Oct 2023 10:43:17 +0530 Subject: [PATCH 08/98] fix: bugsnag event sent as an object for track call (#2681) * fix: bugsnag customerIo wrong event format * fix: bugsnag monday wrong event format * fix: bugsnag freshsales wrong event format * chore:comment addresed --- src/v0/destinations/customerio/util.js | 7 +- src/v0/destinations/freshsales/transform.js | 5 +- src/v0/destinations/monday/transform.js | 9 +-- src/v0/destinations/monday/util.js | 2 +- src/v0/util/index.js | 6 ++ test/__tests__/data/customerio_input.json | 66 ++++++++++++++++ test/__tests__/data/customerio_output.json | 3 + test/__tests__/data/freshsales.json | 85 +++++++++++++++++++++ test/__tests__/data/monday.json | 2 +- 9 files changed, 169 insertions(+), 16 deletions(-) diff --git a/src/v0/destinations/customerio/util.js b/src/v0/destinations/customerio/util.js index 735b6a73d9..2e7f000fba 100644 --- a/src/v0/destinations/customerio/util.js +++ b/src/v0/destinations/customerio/util.js @@ -2,7 +2,6 @@ const get = require('get-value'); const set = require('set-value'); const truncate = require('truncate-utf8-bytes'); const { MAX_BATCH_SIZE, configFieldsToCheck } = require('./config'); -const logger = require('../../../logger'); const { constructPayload, defaultPutRequestConfig, @@ -11,6 +10,7 @@ const { defaultDeleteRequestConfig, isAppleFamily, validateEmail, + validateEventType, } = require('../../util'); const { EventType, SpecedTraits, TraitsMapping } = require('../../../constants'); @@ -288,10 +288,7 @@ const defaultResponseBuilder = (message, evName, userId, evType, destination, me // 100 - len(`Viewed Screen`) = 86 trimmedEvName = `Viewed ${truncate(message.event || message.properties.name, 86)} Screen`; } else { - if (!evName) { - logger.error(`Could not determine event name`); - throw new InstrumentationError(`Could not determine event name`); - } + validateEventType(evName); trimmedEvName = truncate(evName, 100); } // anonymous_id needs to be sent for anon track calls to provide information on which anon user is being tracked diff --git a/src/v0/destinations/freshsales/transform.js b/src/v0/destinations/freshsales/transform.js index 46a9e8c500..cd7518a101 100644 --- a/src/v0/destinations/freshsales/transform.js +++ b/src/v0/destinations/freshsales/transform.js @@ -8,6 +8,7 @@ const { defaultPostRequestConfig, getValidDynamicFormConfig, simpleProcessRouterDest, + validateEventType, } = require('../../util'); const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); @@ -66,9 +67,7 @@ const identifyResponseBuilder = (message, { Config }) => { * @returns */ const trackResponseBuilder = async (message, { Config }, event) => { - if (!event) { - throw new InstrumentationError('Event name is required for track call.'); - } + validateEventType(event); let payload; const response = defaultRequestConfig(); diff --git a/src/v0/destinations/monday/transform.js b/src/v0/destinations/monday/transform.js index a702f26602..34ada34780 100644 --- a/src/v0/destinations/monday/transform.js +++ b/src/v0/destinations/monday/transform.js @@ -8,6 +8,7 @@ const { removeUndefinedAndNullValues, simpleProcessRouterDest, getDestinationExternalID, + validateEventType, } = require('../../util'); const { ConfigurationError, @@ -40,18 +41,14 @@ const responseBuilder = (payload, endpoint, apiToken) => { const trackResponseBuilder = async (message, { Config }) => { const { apiToken } = Config; let boardId = getDestinationExternalID(message, 'boardId'); + const event = get(message, 'event'); + validateEventType(event); if (!boardId) { boardId = Config.boardId; } if (!boardId) { throw new ConfigurationError('boardId is a required field'); } - const event = get(message, 'event'); - - if (!event) { - throw new InstrumentationError('event is not present in the input payloads'); - } - if (!checkAllowedEventNameFromUI(event, Config)) { throw new ConfigurationError('Event Discarded. To allow this event, add this in Allowlist'); } diff --git a/src/v0/destinations/monday/util.js b/src/v0/destinations/monday/util.js index dbd7b149d9..5f260aabae 100644 --- a/src/v0/destinations/monday/util.js +++ b/src/v0/destinations/monday/util.js @@ -253,7 +253,7 @@ const checkAllowedEventNameFromUI = (event, Config) => { let allowEvent; if (whitelistedEvents && whitelistedEvents.length > 0) { allowEvent = whitelistedEvents.some( - (whiteListedEvent) => whiteListedEvent.eventName.toLowerCase() === event.toLowerCase(), + (whiteListedEvent) => whiteListedEvent?.eventName?.toLowerCase() === event.toLowerCase(), ); } return !!allowEvent; diff --git a/src/v0/util/index.js b/src/v0/util/index.js index 71c89a5a86..7a31b95a63 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -2040,6 +2040,11 @@ const getAuthErrCategoryFromStCode = (status) => { return ''; }; +const validateEventType = event => { + if(!event || typeof event !== "string"){ + throw new InstrumentationError("Event is a required field and should be a string"); + } +} // ======================================================================== // EXPORTS // ======================================================================== @@ -2133,6 +2138,7 @@ module.exports = { getDestAuthCacheInstance, refinePayload, validateEmail, + validateEventType, validatePhoneWithCountryCode, getEventReqMetadata, isHybridModeEnabled, diff --git a/test/__tests__/data/customerio_input.json b/test/__tests__/data/customerio_input.json index e2d987fc5a..f1f2774163 100644 --- a/test/__tests__/data/customerio_input.json +++ b/test/__tests__/data/customerio_input.json @@ -1,4 +1,70 @@ [ + { + "message": { + "type": "track", + "event": { + "Phone": "123456677", + "Lead ID": "abc", + "Lead URL": "https://simplisafe.com/admin/store/leads/19635101/view", + "firstName": "david tenenbaum", + "Pro Install": "Yes", + "Property Type": "Home", + "Last Lead Source": "uyfasauya ", + "Saved System URL": "ihguwivkbjc" + }, + "userId": "", + "channel": "web", + "context": { + "os": { + "name": "", + "version": "" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "version": "x.x.x", + "namespace": "com.rudderlabs.javascript" + }, + "page": { + "path": "/rudderstack-sample-site/", + "title": "Keyboard Site", + "search": "", + "referrer": "$direct", + "initial_referrer": "$direct", + "referring_domain": "", + "initial_referring_domain": "" + }, + "locale": "en-US", + "screen": { + "width": 1512, + "height": 982, + "density": 2, + "innerWidth": 347, + "innerHeight": 778 + }, + "traits": { + "name": "john ", + "lead_id": "abc", + "firstName": "doe " + }, + "campaign": {}, + "sessionId": 123456 + }, + "rudderId": "rudder_id", + "timestamp": "2022-12-03T18:37:57.755Z", + "properties": {}, + "receivedAt": "2022-12-03T18:37:57.758Z", + "request_ip": "62.59.170.125", + "anonymousId": "149a7c9f-0778-45f6-b071-d92523cc8738", + "originalTimestamp": "2022-12-03T18:37:57.614Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + }, { "message": { "channel": "web", diff --git a/test/__tests__/data/customerio_output.json b/test/__tests__/data/customerio_output.json index 42ed0a5cb4..3a0b45ebb6 100644 --- a/test/__tests__/data/customerio_output.json +++ b/test/__tests__/data/customerio_output.json @@ -1,4 +1,7 @@ [ + { + "message": "Event is a required field and should be a string" + }, { "body": { "XML": {}, diff --git a/test/__tests__/data/freshsales.json b/test/__tests__/data/freshsales.json index a9070d5bfe..2527e37b90 100644 --- a/test/__tests__/data/freshsales.json +++ b/test/__tests__/data/freshsales.json @@ -1,4 +1,89 @@ [ + { + "description": "Track call, event is not supported.", + "input": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.5" + }, + "traits": { + "name": "Shehan Study", + "category": "SampleIdentify", + "email": "test@rudderstack.com", + "plan": "Open source", + "logins": 5, + "createdAt": 1599264000 + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.5" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 0.8999999761581421 + }, + "campaign": { + "source": "google", + "medium": "medium", + "term": "keyword", + "content": "some content", + "name": "some campaign", + "test": "other value" + }, + "page": { + "path": "/destinations/amplitude", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/amplitude", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "dd46338d-5f83-493b-bd28-3b48f55d0be8", + "originalTimestamp": "2020-10-20T08:14:28.778Z", + "anonymousId": "my-anonymous-id-new", + "userId": "newUserIdAlias", + "properties": { + "product_name": "Shirt", + "brand": "Wrogn" + }, + "event": { + "name": "Add to Cart" + }, + "previousId": "sampleusrRudder3", + "sentAt": "2020-10-20T08:14:28.778Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "domain": "domain-rudder" + } + } + }, + "output": { + "statusCode": 400, + "error": "Event is a required field and should be a string", + "statTags": { + "errorAt": "proc", + "destType": "FRESHMARKETER", + "stage": "transform", + "scope": "exception" + } + } + }, { "description": "Identify call for creating new user", "input": { diff --git a/test/__tests__/data/monday.json b/test/__tests__/data/monday.json index a3af2364a8..cec99959da 100644 --- a/test/__tests__/data/monday.json +++ b/test/__tests__/data/monday.json @@ -428,7 +428,7 @@ } }, "output": { - "error": "event is not present in the input payloads" + "error": "Event is a required field and should be a string" } }, { From eca3be1fdcb7ac0ebf9432e9686a75fad2d6dc78 Mon Sep 17 00:00:00 2001 From: Sankeerth Date: Wed, 11 Oct 2023 11:02:40 +0530 Subject: [PATCH 09/98] fix: correct handling of permission_denied error for GAEC & GARL (#2699) --- .../networkHandler.js | 12 +++--------- .../networkHandler.js | 7 ++----- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js index 1f59eb9e40..e25349dfdc 100644 --- a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js +++ b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js @@ -1,10 +1,7 @@ const { get, set } = require('lodash'); const sha256 = require('sha256'); const { prepareProxyRequest, handleHttpRequest } = require('../../../adapters/network'); -const { - isHttpStatusSuccess, - getAuthErrCategoryFromErrDetailsAndStCode, -} = require('../../util/index'); +const { isHttpStatusSuccess, getAuthErrCategoryFromStCode } = require('../../util/index'); const { CONVERSION_ACTION_ID_CACHE_TTL } = require('./config'); const Cache = require('../../util/cache'); @@ -60,10 +57,7 @@ const getConversionActionId = async (method, headers, params) => { [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(gaecConversionActionIdResponse.status), }, gaecConversionActionIdResponse.response, - getAuthErrCategoryFromErrDetailsAndStCode( - get(gaecConversionActionIdResponse, 'status'), - get(gaecConversionActionIdResponse, ERROR_MSG_PATH), - ), + getAuthErrCategoryFromStCode(gaecConversionActionIdResponse.status), ); } const conversionActionId = get( @@ -142,7 +136,7 @@ const responseHandler = (destinationResponse) => { [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(status), }, response, - getAuthErrCategoryFromErrDetailsAndStCode(status, response), + getAuthErrCategoryFromStCode(status), ); }; diff --git a/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js b/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js index 563e8b80a6..b8470f9d28 100644 --- a/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js +++ b/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js @@ -1,8 +1,5 @@ const { httpSend, prepareProxyRequest } = require('../../../adapters/network'); -const { - isHttpStatusSuccess, - getAuthErrCategoryFromErrDetailsAndStCode, -} = require('../../util/index'); +const { isHttpStatusSuccess, getAuthErrCategoryFromStCode } = require('../../util/index'); const { processAxiosResponse, @@ -144,7 +141,7 @@ const gaAudienceRespHandler = (destResponse, stageMsg) => { [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(status), }, response, - getAuthErrCategoryFromErrDetailsAndStCode(status, response), + getAuthErrCategoryFromStCode(status), ); }; From d681d5e1a39c1914e3a237e1020553518c297416 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Wed, 11 Oct 2023 12:22:02 +0530 Subject: [PATCH 10/98] feat: support page call in snapchat conversion (#2688) * feat: support page call in snapchat conversion * chore:comment addresed --- .../snapchat_conversion/config.js | 3 +- .../snapchat_conversion/transform.js | 7 +- test/__tests__/data/snapchat_conversion.json | 102 ++++++++++++++++-- 3 files changed, 103 insertions(+), 9 deletions(-) diff --git a/src/v0/destinations/snapchat_conversion/config.js b/src/v0/destinations/snapchat_conversion/config.js index 1b36c0463c..fce2edf8e4 100644 --- a/src/v0/destinations/snapchat_conversion/config.js +++ b/src/v0/destinations/snapchat_conversion/config.js @@ -72,7 +72,7 @@ const eventNameMapping = { custom_event_4: 'CUSTOM_EVENT_4', custom_event_5: 'CUSTOM_EVENT_5', }; - +const pageTypeToTrackEvent = 'page_view'; const mappingConfig = getMappingConfig(ConfigCategory, __dirname); module.exports = { @@ -82,4 +82,5 @@ module.exports = { mappingConfig, trackCommonConfig: mappingConfig[ConfigCategory.COMMON.name], MAX_BATCH_SIZE, + pageTypeToTrackEvent }; diff --git a/src/v0/destinations/snapchat_conversion/transform.js b/src/v0/destinations/snapchat_conversion/transform.js index ca489f5460..1e9f02f168 100644 --- a/src/v0/destinations/snapchat_conversion/transform.js +++ b/src/v0/destinations/snapchat_conversion/transform.js @@ -21,6 +21,7 @@ const { mappingConfig, ConfigCategory, MAX_BATCH_SIZE, + pageTypeToTrackEvent, } = require('./config'); const { msUnixTimestamp, @@ -279,14 +280,16 @@ function eventMappingHandler(message, destination) { function process(event) { const { message, destination } = event; - + // const message = { ...incomingMessage }; if (!message.type) { throw new InstrumentationError('Event type is required'); } const messageType = message.type.toLowerCase(); let response; - if (messageType === EventType.TRACK) { + if (messageType === EventType.PAGE) { + response = trackResponseBuilder(message, destination, pageTypeToTrackEvent); + } else if (messageType === EventType.TRACK) { const mappedEvents = eventMappingHandler(message, destination); if (mappedEvents.length > 0) { response = []; diff --git a/test/__tests__/data/snapchat_conversion.json b/test/__tests__/data/snapchat_conversion.json index e608cb1477..9d47c8c44b 100644 --- a/test/__tests__/data/snapchat_conversion.json +++ b/test/__tests__/data/snapchat_conversion.json @@ -1,4 +1,100 @@ [ + { + "description": "Test case for Page event-> PAGE_VIEW ", + "input": { + "message": { + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2022-04-22T10:57:58Z", + "channel": "web", + "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": "page", + "name": "Home Page Viewed", + "properties": { + "title": "Home | RudderStack", + "url": "http://www.rudderstack.com" + }, + "integrations": { + "All": true + }, + "sentAt": "2022-04-22T10:57:58Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "pixelId": "dummyPixelId" + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://tr.snapchat.com/v2/conversion", + "headers": { + "Authorization": "Bearer dummyApiKey", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event_type": "PAGE_VIEW", + "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": "WEB", + "page_url": "http://www.rudderstack.com", + "pixel_id": "dummyPixelId" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + }, { "description": "Test case for Prodcuts Searched event for conversion type offline", "input": { @@ -26,7 +122,6 @@ "type": "ios", "attTrackingStatus": 3 }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" @@ -2025,7 +2120,6 @@ "type": "ios", "attTrackingStatus": 3 }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" @@ -2227,7 +2321,6 @@ "type": "ios", "attTrackingStatus": 3 }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" @@ -2331,7 +2424,6 @@ "type": "ios", "attTrackingStatus": 3 }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" @@ -2403,7 +2495,6 @@ "type": "ios", "attTrackingStatus": 3 }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" @@ -2501,7 +2592,6 @@ "type": "ios", "attTrackingStatus": 3 }, - "library": { "name": "RudderLabs JavaScript SDK", "version": "1.0.0" From f49244dce6cf15812d894d22c43d2432b5a4756a Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Wed, 11 Oct 2023 15:19:32 +0530 Subject: [PATCH 11/98] fix: added matchId check and timestamp conversion (#2709) * fix: added matchId check and timestamp conversion * fix: added matchId check and timestamp conversion * fix: timestamp logic to function * fix: lint fixes * fix: move to utility * fix: move to utility --- .../data/CampaignManagerTrackConfig.json | 5 +- .../campaign_manager/transform.js | 43 +-- src/v0/destinations/campaign_manager/util.js | 33 ++ .../campaign_manager/util.test.js | 23 ++ test/__tests__/data/campaign_manager.json | 315 +++++++++++++++++- .../data/campaign_manager_router_input.json | 4 - .../data/campaign_manager_router_output.json | 4 +- 7 files changed, 377 insertions(+), 50 deletions(-) create mode 100644 src/v0/destinations/campaign_manager/util.js create mode 100644 src/v0/destinations/campaign_manager/util.test.js diff --git a/src/v0/destinations/campaign_manager/data/CampaignManagerTrackConfig.json b/src/v0/destinations/campaign_manager/data/CampaignManagerTrackConfig.json index e547bb0f35..c8bd10d524 100644 --- a/src/v0/destinations/campaign_manager/data/CampaignManagerTrackConfig.json +++ b/src/v0/destinations/campaign_manager/data/CampaignManagerTrackConfig.json @@ -13,10 +13,7 @@ "destKey": "timestampMicros", "sourceKeys": "timestamp", "sourceFromGenericMap": true, - "required": true, - "metadata": { - "type": "microSecondTimestamp" - } + "required": true }, { "destKey": "floodlightActivityId", diff --git a/src/v0/destinations/campaign_manager/transform.js b/src/v0/destinations/campaign_manager/transform.js index 99e5fe9c57..af097e5b4c 100644 --- a/src/v0/destinations/campaign_manager/transform.js +++ b/src/v0/destinations/campaign_manager/transform.js @@ -18,6 +18,8 @@ const { EncryptionSource, } = require('./config'); +const { convertToMicroseconds } = require('./util'); + const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); @@ -72,7 +74,8 @@ function processTrack(message, metadata, destination) { delete requestJson.childDirectedTreatment; delete requestJson.limitAdTracking; } - requestJson.timestampMicros = requestJson.timestampMicros.toString(); + + requestJson.timestampMicros = convertToMicroseconds(requestJson.timestampMicros).toString(); const encryptionInfo = {}; // prepare encrptionInfo if encryptedUserId or encryptedUserIdCandidates is given @@ -138,35 +141,17 @@ function postValidateRequest(response) { ); } - let count = 0; - - if (response.body.JSON.conversions[0].gclid) { - count += 1; - } - - if (response.body.JSON.conversions[0].dclid) { - count += 1; - } - - if (response.body.JSON.conversions[0].encryptedUserId) { - count += 1; - } - - if (response.body.JSON.conversions[0].encryptedUserIdCandidates) { - count += 1; - } - - if (response.body.JSON.conversions[0].mobileDeviceId) { - count += 1; - } - - if (response.body.JSON.conversions[0].impressionId) { - count += 1; - } - - if (count !== 1) { + if ( + !response.body.JSON.conversions[0].gclid && + !response.body.JSON.conversions[0].matchId && + !response.body.JSON.conversions[0].dclid && + !response.body.JSON.conversions[0].encryptedUserId && + !response.body.JSON.conversions[0].encryptedUserIdCandidates && + !response.body.JSON.conversions[0].mobileDeviceId && + !response.body.JSON.conversions[0].impressionId + ) { throw new InstrumentationError( - '[CAMPAIGN MANAGER (DCM)]: For CM360 we need one of encryptedUserId,encryptedUserIdCandidates, matchId, mobileDeviceId, gclid, dclid, impressionId.', + '[CAMPAIGN MANAGER (DCM)]: Atleast one of encryptedUserId,encryptedUserIdCandidates, matchId, mobileDeviceId, gclid, dclid, impressionId.', ); } } diff --git a/src/v0/destinations/campaign_manager/util.js b/src/v0/destinations/campaign_manager/util.js new file mode 100644 index 0000000000..434322440f --- /dev/null +++ b/src/v0/destinations/campaign_manager/util.js @@ -0,0 +1,33 @@ +function convertToMicroseconds(input) { + const timestamp = Date.parse(input); + + if (!Number.isNaN(timestamp)) { + // If the input is a valid date string, timestamp will be a number + if (input.includes('Z')) { + // ISO 8601 date string with milliseconds + return timestamp * 1000; + } + // to handle case of "2022-11-17T00:22:02.903+05:30" strings + return timestamp.toString().length === 13 ? timestamp * 1000 : timestamp * 1000000; + } + + if (/^\d+$/.test(input)) { + // If the input is a numeric string (assume microseconds or milliseconds) + if (input.length === 13) { + // equal to 13 indicates milliseconds + return parseInt(input, 10) * 1000; + } + + if (input.length === 10) { + // equal to 10 indicates seconds + return parseInt(input, 10) * 1000000; + } + // Otherwise, assume microseconds + return parseInt(input, 10); + } + return timestamp; +} + +module.exports = { + convertToMicroseconds, +}; diff --git a/src/v0/destinations/campaign_manager/util.test.js b/src/v0/destinations/campaign_manager/util.test.js new file mode 100644 index 0000000000..8f69b57a9f --- /dev/null +++ b/src/v0/destinations/campaign_manager/util.test.js @@ -0,0 +1,23 @@ +const { convertToMicroseconds } = require('./util'); + +describe('convertToMicroseconds utility test', () => { + it('ISO 8601 input', () => { + expect(convertToMicroseconds('2021-01-04T08:25:04.780Z')).toEqual(1609748704780000); + }); + + it('unix microseconds input', () => { + expect(convertToMicroseconds('1668624722903333')).toEqual(1668624722903333); + }); + + it('non numeric time input', () => { + expect(convertToMicroseconds('2022-11-17T00:22:02.903+05:30')).toEqual(1668624722903000); + }); + + it('unix seconds input', () => { + expect(convertToMicroseconds('1697013935')).toEqual(1697013935000000); + }); + + it('unix miliseconds input', () => { + expect(convertToMicroseconds('1697013935000')).toEqual(1697013935000000); + }); +}); diff --git a/test/__tests__/data/campaign_manager.json b/test/__tests__/data/campaign_manager.json index ac5b363f64..a16cbada81 100644 --- a/test/__tests__/data/campaign_manager.json +++ b/test/__tests__/data/campaign_manager.json @@ -46,8 +46,6 @@ "density": 2 } }, - "event": "Promotion Clicked", - "type": "track", "originalTimestamp": "2022-11-17T00:22:02.903+05:30", "properties": { "profileId": "34245", @@ -112,7 +110,7 @@ { "floodlightConfigurationId": "213123123", "ordinal": "string", - "timestampMicros": "1668624722000000", + "timestampMicros": "1668624722903000", "floodlightActivityId": "456543345245", "quantity": "455678", "value": 756, @@ -178,9 +176,7 @@ "density": 2 } }, - "event": "Promotion Clicked", - "type": "track", - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", + "originalTimestamp": "2021-01-04T08:25:04.780Z", "properties": { "profileId": "34245", "floodlightConfigurationId": "213123123", @@ -238,7 +234,7 @@ { "floodlightConfigurationId": "213123123", "ordinal": "string", - "timestampMicros": "1668624722000000", + "timestampMicros": "1609748704780000", "floodlightActivityId": "456543345245", "quantity": "455678", "value": 756, @@ -256,7 +252,7 @@ } }, { - "description": "Track - batch insert Call", + "description": "Track - batch insert Call failure", "input": { "message": { "channel": "web", @@ -302,8 +298,6 @@ "density": 2 } }, - "event": "Promotion Clicked", - "type": "track", "originalTimestamp": "2022-11-17T00:22:02.903+05:30", "properties": { "profileId": "34245", @@ -351,10 +345,309 @@ "statusCode": 400, "error": "[CAMPAIGN MANAGER (DCM)]: If encryptedUserId or encryptedUserIdCandidates is used, provide proper values for properties.encryptionEntityType , properties.encryptionSource and properties.encryptionEntityId", "statTags": { - "destination": "blueshift", + "destination": "campaign_manager", "stage": "transform", "scope": "exception" } } + }, + { + "description": "Track - batch insert Call failure none of gclid, matcId are present", + "input": { + "message": { + "channel": "sources", + "originalTimestamp": "2022-11-17T00:22:02.903+05:30", + "properties": { + "floodlightConfigurationId": "213123123", + "ordinal": "string", + "floodlightActivityId": "456543345245", + "value": "756", + "quantity": "455678", + "requestType": "batchinsert" + }, + "type": "track", + "event": "event test", + "anonymousId": "randomId", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "profileId": "5343234", + "treatmentForUnderage": false, + "limitAdTracking": false, + "childDirectedTreatment": false, + "nonPersonalizedAd": false, + "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" + } + } + }, + "output": { + "statusCode": 400, + "error": "[CAMPAIGN MANAGER (DCM)]: Atleast one of encryptedUserId,encryptedUserIdCandidates, matchId, mobileDeviceId, gclid, dclid, impressionId.", + "statTags": { + "destination": "campaign_manager", + "stage": "transform", + "scope": "exception" + } + } + }, + { + "description": "Track - batch insert Call with only matchId", + "input": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "device": { + "id": "0572f78fa49c648e", + "name": "generic_x86_arm", + "type": "Android", + "model": "AOSP on IA Emulator", + "manufacturer": "Google", + "adTrackingEnabled": true, + "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" + }, + "traits": { + "email": "alex@example.com", + "phone": "+1-202-555-0146", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "England", + "countryCode": "GB", + "postalCode": "EC3M", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "originalTimestamp": "2022-11-17T00:22:02.903+05:30", + "properties": { + "profileId": "34245", + "floodlightConfigurationId": "213123123", + "ordinal": "1", + "floodlightActivityId": "456543345245", + "value": "756", + "quantity": "455678", + "encryptionSource": "AD_SERVING", + "encryptionEntityId": "3564523", + "encryptionEntityType": "DCM_ACCOUNT", + "requestType": "batchinsert", + "matchId": "123" + }, + "type": "track", + "event": "event test", + "anonymousId": "randomId", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "profileId": "5343234", + "treatmentForUnderage": false, + "limitAdTracking": false, + "childDirectedTreatment": false, + "nonPersonalizedAd": false, + "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", + "headers": { + "Authorization": "Bearer dummyApiToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "kind": "dfareporting#conversionsBatchInsertRequest", + "conversions": [ + { + "floodlightConfigurationId": "213123123", + "ordinal": "1", + "timestampMicros": "1668624722903000", + "floodlightActivityId": "456543345245", + "quantity": "455678", + "value": 756, + "limitAdTracking": false, + "childDirectedTreatment": false, + "treatmentForUnderage": false, + "nonPersonalizedAd": false, + "matchId": "123" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + }, + { + "description": "Track - batch insert Call timestamp in unix", + "input": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "device": { + "id": "0572f78fa49c648e", + "name": "generic_x86_arm", + "type": "Android", + "model": "AOSP on IA Emulator", + "manufacturer": "Google", + "adTrackingEnabled": true, + "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" + }, + "traits": { + "email": "alex@example.com", + "phone": "+1-202-555-0146", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "England", + "countryCode": "GB", + "postalCode": "EC3M", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "originalTimestamp": "1668624722903333", + "properties": { + "profileId": "34245", + "floodlightConfigurationId": "213123123", + "ordinal": "1", + "floodlightActivityId": "456543345245", + "value": "756", + "quantity": "455678", + "encryptionSource": "AD_SERVING", + "encryptionEntityId": "3564523", + "encryptionEntityType": "DCM_ACCOUNT", + "requestType": "batchinsert", + "matchId": "123" + }, + "type": "track", + "event": "event test", + "anonymousId": "randomId", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "profileId": "5343234", + "treatmentForUnderage": false, + "limitAdTracking": false, + "childDirectedTreatment": false, + "nonPersonalizedAd": false, + "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", + "headers": { + "Authorization": "Bearer dummyApiToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "kind": "dfareporting#conversionsBatchInsertRequest", + "conversions": [ + { + "floodlightConfigurationId": "213123123", + "ordinal": "1", + "timestampMicros": "1668624722903333", + "floodlightActivityId": "456543345245", + "quantity": "455678", + "value": 756, + "limitAdTracking": false, + "childDirectedTreatment": false, + "treatmentForUnderage": false, + "nonPersonalizedAd": false, + "matchId": "123" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } } ] diff --git a/test/__tests__/data/campaign_manager_router_input.json b/test/__tests__/data/campaign_manager_router_input.json index 18893a0b43..83f2289431 100644 --- a/test/__tests__/data/campaign_manager_router_input.json +++ b/test/__tests__/data/campaign_manager_router_input.json @@ -169,8 +169,6 @@ "encryptionEntityType": "DCM_ACCOUNT", "requestType": "batchupdate" }, - "type": "track", - "event": "event test", "anonymousId": "randomId", "integrations": { "All": true @@ -267,8 +265,6 @@ }, "requestType": "randomValue" }, - "type": "track", - "event": "event test", "anonymousId": "randomId", "integrations": { "All": true diff --git a/test/__tests__/data/campaign_manager_router_output.json b/test/__tests__/data/campaign_manager_router_output.json index e3a9a39c28..61c3438ab6 100644 --- a/test/__tests__/data/campaign_manager_router_output.json +++ b/test/__tests__/data/campaign_manager_router_output.json @@ -23,7 +23,7 @@ { "nonPersonalizedAd": false, "treatmentForUnderage": false, - "timestampMicros": "1668624722000000", + "timestampMicros": "1668624722903000", "floodlightConfigurationId": "213123123", "ordinal": "string", "quantity": "455678", @@ -87,7 +87,7 @@ { "nonPersonalizedAd": false, "treatmentForUnderage": false, - "timestampMicros": "1668624722000000", + "timestampMicros": "1668624722903000", "floodlightConfigurationId": "213123123", "ordinal": "string", "quantity": "455678", From d6488d5a189ea90d1142e4ecb34b2af0bb940fe9 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Wed, 11 Oct 2023 15:59:15 +0530 Subject: [PATCH 12/98] fix: snapchat conversion introduce missing fields (#2704) * fix: snapchat conversion introduce missing fields * chore: zip field and test case added * brands test case added * fix: complexity issue * fix: complexity issue 1 * fix: complexity issue 2 * fix: complexity issue 3 * Update src/v0/destinations/snapchat_conversion/transform.js Co-authored-by: Sankeerth * fix: complexity issue 3 * chore: comment addressed --------- Co-authored-by: Sankeerth --- .../snapchat_conversion/transform.js | 174 +++++++++++++----- test/__tests__/data/snapchat_conversion.json | 40 +++- .../snapchat_conversion_router_output.json | 2 +- 3 files changed, 158 insertions(+), 58 deletions(-) diff --git a/src/v0/destinations/snapchat_conversion/transform.js b/src/v0/destinations/snapchat_conversion/transform.js index 1e9f02f168..f4360cc458 100644 --- a/src/v0/destinations/snapchat_conversion/transform.js +++ b/src/v0/destinations/snapchat_conversion/transform.js @@ -47,6 +47,30 @@ function buildResponse(apiKey, payload) { response.body.JSON = removeUndefinedAndNullValues(payload); return response; } +const populateHashedTraitsValues = (payload, message) => { + const firstName = getFieldValueFromMessage(message, 'firstName'); + const lastName = getFieldValueFromMessage(message, 'lastName'); + const middleName = getFieldValueFromMessage(message, 'middleName'); + const city = getFieldValueFromMessage(message, 'city'); + const state = getFieldValueFromMessage(message, 'state'); + const zip = getFieldValueFromMessage(message, 'zipcode'); + const updatedPayload = { + ...payload, + hashed_first_name_sha: firstName + ? getHashedValue(firstName.toString().toLowerCase().trim()) + : undefined, + hashed_middle_name_sha: middleName + ? getHashedValue(middleName.toString().toLowerCase().trim()) + : undefined, + hashed_last_name_sha: lastName + ? getHashedValue(lastName.toString().toLowerCase().trim()) + : undefined, + hashed_city_sha: city ? getHashedValue(city.toString().toLowerCase().trim()) : undefined, + hashed_zip: zip ? getHashedValue(zip.toString().toLowerCase().trim()) : undefined, + hashed_state_sha: state ? getHashedValue(state.toString().toLowerCase().trim()) : undefined, + }; + return updatedPayload; +}; /** * Seperate out hashing operations into one function @@ -54,12 +78,12 @@ function buildResponse(apiKey, payload) { * @param {*} message * @returns updatedPayload */ -function populateHashedValues(payload, message) { - const updatedPayload = payload; +const populateHashedValues = (payload, message) => { const email = getFieldValueFromMessage(message, 'email'); const phone = getNormalizedPhoneNumber(message); const ip = message.context?.ip || message.request_ip; + const updatedPayload = populateHashedTraitsValues(payload, message); if (email) { updatedPayload.hashed_email = getHashedValue(email.toString().toLowerCase().trim()); } @@ -85,14 +109,82 @@ function populateHashedValues(payload, message) { ); } return updatedPayload; -} +}; +const getEventProperties = (message) => ({ + description: get(message, 'properties.description'), + brands: Array.isArray(message.properties?.brands) ? get(message, 'properties.brands') : undefined, + customer_status: get(message, 'properties.customer_status'), + uuid_c1: get(message, 'properties.uuid_c1'), + level: get(message, 'properties.level'), + click_id: get(message, 'properties.click_id'), + event_tag: get(message, 'properties.event_tag'), + country: getFieldValueFromMessage(message, 'country'), + region: getFieldValueFromMessage(message, 'region'), + user_agent: message.context?.userAgent?.toString()?.toLowerCase(), +}); +const validateEventConfiguration = (eventConversionType, pixelId, snapAppId, appId) => { + if ((eventConversionType === 'WEB' || eventConversionType === 'OFFLINE') && !pixelId) { + throw new ConfigurationError('Pixel Id is required for web and offline events'); + } -// Returns the response for the track event after constructing the payload and setting necessary fields -function trackResponseBuilder(message, { Config }, mappedEvent) { - let payload = {}; - const event = mappedEvent.trim().replace(/\s+/g, '_'); + if (eventConversionType === 'MOBILE_APP' && !(appId && snapAppId)) { + let requiredId = 'App Id'; + if (!snapAppId) { + requiredId = 'Snap App Id'; + } + throw new ConfigurationError(`${requiredId} is required for app events`); + } +}; +const validateRequiredFields = (payload) => { + if ( + !payload.hashed_email && + !payload.hashed_phone_number && + !payload.hashed_mobile_ad_id && + !(payload.hashed_ip_address && payload.user_agent) + ) { + throw new InstrumentationError( + 'At least one of email or phone or advertisingId or ip and userAgent is required', + ); + } +}; +const addSpecificEventDetails = ( + message, + payload, + eventConversionType, + pixelId, + snapAppId, + appId, +) => { + const updatedPayload = { ...payload }; + if (eventConversionType === 'WEB') { + updatedPayload.pixel_id = pixelId; + updatedPayload.page_url = getFieldValueFromMessage(message, 'pageUrl'); + } - const { apiKey, pixelId, snapAppId, appId, deduplicationKey, enableDeduplication } = Config; + if (eventConversionType === 'MOBILE_APP') { + updatedPayload.snap_app_id = snapAppId; + updatedPayload.app_id = appId; + } + + if (eventConversionType === 'OFFLINE') { + updatedPayload.pixel_id = pixelId; + } + return updatedPayload; +}; +const handleDeduplication = (payload, enableDeduplication, deduplicationKey, message) => { + if (enableDeduplication) { + const dedupId = deduplicationKey || 'messageId'; + const clientDedupId = get(message, dedupId); + if (!clientDedupId) { + throw new InstrumentationError( + 'Deduplication enabled but no deduplication key provided in the message', + ); + } + return clientDedupId; + } + return undefined; +}; +const getEventConversionType = (message) => { const channel = get(message, 'channel'); let eventConversionType = message?.properties?.eventConversionType; if ( @@ -105,18 +197,16 @@ function trackResponseBuilder(message, { Config }, mappedEvent) { } else { eventConversionType = 'OFFLINE'; } + return eventConversionType; +}; - if ((eventConversionType === 'WEB' || eventConversionType === 'OFFLINE') && !pixelId) { - throw new ConfigurationError('Pixel Id is required for web and offline events'); - } - - if (eventConversionType === 'MOBILE_APP' && !(appId && snapAppId)) { - if (!appId) { - throw new ConfigurationError('App Id is required for app events'); - } else { - throw new ConfigurationError('Snap App Id is required for app events'); - } - } +// Returns the response for the track event after constructing the payload and setting necessary fields +const trackResponseBuilder = (message, { Config }, mappedEvent) => { + let payload = {}; + const event = mappedEvent.trim().replace(/\s+/g, '_'); + const eventConversionType = getEventConversionType(message); + const { apiKey, pixelId, snapAppId, appId, deduplicationKey, enableDeduplication } = Config; + validateEventConfiguration(eventConversionType, pixelId, snapAppId, appId); if (eventNameMapping[event.toLowerCase()]) { // Snapchat standard events @@ -192,21 +282,9 @@ function trackResponseBuilder(message, { Config }, mappedEvent) { throw new InstrumentationError(`Event ${event} doesn't match with Snapchat Events!`); } - payload.event_tag = get(message, 'properties.event_tag'); + payload = { ...payload, ...getEventProperties(message) }; payload = populateHashedValues(payload, message); - - payload.user_agent = message.context?.userAgent?.toString().toLowerCase(); - - if ( - !payload.hashed_email && - !payload.hashed_phone_number && - !payload.hashed_mobile_ad_id && - !(payload.hashed_ip_address && payload.user_agent) - ) { - throw new InstrumentationError( - 'At least one of email or phone or advertisingId or ip and userAgent is required', - ); - } + validateRequiredFields(payload); payload.timestamp = getFieldValueFromMessage(message, 'timestamp'); const timeStamp = payload.timestamp; if (timeStamp) { @@ -224,17 +302,15 @@ function trackResponseBuilder(message, { Config }, mappedEvent) { } payload.event_conversion_type = eventConversionType; - if (eventConversionType === 'WEB') { - payload.pixel_id = pixelId; - payload.page_url = getFieldValueFromMessage(message, 'pageUrl'); - } - if (eventConversionType === 'MOBILE_APP') { - payload.snap_app_id = snapAppId; - payload.app_id = appId; - } - if (eventConversionType === 'OFFLINE') { - payload.pixel_id = pixelId; - } + payload = addSpecificEventDetails( + message, + payload, + eventConversionType, + pixelId, + snapAppId, + appId, + ); + payload.client_dedup_id = handleDeduplication(enableDeduplication, deduplicationKey, message); // adding for deduplication for more than one source if (enableDeduplication) { @@ -246,10 +322,10 @@ function trackResponseBuilder(message, { Config }, mappedEvent) { // build response const response = buildResponse(apiKey, payload); return response; -} +}; // Checks if there are any mapping events for the track event and returns them -function eventMappingHandler(message, destination) { +const eventMappingHandler = (message, destination) => { let event = get(message, 'event'); if (!event) { @@ -276,9 +352,9 @@ function eventMappingHandler(message, destination) { } return [...mappedEvents]; -} +}; -function process(event) { +const process = (event) => { const { message, destination } = event; // const message = { ...incomingMessage }; if (!message.type) { @@ -304,7 +380,7 @@ function process(event) { throw new InstrumentationError(`Event type ${messageType} is not supported`); } return response; -} +}; const processRouterDest = async (inputs, reqMetadata) => { const errorRespEvents = checkInvalidRtTfEvents(inputs); diff --git a/test/__tests__/data/snapchat_conversion.json b/test/__tests__/data/snapchat_conversion.json index 9d47c8c44b..930c19c98d 100644 --- a/test/__tests__/data/snapchat_conversion.json +++ b/test/__tests__/data/snapchat_conversion.json @@ -105,7 +105,12 @@ "context": { "traits": { "email": "test@email.com", - "phone": "+91 2111111 " + "phone": "+91 2111111 ", + "firstName": "john", + "middleName": "victor", + "lastName": "doe", + "city": "some_city", + "state": "some_state" }, "app": { "build": "1.0.0", @@ -147,7 +152,9 @@ "properties": { "query": "t-shirts", "event_conversion_type": "web", - "number_items": 4 + "number_items": 4, + "click_id": "some_click_id", + "description": "Products Searched event for conversion type offline" }, "integrations": { "All": true @@ -183,7 +190,13 @@ "timestamp": "1650625078", "event_conversion_type": "OFFLINE", "pixel_id": "dummyPixelId", - "number_items": 4 + "number_items": 4, + "click_id": "some_click_id", + "description": "Products Searched event for conversion type offline", + "hashed_first_name_sha": "96d9632f363564cc3032521409cf22a852f2032eec099ed5967c0d000cec607a", + "hashed_last_name_sha": "799ef92a11af918e3fb741df42934f3b568ed2d93ac1df74f1b8d41a27932a6f", + "hashed_state_sha": "6db488fc98e30afdf67a05a6da916805b02891ce58f03970c6deff79129c5f1c", + "hashed_middle_name_sha": "99bde068af2d49ed7fc8b8fa79abe13a6059e0db320bb73459fd96624bb4b33f" }, "JSON_ARRAY": {}, "XML": {}, @@ -202,7 +215,10 @@ "context": { "traits": { "email": "test@email.com", - "phone": "+91 2111111 " + "phone": "+91 2111111 ", + "country": "IN", + "zicode": "Sxp-12345", + "region": "some_region" }, "app": { "build": "1.0.0", @@ -564,7 +580,7 @@ }, "output": { "statusCode": 400, - "error": "App Id is required for app events" + "error": "Snap App Id is required for app events" } }, { @@ -749,7 +765,10 @@ "context": { "traits": { "email": "test@email.com", - "phone": "+91 2111111 " + "phone": "+91 2111111 ", + "country": "IN", + "zipcode": "Sxp-12345", + "region": "some_region" }, "app": { "build": "1.0.0", @@ -830,6 +849,9 @@ "event_type": "VIEW_CONTENT", "item_ids": ["123", "123"], "price": "56", + "country": "IN", + "hashed_zip": "cbb2704f5b334a0cec32e5463d1fd9355f6ef73987bfe0ebb8389b7617452152", + "region": "some_region", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", "hashed_mobile_ad_id": "f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2", @@ -1007,6 +1029,7 @@ "type": "track", "event": "Order Completed", "properties": { + "brands": ["brand01", "brand02"], "products": [ { "product_id": "123", @@ -1014,7 +1037,7 @@ "quantity": 1 }, { - "product_id": "123", + "product_id": "124", "price": 14, "quantity": 3 } @@ -1047,7 +1070,8 @@ "body": { "JSON": { "event_type": "PURCHASE", - "item_ids": ["123", "123"], + "item_ids": ["123", "124"], + "brands": ["brand01", "brand02"], "price": "56", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", diff --git a/test/__tests__/data/snapchat_conversion_router_output.json b/test/__tests__/data/snapchat_conversion_router_output.json index bd3268230a..bc68d01086 100644 --- a/test/__tests__/data/snapchat_conversion_router_output.json +++ b/test/__tests__/data/snapchat_conversion_router_output.json @@ -13,7 +13,7 @@ "body": { "JSON": {}, "JSON_ARRAY": { - "batch": "[{\"search_string\":\"t-shirts\",\"event_type\":\"SEARCH\",\"hashed_email\":\"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2\",\"hashed_phone_number\":\"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492\",\"hashed_idfv\":\"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f\",\"hashed_mobile_ad_id\":\"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2\",\"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\":\"OFFLINE\",\"pixel_id\":\"dummyPixelId\"},{\"search_string\":\"t-shirts\",\"event_type\":\"SEARCH\",\"hashed_email\":\"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2\",\"hashed_phone_number\":\"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492\",\"hashed_idfv\":\"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f\",\"hashed_mobile_ad_id\":\"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2\",\"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\":\"OFFLINE\",\"pixel_id\":\"dummyPixelId\"},{\"search_string\":\"t-shirts\",\"event_type\":\"SEARCH\",\"hashed_email\":\"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2\",\"hashed_phone_number\":\"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492\",\"hashed_idfv\":\"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f\",\"hashed_mobile_ad_id\":\"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2\",\"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\":\"OFFLINE\",\"pixel_id\":\"dummyPixelId\"}]" + "batch": "[{\"search_string\":\"t-shirts\",\"event_type\":\"SEARCH\",\"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\",\"hashed_email\":\"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2\",\"hashed_phone_number\":\"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492\",\"hashed_idfv\":\"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f\",\"hashed_mobile_ad_id\":\"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2\",\"timestamp\":\"1650625078\",\"event_conversion_type\":\"OFFLINE\",\"pixel_id\":\"dummyPixelId\"},{\"search_string\":\"t-shirts\",\"event_type\":\"SEARCH\",\"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\",\"hashed_email\":\"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2\",\"hashed_phone_number\":\"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492\",\"hashed_idfv\":\"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f\",\"hashed_mobile_ad_id\":\"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2\",\"timestamp\":\"1650625078\",\"event_conversion_type\":\"OFFLINE\",\"pixel_id\":\"dummyPixelId\"},{\"search_string\":\"t-shirts\",\"event_type\":\"SEARCH\",\"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\",\"hashed_email\":\"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2\",\"hashed_phone_number\":\"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492\",\"hashed_idfv\":\"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f\",\"hashed_mobile_ad_id\":\"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2\",\"timestamp\":\"1650625078\",\"event_conversion_type\":\"OFFLINE\",\"pixel_id\":\"dummyPixelId\"}]" }, "XML": {}, "FORM": {} From 73d92951c82ba80c9dcef7b5958532c9e25a0f0b Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 11 Oct 2023 10:44:40 +0000 Subject: [PATCH 13/98] chore(release): 1.45.0 --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7341a6623..c42ecacbce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,45 @@ 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.45.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.2...v1.45.0) (2023-10-11) + + +### Features + +* add axios mocking to component test-suite ([#2638](https://github.com/rudderlabs/rudder-transformer/issues/2638)) ([100c808](https://github.com/rudderlabs/rudder-transformer/commit/100c80881eb99716198231deb9ec0e69dc3fa2a0)) +* add circular reference check in flattern json ([#2650](https://github.com/rudderlabs/rudder-transformer/issues/2650)) ([a21ea3a](https://github.com/rudderlabs/rudder-transformer/commit/a21ea3aaecfc3d10de3f4eaa34425dda388032ff)) +* **gaec:** partial failures handling ([#2631](https://github.com/rudderlabs/rudder-transformer/issues/2631)) ([0008277](https://github.com/rudderlabs/rudder-transformer/commit/0008277fe43d20ced4066f8f1f1b0f1d12345f01)) +* **integrations:** introduced new status codes to suppress or filter events ([#2611](https://github.com/rudderlabs/rudder-transformer/issues/2611)) ([6bdb01e](https://github.com/rudderlabs/rudder-transformer/commit/6bdb01e1152f52339dc6d1936cbe686e64faf070)) +* **iterable:** user deletion support ([#2621](https://github.com/rudderlabs/rudder-transformer/issues/2621)) ([c0ab19a](https://github.com/rudderlabs/rudder-transformer/commit/c0ab19a293a72ea0a7575b863356aea9a0e6762f)) +* onboard braze stats ([#2703](https://github.com/rudderlabs/rudder-transformer/issues/2703)) ([f205325](https://github.com/rudderlabs/rudder-transformer/commit/f2053255bedac6017f909fe8b6de3775dd50bc93)) +* support page call in snapchat conversion ([#2688](https://github.com/rudderlabs/rudder-transformer/issues/2688)) ([d681d5e](https://github.com/rudderlabs/rudder-transformer/commit/d681d5e1a39c1914e3a237e1020553518c297416)) +* tslint rules enable ([#2604](https://github.com/rudderlabs/rudder-transformer/issues/2604)) ([4d6c4b8](https://github.com/rudderlabs/rudder-transformer/commit/4d6c4b834de005484dc1099a52c69ab6212273e8)) + + +### Bug Fixes + +* add auth status inactive category handling to GA in userDeletion flow ([#2669](https://github.com/rudderlabs/rudder-transformer/issues/2669)) ([b784800](https://github.com/rudderlabs/rudder-transformer/commit/b7848004e2679ec7278c8381560cb1a77da6c642)) +* add optional chaining for error message in network handler of Intercom ([#2648](https://github.com/rudderlabs/rudder-transformer/issues/2648)) ([10a13bc](https://github.com/rudderlabs/rudder-transformer/commit/10a13bcf7f987de45540b52d414883664e43f9cd)) +* added matchId check and timestamp conversion ([#2709](https://github.com/rudderlabs/rudder-transformer/issues/2709)) ([f49244d](https://github.com/rudderlabs/rudder-transformer/commit/f49244dce6cf15812d894d22c43d2432b5a4756a)) +* bqstream event ordering fix ([#2624](https://github.com/rudderlabs/rudder-transformer/issues/2624)) ([e97e7ca](https://github.com/rudderlabs/rudder-transformer/commit/e97e7caed20ffb007f1c543e15c15c6e89e2dfb7)) +* bugsnag event sent as an object for track call ([#2681](https://github.com/rudderlabs/rudder-transformer/issues/2681)) ([b211840](https://github.com/rudderlabs/rudder-transformer/commit/b21184019691b472650901f6002ef81b579a1146)) +* correct handling of permission_denied error for GAEC & GARL ([#2699](https://github.com/rudderlabs/rudder-transformer/issues/2699)) ([eca3be1](https://github.com/rudderlabs/rudder-transformer/commit/eca3be1fdcb7ac0ebf9432e9686a75fad2d6dc78)) +* create instance of transformedObj ([#2694](https://github.com/rudderlabs/rudder-transformer/issues/2694)) ([bbf7ad4](https://github.com/rudderlabs/rudder-transformer/commit/bbf7ad4da603936db4ef8f53d5734c5b4bb84ca9)) +* **garl:** partial failure handling ([#2666](https://github.com/rudderlabs/rudder-transformer/issues/2666)) ([d4cac26](https://github.com/rudderlabs/rudder-transformer/commit/d4cac268193e0db9540f95c7aab39157d70765c1)) +* **hubspot:** add validation for hubspotEvents ([#2643](https://github.com/rudderlabs/rudder-transformer/issues/2643)) ([b49d0ee](https://github.com/rudderlabs/rudder-transformer/commit/b49d0ee576f55e5f95e3d02b7111e995fc9b8ada)) +* **kafka:** add status code & batched value in response structure ([#2684](https://github.com/rudderlabs/rudder-transformer/issues/2684)) ([99f39f5](https://github.com/rudderlabs/rudder-transformer/commit/99f39f5cd62ceb82bd8f51d1de84442b1e59c004)) +* **klaviyo:** sending error field at root level for suppress events ([#2707](https://github.com/rudderlabs/rudder-transformer/issues/2707)) ([bc88f13](https://github.com/rudderlabs/rudder-transformer/commit/bc88f1303ec4f60a466492c72e8c3b57dd5070af)) +* main -> develop conflict ([#2692](https://github.com/rudderlabs/rudder-transformer/issues/2692)) ([75d665d](https://github.com/rudderlabs/rudder-transformer/commit/75d665d765514c5987526e604d5a71d43b8ed3b6)) +* main into develop conflicts ([#2686](https://github.com/rudderlabs/rudder-transformer/issues/2686)) ([e37d693](https://github.com/rudderlabs/rudder-transformer/commit/e37d6938aa6d74685a99fd417e2b96b79619f001)), closes [#2659](https://github.com/rudderlabs/rudder-transformer/issues/2659) [#2661](https://github.com/rudderlabs/rudder-transformer/issues/2661) [#2672](https://github.com/rudderlabs/rudder-transformer/issues/2672) [#2608](https://github.com/rudderlabs/rudder-transformer/issues/2608) [#2624](https://github.com/rudderlabs/rudder-transformer/issues/2624) [#2635](https://github.com/rudderlabs/rudder-transformer/issues/2635) [#2593](https://github.com/rudderlabs/rudder-transformer/issues/2593) [#2643](https://github.com/rudderlabs/rudder-transformer/issues/2643) [#2648](https://github.com/rudderlabs/rudder-transformer/issues/2648) [#2650](https://github.com/rudderlabs/rudder-transformer/issues/2650) [#2656](https://github.com/rudderlabs/rudder-transformer/issues/2656) [#2621](https://github.com/rudderlabs/rudder-transformer/issues/2621) [#2631](https://github.com/rudderlabs/rudder-transformer/issues/2631) [#2657](https://github.com/rudderlabs/rudder-transformer/issues/2657) [#2638](https://github.com/rudderlabs/rudder-transformer/issues/2638) [#2604](https://github.com/rudderlabs/rudder-transformer/issues/2604) [#2669](https://github.com/rudderlabs/rudder-transformer/issues/2669) [#2671](https://github.com/rudderlabs/rudder-transformer/issues/2671) [#2662](https://github.com/rudderlabs/rudder-transformer/issues/2662) [#2659](https://github.com/rudderlabs/rudder-transformer/issues/2659) [#2661](https://github.com/rudderlabs/rudder-transformer/issues/2661) +* **mixpanel:** batch event ordering ([#2608](https://github.com/rudderlabs/rudder-transformer/issues/2608)) ([36c7f06](https://github.com/rudderlabs/rudder-transformer/commit/36c7f06ccfa534b751ca9b3f5c41e9bb6d2e9f00)) +* refactor adjust using optional chaining ([#2671](https://github.com/rudderlabs/rudder-transformer/issues/2671)) ([f63b493](https://github.com/rudderlabs/rudder-transformer/commit/f63b4932d5ba467a82a36d3e8b80578f81f729cf)) +* snapchat conversion introduce missing fields ([#2704](https://github.com/rudderlabs/rudder-transformer/issues/2704)) ([d6488d5](https://github.com/rudderlabs/rudder-transformer/commit/d6488d5a189ea90d1142e4ecb34b2af0bb940fe9)) +* **snyk:** fix dependencies version from snyk ([#2640](https://github.com/rudderlabs/rudder-transformer/issues/2640)) ([8422744](https://github.com/rudderlabs/rudder-transformer/commit/8422744b3af48f71358f7acbe2df7b3688ce04a8)) +* **snyk:** removed aws-sdk dependency ([08a3535](https://github.com/rudderlabs/rudder-transformer/commit/08a3535257e5d84566c95cebc701613478f0e039)) +* **snyk:** removed the new added dependencies ([364779c](https://github.com/rudderlabs/rudder-transformer/commit/364779ce959d7548e5cf1cc8c718b71331dcb378)) +* **snyk:** snyk updated versions merged to oen pr ([16a9b8e](https://github.com/rudderlabs/rudder-transformer/commit/16a9b8e6cc26a8df1331cb1af8774df7cc05c959)) +* use promise for prompts in personalize create tracking script ([#2635](https://github.com/rudderlabs/rudder-transformer/issues/2635)) ([5fbddd1](https://github.com/rudderlabs/rudder-transformer/commit/5fbddd1490b16dbda6bca19df4cac5bef6ff78c5)) + ### [1.44.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.1...v1.44.2) (2023-10-09) diff --git a/package-lock.json b/package-lock.json index e88cdfe9f6..d2bfe402a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.44.2", + "version": "1.45.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.44.2", + "version": "1.45.0", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 88d99217b1..d16ef9ea9f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.44.2", + "version": "1.45.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 2f538ccebf40cc5ea9217fc8a1da6a7299cf22f9 Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Thu, 12 Oct 2023 16:35:31 +0530 Subject: [PATCH 14/98] chore: code review changes --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c42ecacbce..b9b716c948 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,8 +30,6 @@ All notable changes to this project will be documented in this file. See [standa * **hubspot:** add validation for hubspotEvents ([#2643](https://github.com/rudderlabs/rudder-transformer/issues/2643)) ([b49d0ee](https://github.com/rudderlabs/rudder-transformer/commit/b49d0ee576f55e5f95e3d02b7111e995fc9b8ada)) * **kafka:** add status code & batched value in response structure ([#2684](https://github.com/rudderlabs/rudder-transformer/issues/2684)) ([99f39f5](https://github.com/rudderlabs/rudder-transformer/commit/99f39f5cd62ceb82bd8f51d1de84442b1e59c004)) * **klaviyo:** sending error field at root level for suppress events ([#2707](https://github.com/rudderlabs/rudder-transformer/issues/2707)) ([bc88f13](https://github.com/rudderlabs/rudder-transformer/commit/bc88f1303ec4f60a466492c72e8c3b57dd5070af)) -* main -> develop conflict ([#2692](https://github.com/rudderlabs/rudder-transformer/issues/2692)) ([75d665d](https://github.com/rudderlabs/rudder-transformer/commit/75d665d765514c5987526e604d5a71d43b8ed3b6)) -* main into develop conflicts ([#2686](https://github.com/rudderlabs/rudder-transformer/issues/2686)) ([e37d693](https://github.com/rudderlabs/rudder-transformer/commit/e37d6938aa6d74685a99fd417e2b96b79619f001)), closes [#2659](https://github.com/rudderlabs/rudder-transformer/issues/2659) [#2661](https://github.com/rudderlabs/rudder-transformer/issues/2661) [#2672](https://github.com/rudderlabs/rudder-transformer/issues/2672) [#2608](https://github.com/rudderlabs/rudder-transformer/issues/2608) [#2624](https://github.com/rudderlabs/rudder-transformer/issues/2624) [#2635](https://github.com/rudderlabs/rudder-transformer/issues/2635) [#2593](https://github.com/rudderlabs/rudder-transformer/issues/2593) [#2643](https://github.com/rudderlabs/rudder-transformer/issues/2643) [#2648](https://github.com/rudderlabs/rudder-transformer/issues/2648) [#2650](https://github.com/rudderlabs/rudder-transformer/issues/2650) [#2656](https://github.com/rudderlabs/rudder-transformer/issues/2656) [#2621](https://github.com/rudderlabs/rudder-transformer/issues/2621) [#2631](https://github.com/rudderlabs/rudder-transformer/issues/2631) [#2657](https://github.com/rudderlabs/rudder-transformer/issues/2657) [#2638](https://github.com/rudderlabs/rudder-transformer/issues/2638) [#2604](https://github.com/rudderlabs/rudder-transformer/issues/2604) [#2669](https://github.com/rudderlabs/rudder-transformer/issues/2669) [#2671](https://github.com/rudderlabs/rudder-transformer/issues/2671) [#2662](https://github.com/rudderlabs/rudder-transformer/issues/2662) [#2659](https://github.com/rudderlabs/rudder-transformer/issues/2659) [#2661](https://github.com/rudderlabs/rudder-transformer/issues/2661) * **mixpanel:** batch event ordering ([#2608](https://github.com/rudderlabs/rudder-transformer/issues/2608)) ([36c7f06](https://github.com/rudderlabs/rudder-transformer/commit/36c7f06ccfa534b751ca9b3f5c41e9bb6d2e9f00)) * refactor adjust using optional chaining ([#2671](https://github.com/rudderlabs/rudder-transformer/issues/2671)) ([f63b493](https://github.com/rudderlabs/rudder-transformer/commit/f63b4932d5ba467a82a36d3e8b80578f81f729cf)) * snapchat conversion introduce missing fields ([#2704](https://github.com/rudderlabs/rudder-transformer/issues/2704)) ([d6488d5](https://github.com/rudderlabs/rudder-transformer/commit/d6488d5a189ea90d1142e4ecb34b2af0bb940fe9)) From acac447b6d7aef8171856ac13d325e787ffbe32b Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Thu, 12 Oct 2023 17:11:50 +0530 Subject: [PATCH 15/98] chore: update change log --- CHANGELOG.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9b716c948..12690b81ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,37 +7,20 @@ All notable changes to this project will be documented in this file. See [standa ### Features -* add axios mocking to component test-suite ([#2638](https://github.com/rudderlabs/rudder-transformer/issues/2638)) ([100c808](https://github.com/rudderlabs/rudder-transformer/commit/100c80881eb99716198231deb9ec0e69dc3fa2a0)) -* add circular reference check in flattern json ([#2650](https://github.com/rudderlabs/rudder-transformer/issues/2650)) ([a21ea3a](https://github.com/rudderlabs/rudder-transformer/commit/a21ea3aaecfc3d10de3f4eaa34425dda388032ff)) -* **gaec:** partial failures handling ([#2631](https://github.com/rudderlabs/rudder-transformer/issues/2631)) ([0008277](https://github.com/rudderlabs/rudder-transformer/commit/0008277fe43d20ced4066f8f1f1b0f1d12345f01)) * **integrations:** introduced new status codes to suppress or filter events ([#2611](https://github.com/rudderlabs/rudder-transformer/issues/2611)) ([6bdb01e](https://github.com/rudderlabs/rudder-transformer/commit/6bdb01e1152f52339dc6d1936cbe686e64faf070)) -* **iterable:** user deletion support ([#2621](https://github.com/rudderlabs/rudder-transformer/issues/2621)) ([c0ab19a](https://github.com/rudderlabs/rudder-transformer/commit/c0ab19a293a72ea0a7575b863356aea9a0e6762f)) * onboard braze stats ([#2703](https://github.com/rudderlabs/rudder-transformer/issues/2703)) ([f205325](https://github.com/rudderlabs/rudder-transformer/commit/f2053255bedac6017f909fe8b6de3775dd50bc93)) * support page call in snapchat conversion ([#2688](https://github.com/rudderlabs/rudder-transformer/issues/2688)) ([d681d5e](https://github.com/rudderlabs/rudder-transformer/commit/d681d5e1a39c1914e3a237e1020553518c297416)) -* tslint rules enable ([#2604](https://github.com/rudderlabs/rudder-transformer/issues/2604)) ([4d6c4b8](https://github.com/rudderlabs/rudder-transformer/commit/4d6c4b834de005484dc1099a52c69ab6212273e8)) ### Bug Fixes -* add auth status inactive category handling to GA in userDeletion flow ([#2669](https://github.com/rudderlabs/rudder-transformer/issues/2669)) ([b784800](https://github.com/rudderlabs/rudder-transformer/commit/b7848004e2679ec7278c8381560cb1a77da6c642)) -* add optional chaining for error message in network handler of Intercom ([#2648](https://github.com/rudderlabs/rudder-transformer/issues/2648)) ([10a13bc](https://github.com/rudderlabs/rudder-transformer/commit/10a13bcf7f987de45540b52d414883664e43f9cd)) * added matchId check and timestamp conversion ([#2709](https://github.com/rudderlabs/rudder-transformer/issues/2709)) ([f49244d](https://github.com/rudderlabs/rudder-transformer/commit/f49244dce6cf15812d894d22c43d2432b5a4756a)) -* bqstream event ordering fix ([#2624](https://github.com/rudderlabs/rudder-transformer/issues/2624)) ([e97e7ca](https://github.com/rudderlabs/rudder-transformer/commit/e97e7caed20ffb007f1c543e15c15c6e89e2dfb7)) * bugsnag event sent as an object for track call ([#2681](https://github.com/rudderlabs/rudder-transformer/issues/2681)) ([b211840](https://github.com/rudderlabs/rudder-transformer/commit/b21184019691b472650901f6002ef81b579a1146)) * correct handling of permission_denied error for GAEC & GARL ([#2699](https://github.com/rudderlabs/rudder-transformer/issues/2699)) ([eca3be1](https://github.com/rudderlabs/rudder-transformer/commit/eca3be1fdcb7ac0ebf9432e9686a75fad2d6dc78)) -* create instance of transformedObj ([#2694](https://github.com/rudderlabs/rudder-transformer/issues/2694)) ([bbf7ad4](https://github.com/rudderlabs/rudder-transformer/commit/bbf7ad4da603936db4ef8f53d5734c5b4bb84ca9)) * **garl:** partial failure handling ([#2666](https://github.com/rudderlabs/rudder-transformer/issues/2666)) ([d4cac26](https://github.com/rudderlabs/rudder-transformer/commit/d4cac268193e0db9540f95c7aab39157d70765c1)) -* **hubspot:** add validation for hubspotEvents ([#2643](https://github.com/rudderlabs/rudder-transformer/issues/2643)) ([b49d0ee](https://github.com/rudderlabs/rudder-transformer/commit/b49d0ee576f55e5f95e3d02b7111e995fc9b8ada)) * **kafka:** add status code & batched value in response structure ([#2684](https://github.com/rudderlabs/rudder-transformer/issues/2684)) ([99f39f5](https://github.com/rudderlabs/rudder-transformer/commit/99f39f5cd62ceb82bd8f51d1de84442b1e59c004)) * **klaviyo:** sending error field at root level for suppress events ([#2707](https://github.com/rudderlabs/rudder-transformer/issues/2707)) ([bc88f13](https://github.com/rudderlabs/rudder-transformer/commit/bc88f1303ec4f60a466492c72e8c3b57dd5070af)) -* **mixpanel:** batch event ordering ([#2608](https://github.com/rudderlabs/rudder-transformer/issues/2608)) ([36c7f06](https://github.com/rudderlabs/rudder-transformer/commit/36c7f06ccfa534b751ca9b3f5c41e9bb6d2e9f00)) -* refactor adjust using optional chaining ([#2671](https://github.com/rudderlabs/rudder-transformer/issues/2671)) ([f63b493](https://github.com/rudderlabs/rudder-transformer/commit/f63b4932d5ba467a82a36d3e8b80578f81f729cf)) * snapchat conversion introduce missing fields ([#2704](https://github.com/rudderlabs/rudder-transformer/issues/2704)) ([d6488d5](https://github.com/rudderlabs/rudder-transformer/commit/d6488d5a189ea90d1142e4ecb34b2af0bb940fe9)) -* **snyk:** fix dependencies version from snyk ([#2640](https://github.com/rudderlabs/rudder-transformer/issues/2640)) ([8422744](https://github.com/rudderlabs/rudder-transformer/commit/8422744b3af48f71358f7acbe2df7b3688ce04a8)) -* **snyk:** removed aws-sdk dependency ([08a3535](https://github.com/rudderlabs/rudder-transformer/commit/08a3535257e5d84566c95cebc701613478f0e039)) -* **snyk:** removed the new added dependencies ([364779c](https://github.com/rudderlabs/rudder-transformer/commit/364779ce959d7548e5cf1cc8c718b71331dcb378)) -* **snyk:** snyk updated versions merged to oen pr ([16a9b8e](https://github.com/rudderlabs/rudder-transformer/commit/16a9b8e6cc26a8df1331cb1af8774df7cc05c959)) -* use promise for prompts in personalize create tracking script ([#2635](https://github.com/rudderlabs/rudder-transformer/issues/2635)) ([5fbddd1](https://github.com/rudderlabs/rudder-transformer/commit/5fbddd1490b16dbda6bca19df4cac5bef6ff78c5)) ### [1.44.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.1...v1.44.2) (2023-10-09) From 4682268d8396a40685a343a5c4f3978e7316d2d3 Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Fri, 13 Oct 2023 15:29:48 +0530 Subject: [PATCH 16/98] feat: onboard source ortto (#2693) * feat: onboard source ortto * fix: add mocking for anonymousId * fix: add timestamp mapping * fix: correct event mapping * feat: update mapping and refactor code * chore: improve test coverage --- src/v0/sources/ortto/event_mapping.json | 95 ++++++ src/v0/sources/ortto/mapping.json | 38 +++ src/v0/sources/ortto/transform.js | 114 +++++++ test/integrations/sources/ortto/data.ts | 393 ++++++++++++++++++++++++ 4 files changed, 640 insertions(+) create mode 100644 src/v0/sources/ortto/event_mapping.json create mode 100644 src/v0/sources/ortto/mapping.json create mode 100644 src/v0/sources/ortto/transform.js create mode 100644 test/integrations/sources/ortto/data.ts diff --git a/src/v0/sources/ortto/event_mapping.json b/src/v0/sources/ortto/event_mapping.json new file mode 100644 index 0000000000..f2075c7cd3 --- /dev/null +++ b/src/v0/sources/ortto/event_mapping.json @@ -0,0 +1,95 @@ +{ + "act::s": "Sent email", + "act::c": "Clicked email", + "act::o": "Opened email", + "act::r": "Received email", + "act::b": "Bounced email", + "act::sk": "Skipped email", + "act::rt": "Redacted email", + "act::f": "Forwarded email", + "act::i": "Invalid email", + "act::v": "Viewed email online", + "act::d": "Deferred email", + + "act::ss": "Incident Triggered", + "act::ds": "Incident Unacknowledged", + "act::cs": "Service Created", + "act::is": "Service Deleted", + "act::bs": "Service Updated", + "act::des": "Service Updated", + "act::rs": "Service Updated", + "act::rtss": "Service Updated", + "act::ras": "Service Updated", + "act::cos": "Service Updated", + "act::rtns": "Service Updated", + "act::sf": "Submitted form", + "act::oos-a": "Opted out from SMS audience", + "act::ois-a": "Opted in to SMS audience", + "act::oos-all": "Opted out from all SMS", + "act::ros-all": "Opted in to all SMS", + "act::ss-ab": "SMS subscription abuse", + "act::scr": "SMS consent requested", + "act::scf": "SMS consent failed", + + "act::sph": "Sent push", + "act::dph": "Delivered push", + "act::cph": "Clicked push", + "act::iph": "Invalid push", + "act::oiip-all": "Opted in to all iOS push", + "act::ooip-all": "Opted out of all iOS push", + "act::oiip-a": "Opted in to iOS push audience", + "act::oips-a": "Opted out of iOS push audience", + "act::oigp-all": "Opted in to all Android push", + "act::oogp-all": "Opted out of all Android push", + "act::oigp-a": "Opted out of Android push audience", + "act::oogs-a": "Opted in to Android push audience", + "act::oiwp-all": "Opted in to all web push", + "act::oowp-all": "Opted out of all web push", + "act::oiwp-a": "Opted in to web push audience", + "act::oows-a": "Opted out of to web push audience", + "act::iws-ab": "Web push subscription abuse", + + "act::ws": "Website session", + "act::us": "User session", + + "act::enter-audience": "Entered audience", + "act::leave-audience": "Left audience", + "act::ta": "Tag added", + "act::tr": "Tag removed", + "act::u-a": "Unsubscribe from audience", + "act::s-a": "Subscribe to audience", + "act::u-all": "Un subscribe from all email", + "act::s-all": "Resubscribe globally", + "act::s-ab": "Subscription abuse", + + "act::ep": "Entered playbook", + "act::lp": "Left playbook", + "act::spa": "Successful playbook action", + "act::fpa": "Failed playbook action", + + "act::ej": "Entered journey", + "act::lj": "Left journey", + "act::sja": "Successful journey action", + "act::fja": "Failed journey action", + + "act::cw": "Clicked widget", + "act::sw": "Shown widget", + "act::dw": "Dismissed widget", + "act::rw": "Reacted to widget", + "act::swf": "Submitted widget form", + "act::rws": "Responded to widget survey", + "act::wwv": "Watched widget video", + "act::sww": "Spun widget wheel", + + "act::cop": "Conversation opened", + "act::cro": "Conversation re-opened", + "act::cas": "Conversation assigned", + "act::clc": "Conversation closed", + "act::csn": "Conversation snoozed", + "act::crt": "Conversation rated", + "act::cms": "Conversation marked as spam", + "act::cvs": "Conversation voice call started", + "act::cve": "Conversation voice call ended", + "act::ctg": "Conversation tagged", + "act::cut": "Conversation un-tagged" +} diff --git a/src/v0/sources/ortto/mapping.json b/src/v0/sources/ortto/mapping.json new file mode 100644 index 0000000000..30ac8e153c --- /dev/null +++ b/src/v0/sources/ortto/mapping.json @@ -0,0 +1,38 @@ +[ + { + "sourceKeys": "contact.email", + "destKeys": "context.traits.email" + }, + { + "sourceKeys": "contact.external_id", + "destKeys": "userId" + }, + { + "sourceKeys": "contact.country.name", + "destKeys": "context.traits.address.country" + }, + { + "sourceKeys": "contact.city.name", + "destKeys": "context.traits.address.city" + }, + { + "sourceKeys": "contact.postal", + "destKeys": "context.traits.address.postalCode" + }, + { + "sourceKeys": "id", + "destKeys": "messageId" + }, + { + "sourceKeys": "time", + "destKeys": "originalTimestamp" + }, + { + "sourceKeys": "contact.first_name", + "destKeys": "context.traits.firstName" + }, + { + "sourceKeys": "contact.last_name", + "destKeys": "context.traits.lastName" + } +] diff --git a/src/v0/sources/ortto/transform.js b/src/v0/sources/ortto/transform.js new file mode 100644 index 0000000000..b40163f567 --- /dev/null +++ b/src/v0/sources/ortto/transform.js @@ -0,0 +1,114 @@ +const path = require('path'); +const fs = require('fs'); +const { flattenJson, removeUndefinedAndNullValues, generateUUID } = require('../../util'); +const Message = require('../message'); +const eventMapping = require('./event_mapping.json'); +const { JSON_MIME_TYPE } = require('../../util/constant'); + +// import mapping json using JSON.parse to preserve object key order +const mapping = JSON.parse(fs.readFileSync(path.resolve(__dirname, './mapping.json'), 'utf-8')); + +function settingProperties(event, message) { + const messageReplica = message; + + // flattening the event and assigning it to properties + messageReplica.properties = removeUndefinedAndNullValues(flattenJson(event)); + + // fields that are already mapped + const excludeFields = [ + 'contact.email', + 'contact.contact_id', + 'id', + 'time', + 'activity.field_id', + 'contact.external_id', + 'contact.country.name', + 'contact.city.name', + 'contact.postal', + 'contact.first_name', + 'contact.last_name', + 'contact.birthday.day', + 'contact.birthday.month', + 'contact.birthday.year', + 'contact.phone_number.c', + 'contact.phone_number', + 'contact.phone_number.n', + ]; + + // deleting already mapped fields + excludeFields.forEach((field) => { + delete messageReplica.properties[field]; + }); + + return message; +} + +function process(event) { + let message = new Message(`ortto`); + + // Here, we are checking for the test event to discard them + if (event.activity?.field_id === 'act::test_webhook') { + return { + outputToSource: { + body: Buffer.from(JSON.stringify(event)).toString('base64'), + contentType: JSON_MIME_TYPE, + }, + statusCode: 200, + }; + } + + // we are setting event type as track always + message.setEventType('track'); + + message.setPropertiesV2(event, mapping); + + // setting anonymousId + if (!message.userId) { + message.anonymousId = generateUUID(); + } + + if (event.contact?.birthday) { + const month = + event.contact.birthday?.month < 10 + ? `0${event.contact.birthday?.month}` + : event.contact.birthday?.month; + const day = + event.contact.birthday?.day < 10 + ? `0${event.contact.birthday?.day}` + : event.contact.birthday?.day; + message.context.traits.birthday = `${event.contact.birthday?.year}-${month}-${day}`; + } + + if (event.contact?.phone_number) { + message.context.traits.phone = `${event.contact.phone_number?.c}${event.contact.phone_number?.n}`; + } + + // Updating timestamp to acceptable timestamp format ["2023-10-10T06:24:19.103820974Z" -> "2023-10-10T06:24:19.000Z"] + if (message.originalTimestamp) { + const date = `${Math.floor(new Date(message.originalTimestamp).getTime() / 1000)}`; + message.originalTimestamp = new Date(date * 1000).toISOString(); + } + + // setting event Name + message.setEventName(eventMapping[event.activity.field_id]); + + if (!message.event) { + message.event = 'custom event triggered'; + } + + // setting up ortto contact.contact_id to externalId + if (event.contact?.contact_id) { + message.context.externalId = [ + { + type: 'orttoPersonId', + id: event.contact.contact_id, + }, + ]; + } + + message = settingProperties(event, message); + + return message; +} + +module.exports = { process }; diff --git a/test/integrations/sources/ortto/data.ts b/test/integrations/sources/ortto/data.ts new file mode 100644 index 0000000000..6feed3f43a --- /dev/null +++ b/test/integrations/sources/ortto/data.ts @@ -0,0 +1,393 @@ +import utils from '../../../../src/v0/util'; + +const defaultMockFns = () => { + jest.spyOn(utils, 'generateUUID').mockReturnValue('97fcd7b2-cc24-47d7-b776-057b7b199513'); +}; + +export const data = [ + { + name: 'ortto', + description: 'Simple track call', + module: 'source', + version: 'v0', + input: { + request: { + body: [ + { + activity: { + id: '00651b946bfef7e80478efee', + field_id: 'act::s-all', + created: '2023-10-03T04:11:23Z', + attr: { + 'str::is': 'API', + 'str::s-ctx': 'Subscribed via API', + }, + }, + contact: { + contact_id: '00651b946baa9be6b2edad00', + email: 'abhi@example.com', + }, + id: '00651b946cef87c7af64f4f3', + time: '2023-10-03T04:11:24.25726779Z', + webhook_id: '651b8aec8002153e16319fd3', + }, + ], + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + batch: [ + { + context: { + library: { name: 'unknown', version: 'unknown' }, + integration: { name: 'ortto' }, + traits: { email: 'abhi@example.com' }, + externalId: [ + { + id: '00651b946baa9be6b2edad00', + type: 'orttoPersonId', + }, + ], + }, + event: 'Resubscribe globally', + integrations: { ortto: false }, + type: 'track', + anonymousId: '97fcd7b2-cc24-47d7-b776-057b7b199513', + messageId: '00651b946cef87c7af64f4f3', + originalTimestamp: '2023-10-03T04:11:24.000Z', + properties: { + 'activity.id': '00651b946bfef7e80478efee', + 'activity.created': '2023-10-03T04:11:23Z', + 'activity.attr.str::is': 'API', + 'activity.attr.str::s-ctx': 'Subscribed via API', + webhook_id: '651b8aec8002153e16319fd3', + }, + }, + ], + }, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'ortto', + description: 'Simple track call', + module: 'source', + version: 'v0', + input: { + request: { + body: [ + { + activity: { + id: '00651b946bfef7e80478efee', + field_id: 'act::s-all', + created: '2023-10-03T04:11:23Z', + attr: { + 'str::is': 'API', + 'str::s-ctx': 'Subscribed via API', + }, + }, + contact: { + external_id: 'user_x', + city: { + name: 'Kolkata', + id: 0, + lat: 37751000, + lng: -97822000, + }, + country: { + name: 'United States', + id: 6252001, + lat: 0, + lng: 0, + }, + email: 'xyz@email.com', + first_name: 'Ujjwal', + last_name: 'Ujjwal', + birthday: { + year: 1980, + month: 12, + day: 11, + timezone: 'Australia/Sydney', + }, + phone_number: { + c: '91', + n: '401234567', + }, + }, + id: '00651b946cef87c7af64f4f3', + time: '2023-10-03T04:11:24.25726779Z', + webhook_id: '651b8aec8002153e16319fd3', + }, + ], + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + batch: [ + { + userId: 'user_x', + context: { + library: { name: 'unknown', version: 'unknown' }, + integration: { name: 'ortto' }, + traits: { + email: 'xyz@email.com', + birthday: '1980-12-11', + firstName: 'Ujjwal', + lastName: 'Ujjwal', + phone: '91401234567', + address: { + city: 'Kolkata', + country: 'United States', + }, + }, + }, + event: 'Resubscribe globally', + integrations: { ortto: false }, + type: 'track', + messageId: '00651b946cef87c7af64f4f3', + originalTimestamp: '2023-10-03T04:11:24.000Z', + properties: { + 'activity.id': '00651b946bfef7e80478efee', + 'activity.created': '2023-10-03T04:11:23Z', + 'activity.attr.str::is': 'API', + 'activity.attr.str::s-ctx': 'Subscribed via API', + 'contact.birthday.timezone': 'Australia/Sydney', + 'contact.city.id': 0, + 'contact.city.lat': 37751000, + 'contact.city.lng': -97822000, + 'contact.country.id': 6252001, + 'contact.country.lat': 0, + 'contact.country.lng': 0, + webhook_id: '651b8aec8002153e16319fd3', + }, + }, + ], + }, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'ortto', + description: 'Simple track call with unknown field id', + module: 'source', + version: 'v0', + input: { + request: { + body: [ + { + activity: { + id: '00651b946bfef7e80478efee', + field_id: 'act::s-ccc', + created: '2023-10-03T04:11:23Z', + attr: { + 'str::is': 'API', + 'str::s-ctx': 'Subscribed via API', + }, + }, + contact: { + external_id: 'user_x', + city: { + name: 'Kolkata', + id: 0, + lat: 37751000, + lng: -97822000, + }, + contact_id: '006524f0b8d370050056e400', + country: { + name: 'United States', + id: 6252001, + lat: 0, + lng: 0, + }, + email: 'xyz@email.com', + first_name: 'Ujjwal', + last_name: 'Ujjwal', + birthday: { + year: 1980, + month: 3, + day: 4, + timezone: 'Australia/Sydney', + }, + phone_number: { + c: '91', + n: '401234567', + }, + }, + id: '00651b946cef87c7af64f4f3', + time: '2023-10-03T04:11:24.25726779Z', + webhook_id: '651b8aec8002153e16319fd3', + }, + ], + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + batch: [ + { + userId: 'user_x', + context: { + externalId: [ + { + id: '006524f0b8d370050056e400', + type: 'orttoPersonId', + }, + ], + library: { name: 'unknown', version: 'unknown' }, + integration: { name: 'ortto' }, + traits: { + email: 'xyz@email.com', + birthday: '1980-03-04', + firstName: 'Ujjwal', + lastName: 'Ujjwal', + phone: '91401234567', + address: { + city: 'Kolkata', + country: 'United States', + }, + }, + }, + event: 'custom event triggered', + integrations: { ortto: false }, + type: 'track', + messageId: '00651b946cef87c7af64f4f3', + originalTimestamp: '2023-10-03T04:11:24.000Z', + properties: { + 'activity.id': '00651b946bfef7e80478efee', + 'activity.created': '2023-10-03T04:11:23Z', + 'activity.attr.str::is': 'API', + 'activity.attr.str::s-ctx': 'Subscribed via API', + 'contact.birthday.timezone': 'Australia/Sydney', + 'contact.city.id': 0, + 'contact.city.lat': 37751000, + 'contact.city.lng': -97822000, + 'contact.country.id': 6252001, + 'contact.country.lat': 0, + 'contact.country.lng': 0, + webhook_id: '651b8aec8002153e16319fd3', + }, + }, + ], + }, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'ortto', + description: 'Simple track call with unknown field id', + module: 'source', + version: 'v0', + input: { + request: { + body: [ + { + activity: { + id: '00651b946bfef7e80478efee', + field_id: 'act::test_webhook', + created: '2023-10-03T04:11:23Z', + attr: { + 'str::is': 'API', + 'str::s-ctx': 'Subscribed via API', + }, + }, + contact: { + external_id: 'user_x', + city: { + name: 'Kolkata', + id: 0, + lat: 37751000, + lng: -97822000, + }, + contact_id: '006524f0b8d370050056e400', + country: { + name: 'United States', + id: 6252001, + lat: 0, + lng: 0, + }, + email: 'xyz@email.com', + first_name: 'Ujjwal', + last_name: 'Ujjwal', + birthday: { + year: 1980, + month: 3, + day: 4, + timezone: 'Australia/Sydney', + }, + phone_number: { + c: '91', + n: '401234567', + }, + }, + id: '00651b946cef87c7af64f4f3', + time: '2023-10-03T04:11:24.25726779Z', + webhook_id: '651b8aec8002153e16319fd3', + }, + ], + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + outputToSource: { + body: 'eyJhY3Rpdml0eSI6eyJpZCI6IjAwNjUxYjk0NmJmZWY3ZTgwNDc4ZWZlZSIsImZpZWxkX2lkIjoiYWN0Ojp0ZXN0X3dlYmhvb2siLCJjcmVhdGVkIjoiMjAyMy0xMC0wM1QwNDoxMToyM1oiLCJhdHRyIjp7InN0cjo6aXMiOiJBUEkiLCJzdHI6OnMtY3R4IjoiU3Vic2NyaWJlZCB2aWEgQVBJIn19LCJjb250YWN0Ijp7ImV4dGVybmFsX2lkIjoidXNlcl94IiwiY2l0eSI6eyJuYW1lIjoiS29sa2F0YSIsImlkIjowLCJsYXQiOjM3NzUxMDAwLCJsbmciOi05NzgyMjAwMH0sImNvbnRhY3RfaWQiOiIwMDY1MjRmMGI4ZDM3MDA1MDA1NmU0MDAiLCJjb3VudHJ5Ijp7Im5hbWUiOiJVbml0ZWQgU3RhdGVzIiwiaWQiOjYyNTIwMDEsImxhdCI6MCwibG5nIjowfSwiZW1haWwiOiJ4eXpAZW1haWwuY29tIiwiZmlyc3RfbmFtZSI6IlVqandhbCIsImxhc3RfbmFtZSI6IlVqandhbCIsImJpcnRoZGF5Ijp7InllYXIiOjE5ODAsIm1vbnRoIjozLCJkYXkiOjQsInRpbWV6b25lIjoiQXVzdHJhbGlhL1N5ZG5leSJ9LCJwaG9uZV9udW1iZXIiOnsiYyI6IjkxIiwibiI6IjQwMTIzNDU2NyJ9fSwiaWQiOiIwMDY1MWI5NDZjZWY4N2M3YWY2NGY0ZjMiLCJ0aW1lIjoiMjAyMy0xMC0wM1QwNDoxMToyNC4yNTcyNjc3OVoiLCJ3ZWJob29rX2lkIjoiNjUxYjhhZWM4MDAyMTUzZTE2MzE5ZmQzIn0=', + contentType: 'application/json', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, +]; From 43e1a61e19ad8b9c0fb999fe900b91347acb7ef8 Mon Sep 17 00:00:00 2001 From: Sandeep Digumarty Date: Fri, 13 Oct 2023 16:31:06 +0530 Subject: [PATCH 17/98] feat: facebook pixel audit refactor (#2713) * feat: facebook pixel audit refactoring * feat: facebook pixel audit refactoring * feat: updated optional chaining and fixed a minor bug --- src/v0/destinations/facebook_pixel/config.js | 30 ++- .../destinations/facebook_pixel/transform.js | 181 ++++-------------- src/v0/destinations/facebook_pixel/utils.js | 148 +++++++++++--- 3 files changed, 186 insertions(+), 173 deletions(-) diff --git a/src/v0/destinations/facebook_pixel/config.js b/src/v0/destinations/facebook_pixel/config.js index 09be8e043d..99c3c70b2d 100644 --- a/src/v0/destinations/facebook_pixel/config.js +++ b/src/v0/destinations/facebook_pixel/config.js @@ -15,31 +15,37 @@ const CONFIG_CATEGORIES = { PRODUCT_LIST_VIEWED: { standard: true, type: 'product list viewed', + eventName: 'ViewContent', name: 'FBPIXELPSimpleCustomConfig', }, PRODUCT_VIEWED: { standard: true, type: 'product viewed', + eventName: 'ViewContent', name: 'FBPIXELPSimpleCustomConfig', }, PRODUCT_ADDED: { standard: true, type: 'product added', + eventName: 'AddToCart', name: 'FBPIXELPSimpleCustomConfig', }, ORDER_COMPLETED: { standard: true, type: 'order completed', + eventName: 'Purchase', name: 'FBPIXELPSimpleCustomConfig', }, PRODUCTS_SEARCHED: { standard: true, type: 'products searched', + eventName: 'Search', name: 'FBPIXELPSimpleCustomConfig', }, CHECKOUT_STARTED: { standard: true, type: 'checkout started', + eventName: 'InitiateCheckout', name: 'FBPIXELPSimpleCustomConfig', }, OTHER_STANDARD: { @@ -50,9 +56,15 @@ const CONFIG_CATEGORIES = { PAGE_VIEW: { standard: true, type: 'page_view', + eventName: 'PageView', + name: 'FBPIXELPSimpleCustomConfig', + }, + PAGE: { + standard: false, + type: 'page', + eventName: 'PageView', name: 'FBPIXELPSimpleCustomConfig', }, - PAGE: { standard: false, type: 'page', name: 'FBPIXELPSimpleCustomConfig' }, }; const MAPPING_CONFIG = getMappingConfig(CONFIG_CATEGORIES, __dirname); @@ -67,6 +79,21 @@ const ACTION_SOURCES_VALUES = [ 'other', ]; +const OTHER_STANDARD_EVENTS = [ + 'AddToWishlist', + 'AddPaymentInfo', + 'Lead', + 'CompleteRegistration', + 'Contact', + 'CustomizeProduct', + 'Donate', + 'FindLocation', + 'Schedule', + 'StartTrial', + 'SubmitApplication', + 'Subscribe', +]; + const FB_PIXEL_DEFAULT_EXCLUSION = ['opt_out', 'event_id', 'action_source']; const STANDARD_ECOMM_EVENTS_TYPE = [ CONFIG_CATEGORIES.PRODUCT_LIST_VIEWED.type, @@ -83,5 +110,6 @@ module.exports = { ACTION_SOURCES_VALUES, FB_PIXEL_DEFAULT_EXCLUSION, STANDARD_ECOMM_EVENTS_TYPE, + OTHER_STANDARD_EVENTS, DESTINATION: 'FACEBOOK_PIXEL', }; diff --git a/src/v0/destinations/facebook_pixel/transform.js b/src/v0/destinations/facebook_pixel/transform.js index c81718dea0..48c4c30563 100644 --- a/src/v0/destinations/facebook_pixel/transform.js +++ b/src/v0/destinations/facebook_pixel/transform.js @@ -17,6 +17,7 @@ const { getIntegrationsObj, getValidDynamicFormConfig, simpleProcessRouterDest, + getHashFromArray, } = require('../../util'); const { @@ -28,13 +29,19 @@ const { handleProductListViewed, handleOrder, formingFinalResponse, + populateCustomDataBasedOnCategory, + getCategoryFromEvent, } = require('./utils'); const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); -const responseBuilderSimple = (message, category, destination, categoryToContent) => { - const { Config } = destination; +const responseBuilderSimple = (message, category, destination) => { + const { Config, ID } = destination; const { pixelId, accessToken } = Config; + let { categoryToContent } = Config; + if (Array.isArray(categoryToContent)) { + categoryToContent = getValidDynamicFormConfig(categoryToContent, 'from', 'to', 'FB_PIXEL', ID); + } if (!pixelId) { throw new ConfigurationError('Pixel Id not found. Aborting'); @@ -59,12 +66,15 @@ const responseBuilderSimple = (message, category, destination, categoryToContent const userData = fetchUserData(message, Config); - let customData = {}; - let commonData = {}; - - commonData = constructPayload(message, MAPPING_CONFIG[CONFIG_CATEGORIES.COMMON.name], 'fb_pixel'); + const commonData = constructPayload( + message, + MAPPING_CONFIG[CONFIG_CATEGORIES.COMMON.name], + 'fb_pixel', + ); commonData.action_source = getActionSource(commonData, message?.channel); + let customData = {}; + if (category.type !== 'identify') { customData = flattenJson( extractCustomFields(message, customData, ['properties'], FB_PIXEL_DEFAULT_EXCLUSION), @@ -82,74 +92,20 @@ const responseBuilderSimple = (message, category, destination, categoryToContent customData, blacklistPiiProperties, whitelistPiiProperties, - category.standard, integrationsObj, ); message.properties = message.properties || {}; if (category.standard) { - switch (category.type) { - case 'product list viewed': - customData = { - ...customData, - ...handleProductListViewed(message, categoryToContent), - }; - commonData.event_name = 'ViewContent'; - break; - case 'product viewed': - customData = { - ...customData, - ...handleProduct(message, categoryToContent, valueFieldIdentifier), - }; - commonData.event_name = 'ViewContent'; - break; - case 'product added': - customData = { - ...customData, - ...handleProduct(message, categoryToContent, valueFieldIdentifier), - }; - commonData.event_name = 'AddToCart'; - break; - case 'order completed': - customData = { - ...customData, - ...handleOrder(message, categoryToContent), - }; - commonData.event_name = 'Purchase'; - break; - case 'products searched': { - customData = { - ...customData, - ...handleSearch(message), - }; - commonData.event_name = 'Search'; - break; - } - case 'checkout started': { - const orderPayload = handleOrder(message, categoryToContent); - delete orderPayload.content_name; - customData = { - ...customData, - ...orderPayload, - }; - commonData.event_name = 'InitiateCheckout'; - break; - } - case 'page_view': // executed when sending track calls but with standard type PageView - case 'page': // executed when page call is done with standard PageView turned on - customData = { ...customData }; - commonData.event_name = 'PageView'; - break; - case 'otherStandard': - customData = { ...customData }; - commonData.event_name = category.event; - break; - default: - throw new InstrumentationError( - `${category.standard} type of standard event does not exist`, - ); - } + commonData.event_name = category.eventName; + customData = populateCustomDataBasedOnCategory( + customData, + message, + category, + categoryToContent, + valueFieldIdentifier, + ); customData.currency = STANDARD_ECOMM_EVENTS_TYPE.includes(category.type) - ? message.properties.currency || 'USD' + ? message.properties?.currency || 'USD' : undefined; } else { const { type } = category; @@ -159,7 +115,7 @@ const responseBuilderSimple = (message, category, destination, categoryToContent : `Viewed a ${type}`; } if (type === 'simple track') { - customData.value = message.properties ? message.properties.revenue : undefined; + customData.value = message.properties?.revenue; delete customData.revenue; } } @@ -189,57 +145,6 @@ const responseBuilderSimple = (message, category, destination, categoryToContent ); }; -function getCategoryFromEvent(checkEvent) { - let category; - switch (checkEvent) { - case CONFIG_CATEGORIES.PRODUCT_LIST_VIEWED.type: - case 'ViewContent': - category = CONFIG_CATEGORIES.PRODUCT_LIST_VIEWED; - break; - case CONFIG_CATEGORIES.PRODUCT_VIEWED.type: - category = CONFIG_CATEGORIES.PRODUCT_VIEWED; - break; - case CONFIG_CATEGORIES.PRODUCT_ADDED.type: - case 'AddToCart': - category = CONFIG_CATEGORIES.PRODUCT_ADDED; - break; - case CONFIG_CATEGORIES.ORDER_COMPLETED.type: - case 'Purchase': - category = CONFIG_CATEGORIES.ORDER_COMPLETED; - break; - case CONFIG_CATEGORIES.PRODUCTS_SEARCHED.type: - case 'Search': - category = CONFIG_CATEGORIES.PRODUCTS_SEARCHED; - break; - case CONFIG_CATEGORIES.CHECKOUT_STARTED.type: - case 'InitiateCheckout': - category = CONFIG_CATEGORIES.CHECKOUT_STARTED; - break; - case 'AddToWishlist': - case 'AddPaymentInfo': - case 'Lead': - case 'CompleteRegistration': - case 'Contact': - case 'CustomizeProduct': - case 'Donate': - case 'FindLocation': - case 'Schedule': - case 'StartTrial': - case 'SubmitApplication': - case 'Subscribe': - category = CONFIG_CATEGORIES.OTHER_STANDARD; - category.event = checkEvent; - break; - case 'PageView': - category = CONFIG_CATEGORIES.PAGE_VIEW; - break; - default: - category = CONFIG_CATEGORIES.SIMPLE_TRACK; - break; - } - return category; -} - const processEvent = (message, destination) => { if (!message.type) { throw new InstrumentationError("'type' is missing"); @@ -265,7 +170,7 @@ const processEvent = (message, destination) => { } let eventsToEvents; - if (destination.Config.eventsToEvents) + if (Array.isArray(destination.Config.eventsToEvents)) { eventsToEvents = getValidDynamicFormConfig( destination.Config.eventsToEvents, 'from', @@ -273,21 +178,12 @@ const processEvent = (message, destination) => { 'FB_PIXEL', destination.ID, ); - let categoryToContent; - if (destination.Config.categoryToContent) - categoryToContent = getValidDynamicFormConfig( - destination.Config.categoryToContent, - 'from', - 'to', - 'FB_PIXEL', - destination.ID, - ); + } + const { advancedMapping } = destination.Config; - let standard; - let standardTo = ''; - let checkEvent; const messageType = message.type.toLowerCase(); let category; + let mappedEvent; switch (messageType) { case EventType.IDENTIFY: if (advancedMapping) { @@ -309,24 +205,17 @@ const processEvent = (message, destination) => { if (typeof message.event !== 'string') { throw new InstrumentationError('event name should be string'); } - standard = eventsToEvents; - if (standard) { - standardTo = standard.reduce((filtered, standards) => { - if (standards.from.toLowerCase() === message.event.toLowerCase()) { - filtered = standards.to; - } - return filtered; - }, ''); + if (eventsToEvents) { + const eventMappingHash = getHashFromArray(eventsToEvents); + mappedEvent = eventMappingHash[message.event.toLowerCase()]; } - checkEvent = standardTo !== '' ? standardTo : message.event.toLowerCase(); - - category = getCategoryFromEvent(checkEvent); + category = getCategoryFromEvent(mappedEvent || message.event.toLowerCase()); break; default: throw new InstrumentationError(`Message type ${messageType} not supported`); } // build the response - return responseBuilderSimple(message, category, destination, categoryToContent); + return responseBuilderSimple(message, category, destination); }; const process = (event) => processEvent(event.message, event.destination); diff --git a/src/v0/destinations/facebook_pixel/utils.js b/src/v0/destinations/facebook_pixel/utils.js index e1347278bf..7e4a644a4a 100644 --- a/src/v0/destinations/facebook_pixel/utils.js +++ b/src/v0/destinations/facebook_pixel/utils.js @@ -7,8 +7,14 @@ const { constructPayload, defaultPostRequestConfig, defaultRequestConfig, + getHashFromArray, } = require('../../util'); -const { ACTION_SOURCES_VALUES, CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); +const { + ACTION_SOURCES_VALUES, + CONFIG_CATEGORIES, + MAPPING_CONFIG, + OTHER_STANDARD_EVENTS, +} = require('./config'); const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); @@ -18,7 +24,7 @@ const { InstrumentationError, TransformationError } = require('../../util/errorT */ const formatRevenue = (revenue) => { - const formattedRevenue = parseFloat(parseFloat(revenue || 0).toFixed(2)); + const formattedRevenue = parseFloat(parseFloat(revenue || '0').toFixed(2)); if (!Number.isNaN(formattedRevenue)) { return formattedRevenue; } @@ -29,7 +35,7 @@ const formatRevenue = (revenue) => { * * @param {*} message Rudder Payload * @param {*} defaultValue product / product_group - * @param {*} categoryToContent [ { from: 'clothing', to: 'product' } ] + * @param {*} categoryToContent example: [ { from: 'clothing', to: 'product' } ] * * We will be mapping properties.category to user provided content else taking the default value as per ecomm spec * If category is clothing it will be set to ["product"] @@ -37,7 +43,6 @@ const formatRevenue = (revenue) => { * - https://developers.facebook.com/docs/facebook-pixel/reference/#object-properties */ const getContentType = (message, defaultValue, categoryToContent) => { - let tempCategoryToContent = categoryToContent; const { properties } = message; const integrationsObj = getIntegrationsObj(message, 'fb_pixel'); @@ -51,27 +56,19 @@ const getContentType = (message, defaultValue, categoryToContent) => { if (products && products.length > 0 && Array.isArray(products) && isObject(products[0])) { category = products[0].category; } - } else { - if (tempCategoryToContent === undefined) { - tempCategoryToContent = []; - } - const mapped = tempCategoryToContent; - const mappedTo = mapped.reduce((filtered, map) => { - let filter = filtered; - if (map.from === category) { - filter = map.to; - } - return filter; - }, ''); - if (mappedTo.length > 0) { - return mappedTo; + } + + if (Array.isArray(categoryToContent) && category) { + const categoryToContentHash = getHashFromArray(categoryToContent, 'from', 'to', false); + if (categoryToContentHash[category]) { + return categoryToContentHash[category]; } } + return defaultValue; }; /** This function transforms the payloads according to the config settings and adds, removes or hashes pii data. -Also checks if it is a standard event and sends properties only if it is mentioned in our configs. @param message --> the rudder payload { @@ -119,8 +116,8 @@ Also checks if it is a standard event and sends properties only if it is mention [ { whitelistPiiProperties: 'email' } ] // sets email -@param eventCustomProperties --> -[ { eventCustomProperties: 'leadId' } ] // leadId if present will be set +@param integrationsObj --> +{ hashed: true } */ @@ -190,7 +187,7 @@ const transformedPayloadData = ( /** * * @param {*} message - * @returns fbc parameter which is a combined string of the parameters below + * @returns string which is fbc parameter * * version : "fb" (default) * @@ -305,7 +302,7 @@ const fetchUserData = (message, Config) => { /** * * @param {*} message Rudder element - * @param {*} categoryToContent [ { from: 'clothing', to: 'product' } ] + * @param {*} categoryToContent example: [ { from: 'clothing', to: 'product' } ] * * Handles order completed and checkout started types of specific events */ @@ -320,7 +317,7 @@ const handleOrder = (message, categoryToContent) => { if (products) { if (products.length > 0 && Array.isArray(products)) { products.forEach((singleProduct) => { - const pId = singleProduct.product_id || singleProduct.sku || singleProduct.id; + const pId = singleProduct?.product_id || singleProduct?.sku || singleProduct?.id; if (pId) { contentIds.push(pId); // required field for content @@ -353,7 +350,7 @@ const handleOrder = (message, categoryToContent) => { /** * * @param {*} message Rudder element - * @param {*} categoryToContent [ { from: 'clothing', to: 'product' } ] + * @param {*} categoryToContent example [ { from: 'clothing', to: 'product' } ] * * Handles product list viewed */ @@ -405,7 +402,7 @@ const handleProductListViewed = (message, categoryToContent) => { /** * * @param {*} message Rudder Payload - * @param {*} categoryToContent [ { from: 'clothing', to: 'product' } ] + * @param {*} categoryToContent Example: [ { from: 'clothing', to: 'product' } ] * @param {*} valueFieldIdentifier it can be either value or price which will be matched from properties and assigned to value for fb payload */ const handleProduct = (message, categoryToContent, valueFieldIdentifier) => { @@ -476,6 +473,103 @@ const handleSearch = (message) => { }; }; +const populateCustomDataBasedOnCategory = ( + customData, + message, + category, + categoryToContent, + valueFieldIdentifier, +) => { + let updatedCustomData; + switch (category.type) { + case 'product list viewed': + updatedCustomData = { + ...customData, + ...handleProductListViewed(message, categoryToContent), + }; + break; + case 'product viewed': + case 'product added': + updatedCustomData = { + ...customData, + ...handleProduct(message, categoryToContent, valueFieldIdentifier), + }; + break; + case 'order completed': + updatedCustomData = { + ...customData, + ...handleOrder(message, categoryToContent), + }; + break; + case 'products searched': { + updatedCustomData = { + ...customData, + ...handleSearch(message), + }; + break; + } + case 'checkout started': { + const orderPayload = handleOrder(message, categoryToContent); + delete orderPayload.content_name; + updatedCustomData = { + ...customData, + ...orderPayload, + }; + break; + } + case 'page_view': // executed when sending track calls but with standard type PageView + case 'page': // executed when page call is done with standard PageView turned on + case 'otherStandard': + updatedCustomData = { ...customData }; + break; + default: + throw new InstrumentationError(`${category.standard} type of standard event does not exist`); + } + return updatedCustomData; +}; + +const getCategoryFromEvent = (eventName) => { + let category; + switch (eventName) { + case CONFIG_CATEGORIES.PRODUCT_LIST_VIEWED.type: + case CONFIG_CATEGORIES.PRODUCT_LIST_VIEWED.eventName: + category = CONFIG_CATEGORIES.PRODUCT_LIST_VIEWED; + break; + case CONFIG_CATEGORIES.PRODUCT_VIEWED.type: + category = CONFIG_CATEGORIES.PRODUCT_VIEWED; + break; + case CONFIG_CATEGORIES.PRODUCT_ADDED.type: + case CONFIG_CATEGORIES.PRODUCT_ADDED.eventName: + category = CONFIG_CATEGORIES.PRODUCT_ADDED; + break; + case CONFIG_CATEGORIES.ORDER_COMPLETED.type: + case CONFIG_CATEGORIES.ORDER_COMPLETED.eventName: + category = CONFIG_CATEGORIES.ORDER_COMPLETED; + break; + case CONFIG_CATEGORIES.PRODUCTS_SEARCHED.type: + case CONFIG_CATEGORIES.PRODUCTS_SEARCHED.eventName: + category = CONFIG_CATEGORIES.PRODUCTS_SEARCHED; + break; + case CONFIG_CATEGORIES.CHECKOUT_STARTED.type: + case CONFIG_CATEGORIES.CHECKOUT_STARTED.eventName: + category = CONFIG_CATEGORIES.CHECKOUT_STARTED; + break; + case CONFIG_CATEGORIES.PAGE_VIEW.eventName: + category = CONFIG_CATEGORIES.PAGE_VIEW; + break; + default: + category = CONFIG_CATEGORIES.SIMPLE_TRACK; + break; + } + + if (OTHER_STANDARD_EVENTS.includes(eventName)) { + category = CONFIG_CATEGORIES.OTHER_STANDARD; + category.eventName = eventName; + } + + return category; +}; + const formingFinalResponse = ( userData, commonData, @@ -521,4 +615,6 @@ module.exports = { handleProductListViewed, handleOrder, formingFinalResponse, + populateCustomDataBasedOnCategory, + getCategoryFromEvent, }; From 6b6bb6633ed26d466bd80d04ae2c008d1435faca Mon Sep 17 00:00:00 2001 From: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Date: Fri, 13 Oct 2023 16:45:46 +0530 Subject: [PATCH 18/98] feat: mixpanel gzip support for import endpoint (#2667) * feat: mixpanel gzip support for import endpoint * feat: remove gzipping in transformer * fix: test cases --- src/v0/destinations/mp/util.js | 17 +++- src/v0/destinations/mp/util.test.js | 79 ++++++++++++++++++- .../destinations/mp/router/data.ts | 15 ++-- 3 files changed, 100 insertions(+), 11 deletions(-) diff --git a/src/v0/destinations/mp/util.js b/src/v0/destinations/mp/util.js index 35c530855e..409092106c 100644 --- a/src/v0/destinations/mp/util.js +++ b/src/v0/destinations/mp/util.js @@ -214,11 +214,19 @@ const groupEventsByEndpoint = (events) => { const generateBatchedPayloadForArray = (events) => { const { batchedRequest } = defaultBatchRequestConfig(); + const firstEvent = events[0]; + batchedRequest.endpoint = firstEvent.endpoint; + batchedRequest.headers = firstEvent.headers; + batchedRequest.params = firstEvent.params; + const batchResponseList = events.flatMap((event) => JSON.parse(event.body.JSON_ARRAY.batch)); - batchedRequest.body.JSON_ARRAY = { batch: JSON.stringify(batchResponseList) }; - batchedRequest.endpoint = events[0].endpoint; - batchedRequest.headers = events[0].headers; - batchedRequest.params = events[0].params; + // Gzipping the payload for /import endpoint + if (firstEvent.endpoint.includes('import')) { + batchedRequest.body.GZIP = { payload: JSON.stringify(batchResponseList) }; + } else { + batchedRequest.body.JSON_ARRAY = { batch: JSON.stringify(batchResponseList) }; + } + return batchedRequest; }; @@ -286,6 +294,7 @@ module.exports = { createIdentifyResponse, isImportAuthCredentialsAvailable, groupEventsByEndpoint, + generateBatchedPayloadForArray, batchEvents, combineBatchRequestsWithSameJobIds, }; diff --git a/src/v0/destinations/mp/util.test.js b/src/v0/destinations/mp/util.test.js index 43594fba6d..c707d09dfe 100644 --- a/src/v0/destinations/mp/util.test.js +++ b/src/v0/destinations/mp/util.test.js @@ -1,8 +1,8 @@ const { combineBatchRequestsWithSameJobIds, - groupEventsByType, groupEventsByEndpoint, batchEvents, + generateBatchedPayloadForArray, } = require('./util'); const destinationMock = { @@ -488,4 +488,81 @@ describe('Mixpanel utils test', () => { expect(combineBatchRequestsWithSameJobIds(input)).toEqual(expectedOutput); }); }); + + describe('Unit test cases for generateBatchedPayloadForArray', () => { + it('should generate a batched payload with GZIP payload for /import endpoint when given an array of events', () => { + const events = [ + { + body: { JSON_ARRAY: { batch: '[{"event": "event1"}]' } }, + endpoint: '/import', + headers: { 'Content-Type': 'application/json' }, + params: {}, + }, + { + body: { JSON_ARRAY: { batch: '[{"event": "event2"}]' } }, + endpoint: '/import', + headers: { 'Content-Type': 'application/json' }, + params: {}, + }, + ]; + const expectedBatchedRequest = { + body: { + FORM: {}, + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + GZIP: { + payload: '[{"event":"event1"},{"event":"event2"}]', + }, + }, + endpoint: '/import', + files: {}, + headers: { 'Content-Type': 'application/json' }, + method: 'POST', + params: {}, + type: 'REST', + version: '1', + }; + + const result = generateBatchedPayloadForArray(events); + + expect(result).toEqual(expectedBatchedRequest); + }); + + it('should generate a batched payload with JSON_ARRAY body when given an array of events', () => { + const events = [ + { + body: { JSON_ARRAY: { batch: '[{"event": "event1"}]' } }, + endpoint: '/endpoint', + headers: { 'Content-Type': 'application/json' }, + params: {}, + }, + { + body: { JSON_ARRAY: { batch: '[{"event": "event2"}]' } }, + endpoint: '/endpoint', + headers: { 'Content-Type': 'application/json' }, + params: {}, + }, + ]; + const expectedBatchedRequest = { + body: { + FORM: {}, + JSON: {}, + JSON_ARRAY: { batch: '[{"event":"event1"},{"event":"event2"}]' }, + XML: {}, + }, + endpoint: '/endpoint', + files: {}, + headers: { 'Content-Type': 'application/json' }, + method: 'POST', + params: {}, + type: 'REST', + version: '1', + }; + + const result = generateBatchedPayloadForArray(events); + + expect(result).toEqual(expectedBatchedRequest); + }); + }); }); diff --git a/test/integrations/destinations/mp/router/data.ts b/test/integrations/destinations/mp/router/data.ts index 389e19b047..7e0de0693d 100644 --- a/test/integrations/destinations/mp/router/data.ts +++ b/test/integrations/destinations/mp/router/data.ts @@ -564,8 +564,9 @@ export const data = [ }, body: { JSON: {}, - JSON_ARRAY: { - batch: + JSON_ARRAY: {}, + GZIP: { + payload: '[{"event":"Loaded a Page","properties":{"ip":"0.0.0.0","$user_id":"hjikl","$current_url":"https://docs.rudderstack.com/destinations/mixpanel","$screen_dpi":2,"mp_lib":"RudderLabs JavaScript SDK","$app_build_number":"1.0.0","$app_version_string":"1.0.5","$insert_id":"dd266c67-9199-4a52-ba32-f46ddde67312","token":"test_api_token","distinct_id":"hjikl","time":1688624942,"name":"Contact Us","$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', }, XML: {}, @@ -636,8 +637,9 @@ export const data = [ }, body: { JSON: {}, - JSON_ARRAY: { - batch: + JSON_ARRAY: {}, + GZIP: { + payload: '[{"event":"Product Viewed","properties":{"name":"T-Shirt","revenue":18.9,"$user_id":"userId01","$os":"iOS","$screen_height":1794,"$screen_width":1080,"$screen_dpi":420,"$carrier":"Android","$os_version":"8.1.0","$device":"generic_x86","$manufacturer":"Google","$model":"Android SDK built for x86","mp_device_model":"Android SDK built for x86","$wifi":true,"$bluetooth_enabled":false,"mp_lib":"com.rudderstack.android.sdk.core","$app_build_number":"1","$app_version_string":"1.0","$insert_id":"id2","token":"test_api_token","distinct_id":"userId01","time":1688624942,"$device_id":"anonId01"}}]', }, XML: {}, @@ -709,8 +711,9 @@ export const data = [ }, body: { JSON: {}, - JSON_ARRAY: { - batch: + JSON_ARRAY: {}, + GZIP: { + payload: '[{"event":"$merge","properties":{"$distinct_ids":["test_user_id","5094f5704b9cf2b3"],"token":"test_api_token"}}]', }, XML: {}, From 45da19db1e583d80f9fc5b508316f7a8bdd415b6 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Mon, 16 Oct 2023 10:45:46 +0530 Subject: [PATCH 19/98] feat: enhancement: snapchat_conversion add new fields (#2721) * feat: enhancement: snapchat_conversion add new fields * fix: sinarcloud issue --- .../snapchat_conversion/config.js | 6 +- ...g.json => SnapchatTrackDefaultConfig.json} | 0 .../data/TrackEventCommonConfig.json | 90 +++++++++++++ .../snapchat_conversion/transform.js | 20 +-- src/v0/util/index.js | 7 + test/__tests__/data/snapchat_conversion.json | 126 +++++++++--------- .../snapchat_conversion_router_input.json | 8 +- 7 files changed, 169 insertions(+), 88 deletions(-) rename src/v0/destinations/snapchat_conversion/data/{SnapchatCommonConfig.json => SnapchatTrackDefaultConfig.json} (100%) create mode 100644 src/v0/destinations/snapchat_conversion/data/TrackEventCommonConfig.json diff --git a/src/v0/destinations/snapchat_conversion/config.js b/src/v0/destinations/snapchat_conversion/config.js index fce2edf8e4..e0126ea3b1 100644 --- a/src/v0/destinations/snapchat_conversion/config.js +++ b/src/v0/destinations/snapchat_conversion/config.js @@ -4,7 +4,8 @@ const ENDPOINT = 'https://tr.snapchat.com/v2/conversion'; const MAX_BATCH_SIZE = 2000; const ConfigCategory = { - COMMON: { name: 'SnapchatCommonConfig' }, + DEFAULT: { name: 'SnapchatTrackDefaultConfig' }, + TRACK_COMMON: { name: 'TrackEventCommonConfig' }, /* E-Commerce Events */ // Ref - https://www.rudderstack.com/docs/rudderstack-api/api-specification/rudderstack-ecommerce-events-specification/ /* Browsing Section */ @@ -80,7 +81,6 @@ module.exports = { ConfigCategory, eventNameMapping, mappingConfig, - trackCommonConfig: mappingConfig[ConfigCategory.COMMON.name], MAX_BATCH_SIZE, - pageTypeToTrackEvent + pageTypeToTrackEvent, }; diff --git a/src/v0/destinations/snapchat_conversion/data/SnapchatCommonConfig.json b/src/v0/destinations/snapchat_conversion/data/SnapchatTrackDefaultConfig.json similarity index 100% rename from src/v0/destinations/snapchat_conversion/data/SnapchatCommonConfig.json rename to src/v0/destinations/snapchat_conversion/data/SnapchatTrackDefaultConfig.json diff --git a/src/v0/destinations/snapchat_conversion/data/TrackEventCommonConfig.json b/src/v0/destinations/snapchat_conversion/data/TrackEventCommonConfig.json new file mode 100644 index 0000000000..39187f47b0 --- /dev/null +++ b/src/v0/destinations/snapchat_conversion/data/TrackEventCommonConfig.json @@ -0,0 +1,90 @@ +[ + { + "destKey": "description", + "sourceKeys": "properties.description", + "required": false + }, + { + "destKey": "brands", + "sourceKeys": "properties.brands", + "required": false, + "metadata": { + "type": "IsArray" + } + }, + { + "destKey": "event_tag", + "sourceKeys": "properties.event_tag", + "required": false + }, + { + "destKey": "click_id", + "sourceKeys": "properties.click_id", + "required": false + }, + { + "destKey": "level", + "sourceKeys": "properties.level", + "required": false + }, + { + "destKey": "uuid_c1", + "sourceKeys": "properties.uuid_c1", + "required": false + }, + { + "destKey": "customer_status", + "sourceKeys": "properties.customer_status", + "required": false + }, + { + "destKey": "data", + "sourceKeys": "properties.data", + "required": false + }, + { + "destKey": "att_status", + "sourceKeys": "properties.att_status", + "required": false + }, + { + "destKey": "sign_up_method", + "sourceKeys": "properties.sign_up_method", + "required": false + }, + { + "destKey": "advertiser_cookie_1", + "sourceKeys": "properties.advertiser_cookie_1", + "required": false + }, + { + "destKey": "delivery_method", + "sourceKeys": "properties.delivery_method", + "required": false + }, + { + "sourceKeys": "context.device.model", + "destKey": "device_model", + "required": false + }, + { + "sourceKeys": "country", + "destKey": "country", + "sourceFromGenericMap": true, + "required": false + }, + { + "sourceKeys": "region", + "destKey": "region", + "sourceFromGenericMap": true, + "required": false + }, + { + "sourceKeys": "context.userAgent", + "destKey": "user_agent", + "metadata": { + "type": "toLower" + }, + "required": false + } +] \ No newline at end of file diff --git a/src/v0/destinations/snapchat_conversion/transform.js b/src/v0/destinations/snapchat_conversion/transform.js index f4360cc458..c48ab5b3f8 100644 --- a/src/v0/destinations/snapchat_conversion/transform.js +++ b/src/v0/destinations/snapchat_conversion/transform.js @@ -110,18 +110,8 @@ const populateHashedValues = (payload, message) => { } return updatedPayload; }; -const getEventProperties = (message) => ({ - description: get(message, 'properties.description'), - brands: Array.isArray(message.properties?.brands) ? get(message, 'properties.brands') : undefined, - customer_status: get(message, 'properties.customer_status'), - uuid_c1: get(message, 'properties.uuid_c1'), - level: get(message, 'properties.level'), - click_id: get(message, 'properties.click_id'), - event_tag: get(message, 'properties.event_tag'), - country: getFieldValueFromMessage(message, 'country'), - region: getFieldValueFromMessage(message, 'region'), - user_agent: message.context?.userAgent?.toString()?.toLowerCase(), -}); +const getEventCommonProperties = (message) => + constructPayload(message, mappingConfig[ConfigCategory.TRACK_COMMON.name]); const validateEventConfiguration = (eventConversionType, pixelId, snapAppId, appId) => { if ((eventConversionType === 'WEB' || eventConversionType === 'OFFLINE') && !pixelId) { throw new ConfigurationError('Pixel Id is required for web and offline events'); @@ -274,7 +264,7 @@ const trackResponseBuilder = (message, { Config }, mappedEvent) => { payload.event_type = eventNameMapping[event.toLowerCase()]; break; default: - payload = constructPayload(message, mappingConfig[ConfigCategory.COMMON.name]); + payload = constructPayload(message, mappingConfig[ConfigCategory.DEFAULT.name]); payload.event_type = eventNameMapping[event.toLowerCase()]; break; } @@ -282,7 +272,7 @@ const trackResponseBuilder = (message, { Config }, mappedEvent) => { throw new InstrumentationError(`Event ${event} doesn't match with Snapchat Events!`); } - payload = { ...payload, ...getEventProperties(message) }; + payload = { ...payload, ...getEventCommonProperties(message) }; payload = populateHashedValues(payload, message); validateRequiredFields(payload); payload.timestamp = getFieldValueFromMessage(message, 'timestamp'); @@ -364,7 +354,7 @@ const process = (event) => { const messageType = message.type.toLowerCase(); let response; if (messageType === EventType.PAGE) { - response = trackResponseBuilder(message, destination, pageTypeToTrackEvent); + response = [trackResponseBuilder(message, destination, pageTypeToTrackEvent)]; } else if (messageType === EventType.TRACK) { const mappedEvents = eventMappingHandler(message, destination); if (mappedEvents.length > 0) { diff --git a/src/v0/util/index.js b/src/v0/util/index.js index 7a31b95a63..34bd5e34ca 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -821,6 +821,13 @@ function formatValues(formattedVal, formattingType, typeFormat, integrationsObj) curFormattedVal = false; } }, + IsArray: () => { + curFormattedVal = formattedVal; + if (!Array.isArray(formattedVal)) { + logger.debug('Array value missing, so dropping it'); + curFormattedVal = undefined; + } + }, trim: () => { if (typeof formattedVal === 'string') { curFormattedVal = formattedVal.trim(); diff --git a/test/__tests__/data/snapchat_conversion.json b/test/__tests__/data/snapchat_conversion.json index 930c19c98d..ad21fb0d55 100644 --- a/test/__tests__/data/snapchat_conversion.json +++ b/test/__tests__/data/snapchat_conversion.json @@ -22,7 +22,6 @@ "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 @@ -65,35 +64,37 @@ } } }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event_type": "PAGE_VIEW", - "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": "WEB", - "page_url": "http://www.rudderstack.com", - "pixel_id": "dummyPixelId" + "output": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://tr.snapchat.com/v2/conversion", + "headers": { + "Authorization": "Bearer dummyApiKey", + "Content-Type": "application/json" }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } + "params": {}, + "body": { + "JSON": { + "event_type": "PAGE_VIEW", + "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": "WEB", + "page_url": "http://www.rudderstack.com", + "pixel_id": "dummyPixelId" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + ] }, { "description": "Test case for Prodcuts Searched event for conversion type offline", @@ -122,7 +123,6 @@ "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 @@ -150,6 +150,7 @@ "type": "track", "event": "Products Searched", "properties": { + "brands": "abc", "query": "t-shirts", "event_conversion_type": "web", "number_items": 4, @@ -230,7 +231,6 @@ "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 @@ -439,7 +439,6 @@ "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 @@ -535,7 +534,6 @@ "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 @@ -606,7 +604,6 @@ "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 @@ -706,6 +703,7 @@ "type": "track", "event": "Products Searched", "properties": { + "delivery_method": "in_store", "query": "t-shirts", "event_conversion_type": "web" }, @@ -735,6 +733,8 @@ "params": {}, "body": { "JSON": { + "delivery_method": "in_store", + "device_model": "AOSP on IA Emulator", "search_string": "t-shirts", "event_type": "SEARCH", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", @@ -780,7 +780,6 @@ "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 @@ -847,7 +846,10 @@ "body": { "JSON": { "event_type": "VIEW_CONTENT", - "item_ids": ["123", "123"], + "item_ids": [ + "123", + "123" + ], "price": "56", "country": "IN", "hashed_zip": "cbb2704f5b334a0cec32e5463d1fd9355f6ef73987bfe0ebb8389b7617452152", @@ -892,7 +894,6 @@ "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 @@ -959,7 +960,10 @@ "body": { "JSON": { "event_type": "START_CHECKOUT", - "item_ids": ["123", "123"], + "item_ids": [ + "123", + "123" + ], "price": "42", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", @@ -1001,7 +1005,6 @@ "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 @@ -1029,7 +1032,10 @@ "type": "track", "event": "Order Completed", "properties": { - "brands": ["brand01", "brand02"], + "brands": [ + "brand01", + "brand02" + ], "products": [ { "product_id": "123", @@ -1070,8 +1076,14 @@ "body": { "JSON": { "event_type": "PURCHASE", - "item_ids": ["123", "124"], - "brands": ["brand01", "brand02"], + "item_ids": [ + "123", + "124" + ], + "brands": [ + "brand01", + "brand02" + ], "price": "56", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", @@ -1113,7 +1125,6 @@ "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 @@ -1217,7 +1228,6 @@ "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 @@ -1323,7 +1333,6 @@ "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 @@ -1428,7 +1437,6 @@ "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 @@ -1525,7 +1533,6 @@ "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 @@ -1627,7 +1634,6 @@ "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 @@ -1729,7 +1735,6 @@ "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 @@ -1831,7 +1836,6 @@ "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 @@ -1932,7 +1936,6 @@ "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 @@ -2036,7 +2039,6 @@ "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 @@ -2139,7 +2141,6 @@ "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 @@ -2237,7 +2238,6 @@ "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 @@ -2340,7 +2340,6 @@ "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 @@ -2443,7 +2442,6 @@ "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 @@ -2514,7 +2512,6 @@ "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 @@ -2611,7 +2608,6 @@ "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 @@ -2709,7 +2705,6 @@ "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 @@ -2778,7 +2773,10 @@ "body": { "JSON": { "event_type": "PURCHASE", - "item_ids": ["123", "123"], + "item_ids": [ + "123", + "123" + ], "price": "100", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", @@ -2820,7 +2818,6 @@ "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 @@ -2888,7 +2885,10 @@ "body": { "JSON": { "event_type": "VIEW_CONTENT", - "item_ids": ["123", "123"], + "item_ids": [ + "123", + "123" + ], "price": "100", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", @@ -2907,4 +2907,4 @@ "files": {} } } -] +] \ No newline at end of file diff --git a/test/__tests__/data/snapchat_conversion_router_input.json b/test/__tests__/data/snapchat_conversion_router_input.json index cc2110f775..0509cef312 100644 --- a/test/__tests__/data/snapchat_conversion_router_input.json +++ b/test/__tests__/data/snapchat_conversion_router_input.json @@ -19,12 +19,10 @@ "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" @@ -86,12 +84,10 @@ "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" @@ -153,12 +149,10 @@ "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" @@ -318,4 +312,4 @@ } } } -] +] \ No newline at end of file From a70d4db57b302abc710907aadb8570944d54165a Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Mon, 16 Oct 2023 19:12:41 +0530 Subject: [PATCH 20/98] fix(clevertap): invalid parameters ordering issue --- src/v0/destinations/clevertap/transform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v0/destinations/clevertap/transform.js b/src/v0/destinations/clevertap/transform.js index e3d9ca1083..7bbc4dc59c 100644 --- a/src/v0/destinations/clevertap/transform.js +++ b/src/v0/destinations/clevertap/transform.js @@ -419,7 +419,7 @@ const processRouterDest = (inputs, reqMetadata) => { batchedEvents.forEach((batch) => { const batchedRequest = generateClevertapBatchedPayload(batch.events, batch.destination); batchResponseList.push( - getSuccessRespEvents(batchedRequest, batch.metadata, batch.destination, reqMetadata), + getSuccessRespEvents(batchedRequest, batch.metadata, batch.destination) ); }); } From d6340174abdfe0e5bd0c25767750ef67825c595f Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Mon, 16 Oct 2023 19:17:53 +0530 Subject: [PATCH 21/98] chore: added tests --- test/__tests__/clevertap.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/__tests__/clevertap.test.js b/test/__tests__/clevertap.test.js index f5c95c3dfd..1a07c2f6bc 100644 --- a/test/__tests__/clevertap.test.js +++ b/test/__tests__/clevertap.test.js @@ -42,7 +42,7 @@ describe(`${name} Tests`, () => { describe("Router Tests", () => { it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); + const routerOutput = await transformer.processRouterDest(inputRouterData, {namespace: 'unknown', cluster: 'unknown'}); expect(routerOutput).toEqual(expectedRouterData); }); }); From c9a9ced923a444d5e8049ba31a0519a41fbf8e46 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 17 Oct 2023 03:17:47 +0000 Subject: [PATCH 22/98] chore(release): 1.45.1 --- CHANGELOG.md | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12690b81ff..e78e5a6a0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ 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.45.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.45.0...v1.45.1) (2023-10-17) + + +### Bug Fixes + +* **clevertap:** invalid parameters ordering issue ([a70d4db](https://github.com/rudderlabs/rudder-transformer/commit/a70d4db57b302abc710907aadb8570944d54165a)) +* **clevertap:** parameters ordering issue ([#2727](https://github.com/rudderlabs/rudder-transformer/issues/2727)) ([bd6e096](https://github.com/rudderlabs/rudder-transformer/commit/bd6e096db3dc6b9bd2d607084b8a38ff315fab9c)) + ## [1.45.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.2...v1.45.0) (2023-10-11) diff --git a/package-lock.json b/package-lock.json index d2bfe402a1..750791d676 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.45.0", + "version": "1.45.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.45.0", + "version": "1.45.1", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index d16ef9ea9f..8b8a4cec5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.45.0", + "version": "1.45.1", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 3aabe81252a09010d2b2e54e44c32e2c6302c057 Mon Sep 17 00:00:00 2001 From: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Date: Tue, 17 Oct 2023 15:00:01 +0530 Subject: [PATCH 23/98] fix: fix getFbGenderVal function (#2724) * fix: fix getFbGenderVal function * fix: review comments addressed * fix: putting back the formatting as it was --- src/v0/util/index.js | 3 +++ test/__tests__/data/facebook_pixel_input.json | 2 +- test/__tests__/data/facebook_pixel_output.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/v0/util/index.js b/src/v0/util/index.js index 34bd5e34ca..f534f1acca 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -372,6 +372,9 @@ const hashToSha256 = (value) => sha256(value); // Check what type of gender and convert to f or m const getFbGenderVal = (gender) => { + if (typeof (gender) !== 'string') { + return null; + } if ( gender.toUpperCase() === 'FEMALE' || gender.toUpperCase() === 'F' || diff --git a/test/__tests__/data/facebook_pixel_input.json b/test/__tests__/data/facebook_pixel_input.json index 9804ad45c8..1c054f48f9 100644 --- a/test/__tests__/data/facebook_pixel_input.json +++ b/test/__tests__/data/facebook_pixel_input.json @@ -240,7 +240,7 @@ "firstname": "Rudder", "lastname": "Test", "phone": 9000000000, - "gender": "female" + "gender": 1 }, "app": { "build": "1.0.0", diff --git a/test/__tests__/data/facebook_pixel_output.json b/test/__tests__/data/facebook_pixel_output.json index 3d36fd079e..3f433434f1 100644 --- a/test/__tests__/data/facebook_pixel_output.json +++ b/test/__tests__/data/facebook_pixel_output.json @@ -47,7 +47,7 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"external_id\":\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"ph\":\"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579\",\"ge\":\"252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111\",\"ln\":\"532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25\",\"fn\":\"2c2ccf28d806f6f9a34b67aa874d2113b7ac1444f1a4092541b8b75b84771747\",\"client_ip_address\":\"0.0.0.0\",\"client_user_agent\":\"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\"},\"event_name\":\"identify\",\"event_time\":1567333011,\"event_id\":\"84e26acc-56a5-4835-8233-591137fca468\",\"action_source\":\"website\"}" + "{\"user_data\":{\"external_id\":\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"ph\":\"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579\",\"ln\":\"532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25\",\"fn\":\"2c2ccf28d806f6f9a34b67aa874d2113b7ac1444f1a4092541b8b75b84771747\",\"client_ip_address\":\"0.0.0.0\",\"client_user_agent\":\"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\"},\"event_name\":\"identify\",\"event_time\":1567333011,\"event_id\":\"84e26acc-56a5-4835-8233-591137fca468\",\"action_source\":\"website\"}" ] } }, From 5269af47cdbceefec16be3b44910ca27aea35c35 Mon Sep 17 00:00:00 2001 From: Sandeep Digumarty Date: Tue, 17 Oct 2023 17:03:10 +0530 Subject: [PATCH 24/98] feat: onboard facebook_conversions destination (#2720) * feat: onboard facebook_conversions destination * feat: onboard facebook_conversions destination * feat: added support for app events * feat: renamed FBAppEventsConfig to FBCAppEventsConfig * feat: add Config.actionSource as fallback for action_source * feat: use both content_name and contentName to populate destKey content_name * feat: reduced cognitive complexity * feat: added tests * feat: reduced deduplication * feat: add router tests and moved common functions to root utils folder * feat: add mapping config for payment info entered and product added to wishlist * feat: add tests for AddPaymentInfo and AddToWishlist * feat: addressed review comments * feat: moved networkHandler to fb common utils * feat: resolved code smells --- src/constants/destinationCanonicalNames.js | 8 + .../facebook_conversions/config.js | 126 +++ .../data/FBCAppEventsConfig.json | 101 ++ .../data/FBCCheckoutStartedCustomData.json | 53 + .../data/FBCCommonConfig.json | 37 + .../data/FBCOrderCompletedCustomData.json | 57 ++ .../data/FBCPaymentInfoEnteredCustomData.json | 42 + .../data/FBCProductAddedCustomData.json | 56 ++ .../FBCProductAddedToWishlistCustomData.json | 49 + .../data/FBCProductListViewedCustomData.json | 53 + .../data/FBCProductSearchedCustomData.json | 53 + .../data/FBCProductViewedCustomData.json | 56 ++ .../data/FBCSimpleCustomConfig.json | 21 + .../data/FBCUserDataConfig.json | 169 ++++ .../facebook_conversions/networkHandler.js | 6 + .../facebook_conversions/transform.js | 191 ++++ .../facebook_conversions/utils.js | 206 ++++ .../facebook_pixel/networkHandler.js | 218 +--- .../destinations/facebook_pixel/transform.js | 16 +- src/v0/destinations/facebook_pixel/utils.js | 305 +----- src/v0/util/facebookUtils/index.js | 301 ++++++ .../facebookUtils/index.test.js} | 2 +- src/v0/util/facebookUtils/networkHandler.js | 225 +++++ test/__tests__/data/facebook_conversions.json | 947 ++++++++++++++++++ .../facebook_conversions_router_input.json | 158 +++ .../facebook_conversions_router_output.json | 122 +++ test/__tests__/facebook_conversions.js | 46 + 27 files changed, 3101 insertions(+), 523 deletions(-) create mode 100644 src/v0/destinations/facebook_conversions/config.js create mode 100644 src/v0/destinations/facebook_conversions/data/FBCAppEventsConfig.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCCheckoutStartedCustomData.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCCommonConfig.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCOrderCompletedCustomData.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCPaymentInfoEnteredCustomData.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCProductAddedCustomData.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCProductAddedToWishlistCustomData.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCProductListViewedCustomData.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCProductSearchedCustomData.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCProductViewedCustomData.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCSimpleCustomConfig.json create mode 100644 src/v0/destinations/facebook_conversions/data/FBCUserDataConfig.json create mode 100644 src/v0/destinations/facebook_conversions/networkHandler.js create mode 100644 src/v0/destinations/facebook_conversions/transform.js create mode 100644 src/v0/destinations/facebook_conversions/utils.js create mode 100644 src/v0/util/facebookUtils/index.js rename src/v0/{destinations/facebook_pixel/utils.test.js => util/facebookUtils/index.test.js} (98%) create mode 100644 src/v0/util/facebookUtils/networkHandler.js create mode 100644 test/__tests__/data/facebook_conversions.json create mode 100644 test/__tests__/data/facebook_conversions_router_input.json create mode 100644 test/__tests__/data/facebook_conversions_router_output.json create mode 100644 test/__tests__/facebook_conversions.js diff --git a/src/constants/destinationCanonicalNames.js b/src/constants/destinationCanonicalNames.js index 6c7ec83ed9..870c534db0 100644 --- a/src/constants/destinationCanonicalNames.js +++ b/src/constants/destinationCanonicalNames.js @@ -3,6 +3,14 @@ const DestHandlerMap = { }; const DestCanonicalNames = { + facebook_conversions: [ + 'fb_conversions', + 'fb conversions', + 'FacebookConversions', + 'Facebook Conversions', + 'FB Conversions', + 'Facebook_Conversions', + ], fb_pixel: [ 'fb_pixel', 'fb pixel', diff --git a/src/v0/destinations/facebook_conversions/config.js b/src/v0/destinations/facebook_conversions/config.js new file mode 100644 index 0000000000..fc04f13be6 --- /dev/null +++ b/src/v0/destinations/facebook_conversions/config.js @@ -0,0 +1,126 @@ +const { getMappingConfig } = require('../../util'); + +const ENDPOINT = (datasetId, accessToken) => + `https://graph.facebook.com/v17.0/${datasetId}/events?access_token=${accessToken}`; + +const CONFIG_CATEGORIES = { + USERDATA: { + standard: false, + type: 'identify', + name: 'FBCUserDataConfig', + }, + COMMON: { name: 'FBCCommonConfig' }, + APPDATA: { name: 'FBCAppEventsConfig' }, + SIMPLE_TRACK: { + standard: false, + type: 'simple track', + name: 'FBCSimpleCustomConfig', + }, + PRODUCT_LIST_VIEWED: { + standard: true, + type: 'product list viewed', + eventName: 'ViewContent', + name: 'FBCProductListViewedCustomData', + }, + PRODUCT_VIEWED: { + standard: true, + type: 'product viewed', + eventName: 'ViewContent', + name: 'FBCProductViewedCustomData', + }, + PRODUCT_ADDED: { + standard: true, + type: 'product added', + eventName: 'AddToCart', + name: 'FBCProductAddedCustomData', + }, + ORDER_COMPLETED: { + standard: true, + type: 'order completed', + eventName: 'Purchase', + name: 'FBCOrderCompletedCustomData', + }, + PRODUCTS_SEARCHED: { + standard: true, + type: 'products searched', + eventName: 'Search', + name: 'FBCProductSearchedCustomData', + }, + CHECKOUT_STARTED: { + standard: true, + type: 'checkout started', + eventName: 'InitiateCheckout', + name: 'FBCCheckoutStartedCustomData', + }, + PAYMENT_INFO_ENTERED: { + standard: true, + type: 'payment info entered', + eventName: 'AddPaymentInfo', + name: 'FBCPaymentInfoEnteredCustomData', + }, + PRODUCT_ADDED_TO_WISHLIST: { + standard: true, + type: 'product added to wishlist', + eventName: 'AddToWishlist', + name: 'FBCProductAddedToWishlistCustomData', + }, + OTHER_STANDARD: { + standard: true, + type: 'otherStandard', + name: 'FBCSimpleCustomConfig', + }, + PAGE_VIEW: { + standard: true, + type: 'page_view', + eventName: 'PageView', + name: 'FBCSimpleCustomConfig', + }, +}; + +const MAPPING_CONFIG = getMappingConfig(CONFIG_CATEGORIES, __dirname); +const ACTION_SOURCES_VALUES = [ + 'email', + 'website', + 'app', + 'phone_call', + 'chat', + 'physical_store', + 'system_generated', + 'other', +]; + +const OTHER_STANDARD_EVENTS = [ + 'Lead', + 'CompleteRegistration', + 'Contact', + 'CustomizeProduct', + 'Donate', + 'FindLocation', + 'Schedule', + 'StartTrial', + 'SubmitApplication', + 'Subscribe', +]; + +const FB_CONVERSIONS_DEFAULT_EXCLUSION = ['opt_out', 'event_id', 'action_source']; +const STANDARD_ECOMM_EVENTS_CATEGORIES = [ + CONFIG_CATEGORIES.PRODUCT_LIST_VIEWED, + CONFIG_CATEGORIES.PRODUCT_VIEWED, + CONFIG_CATEGORIES.PRODUCT_ADDED, + CONFIG_CATEGORIES.ORDER_COMPLETED, + CONFIG_CATEGORIES.PRODUCTS_SEARCHED, + CONFIG_CATEGORIES.CHECKOUT_STARTED, + CONFIG_CATEGORIES.PAYMENT_INFO_ENTERED, + CONFIG_CATEGORIES.PRODUCT_ADDED_TO_WISHLIST, +]; + +module.exports = { + ENDPOINT, + MAPPING_CONFIG, + CONFIG_CATEGORIES, + ACTION_SOURCES_VALUES, + FB_CONVERSIONS_DEFAULT_EXCLUSION, + STANDARD_ECOMM_EVENTS_CATEGORIES, + OTHER_STANDARD_EVENTS, + DESTINATION: 'FACEBOOK_CONVERSIONS', +}; diff --git a/src/v0/destinations/facebook_conversions/data/FBCAppEventsConfig.json b/src/v0/destinations/facebook_conversions/data/FBCAppEventsConfig.json new file mode 100644 index 0000000000..e8e2944ea0 --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCAppEventsConfig.json @@ -0,0 +1,101 @@ +[ + { + "destKey": "advertiser_tracking_enabled", + "sourceKeys": "context.device.adTrackingEnabled", + "required": true + }, + { + "destKey": "application_tracking_enabled", + "sourceKeys": "properties.application_tracking_enabled", + "required": true + }, + { + "destKey": "extinfo.0", + "sourceKeys": "context.device.type", + "required": true, + "metadata": { + "type": "toLower" + } + }, + { + "destKey": "extinfo.1", + "sourceKeys": "context.app.namespace" + }, + { + "destKey": "extinfo.2", + "sourceKeys": "context.app.build" + }, + { + "destKey": "extinfo.3", + "sourceKeys": "context.app.version" + }, + { + "destKey": "extinfo.4", + "sourceKeys": "context.os.version", + "required": true + }, + { + "destKey": "extinfo.5", + "sourceKeys": "context.device.model" + }, + { + "destKey": "extinfo.6", + "sourceKeys": "context.locale" + }, + { + "destKey": "extinfo.7", + "sourceKeys": "context.abv_timezone" + }, + { + "destKey": "extinfo.8", + "sourceKeys": "context.network.carrier" + }, + { + "destKey": "extinfo.9", + "sourceKeys": "context.screen.width" + }, + { + "destKey": "extinfo.10", + "sourceKeys": "context.screen.height" + }, + { + "destKey": "extinfo.11", + "sourceKeys": "context.screen.density" + }, + { + "destKey": "extinfo.12", + "sourceKeys": "context.cpu_cores" + }, + { + "destKey": "extinfo.13", + "sourceKeys": "context.ext_storage_size" + }, + { + "destKey": "extinfo.14", + "sourceKeys": "context.avl_storage_size" + }, + { + "destKey": "extinfo.15", + "sourceKeys": "context.timezone" + }, + { + "destKey": "campaign_ids", + "sourceKeys": ["properties.campaignId", "context.traits.campaignId", "context.campaign.name"] + }, + { + "destKey": "install_referrer", + "sourceKeys": "properties.install_referrer" + }, + { + "destKey": "installer_package", + "sourceKeys": "properties.installer_package" + }, + { + "destKey": "url_schemes", + "sourceKeys": "properties.url_schemes" + }, + { + "destKey": "windows_attribution_id", + "sourceKeys": "properties.windows_attribution_id" + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCCheckoutStartedCustomData.json b/src/v0/destinations/facebook_conversions/data/FBCCheckoutStartedCustomData.json new file mode 100644 index 0000000000..6bef31195b --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCCheckoutStartedCustomData.json @@ -0,0 +1,53 @@ +[ + { + "destKey": "content_ids", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "contents", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "content_type", + "sourceKeys": "", + "metadata": { + "defaultValue": "product" + } + }, + { + "destKey": "content_category", + "sourceKeys": "properties.category" + }, + { + "destKey": "currency", + "sourceKeys": "properties.currency", + "metadata": { + "defaultValue": "USD" + } + }, + { + "destKey": "value", + "sourceKeys": [ + "properties.revenue", + "properties.value", + "properties.price", + "properties.total" + ], + "metadata": { + "type": "numberForRevenue" + } + }, + { + "destKey": "num_items", + "sourceKeys": "", + "metadata": { + "defaultValue": 0 + } + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCCommonConfig.json b/src/v0/destinations/facebook_conversions/data/FBCCommonConfig.json new file mode 100644 index 0000000000..11a81a20ab --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCCommonConfig.json @@ -0,0 +1,37 @@ +[ + { + "destKey": "event_name", + "sourceKeys": ["event", "type"], + "required": true + }, + { + "destKey": "event_time", + "sourceKeys": "timestamp", + "sourceFromGenericMap": true, + "required": true, + "metadata": { + "type": "secondTimestamp" + } + }, + { + "destKey": "event_source_url", + "sourceKeys": "pageUrl", + "sourceFromGenericMap": true + }, + { + "destKey": "opt_out", + "sourceKeys": ["traits.opt_out", "context.traits.opt_out", "properties.opt_out"] + }, + { + "destKey": "event_id", + "sourceKeys": ["traits.event_id", "context.traits.event_id", "properties.event_id", "messageId"] + }, + { + "destKey": "action_source", + "sourceKeys": [ + "traits.action_source", + "context.traits.action_source", + "properties.action_source" + ] + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCOrderCompletedCustomData.json b/src/v0/destinations/facebook_conversions/data/FBCOrderCompletedCustomData.json new file mode 100644 index 0000000000..799ddfcd85 --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCOrderCompletedCustomData.json @@ -0,0 +1,57 @@ +[ + { + "destKey": "content_ids", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "contents", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "content_type", + "sourceKeys": "", + "metadata": { + "defaultValue": "product" + } + }, + { + "destKey": "content_category", + "sourceKeys": "properties.category" + }, + { + "destKey": "content_name", + "sourceKeys": ["properties.content_name", "properties.contentName"] + }, + { + "destKey": "currency", + "sourceKeys": "properties.currency", + "metadata": { + "defaultValue": "USD" + } + }, + { + "destKey": "value", + "sourceKeys": [ + "properties.revenue", + "properties.value", + "properties.price", + "properties.total" + ], + "metadata": { + "type": "numberForRevenue" + } + }, + { + "destKey": "num_items", + "sourceKeys": "", + "metadata": { + "defaultValue": 0 + } + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCPaymentInfoEnteredCustomData.json b/src/v0/destinations/facebook_conversions/data/FBCPaymentInfoEnteredCustomData.json new file mode 100644 index 0000000000..5f346732a1 --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCPaymentInfoEnteredCustomData.json @@ -0,0 +1,42 @@ +[ + { + "destKey": "content_ids", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "contents", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "content_category", + "sourceKeys": "properties.category", + "metadata": { + "defaultValue": "" + } + }, + { + "destKey": "currency", + "sourceKeys": "properties.currency", + "metadata": { + "defaultValue": "USD" + } + }, + { + "destKey": "value", + "sourceKeys": [ + "properties.revenue", + "properties.value", + "properties.price", + "properties.total" + ], + "metadata": { + "type": "numberForRevenue" + } + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCProductAddedCustomData.json b/src/v0/destinations/facebook_conversions/data/FBCProductAddedCustomData.json new file mode 100644 index 0000000000..28e981d9e5 --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCProductAddedCustomData.json @@ -0,0 +1,56 @@ +[ + { + "destKey": "content_ids", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "contents", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "content_type", + "sourceKeys": "", + "metadata": { + "defaultValue": "product" + } + }, + { + "destKey": "content_category", + "sourceKeys": "properties.category", + "metadata": { + "defaultValue": "" + } + }, + { + "destKey": "content_name", + "sourceKeys": ["properties.name", "properties.product_name"], + "metadata": { + "defaultValue": "" + } + }, + { + "destKey": "currency", + "sourceKeys": "properties.currency", + "metadata": { + "defaultValue": "USD" + } + }, + { + "destKey": "value", + "sourceKeys": [ + "properties.revenue", + "properties.value", + "properties.price", + "properties.total" + ], + "metadata": { + "type": "numberForRevenue" + } + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCProductAddedToWishlistCustomData.json b/src/v0/destinations/facebook_conversions/data/FBCProductAddedToWishlistCustomData.json new file mode 100644 index 0000000000..796d7ab3d4 --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCProductAddedToWishlistCustomData.json @@ -0,0 +1,49 @@ +[ + { + "destKey": "content_ids", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "contents", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "content_category", + "sourceKeys": "properties.category", + "metadata": { + "defaultValue": "" + } + }, + { + "destKey": "content_name", + "sourceKeys": ["properties.name", "properties.product_name"], + "metadata": { + "defaultValue": "" + } + }, + { + "destKey": "currency", + "sourceKeys": "properties.currency", + "metadata": { + "defaultValue": "USD" + } + }, + { + "destKey": "value", + "sourceKeys": [ + "properties.revenue", + "properties.value", + "properties.price", + "properties.total" + ], + "metadata": { + "type": "numberForRevenue" + } + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCProductListViewedCustomData.json b/src/v0/destinations/facebook_conversions/data/FBCProductListViewedCustomData.json new file mode 100644 index 0000000000..4a4e29d34e --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCProductListViewedCustomData.json @@ -0,0 +1,53 @@ +[ + { + "destKey": "content_ids", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "contents", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "content_type", + "sourceKeys": "", + "metadata": { + "defaultValue": "product" + } + }, + { + "destKey": "content_category", + "sourceKeys": "properties.category", + "metadata": { + "defaultValue": "" + } + }, + { + "destKey": "content_name", + "sourceKeys": ["properties.content_name", "properties.contentName"] + }, + { + "destKey": "currency", + "sourceKeys": "properties.currency", + "metadata": { + "defaultValue": "USD" + } + }, + { + "destKey": "value", + "sourceKeys": [ + "properties.revenue", + "properties.value", + "properties.price", + "properties.total" + ], + "metadata": { + "type": "numberForRevenue" + } + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCProductSearchedCustomData.json b/src/v0/destinations/facebook_conversions/data/FBCProductSearchedCustomData.json new file mode 100644 index 0000000000..08b2e755ec --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCProductSearchedCustomData.json @@ -0,0 +1,53 @@ +[ + { + "destKey": "content_ids", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "contents", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "content_type", + "sourceKeys": "", + "metadata": { + "defaultValue": "product" + } + }, + { + "destKey": "content_category", + "sourceKeys": "properties.category", + "metadata": { + "defaultValue": "" + } + }, + { + "destKey": "currency", + "sourceKeys": "properties.currency", + "metadata": { + "defaultValue": "USD" + } + }, + { + "destKey": "value", + "sourceKeys": [ + "properties.revenue", + "properties.value", + "properties.price", + "properties.total" + ], + "metadata": { + "type": "numberForRevenue" + } + }, + { + "destKey": "search_string", + "sourceKeys": "properties.query" + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCProductViewedCustomData.json b/src/v0/destinations/facebook_conversions/data/FBCProductViewedCustomData.json new file mode 100644 index 0000000000..28e981d9e5 --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCProductViewedCustomData.json @@ -0,0 +1,56 @@ +[ + { + "destKey": "content_ids", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "contents", + "sourceKeys": "", + "metadata": { + "defaultValue": [] + } + }, + { + "destKey": "content_type", + "sourceKeys": "", + "metadata": { + "defaultValue": "product" + } + }, + { + "destKey": "content_category", + "sourceKeys": "properties.category", + "metadata": { + "defaultValue": "" + } + }, + { + "destKey": "content_name", + "sourceKeys": ["properties.name", "properties.product_name"], + "metadata": { + "defaultValue": "" + } + }, + { + "destKey": "currency", + "sourceKeys": "properties.currency", + "metadata": { + "defaultValue": "USD" + } + }, + { + "destKey": "value", + "sourceKeys": [ + "properties.revenue", + "properties.value", + "properties.price", + "properties.total" + ], + "metadata": { + "type": "numberForRevenue" + } + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCSimpleCustomConfig.json b/src/v0/destinations/facebook_conversions/data/FBCSimpleCustomConfig.json new file mode 100644 index 0000000000..e506b33334 --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCSimpleCustomConfig.json @@ -0,0 +1,21 @@ +[ + { + "destKey": "value", + "sourceKeys": [ + "properties.revenue", + "properties.value", + "properties.price", + "properties.total" + ], + "metadata": { + "type": "numberForRevenue" + } + }, + { + "destKey": "currency", + "sourceKeys": "properties.currency", + "metadata": { + "defaultValue": "USD" + } + } +] diff --git a/src/v0/destinations/facebook_conversions/data/FBCUserDataConfig.json b/src/v0/destinations/facebook_conversions/data/FBCUserDataConfig.json new file mode 100644 index 0000000000..2d72260ac6 --- /dev/null +++ b/src/v0/destinations/facebook_conversions/data/FBCUserDataConfig.json @@ -0,0 +1,169 @@ +[ + { + "destKey": "external_id", + "sourceKeys": [ + "userId", + "traits.userId", + "traits.id", + "context.traits.userId", + "context.traits.id", + "anonymousId" + ], + "required": true, + "metadata": { + "type": "hashToSha256" + } + }, + { + "destKey": "em", + "sourceKeys": ["traits.email", "context.traits.email"], + "required": false, + "metadata": { + "type": ["trim", "toLower", "hashToSha256"] + } + }, + { + "destKey": "ph", + "sourceKeys": ["traits.phone", "context.traits.phone"], + "required": false, + "metadata": { + "type": "hashToSha256" + } + }, + { + "destKey": "ge", + "sourceKeys": ["traits.gender", "context.traits.gender"], + "required": false, + "metadata": { + "type": "getFbGenderVal" + } + }, + { + "destKey": "db", + "sourceKeys": ["traits.birthday", "context.traits.birthday"], + "required": false, + "metadata": { + "type": "hashToSha256" + } + }, + { + "destKey": "ln", + "sourceKeys": [ + "traits.lastname", + "traits.lastName", + "traits.last_name", + "context.traits.lastname", + "context.traits.lastName", + "context.traits.last_name" + ], + "required": false, + "metadata": { + "type": ["trim", "toLower", "hashToSha256"] + } + }, + { + "destKey": "fn", + "sourceKeys": [ + "traits.firstname", + "traits.firstName", + "traits.first_name", + "context.traits.firstname", + "context.traits.firstName", + "context.traits.first_name" + ], + "required": false, + "metadata": { + "type": ["trim", "toLower", "hashToSha256"] + } + }, + { + "destKey": "name", + "sourceKeys": ["traits.name", "context.traits.name"], + "required": false, + "metadata": { + "type": "toString" + } + }, + { + "destKey": "ct", + "sourceKeys": ["traits.address.city", "context.traits.address.city"], + "required": false, + "metadata": { + "type": ["toLower", "hashToSha256"] + } + }, + { + "destKey": "st", + "sourceKeys": ["traits.address.state", "context.traits.address.state"], + "required": false, + "metadata": { + "type": ["toLower", "hashToSha256"] + } + }, + { + "destKey": "zp", + "sourceKeys": [ + "traits.address.zip", + "context.traits.address.zip", + "traits.address.postalCode", + "context.traits.address.postalCode" + ], + "required": false, + "metadata": { + "type": ["toLower", "hashToSha256"] + } + }, + { + "destKey": "country", + "sourceKeys": ["traits.address.country", "context.traits.address.country"], + "required": false, + "metadata": { + "type": ["toLower", "hashToSha256"] + } + }, + { + "destKey": "client_ip_address", + "sourceKeys": ["context.ip", "request_ip"], + "required": false + }, + { + "destKey": "client_user_agent", + "sourceKeys": "context.userAgent", + "required": false + }, + { + "destKey": "fbc", + "sourceKeys": "context.fbc", + "required": false + }, + { + "destKey": "fbp", + "sourceKeys": "context.fbp", + "required": false + }, + { + "destKey": "subscription_id", + "sourceKeys": "context.subscription_id", + "required": false + }, + { + "destKey": "lead_id", + "sourceKeys": "context.lead_id", + "required": false + }, + { + "destKey": "fb_login_id", + "sourceKeys": "context.fb_login_id", + "required": false + }, + { + "destKey": "madid", + "sourceKeys": "context.device.advertisingId", + "required": false + }, + { + "destKey": "anon_id", + "sourceKeys": ["properties.anon_id", "context.device.advertisingId"], + "required": false + } +] diff --git a/src/v0/destinations/facebook_conversions/networkHandler.js b/src/v0/destinations/facebook_conversions/networkHandler.js new file mode 100644 index 0000000000..0ea7aff7da --- /dev/null +++ b/src/v0/destinations/facebook_conversions/networkHandler.js @@ -0,0 +1,6 @@ +const { networkHandler, errorResponseHandler } = require('../../util/facebookUtils/networkHandler'); + +module.exports = { + networkHandler, + errorResponseHandler, +}; diff --git a/src/v0/destinations/facebook_conversions/transform.js b/src/v0/destinations/facebook_conversions/transform.js new file mode 100644 index 0000000000..dec1ef2e6c --- /dev/null +++ b/src/v0/destinations/facebook_conversions/transform.js @@ -0,0 +1,191 @@ +/* eslint-disable no-param-reassign */ +const get = require('get-value'); +const moment = require('moment'); +const { + CONFIG_CATEGORIES, + MAPPING_CONFIG, + FB_CONVERSIONS_DEFAULT_EXCLUSION, + DESTINATION, + ENDPOINT, +} = require('./config'); +const { EventType } = require('../../../constants'); + +const { + constructPayload, + extractCustomFields, + flattenJson, + getIntegrationsObj, + getValidDynamicFormConfig, + simpleProcessRouterDest, + getHashFromArray, + getFieldValueFromMessage, +} = require('../../util'); + +const { + populateCustomDataBasedOnCategory, + getCategoryFromEvent, + getActionSource, + fetchAppData, +} = require('./utils'); + +const { + transformedPayloadData, + fetchUserData, + formingFinalResponse, +} = require('../../util/facebookUtils'); + +const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); + +const responseBuilderSimple = (message, category, destination) => { + const { Config, ID } = destination; + let { categoryToContent } = Config; + if (Array.isArray(categoryToContent)) { + categoryToContent = getValidDynamicFormConfig(categoryToContent, 'from', 'to', DESTINATION, ID); + } + + const { + blacklistPiiProperties, + whitelistPiiProperties, + limitedDataUSage, + testDestination, + testEventCode, + datasetId, + accessToken, + actionSource, + } = Config; + const integrationsObj = getIntegrationsObj(message, DESTINATION.toLowerCase()); + + const userData = fetchUserData( + message, + Config, + MAPPING_CONFIG[CONFIG_CATEGORIES.USERDATA.name], + DESTINATION.toLowerCase(), + ); + + if (category.standard) { + message.event = category.eventName; + } + + const commonData = constructPayload( + message, + MAPPING_CONFIG[CONFIG_CATEGORIES.COMMON.name], + DESTINATION.toLowerCase(), + ); + commonData.action_source = getActionSource(commonData, actionSource); + + let customData = {}; + customData = flattenJson( + extractCustomFields(message, customData, ['properties'], FB_CONVERSIONS_DEFAULT_EXCLUSION), + ); + + customData = transformedPayloadData( + message, + customData, + blacklistPiiProperties, + whitelistPiiProperties, + integrationsObj, + ); + customData = populateCustomDataBasedOnCategory(customData, message, category, categoryToContent); + + if (limitedDataUSage) { + const dataProcessingOptions = get(message, 'context.dataProcessingOptions'); + if (dataProcessingOptions && Array.isArray(dataProcessingOptions)) { + [ + commonData.data_processing_options, + commonData.data_processing_options_country, + commonData.data_processing_options_state, + ] = dataProcessingOptions; + } + } + + let appData = {}; + if (commonData.action_source === 'app') { + appData = fetchAppData(message); + } + + return formingFinalResponse( + userData, + commonData, + customData, + ENDPOINT(datasetId, accessToken), + testDestination, + testEventCode, + appData, + ); +}; + +const processEvent = (message, destination) => { + if (!message.type) { + throw new InstrumentationError("'type' is missing"); + } + + const timeStamp = getFieldValueFromMessage(message, 'timestamp'); + if (timeStamp) { + const start = moment.unix(moment(timeStamp).format('X')); + const current = moment.unix(moment().format('X')); + // calculates past event in days + const deltaDay = Math.ceil(moment.duration(current.diff(start)).asDays()); + // calculates future event in minutes + const deltaMin = Math.ceil(moment.duration(start.diff(current)).asMinutes()); + if (deltaDay > 7 || deltaMin > 1) { + throw new InstrumentationError( + 'Events must be sent within seven days of their occurrence or up to one minute in the future.', + ); + } + } + + const { datasetId, accessToken } = destination.Config; + if (!datasetId) { + throw new ConfigurationError('Dataset Id not found. Aborting'); + } + if (!accessToken) { + throw new ConfigurationError('Access token not found. Aborting'); + } + + let eventsToEvents; + if (Array.isArray(destination.Config.eventsToEvents)) { + eventsToEvents = getValidDynamicFormConfig( + destination.Config.eventsToEvents, + 'from', + 'to', + DESTINATION, + destination.ID, + ); + } + + const messageType = message.type.toLowerCase(); + let category; + let mappedEvent; + switch (messageType) { + case EventType.PAGE: + case EventType.SCREEN: + category = CONFIG_CATEGORIES.PAGE_VIEW; + break; + case EventType.TRACK: + if (!message.event || typeof message.event !== 'string') { + throw new InstrumentationError("'event' is required and should be a string"); + } + if (eventsToEvents) { + const eventMappingHash = getHashFromArray(eventsToEvents); + mappedEvent = eventMappingHash[message.event.toLowerCase()]; + } + category = getCategoryFromEvent(mappedEvent || message.event.toLowerCase()); + break; + default: + throw new InstrumentationError(`Message type ${messageType} not supported`); + } + // build the response + return responseBuilderSimple(message, category, destination); +}; + +const process = (event) => processEvent(event.message, event.destination); + +const processRouterDest = async (inputs, reqMetadata) => { + const respList = await simpleProcessRouterDest(inputs, process, reqMetadata); + return respList; +}; + +module.exports = { + process, + processRouterDest, +}; diff --git a/src/v0/destinations/facebook_conversions/utils.js b/src/v0/destinations/facebook_conversions/utils.js new file mode 100644 index 0000000000..24d0ddc9c2 --- /dev/null +++ b/src/v0/destinations/facebook_conversions/utils.js @@ -0,0 +1,206 @@ +const { + CONFIG_CATEGORIES, + OTHER_STANDARD_EVENTS, + STANDARD_ECOMM_EVENTS_CATEGORIES, + MAPPING_CONFIG, + ACTION_SOURCES_VALUES, + DESTINATION, +} = require('./config'); +const { constructPayload, isObject, isAppleFamily } = require('../../util'); +const { getContentType, getContentCategory } = require('../../util/facebookUtils'); +const { InstrumentationError } = require('../../util/errorTypes'); + +const getActionSource = (payload, fallbackActionSource) => { + let actionSource = fallbackActionSource; + if (payload.action_source) { + const isActionSourceValid = ACTION_SOURCES_VALUES.includes(payload.action_source); + if (!isActionSourceValid) { + throw new InstrumentationError('Invalid Action Source type'); + } + actionSource = payload.action_source; + } + + return actionSource; +}; + +const getCategoryFromEvent = (eventName) => { + let category = STANDARD_ECOMM_EVENTS_CATEGORIES.find( + (configCategory) => eventName === configCategory.type || eventName === configCategory.eventName, + ); + + if (!category && OTHER_STANDARD_EVENTS.includes(eventName)) { + category = CONFIG_CATEGORIES.OTHER_STANDARD; + category.eventName = eventName; + } + + if (!category && eventName === CONFIG_CATEGORIES.PAGE_VIEW.eventName) { + category = CONFIG_CATEGORIES.PAGE_VIEW; + } + + if (!category) { + category = CONFIG_CATEGORIES.SIMPLE_TRACK; + } + + return category; +}; + +const populateContentsAndContentIDs = (productPropertiesArray, fallbackQuantity) => { + const contentIds = []; + const contents = []; + if (Array.isArray(productPropertiesArray)) { + productPropertiesArray.forEach((productProps) => { + if (isObject(productProps)) { + const productId = productProps.product_id || productProps.sku || productProps.id; + if (productId) { + contentIds.push(productId); + contents.push({ + id: productId, + quantity: productProps.quantity || fallbackQuantity || 1, + item_price: productProps.price, + }); + } + } + }); + } + + return { contentIds, contents }; +}; + +const validateProductSearchedData = (eventTypeCustomData) => { + const query = eventTypeCustomData.search_string; + const validQueryType = ['string', 'number', 'boolean']; + if (query && !validQueryType.includes(typeof query)) { + throw new InstrumentationError("'query' should be in string format only"); + } +}; + +const populateCustomDataBasedOnCategory = (customData, message, category, categoryToContent) => { + let eventTypeCustomData = {}; + if (category.name) { + eventTypeCustomData = constructPayload(message, MAPPING_CONFIG[category.name]); + } + + switch (category.type) { + case 'product list viewed': { + const { contentIds, contents } = populateContentsAndContentIDs( + message.properties?.products, + message.properties?.quantity, + ); + + const contentCategory = eventTypeCustomData.content_category; + let contentType; + if (contentIds.length > 0) { + contentType = 'product'; + } else if (contentCategory) { + contentIds.push(contentCategory); + contents.push({ + id: contentCategory, + quantity: 1, + }); + contentType = 'product_group'; + } + + eventTypeCustomData = { + ...eventTypeCustomData, + content_ids: contentIds, + contents, + content_type: getContentType( + message, + contentType, + categoryToContent, + DESTINATION.toLowerCase(), + ), + content_category: getContentCategory(contentCategory), + }; + break; + } + case 'product added': + case 'product viewed': + case 'products searched': + case 'payment info entered': + case 'product added to wishlist': { + const contentCategory = eventTypeCustomData.content_category; + const contentType = eventTypeCustomData.content_type; + const { contentIds, contents } = populateContentsAndContentIDs([message.properties]); + eventTypeCustomData = { + ...eventTypeCustomData, + content_ids: contentIds, + contents, + content_type: getContentType( + message, + contentType, + categoryToContent, + DESTINATION.toLowerCase(), + ), + content_category: getContentCategory(contentCategory), + }; + validateProductSearchedData(eventTypeCustomData); + break; + } + case 'order completed': + case 'checkout started': { + const { contentIds, contents } = populateContentsAndContentIDs( + message.properties?.products, + message.properties?.quantity, + ); + + const contentCategory = eventTypeCustomData.content_category; + const contentType = eventTypeCustomData.content_type; + + eventTypeCustomData = { + ...eventTypeCustomData, + content_ids: contentIds, + contents, + content_type: getContentType( + message, + contentType, + categoryToContent, + DESTINATION.toLowerCase(), + ), + content_category: getContentCategory(contentCategory), + num_items: contentIds.length, + }; + break; + } + case 'page_view': + case 'otherStandard': + case 'simple track': + default: + eventTypeCustomData = { ...eventTypeCustomData }; + break; + } + + return { ...customData, ...eventTypeCustomData }; +}; + +const fetchAppData = (message) => { + const appData = constructPayload( + message, + MAPPING_CONFIG[CONFIG_CATEGORIES.APPDATA.name], + 'fb_pixel', + ); + + if (appData) { + let sourceSDK = appData.extinfo[0]; + if (sourceSDK === 'android') { + sourceSDK = 'a2'; + } else if (isAppleFamily(sourceSDK)) { + sourceSDK = 'i2'; + } else { + // if the sourceSDK is not android or ios + throw new InstrumentationError( + 'Extended device information i.e, "context.device.type" is not a valid value. It should be either android or ios/watchos/ipados/tvos', + ); + } + appData.extinfo[0] = sourceSDK; + } + + return appData; +}; + +module.exports = { + fetchAppData, + getActionSource, + getCategoryFromEvent, + populateCustomDataBasedOnCategory, +}; diff --git a/src/v0/destinations/facebook_pixel/networkHandler.js b/src/v0/destinations/facebook_pixel/networkHandler.js index f02453e1eb..0ea7aff7da 100644 --- a/src/v0/destinations/facebook_pixel/networkHandler.js +++ b/src/v0/destinations/facebook_pixel/networkHandler.js @@ -1,220 +1,4 @@ -const { isEmpty } = require('lodash'); -const get = require('get-value'); -const { - processAxiosResponse, - getDynamicErrorType, -} = require('../../../adapters/utils/networkUtils'); -const { prepareProxyRequest, proxyRequest } = require('../../../adapters/network'); -const { NetworkError } = require('../../util/errorTypes'); -const tags = require('../../util/tags'); -const { ErrorDetailsExtractorBuilder } = require('../../../util/error-extractor'); - -/** - * Only under below mentioned scenario(s), add the errorCodes, subCodes etc,. to this map - * - * The actual API reference doc to which events from Rudderstack are being sent - * https://developers.facebook.com/docs/marketing-api/reference/ads-pixel/events/v13.0 - * - * The documents referred while formulating the error responses - * 1. https://developers.facebook.com/docs/graph-api/guides/error-handling/ - * - This seems like a generic document that contains errors possible for Graph API - * 2. https://developers.facebook.com/docs/marketing-api/error-reference/ - * - The doc seems to be more related to Marketing API - * 3. https://developers.facebook.com/docs/marketing-api/error-reference/ -{ - // A scenario where in we have to know the error with code and subcode, we can conclude that - // this error will have a particular status, statTags - code1: { - subCode1: { - status: , - // Only tags that are unique to this error needs to be provided - statTags: {}, - messageDetails: { - message: "", - field: - }, - - } - } -} - */ -const errorDetailsMap = { - 100: { - // This error talks about event being sent after seven days or so - 2804003: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessageField('error_user_title') - .build(), - 2804001: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessageField('error_user_title') - .build(), - 2804007: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessageField('error_user_title') - .build(), - 2804016: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessageField('error_user_title') - .build(), - 2804017: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessageField('error_user_title') - .build(), - 2804019: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessageField('error_user_title') - .build(), - 2804048: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessageField('error_user_title') - .build(), - // This error-subcode indicates that the business access token expired or is invalid or sufficient permissions are not provided - // since there is involvement of changes required on dashboard to make event successful - // for now, we are aborting this error-subCode combination - 33: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessage( - "Object with ID 'PIXEL_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", - ) - .build(), - default: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessage('Invalid Parameter') - .build(), - }, - 1: { - // An unknown error occurred. - // This error may occur if you set level to adset but the correct value should be campaign - 99: new ErrorDetailsExtractorBuilder() - .setStatus(500) - .setMessage( - 'This error may occur if you set level to adset but the correct value should be campaign', - ) - .build(), - default: new ErrorDetailsExtractorBuilder() - .setStatus(500) - .setMessage('An unknown error occurred') - .build(), - }, - 190: { - 460: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessage( - 'The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons', - ) - .build(), - default: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessage('Invalid OAuth 2.0 access token') - .build(), - }, - 3: { - default: new ErrorDetailsExtractorBuilder() - .setStatus(400) - .setMessage('Capability or permissions issue.') - .build(), - }, - 2: { - default: new ErrorDetailsExtractorBuilder() - .setStatus(500) - .setMessage('Temporary issue due to downtime.') - .build(), - }, - 341: { - default: new ErrorDetailsExtractorBuilder() - .setStatus(500) - .setMessage('Application limit reached: Temporary issue due to downtime or throttling') - .build(), - }, - 368: { - default: new ErrorDetailsExtractorBuilder() - .setStatus(500) - .setMessage('Temporarily blocked for policies violations.') - .build(), - }, - 5000: { - default: new ErrorDetailsExtractorBuilder() - .setStatus(500) - .setMessage('Unknown Error Code') - .build(), - }, - 4: { - default: new ErrorDetailsExtractorBuilder() - .setStatus(429) - .setMessage('API Too Many Calls') - .build(), - }, - 17: { - default: new ErrorDetailsExtractorBuilder() - .setStatus(429) - .setMessage('API User Too Many Calls') - .build(), - }, -}; - -const getErrorDetailsFromErrorMap = (error) => { - const { code, error_subcode: subCode } = error; - let errDetails; - if (!isEmpty(errorDetailsMap[code])) { - errDetails = errorDetailsMap[code][subCode] || errorDetailsMap[code]?.default; - } - return errDetails; -}; - -const getStatus = (error) => { - const errorDetail = getErrorDetailsFromErrorMap(error); - let errorStatus = 500; - const isErrorDetailEmpty = isEmpty(errorDetail); - if (isErrorDetailEmpty) { - // Unhandled error response - return {status: errorStatus, tags: { [tags.TAG_NAMES.META]: tags.METADATA.UNHANDLED_STATUS_CODE, } } - } - errorStatus = errorDetail.status; - - let errorMessage = errorDetail?.messageDetails?.message; - if (errorDetail?.messageDetails?.field) { - errorMessage = get(error, errorDetail?.messageDetails?.field); - } - - return { status: errorStatus, errorMessage }; -}; - -const errorResponseHandler = (destResponse) => { - const { response } = destResponse; - if (!response.error) { - // successful response from facebook pixel api - return; - } - const { error } = response; - const { status, errorMessage, tags: errorStatTags } = getStatus(error); - throw new NetworkError( - `${errorMessage || error.message || 'Unknown failure during response transformation'}`, - status, - { - ...errorStatTags, - [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(status), - }, - { ...response, status: destResponse.status }, - ); -}; - -const destResponseHandler = (destinationResponse) => { - errorResponseHandler(destinationResponse); - return { - destinationResponse: destinationResponse.response, - message: 'Request Processed Successfully', - status: destinationResponse.status, - }; -}; - -function networkHandler() { - // The order of execution also happens in this way - this.prepareProxy = prepareProxyRequest; - this.proxy = proxyRequest; - this.processAxiosResponse = processAxiosResponse; - this.responseHandler = destResponseHandler; -} +const { networkHandler, errorResponseHandler } = require('../../util/facebookUtils/networkHandler'); module.exports = { networkHandler, diff --git a/src/v0/destinations/facebook_pixel/transform.js b/src/v0/destinations/facebook_pixel/transform.js index 48c4c30563..02c416cfde 100644 --- a/src/v0/destinations/facebook_pixel/transform.js +++ b/src/v0/destinations/facebook_pixel/transform.js @@ -21,18 +21,21 @@ const { } = require('../../util'); const { - transformedPayloadData, getActionSource, - fetchUserData, handleProduct, handleSearch, handleProductListViewed, handleOrder, - formingFinalResponse, populateCustomDataBasedOnCategory, getCategoryFromEvent, } = require('./utils'); +const { + transformedPayloadData, + fetchUserData, + formingFinalResponse, +} = require('../../util/facebookUtils'); + const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const responseBuilderSimple = (message, category, destination) => { @@ -64,7 +67,12 @@ const responseBuilderSimple = (message, category, destination) => { const endpoint = `https://graph.facebook.com/v17.0/${pixelId}/events?access_token=${accessToken}`; - const userData = fetchUserData(message, Config); + const userData = fetchUserData( + message, + Config, + MAPPING_CONFIG[CONFIG_CATEGORIES.USERDATA.name], + 'fb_pixel', + ); const commonData = constructPayload( message, diff --git a/src/v0/destinations/facebook_pixel/utils.js b/src/v0/destinations/facebook_pixel/utils.js index 7e4a644a4a..d642c446fd 100644 --- a/src/v0/destinations/facebook_pixel/utils.js +++ b/src/v0/destinations/facebook_pixel/utils.js @@ -1,22 +1,7 @@ -const sha256 = require('sha256'); -const { - isObject, - getFieldValueFromMessage, - formatTimeStamp, - getIntegrationsObj, - constructPayload, - defaultPostRequestConfig, - defaultRequestConfig, - getHashFromArray, -} = require('../../util'); -const { - ACTION_SOURCES_VALUES, - CONFIG_CATEGORIES, - MAPPING_CONFIG, - OTHER_STANDARD_EVENTS, -} = require('./config'); - -const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); +const { isObject } = require('../../util'); +const { ACTION_SOURCES_VALUES, CONFIG_CATEGORIES, OTHER_STANDARD_EVENTS } = require('./config'); +const { getContentType, getContentCategory } = require('../../util/facebookUtils'); +const { InstrumentationError } = require('../../util/errorTypes'); /** format revenue according to fb standards with max two decimal places. * @param revenue @@ -31,195 +16,6 @@ const formatRevenue = (revenue) => { throw new InstrumentationError('Revenue could not be converted to number'); }; -/** - * - * @param {*} message Rudder Payload - * @param {*} defaultValue product / product_group - * @param {*} categoryToContent example: [ { from: 'clothing', to: 'product' } ] - * - * We will be mapping properties.category to user provided content else taking the default value as per ecomm spec - * If category is clothing it will be set to ["product"] - * @return Content Type array as defined in: - * - https://developers.facebook.com/docs/facebook-pixel/reference/#object-properties - */ -const getContentType = (message, defaultValue, categoryToContent) => { - const { properties } = message; - const integrationsObj = getIntegrationsObj(message, 'fb_pixel'); - - if (integrationsObj?.contentType) { - return integrationsObj.contentType; - } - - let { category } = properties; - if (!category) { - const { products } = properties; - if (products && products.length > 0 && Array.isArray(products) && isObject(products[0])) { - category = products[0].category; - } - } - - if (Array.isArray(categoryToContent) && category) { - const categoryToContentHash = getHashFromArray(categoryToContent, 'from', 'to', false); - if (categoryToContentHash[category]) { - return categoryToContentHash[category]; - } - } - - return defaultValue; -}; - -/** This function transforms the payloads according to the config settings and adds, removes or hashes pii data. -@param message --> the rudder payload - -{ - anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', - destination_props: { Fb: { app_id: 'RudderFbApp' } }, - 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' }, - screen: { height: '100', density: 50 }, - traits: { - email: 'abc@gmail.com', - anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1' - } - }, - event: 'spin_result', - integrations: { - All: true, - FacebookPixel: { - dataProcessingOptions: [Array], - fbc: 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890', - fbp: 'fb.1.1554763741205.234567890', - fb_login_id: 'fb_id', - lead_id: 'lead_id' - } - }, - message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', - properties: { revenue: 400, additional_bet_index: 0 }, - timestamp: '2019-09-01T15:46:51.693229+05:30', - type: 'track' - } - -@param customData --> properties -{ revenue: 400, additional_bet_index: 0 } - -@param blacklistPiiProperties --> -[ { blacklistPiiProperties: 'phone', blacklistPiiHash: true } ] // hashes the phone property - -@param whitelistPiiProperties --> -[ { whitelistPiiProperties: 'email' } ] // sets email - - -@param integrationsObj --> -{ hashed: true } - -*/ - -const transformedPayloadData = ( - message, - customData, - blacklistPiiProperties, - whitelistPiiProperties, - integrationsObj, -) => { - const defaultPiiProperties = [ - 'email', - 'firstName', - 'lastName', - 'firstname', - 'lastname', - 'first_name', - 'last_name', - 'gender', - 'city', - 'country', - 'phone', - 'state', - 'zip', - 'postalCode', - 'birthday', - ]; - const clonedCustomData = { ...customData }; - const finalBlacklistPiiProperties = blacklistPiiProperties || []; - const finalWhitelistPiiProperties = whitelistPiiProperties || []; - const customBlackListedPiiProperties = {}; - - // create list of whitelisted properties - const customWhiteListedProperties = finalWhitelistPiiProperties.map( - (propObject) => propObject.whitelistPiiProperties, - ); - - // create map of blacklisted properties - finalBlacklistPiiProperties.forEach((property) => { - const singularConfigInstance = property; - customBlackListedPiiProperties[singularConfigInstance.blacklistPiiProperties] = - singularConfigInstance.blacklistPiiHash; - }); - - // remove properties which are default pii properties and not whitelisted - Object.keys(clonedCustomData).forEach((eventProp) => { - const isDefaultPiiProperty = defaultPiiProperties.includes(eventProp); - const isProperyWhiteListed = customWhiteListedProperties.includes(eventProp); - - if (Object.prototype.hasOwnProperty.call(customBlackListedPiiProperties, eventProp)) { - if (customBlackListedPiiProperties[eventProp]) { - // if customBlackListedPiiProperty is marked to be hashed from UI - clonedCustomData[eventProp] = integrationsObj?.hashed - ? String(message.properties[eventProp]) - : sha256(String(message.properties[eventProp])); - } else if (isDefaultPiiProperty && !isProperyWhiteListed) { - delete clonedCustomData[eventProp]; - } - } else if (isDefaultPiiProperty && !isProperyWhiteListed) { - delete clonedCustomData[eventProp]; - } - }); - - return clonedCustomData; -}; - -/** - * - * @param {*} message - * @returns string which is fbc parameter - * - * version : "fb" (default) - * - * subdomainIndex : 1 ( recommended by facebook, as well as our JS SDK sets cookies on the main domain, i.e "facebook.com") - * - * creationTime : mapped to originalTimestamp converted in miliseconds - * - * fbclid : deduced query paramter from context.page.url - * - * ref: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc#fbc - */ -const deduceFbcParam = (message) => { - const url = message.context?.page?.url; - if (!url) { - return undefined; - } - let parseUrl; - try { - parseUrl = new URL(url); - } catch { - return undefined; - } - const paramsList = new URLSearchParams(parseUrl.search); - const fbclid = paramsList.get('fbclid'); - - if (!fbclid) { - return undefined; - } - const creationTime = getFieldValueFromMessage(message, 'timestamp'); - return `fb.1.${formatTimeStamp(creationTime)}.${fbclid}`; -}; - /** * Returns action source * ref : https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event#action-source @@ -244,61 +40,6 @@ const getActionSource = (payload, channel) => { return actionSource; }; -/** - * This method gets content category with proper error-handling - * - * @param {*} category - * @returns The content category as a string - */ -const getContentCategory = (category) => { - let contentCategory = category; - if (Array.isArray(contentCategory)) { - contentCategory = contentCategory.map(String).join(','); - } - if ( - contentCategory && - typeof contentCategory !== 'string' && - typeof contentCategory !== 'object' - ) { - contentCategory = String(contentCategory); - } - if ( - contentCategory && - typeof contentCategory !== 'string' && - !Array.isArray(contentCategory) && - typeof contentCategory === 'object' - ) { - throw new InstrumentationError("'properties.category' must be either be a string or an array"); - } - return contentCategory; -}; - -const fetchUserData = (message, Config) => { - const integrationsObj = getIntegrationsObj(message, 'fb_pixel'); - const userData = constructPayload( - message, - MAPPING_CONFIG[CONFIG_CATEGORIES.USERDATA.name], - 'fb_pixel', - ); - const { removeExternalId } = Config; - if (removeExternalId) { - delete userData.external_id; - } - - if (userData) { - const split = userData.name?.split(' '); - if (split && split.length === 2) { - const hashValue = (value) => (integrationsObj?.hashed ? value : sha256(value)); - userData.fn = hashValue(split[0]); - userData.ln = hashValue(split[1]); - } - delete userData.name; - userData.fbc = userData.fbc || deduceFbcParam(message); - } - - return userData; -}; - /** * * @param {*} message Rudder element @@ -570,51 +311,13 @@ const getCategoryFromEvent = (eventName) => { return category; }; -const formingFinalResponse = ( - userData, - commonData, - customData, - endpoint, - testDestination, - testEventCode, -) => { - if (userData && commonData) { - const response = defaultRequestConfig(); - response.endpoint = endpoint; - response.method = defaultPostRequestConfig.requestMethod; - const jsonStringify = JSON.stringify({ - user_data: userData, - ...commonData, - custom_data: customData, - }); - const payload = { - data: [jsonStringify], - }; - - // Ref: https://developers.facebook.com/docs/marketing-api/conversions-api/using-the-api/ - // Section: Test Events Tool - if (testDestination) { - payload.test_event_code = testEventCode; - } - response.body.FORM = payload; - return response; - } - // fail-safety for developer error - throw new TransformationError('Payload could not be constructed'); -}; - module.exports = { - deduceFbcParam, formatRevenue, - getContentType, - transformedPayloadData, getActionSource, - fetchUserData, handleProduct, handleSearch, handleProductListViewed, handleOrder, - formingFinalResponse, populateCustomDataBasedOnCategory, getCategoryFromEvent, }; diff --git a/src/v0/util/facebookUtils/index.js b/src/v0/util/facebookUtils/index.js new file mode 100644 index 0000000000..d39d1c4ce9 --- /dev/null +++ b/src/v0/util/facebookUtils/index.js @@ -0,0 +1,301 @@ +const sha256 = require('sha256'); +const { + isObject, + getIntegrationsObj, + getHashFromArray, + constructPayload, + defaultRequestConfig, + defaultPostRequestConfig, + getFieldValueFromMessage, + formatTimeStamp, +} = require('../index'); +const { InstrumentationError, TransformationError } = require('../errorTypes'); + +/** This function transforms the payloads according to the config settings and adds, removes or hashes pii data. + @param message --> the rudder payload + + { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { Fb: { app_id: 'RudderFbApp' } }, + 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' }, + screen: { height: '100', density: 50 }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1' + } + }, + event: 'spin_result', + integrations: { + All: true, + FacebookPixel: { + dataProcessingOptions: [Array], + fbc: 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890', + fbp: 'fb.1.1554763741205.234567890', + fb_login_id: 'fb_id', + lead_id: 'lead_id' + } + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { revenue: 400, additional_bet_index: 0 }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track' + } + + @param customData --> properties + { revenue: 400, additional_bet_index: 0 } + + @param blacklistPiiProperties --> + [ { blacklistPiiProperties: 'phone', blacklistPiiHash: true } ] // hashes the phone property + + @param whitelistPiiProperties --> + [ { whitelistPiiProperties: 'email' } ] // sets email + + + @param integrationsObj --> + { hashed: true } + + */ + +const transformedPayloadData = ( + message, + customData, + blacklistPiiProperties, + whitelistPiiProperties, + integrationsObj, +) => { + const defaultPiiProperties = [ + 'email', + 'firstName', + 'lastName', + 'firstname', + 'lastname', + 'first_name', + 'last_name', + 'gender', + 'city', + 'country', + 'phone', + 'state', + 'zip', + 'postalCode', + 'birthday', + ]; + const clonedCustomData = { ...customData }; + const finalBlacklistPiiProperties = blacklistPiiProperties || []; + const finalWhitelistPiiProperties = whitelistPiiProperties || []; + const customBlackListedPiiProperties = {}; + + // create list of whitelisted properties + const customWhiteListedProperties = finalWhitelistPiiProperties.map( + (propObject) => propObject.whitelistPiiProperties, + ); + + // create map of blacklisted properties + finalBlacklistPiiProperties.forEach((property) => { + const singularConfigInstance = property; + customBlackListedPiiProperties[singularConfigInstance.blacklistPiiProperties] = + singularConfigInstance.blacklistPiiHash; + }); + + // remove properties which are default pii properties and not whitelisted + Object.keys(clonedCustomData).forEach((eventProp) => { + const isDefaultPiiProperty = defaultPiiProperties.includes(eventProp); + const isProperyWhiteListed = customWhiteListedProperties.includes(eventProp); + + if (Object.hasOwn(customBlackListedPiiProperties, eventProp)) { + if (customBlackListedPiiProperties[eventProp]) { + // if customBlackListedPiiProperty is marked to be hashed from UI + clonedCustomData[eventProp] = integrationsObj?.hashed + ? String(message.properties[eventProp]) + : sha256(String(message.properties[eventProp])); + } else if (isDefaultPiiProperty && !isProperyWhiteListed) { + delete clonedCustomData[eventProp]; + } + } else if (isDefaultPiiProperty && !isProperyWhiteListed) { + delete clonedCustomData[eventProp]; + } + }); + + return clonedCustomData; +}; + +/** + * + * @param {*} message Rudder Payload + * @param {*} defaultValue product / product_group + * @param {*} categoryToContent example: [ { from: 'clothing', to: 'product' } ] + * @param {*} destinationName destination name + * + * We will be mapping properties.category to user provided content else taking the default value as per ecomm spec + * If category is clothing it will be set to ["product"] + * @return Content Type array as defined in: + * - https://developers.facebook.com/docs/facebook-pixel/reference/#object-properties + */ +const getContentType = (message, defaultValue, categoryToContent, destinationName) => { + const { properties } = message; + const integrationsObj = getIntegrationsObj(message, destinationName || 'fb_pixel'); + + if (integrationsObj?.contentType) { + return integrationsObj.contentType; + } + + let { category } = properties; + if (!category) { + const { products } = properties; + if (products && products.length > 0 && Array.isArray(products) && isObject(products[0])) { + category = products[0].category; + } + } + + if (Array.isArray(categoryToContent) && category) { + const categoryToContentHash = getHashFromArray(categoryToContent, 'from', 'to', false); + if (categoryToContentHash[category]) { + return categoryToContentHash[category]; + } + } + + return defaultValue; +}; + +/** + * This method gets content category with proper error-handling + * + * @param {*} category + * @returns The content category as a string + */ +const getContentCategory = (category) => { + let contentCategory = category; + if (Array.isArray(contentCategory)) { + contentCategory = contentCategory.map(String).join(','); + } + if ( + contentCategory && + typeof contentCategory !== 'string' && + typeof contentCategory !== 'object' + ) { + contentCategory = String(contentCategory); + } + if ( + contentCategory && + typeof contentCategory !== 'string' && + !Array.isArray(contentCategory) && + typeof contentCategory === 'object' + ) { + throw new InstrumentationError("'properties.category' must be either be a string or an array"); + } + return contentCategory; +}; + +/** + * + * @param {*} message + * @returns string which is fbc parameter + * + * version : "fb" (default) + * + * subdomainIndex : 1 ( recommended by facebook, as well as our JS SDK sets cookies on the main domain, i.e "facebook.com") + * + * creationTime : mapped to originalTimestamp converted in miliseconds + * + * fbclid : deduced query paramter from context.page.url + * + * ref: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc#fbc + */ +const deduceFbcParam = (message) => { + const url = message.context?.page?.url; + if (!url) { + return undefined; + } + let parseUrl; + try { + parseUrl = new URL(url); + } catch { + return undefined; + } + const paramsList = new URLSearchParams(parseUrl.search); + const fbclid = paramsList.get('fbclid'); + + if (!fbclid) { + return undefined; + } + const creationTime = getFieldValueFromMessage(message, 'timestamp'); + return `fb.1.${formatTimeStamp(creationTime)}.${fbclid}`; +}; + +const fetchUserData = (message, Config, mappingJson, destinationName) => { + const integrationsObj = getIntegrationsObj(message, destinationName); + const userData = constructPayload(message, mappingJson, destinationName); + const { removeExternalId } = Config; + if (removeExternalId) { + delete userData.external_id; + } + + if (userData) { + const split = userData.name?.split(' '); + if (split && split.length === 2) { + const hashValue = (value) => (integrationsObj?.hashed ? value : sha256(value)); + userData.fn = hashValue(split[0]); + userData.ln = hashValue(split[1]); + } + delete userData.name; + userData.fbc = userData.fbc || deduceFbcParam(message); + } + + return userData; +}; + +const formingFinalResponse = ( + userData, + commonData, + customData, + endpoint, + testDestination, + testEventCode, + appData, +) => { + if (userData && commonData) { + const response = defaultRequestConfig(); + response.endpoint = endpoint; + response.method = defaultPostRequestConfig.requestMethod; + const jsonData = { + user_data: userData, + ...commonData, + }; + if (appData && Object.keys(appData).length > 0) { + jsonData.app_data = appData; + } + if (customData && Object.keys(customData).length > 0) { + jsonData.custom_data = customData; + } + const jsonStringify = JSON.stringify(jsonData); + const payload = { + data: [jsonStringify], + }; + + // Ref: https://developers.facebook.com/docs/marketing-api/conversions-api/using-the-api/ + // Section: Test Events Tool + if (testDestination) { + payload.test_event_code = testEventCode; + } + response.body.FORM = payload; + return response; + } + // fail-safety for developer error + throw new TransformationError('Payload could not be constructed'); +}; + +module.exports = { + getContentType, + getContentCategory, + transformedPayloadData, + formingFinalResponse, + fetchUserData, +}; diff --git a/src/v0/destinations/facebook_pixel/utils.test.js b/src/v0/util/facebookUtils/index.test.js similarity index 98% rename from src/v0/destinations/facebook_pixel/utils.test.js rename to src/v0/util/facebookUtils/index.test.js index acd14ad2a8..98e4ccec40 100644 --- a/src/v0/destinations/facebook_pixel/utils.test.js +++ b/src/v0/util/facebookUtils/index.test.js @@ -1,4 +1,4 @@ -const { transformedPayloadData } = require('../../../../src/v0/destinations/facebook_pixel/utils'); +const { transformedPayloadData } = require('./index'); const sha256 = require('sha256'); describe('transformedPayloadData_function', () => { diff --git a/src/v0/util/facebookUtils/networkHandler.js b/src/v0/util/facebookUtils/networkHandler.js new file mode 100644 index 0000000000..d53d0f76f9 --- /dev/null +++ b/src/v0/util/facebookUtils/networkHandler.js @@ -0,0 +1,225 @@ +const { isEmpty } = require('lodash'); +const get = require('get-value'); +const { + processAxiosResponse, + getDynamicErrorType, +} = require('../../../adapters/utils/networkUtils'); +const { prepareProxyRequest, proxyRequest } = require('../../../adapters/network'); +const { NetworkError } = require('../errorTypes'); +const tags = require('../tags'); +const { ErrorDetailsExtractorBuilder } = require('../../../util/error-extractor'); + +/** + * Only under below mentioned scenario(s), add the errorCodes, subCodes etc,. to this map + * + * The actual API reference doc to which events from Rudderstack are being sent + * https://developers.facebook.com/docs/marketing-api/reference/ads-pixel/events/v13.0 + * + * The documents referred while formulating the error responses + * 1. https://developers.facebook.com/docs/graph-api/guides/error-handling/ + * - This seems like a generic document that contains errors possible for Graph API + * 2. https://developers.facebook.com/docs/marketing-api/error-reference/ + * - The doc seems to be more related to Marketing API + * 3. https://developers.facebook.com/docs/marketing-api/error-reference/ +{ + // A scenario where in we have to know the error with code and subcode, we can conclude that + // this error will have a particular status, statTags + code1: { + subCode1: { + status: , + // Only tags that are unique to this error needs to be provided + statTags: {}, + messageDetails: { + message: "", + field: + }, + + } + } +} + */ +const errorDetailsMap = { + 100: { + // This error talks about event being sent after seven days or so + 2804003: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessageField('error_user_title') + .build(), + 2804001: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessageField('error_user_title') + .build(), + 2804007: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessageField('error_user_title') + .build(), + 2804016: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessageField('error_user_title') + .build(), + 2804017: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessageField('error_user_title') + .build(), + 2804019: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessageField('error_user_title') + .build(), + 2804048: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessageField('error_user_title') + .build(), + // This error-subcode indicates that the business access token expired or is invalid or sufficient permissions are not provided + // since there is involvement of changes required on dashboard to make event successful + // for now, we are aborting this error-subCode combination + 33: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessage( + "Object with ID 'PIXEL_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", + ) + .build(), + default: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessage('Invalid Parameter') + .build(), + }, + 1: { + // An unknown error occurred. + // This error may occur if you set level to adset but the correct value should be campaign + 99: new ErrorDetailsExtractorBuilder() + .setStatus(500) + .setMessage( + 'This error may occur if you set level to adset but the correct value should be campaign', + ) + .build(), + default: new ErrorDetailsExtractorBuilder() + .setStatus(500) + .setMessage('An unknown error occurred') + .build(), + }, + 190: { + 460: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessage( + 'The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons', + ) + .build(), + default: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessage('Invalid OAuth 2.0 access token') + .build(), + }, + 3: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessage('Capability or permissions issue.') + .build(), + }, + 2: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(500) + .setMessage('Temporary issue due to downtime.') + .build(), + }, + 341: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(500) + .setMessage('Application limit reached: Temporary issue due to downtime or throttling') + .build(), + }, + 368: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(500) + .setMessage('Temporarily blocked for policies violations.') + .build(), + }, + 5000: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(500) + .setMessage('Unknown Error Code') + .build(), + }, + 4: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(429) + .setMessage('API Too Many Calls') + .build(), + }, + 17: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(429) + .setMessage('API User Too Many Calls') + .build(), + }, +}; + +const getErrorDetailsFromErrorMap = (error) => { + const { code, error_subcode: subCode } = error; + let errDetails; + if (!isEmpty(errorDetailsMap[code])) { + errDetails = errorDetailsMap[code][subCode] || errorDetailsMap[code]?.default; + } + return errDetails; +}; + +const getStatus = (error) => { + const errorDetail = getErrorDetailsFromErrorMap(error); + let errorStatus = 500; + const isErrorDetailEmpty = isEmpty(errorDetail); + if (isErrorDetailEmpty) { + // Unhandled error response + return { + status: errorStatus, + tags: { [tags.TAG_NAMES.META]: tags.METADATA.UNHANDLED_STATUS_CODE }, + }; + } + errorStatus = errorDetail.status; + + let errorMessage = errorDetail?.messageDetails?.message; + if (errorDetail?.messageDetails?.field) { + errorMessage = get(error, errorDetail?.messageDetails?.field); + } + + return { status: errorStatus, errorMessage }; +}; + +const errorResponseHandler = (destResponse) => { + const { response } = destResponse; + if (!response.error) { + // successful response from facebook pixel api + return; + } + const { error } = response; + const { status, errorMessage, tags: errorStatTags } = getStatus(error); + throw new NetworkError( + `${errorMessage || error.message || 'Unknown failure during response transformation'}`, + status, + { + ...errorStatTags, + [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(status), + }, + { ...response, status: destResponse.status }, + ); +}; + +const destResponseHandler = (destinationResponse) => { + errorResponseHandler(destinationResponse); + return { + destinationResponse: destinationResponse.response, + message: 'Request Processed Successfully', + status: destinationResponse.status, + }; +}; + +function networkHandler() { + // The order of execution also happens in this way + this.prepareProxy = prepareProxyRequest; + this.proxy = proxyRequest; + this.processAxiosResponse = processAxiosResponse; + this.responseHandler = destResponseHandler; +} + +module.exports = { + networkHandler, + errorResponseHandler, +}; diff --git a/test/__tests__/data/facebook_conversions.json b/test/__tests__/data/facebook_conversions.json new file mode 100644 index 0000000000..62d0a49c0f --- /dev/null +++ b/test/__tests__/data/facebook_conversions.json @@ -0,0 +1,947 @@ +[ + { + "description": "Timestamp validation. Events must be sent within seven days of their occurrence or up to one minute in the future", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "randomevent", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0 + }, + "timestamp": "2023-09-01T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ] + }, + "Enabled": true + } + }, + "output": { + "error": "Events must be sent within seven days of their occurrence or up to one minute in the future." + } + }, + { + "description": "Track event without event property set", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0 + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "error": "'event' is required and should be a string" + } + }, + { + "description": "Simple track event", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "spin_result", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0 + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"spin_result\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"value\":400,\"currency\":\"USD\"}}" + ] + } + }, + "files": {} + } + }, + { + "description": "Track event with standard event products searched", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "products searched", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0 + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"Search\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" + ] + } + }, + "files": {} + } + }, + { + "description": "Track event with standard event product added", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "product added", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0 + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"AddToCart\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" + ] + } + }, + "files": {} + } + }, + { + "description": "Track event with standard event product viewed", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "product viewed", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0 + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"ViewContent\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" + ] + } + }, + "files": {} + } + }, + { + "description": "Track event with standard event product list viewed", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "product list viewed", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0, + "products": [ + { + "product_id": 1234, + "quantity": 5, + "price": 55 + } + ] + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"ViewContent\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"products[0].product_id\":1234,\"products[0].quantity\":5,\"products[0].price\":55,\"content_ids\":[1234],\"contents\":[{\"id\":1234,\"quantity\":5,\"item_price\":55}],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" + ] + } + }, + "files": {} + } + }, + { + "description": "Track event with standard event product list viewed without products array", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "product list viewed", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0, + "category": "randomCategory" + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"ViewContent\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"category\":\"randomCategory\",\"content_ids\":[\"randomCategory\"],\"contents\":[{\"id\":\"randomCategory\",\"quantity\":1}],\"content_type\":\"product_group\",\"content_category\":\"randomCategory\",\"currency\":\"USD\",\"value\":400}}" + ] + } + }, + "files": {} + } + }, + { + "description": "Track event with standard event product added to wishlist", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "product added to wishlist", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0 + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"AddToWishlist\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"currency\":\"USD\",\"value\":400}}" + ] + } + }, + "files": {} + } + }, + { + "description": "Track event with standard event payment info entered", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "payment info entered", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0 + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"AddPaymentInfo\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"currency\":\"USD\",\"value\":400}}" + ] + } + }, + "files": {} + } + } +] diff --git a/test/__tests__/data/facebook_conversions_router_input.json b/test/__tests__/data/facebook_conversions_router_input.json new file mode 100644 index 0000000000..4abe66d3c4 --- /dev/null +++ b/test/__tests__/data/facebook_conversions_router_input.json @@ -0,0 +1,158 @@ +[ + { + "metadata": { + "jobId": 1 + }, + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "spin_result", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0 + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + { + "metadata": { + "jobId": 2 + }, + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "products searched", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0 + }, + "timestamp": "2023-10-15T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + } +] diff --git a/test/__tests__/data/facebook_conversions_router_output.json b/test/__tests__/data/facebook_conversions_router_output.json new file mode 100644 index 0000000000..d376a91027 --- /dev/null +++ b/test/__tests__/data/facebook_conversions_router_output.json @@ -0,0 +1,122 @@ +[ + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"spin_result\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"value\":400,\"currency\":\"USD\"}}" + ] + } + }, + "files": {} + }, + "metadata": [ + { + "jobId": 1 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"Search\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" + ] + } + }, + "files": {} + }, + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + } +] diff --git a/test/__tests__/facebook_conversions.js b/test/__tests__/facebook_conversions.js new file mode 100644 index 0000000000..a450952efe --- /dev/null +++ b/test/__tests__/facebook_conversions.js @@ -0,0 +1,46 @@ +const integration = "facebook_conversions"; +const name = "facebook_conversions"; + +const fs = require("fs"); +const path = require("path"); + +const version = "v0"; +const transformer = require(`../../src/${version}/destinations/${integration}/transform`); + +// Processor Test Data +const testDataFile = fs.readFileSync( + path.resolve(__dirname, `./data/${integration}.json`) +); +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", () => { + testData.forEach((dataPoint, index) => { + it(`${index}. ${integration} - ${dataPoint.description}`, async () => { + try { + const output = await transformer.process(dataPoint.input); + expect(output).toEqual(dataPoint.output); + } catch (error) { + expect(error.message).toEqual(dataPoint.output.error); + } + }); + }); + }); + + describe("Router Tests", () => { + it("Payload", async () => { + const routerOutput = await transformer.processRouterDest(inputRouterData); + expect(routerOutput).toEqual(expectedRouterData); + }); + }); +}); From 57ce6916472013052292dab7f9a6cfc71739ae84 Mon Sep 17 00:00:00 2001 From: srikanth Date: Tue, 17 Oct 2023 16:56:14 -0500 Subject: [PATCH 25/98] chore: add chandu to github workflows (#2735) --- .github/workflows/create-hotfix-branch.yml | 2 +- .github/workflows/draft-new-release.yml | 2 +- .github/workflows/prepare-for-prod-rollback.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-hotfix-branch.yml b/.github/workflows/create-hotfix-branch.yml index aa928b4646..0cb0a31438 100644 --- a/.github/workflows/create-hotfix-branch.yml +++ b/.github/workflows/create-hotfix-branch.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest # Only allow these users to create new hotfix branch from 'main' - if: github.ref == 'refs/heads/main' && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823') + if: github.ref == 'refs/heads/main' && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg') steps: - name: Create Branch uses: peterjgrainger/action-create-branch@v2.4.0 diff --git a/.github/workflows/draft-new-release.yml b/.github/workflows/draft-new-release.yml index 044885316d..5282649062 100644 --- a/.github/workflows/draft-new-release.yml +++ b/.github/workflows/draft-new-release.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest # Only allow release stakeholders to initiate releases - if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823') + if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg') steps: - name: Checkout uses: actions/checkout@v3.5.3 diff --git a/.github/workflows/prepare-for-prod-rollback.yml b/.github/workflows/prepare-for-prod-rollback.yml index 3a2a60abc4..97c5a3dd7d 100644 --- a/.github/workflows/prepare-for-prod-rollback.yml +++ b/.github/workflows/prepare-for-prod-rollback.yml @@ -10,7 +10,7 @@ jobs: # Only allow to be deployed from tags and main branch # Only allow specific actors to trigger - if: (startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/main')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs') + if: (startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/main')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'chandumlg') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'chandumlg') steps: - name: Get Target Version From f0493dccfd47bfe1897ebcec27141e2df31393c0 Mon Sep 17 00:00:00 2001 From: srikanth Date: Tue, 17 Oct 2023 17:05:48 -0500 Subject: [PATCH 26/98] fix: add event metadata to 298 status code responses --- src/services/userTransform.ts | 14 +++++++++++--- src/types/index.ts | 5 +++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/services/userTransform.ts b/src/services/userTransform.ts index d54c105b02..5104418f6d 100644 --- a/src/services/userTransform.ts +++ b/src/services/userTransform.ts @@ -7,6 +7,7 @@ import { ProcessorTransformationResponse, UserTransformationResponse, UserTransformationServiceResponse, + MessageIdMetadataMap, } from '../types/index'; import { RespStatusError, @@ -49,8 +50,15 @@ export default class UserTransformService { const eventsToProcess = destEvents as ProcessorTransformationRequest[]; const transformationVersionId = eventsToProcess[0]?.destination?.Transformations[0]?.VersionID; - const messageIds = eventsToProcess.map((ev) => ev.metadata?.messageId); - const messageIdsSet = new Set(messageIds); + const messageIds: string[] = []; + const messageIdsSet = new Set(); + const messageIdMetadataMap: MessageIdMetadataMap = {}; + eventsToProcess.forEach((ev) => { + messageIds.push(ev.metadata?.messageId); + messageIdsSet.add(ev.metadata?.messageId); + messageIdMetadataMap[ev.metadata?.messageId] = ev.metadata; + }); + const messageIdsInOutputSet = new Set(); const commonMetadata = { @@ -125,7 +133,7 @@ export default class UserTransformService { const droppedEvents = messageIdsNotInOutput.map((id) => ({ statusCode: HTTP_CUSTOM_STATUS_CODES.FILTERED, metadata: { - ...commonMetadata, + ...(isEmpty(messageIdMetadataMap[id]) ? commonMetadata : messageIdMetadataMap[id]), messageId: id, messageIds: null, }, diff --git a/src/types/index.ts b/src/types/index.ts index ff0c1f88b9..75b30a987a 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -52,6 +52,10 @@ type Metadata = { transformationId: string; }; +type MessageIdMetadataMap { + [key: string]: Metadata; +} + type UserTransformationInput = { VersionID: string; ID: string; @@ -223,6 +227,7 @@ type ComparatorInput = { export { Metadata, + MessageIdMetadataMap, UserTransformationLibrary, ProcessorTransformationRequest, ProcessorTransformationResponse, From e58127c7654952e28a78f73e79ca97b808bb3a9b Mon Sep 17 00:00:00 2001 From: srikanth Date: Tue, 17 Oct 2023 17:17:01 -0500 Subject: [PATCH 27/98] chore(release): 1.45.2 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e78e5a6a0a..4156e90228 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.45.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.45.1...v1.45.2) (2023-10-17) + + +### Bug Fixes + +* add event metadata to 298 status code responses ([f0493dc](https://github.com/rudderlabs/rudder-transformer/commit/f0493dccfd47bfe1897ebcec27141e2df31393c0)) + ### [1.45.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.45.0...v1.45.1) (2023-10-17) diff --git a/package-lock.json b/package-lock.json index 750791d676..1f53db2cc6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.45.1", + "version": "1.45.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.45.1", + "version": "1.45.2", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 8b8a4cec5a..8c74e88b1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.45.1", + "version": "1.45.2", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From c8d3882baccc57d7b892c55ff9811c951afb5ec6 Mon Sep 17 00:00:00 2001 From: srikanth Date: Tue, 17 Oct 2023 18:01:54 -0500 Subject: [PATCH 28/98] fix: ut metadata map ts type --- src/types/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/index.ts b/src/types/index.ts index 75b30a987a..5a35b697d6 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -52,9 +52,9 @@ type Metadata = { transformationId: string; }; -type MessageIdMetadataMap { +type MessageIdMetadataMap = { [key: string]: Metadata; -} +}; type UserTransformationInput = { VersionID: string; From 351401b55e45fbb5fcfd2e5021647ad030eba9dc Mon Sep 17 00:00:00 2001 From: srikanth Date: Tue, 17 Oct 2023 18:04:26 -0500 Subject: [PATCH 29/98] chore(release): 1.45.3 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4156e90228..4ffec3a8d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.45.3](https://github.com/rudderlabs/rudder-transformer/compare/v1.45.2...v1.45.3) (2023-10-17) + + +### Bug Fixes + +* ut metadata map ts type ([c8d3882](https://github.com/rudderlabs/rudder-transformer/commit/c8d3882baccc57d7b892c55ff9811c951afb5ec6)) + ### [1.45.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.45.1...v1.45.2) (2023-10-17) diff --git a/package-lock.json b/package-lock.json index 1f53db2cc6..b3d5eb7885 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.45.2", + "version": "1.45.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.45.2", + "version": "1.45.3", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 8c74e88b1c..1d45524515 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.45.2", + "version": "1.45.3", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 85429607d49844ccd4490111554d909f08162bb1 Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Wed, 18 Oct 2023 08:34:46 +0530 Subject: [PATCH 30/98] chore: add mihir to release workflow (#2740) --- .github/workflows/create-hotfix-branch.yml | 2 +- .github/workflows/draft-new-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-hotfix-branch.yml b/.github/workflows/create-hotfix-branch.yml index 0cb0a31438..d1397cb608 100644 --- a/.github/workflows/create-hotfix-branch.yml +++ b/.github/workflows/create-hotfix-branch.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest # Only allow these users to create new hotfix branch from 'main' - if: github.ref == 'refs/heads/main' && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg') + if: github.ref == 'refs/heads/main' && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116') steps: - name: Create Branch uses: peterjgrainger/action-create-branch@v2.4.0 diff --git a/.github/workflows/draft-new-release.yml b/.github/workflows/draft-new-release.yml index 5282649062..0657561f2b 100644 --- a/.github/workflows/draft-new-release.yml +++ b/.github/workflows/draft-new-release.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest # Only allow release stakeholders to initiate releases - if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg') + if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116') steps: - name: Checkout uses: actions/checkout@v3.5.3 From a65554f439adb9491382365465a44fc21364d517 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 18 Oct 2023 03:28:03 +0000 Subject: [PATCH 31/98] chore(release): 1.46.0 --- CHANGELOG.md | 16 ++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ffec3a8d6..562f8582d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ 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.46.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.45.3...v1.46.0) (2023-10-18) + + +### Features + +* enhancement: snapchat_conversion add new fields ([#2721](https://github.com/rudderlabs/rudder-transformer/issues/2721)) ([45da19d](https://github.com/rudderlabs/rudder-transformer/commit/45da19db1e583d80f9fc5b508316f7a8bdd415b6)) +* facebook pixel audit refactor ([#2713](https://github.com/rudderlabs/rudder-transformer/issues/2713)) ([43e1a61](https://github.com/rudderlabs/rudder-transformer/commit/43e1a61e19ad8b9c0fb999fe900b91347acb7ef8)) +* mixpanel gzip support for import endpoint ([#2667](https://github.com/rudderlabs/rudder-transformer/issues/2667)) ([6b6bb66](https://github.com/rudderlabs/rudder-transformer/commit/6b6bb6633ed26d466bd80d04ae2c008d1435faca)) +* onboard facebook_conversions destination ([#2720](https://github.com/rudderlabs/rudder-transformer/issues/2720)) ([5269af4](https://github.com/rudderlabs/rudder-transformer/commit/5269af47cdbceefec16be3b44910ca27aea35c35)) +* onboard source ortto ([#2693](https://github.com/rudderlabs/rudder-transformer/issues/2693)) ([4682268](https://github.com/rudderlabs/rudder-transformer/commit/4682268d8396a40685a343a5c4f3978e7316d2d3)) + + +### Bug Fixes + +* fix getFbGenderVal function ([#2724](https://github.com/rudderlabs/rudder-transformer/issues/2724)) ([3aabe81](https://github.com/rudderlabs/rudder-transformer/commit/3aabe81252a09010d2b2e54e44c32e2c6302c057)) + ### [1.45.3](https://github.com/rudderlabs/rudder-transformer/compare/v1.45.2...v1.45.3) (2023-10-17) diff --git a/package-lock.json b/package-lock.json index b3d5eb7885..68108ae808 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.45.3", + "version": "1.46.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.45.3", + "version": "1.46.0", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 1d45524515..740721b7ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.45.3", + "version": "1.46.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 746119904bace7cbc5a867c92b236473beefe146 Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Wed, 18 Oct 2023 12:39:00 +0530 Subject: [PATCH 32/98] fix: fixed hub not found error in helm charts (#2734) * fix: fixed hub not found error in helm charts * fix: replaced hub with gh --- .github/workflows/prepare-for-prod-deploy.yml | 4 ++-- .github/workflows/prepare-for-prod-rollback.yml | 2 +- .github/workflows/prepare-for-prod-ut-deploy.yml | 4 ++-- .github/workflows/prepare-for-staging-deploy.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/prepare-for-prod-deploy.yml b/.github/workflows/prepare-for-prod-deploy.yml index def8f17643..0a2939ac2c 100644 --- a/.github/workflows/prepare-for-prod-deploy.yml +++ b/.github/workflows/prepare-for-prod-deploy.yml @@ -126,7 +126,7 @@ jobs: git commit -m "chore: upgrade shared transformers to $TAG_NAME" git push -u origin shared-transformer-$TAG_NAME - hub pull-request -m "chore: upgrade shared transformers to $TAG_NAME" + gh pr create --fill - name: Update Helm Chart and Raise Pull Request For Hosted Transformer env: @@ -143,4 +143,4 @@ jobs: git commit -m "chore: upgrade hosted transformer to $TAG_NAME" git push -u origin hosted-transformer-$TAG_NAME - hub pull-request -m "chore: upgrade hosted transformer to $TAG_NAME" + gh pr create --fill diff --git a/.github/workflows/prepare-for-prod-rollback.yml b/.github/workflows/prepare-for-prod-rollback.yml index 97c5a3dd7d..9ac144a21e 100644 --- a/.github/workflows/prepare-for-prod-rollback.yml +++ b/.github/workflows/prepare-for-prod-rollback.yml @@ -56,4 +56,4 @@ jobs: git commit -m "chore: rollback shared transformers to ${{ steps.target-version.outputs.tag_name }}" git push -u origin shared-transformer-rollback-${{ steps.target-version.outputs.tag_name }} - hub pull-request -m "chore: rollback shared transformers to ${{ steps.target-version.outputs.tag_name }}" + gh pr create --fill diff --git a/.github/workflows/prepare-for-prod-ut-deploy.yml b/.github/workflows/prepare-for-prod-ut-deploy.yml index bac768883e..1cb300512c 100644 --- a/.github/workflows/prepare-for-prod-ut-deploy.yml +++ b/.github/workflows/prepare-for-prod-ut-deploy.yml @@ -111,7 +111,7 @@ jobs: git commit -m "chore: upgrade shared user-transformers to $UT_TAG_NAME" git push -u origin shared-user-transformer-$UT_TAG_NAME - hub pull-request -m "chore: upgrade shared user-transformers to $UT_TAG_NAME" + gh pr create --fill - name: Update Helm Chart and Raise Pull Request For Hosted Transformer env: @@ -128,4 +128,4 @@ jobs: git commit -m "chore: upgrade hosted user-transformer to $UT_TAG_NAME" git push -u origin hosted-user-transformer-$UT_TAG_NAME - hub pull-request -m "chore: upgrade hosted user-transformer to $UT_TAG_NAME" + gh pr create --fill diff --git a/.github/workflows/prepare-for-staging-deploy.yml b/.github/workflows/prepare-for-staging-deploy.yml index 66c27fbfd0..37224121bf 100644 --- a/.github/workflows/prepare-for-staging-deploy.yml +++ b/.github/workflows/prepare-for-staging-deploy.yml @@ -120,5 +120,5 @@ jobs: 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\"" + gh pr create --fill fi From 17cd1f8174bcee871d8956c30b58feb8bbb702d5 Mon Sep 17 00:00:00 2001 From: Sandeep Digumarty Date: Wed, 18 Oct 2023 13:21:15 +0530 Subject: [PATCH 33/98] feat: setting empty string as default if app event params are not present (#2742) feat: setting empty string as default if app event params are not sent in event --- src/v0/destinations/facebook_conversions/utils.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/v0/destinations/facebook_conversions/utils.js b/src/v0/destinations/facebook_conversions/utils.js index 24d0ddc9c2..270fac8c45 100644 --- a/src/v0/destinations/facebook_conversions/utils.js +++ b/src/v0/destinations/facebook_conversions/utils.js @@ -177,7 +177,7 @@ const fetchAppData = (message) => { const appData = constructPayload( message, MAPPING_CONFIG[CONFIG_CATEGORIES.APPDATA.name], - 'fb_pixel', + DESTINATION.toLowerCase(), ); if (appData) { @@ -195,6 +195,10 @@ const fetchAppData = (message) => { appData.extinfo[0] = sourceSDK; } + appData.extinfo = ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''].map( + (val, ind) => (appData.extinfo[ind] ? appData.extinfo[ind] : val), + ); + return appData; }; From be4c410dbe7f7e38cf2c1e6e18b18721fa33a83f Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Wed, 18 Oct 2023 13:52:30 +0530 Subject: [PATCH 34/98] fix: update duplicate verions in github release (#2708) * fix: update duplicate verions in github release * fix: added debug for releaser --- github-release.config.js | 5 ----- package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 github-release.config.js diff --git a/github-release.config.js b/github-release.config.js deleted file mode 100644 index df269d8a02..0000000000 --- a/github-release.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - gitRawCommitsOpts: { - merges: null, - }, -}; diff --git a/package.json b/package.json index 740721b7ad..d31f9a2fbe 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "commit-msg": "commitlint --edit", "prepare": "node ./scripts/skipPrepareScript.js || husky install", "release": "npx standard-version", - "release:github": "DEBUG=conventional-github-releaser npx conventional-github-releaser -p angular --config github-release.config.js", + "release:github": "DEBUG=conventional-github-releaser npx conventional-github-releaser -p angular -v", "clean:node": "modclean", "check:lint": "eslint . -f json -o reports/eslint.json || exit 0" }, From dca6ee08ca844dc9668f8ff427f4508bc2bbb930 Mon Sep 17 00:00:00 2001 From: Sankeerth Date: Wed, 18 Oct 2023 14:36:06 +0530 Subject: [PATCH 35/98] chore: refactor migrate test cases to new format (#2630) --- jest.config.js | 197 + package-lock.json | 126 +- package.json | 2 + src/cdk/v2/destinations/eloqua/config.js | 4 +- src/routes/bulkUpload.ts | 2 +- src/routes/testEvents.ts | 2 +- src/util/prometheus.js | 17 +- src/util/redis/testData/shopify_source.json | 70 +- .../destinations/active_campaign/transform.js | 8 +- src/v0/destinations/braze/networkHandler.js | 10 +- src/v0/destinations/customerio/util.test.js | 22 +- src/v0/destinations/june/config.js | 2 +- .../june/data/JuneGroupConfig.json | 14 +- .../june/data/JuneIdentifyConfig.json | 15 +- .../june/data/JunePageConfig.json | 86 +- .../june/data/JuneTrackConfig.json | 8 +- src/v0/destinations/june/transform.js | 4 +- src/v0/destinations/mailchimp/transform.js | 5 +- src/v0/destinations/personalize/transform.js | 4 +- src/v0/destinations/posthog/transform.js | 2 +- src/v0/destinations/sendgrid/transform.js | 5 +- src/v0/sources/shopify/config.js | 2 +- .../shopify/shopify_redis.util.test.js | 491 +- src/v0/sources/shopify/transform.js | 10 +- src/warehouse/index.js | 117 +- src/warehouse/util.js | 14 +- test/__tests__/data/criteo_audience.json | 58 +- test/__tests__/data/fb_custom_audience.json | 54067 --------------- .../data/fb_custom_audience_router.json | 457 - .../fb_custom_audience_router_rETL_input.json | 26251 -------- ...fb_custom_audience_router_rETL_output.json | 26266 -------- test/__tests__/data/fb_input.json | 1455 - test/__tests__/data/fb_output.json | 310 - test/__tests__/data/fb_router_input.json | 245 - test/__tests__/data/fb_router_output.json | 40 - test/__tests__/data/firehose_input.json | 431 - test/__tests__/data/firehose_output.json | 282 - ...oogle_adwords_remarketing_lists_input.json | 4 +- test/__tests__/data/googlepubsub_input.json | 610 - test/__tests__/data/googlepubsub_output.json | 372 - test/__tests__/data/googlesheets_input.json | 564 - test/__tests__/data/googlesheets_output.json | 345 - .../data/googlesheets_router_input.json | 245 - .../data/googlesheets_router_output.json | 213 - test/__tests__/data/heap_input.json | 516 - test/__tests__/data/heap_output.json | 180 - test/__tests__/data/heap_router_input.json | 193 - test/__tests__/data/heap_router_output.json | 154 - test/__tests__/data/impact.json | 1814 - test/__tests__/data/impact_router.json | 305 - test/__tests__/data/indicative_input.json | 1790 - test/__tests__/data/indicative_output.json | 1000 - .../data/indicative_router_input.json | 138 - .../data/indicative_router_output.json | 152 - test/__tests__/data/iterable.json | 3191 - test/__tests__/data/iterable_router.json | 1141 - test/__tests__/data/june.json | 572 - test/__tests__/data/june_router.json | 123 - test/__tests__/data/kafka.json | 571 - test/__tests__/data/kafka_batch_input.json | 987 - test/__tests__/data/kafka_batch_output.json | 582 - test/__tests__/data/kafka_with_metadata.json | 75 - test/__tests__/data/keen_input.json | 235 - test/__tests__/data/keen_output.json | 152 - test/__tests__/data/keen_router_input.json | 132 - test/__tests__/data/keen_router_output.json | 148 - test/__tests__/data/kissmetrics_input.json | 464 - test/__tests__/data/kissmetrics_output.json | 218 - .../data/kissmetrics_router_input.json | 148 - .../data/kissmetrics_router_output.json | 120 - test/__tests__/eloqua-cdk.test.ts | 4 +- test/__tests__/facebook.test.js | 50 - test/__tests__/fb_custom_audience.test.js | 66 - test/__tests__/firehose.test.js | 29 - test/__tests__/googlepubsub.test.js | 29 - test/__tests__/googlesheets.test.js | 46 - test/__tests__/heap-cdk.test.ts | 33 - test/__tests__/heap.test.js | 7 - test/__tests__/impact.test.js | 43 - test/__tests__/indicative.test.js | 49 - test/__tests__/iterable.test.js | 54 - test/__tests__/june.test.js | 46 - test/__tests__/kafka.test.js | 65 - test/__tests__/keen.test.js | 53 - test/__tests__/kissmetrics.test.js | 48 - test/controllerUtility/ctrl-utility.test.ts | 12 +- test/integrations/component.test.ts | 41 +- .../destinations/fb/processor/data.ts | 2184 + .../destinations/fb/router/data.ts | 317 + .../fb_custom_audience/processor/data.ts | 54420 ++++++++++++++++ .../fb_custom_audience/router/data.ts | 53019 +++++++++++++++ .../destinations/firehose/processor/data.ts | 858 + .../googlepubsub/processor/data.ts | 1294 + .../googlesheets/processor/data.ts | 1077 + .../destinations/googlesheets/router/data.ts | 479 + .../destinations/heap/processor/data.ts | 896 + .../destinations/heap/router/data.ts | 805 + .../destinations/impact/processor/data.ts | 2325 + .../destinations/impact/router/data.ts | 324 + .../destinations/indicative/processor/data.ts | 3263 + .../destinations/indicative/router/data.ts | 313 + .../destinations/iterable/processor/data.ts | 3784 ++ .../destinations/iterable/router/data.ts | 1014 + .../destinations/june/processor/data.ts | 755 + .../destinations/june/router/data.ts | 146 + .../destinations/kafka/batch/data.ts | 1492 + .../destinations/kafka/processor/data.ts | 795 + .../destinations/keen/processor/data.ts | 482 + .../destinations/keen/router/data.ts | 303 + .../kissmetrics/processor/data.ts | 888 + .../destinations/kissmetrics/router/data.ts | 291 + .../destinations/leanplum/processor/data.ts | 3328 +- .../destinations/mautic/processor/data.ts | 30 - .../destinations/mautic/router/data.ts | 3 - 114 files changed, 133889 insertions(+), 130226 deletions(-) create mode 100644 jest.config.js delete mode 100644 test/__tests__/data/fb_custom_audience.json delete mode 100644 test/__tests__/data/fb_custom_audience_router.json delete mode 100644 test/__tests__/data/fb_custom_audience_router_rETL_input.json delete mode 100644 test/__tests__/data/fb_custom_audience_router_rETL_output.json delete mode 100644 test/__tests__/data/fb_input.json delete mode 100644 test/__tests__/data/fb_output.json delete mode 100644 test/__tests__/data/fb_router_input.json delete mode 100644 test/__tests__/data/fb_router_output.json delete mode 100644 test/__tests__/data/firehose_input.json delete mode 100644 test/__tests__/data/firehose_output.json delete mode 100644 test/__tests__/data/googlepubsub_input.json delete mode 100644 test/__tests__/data/googlepubsub_output.json delete mode 100644 test/__tests__/data/googlesheets_input.json delete mode 100644 test/__tests__/data/googlesheets_output.json delete mode 100644 test/__tests__/data/googlesheets_router_input.json delete mode 100644 test/__tests__/data/googlesheets_router_output.json delete mode 100644 test/__tests__/data/heap_input.json delete mode 100644 test/__tests__/data/heap_output.json delete mode 100644 test/__tests__/data/heap_router_input.json delete mode 100644 test/__tests__/data/heap_router_output.json delete mode 100644 test/__tests__/data/impact.json delete mode 100644 test/__tests__/data/impact_router.json delete mode 100644 test/__tests__/data/indicative_input.json delete mode 100644 test/__tests__/data/indicative_output.json delete mode 100644 test/__tests__/data/indicative_router_input.json delete mode 100644 test/__tests__/data/indicative_router_output.json delete mode 100644 test/__tests__/data/iterable.json delete mode 100644 test/__tests__/data/iterable_router.json delete mode 100644 test/__tests__/data/june.json delete mode 100644 test/__tests__/data/june_router.json delete mode 100644 test/__tests__/data/kafka.json delete mode 100644 test/__tests__/data/kafka_with_metadata.json delete mode 100644 test/__tests__/data/keen_input.json delete mode 100644 test/__tests__/data/keen_output.json delete mode 100644 test/__tests__/data/keen_router_input.json delete mode 100644 test/__tests__/data/keen_router_output.json delete mode 100644 test/__tests__/data/kissmetrics_input.json delete mode 100644 test/__tests__/data/kissmetrics_output.json delete mode 100644 test/__tests__/data/kissmetrics_router_input.json delete mode 100644 test/__tests__/data/kissmetrics_router_output.json delete mode 100644 test/__tests__/facebook.test.js delete mode 100644 test/__tests__/fb_custom_audience.test.js delete mode 100644 test/__tests__/firehose.test.js delete mode 100644 test/__tests__/googlepubsub.test.js delete mode 100644 test/__tests__/googlesheets.test.js delete mode 100644 test/__tests__/heap-cdk.test.ts delete mode 100644 test/__tests__/heap.test.js delete mode 100644 test/__tests__/impact.test.js delete mode 100644 test/__tests__/indicative.test.js delete mode 100644 test/__tests__/iterable.test.js delete mode 100644 test/__tests__/june.test.js delete mode 100644 test/__tests__/kafka.test.js delete mode 100644 test/__tests__/keen.test.js delete mode 100644 test/__tests__/kissmetrics.test.js create mode 100644 test/integrations/destinations/fb/processor/data.ts create mode 100644 test/integrations/destinations/fb/router/data.ts create mode 100644 test/integrations/destinations/fb_custom_audience/processor/data.ts create mode 100644 test/integrations/destinations/fb_custom_audience/router/data.ts create mode 100644 test/integrations/destinations/firehose/processor/data.ts create mode 100644 test/integrations/destinations/googlepubsub/processor/data.ts create mode 100644 test/integrations/destinations/googlesheets/processor/data.ts create mode 100644 test/integrations/destinations/googlesheets/router/data.ts create mode 100644 test/integrations/destinations/heap/processor/data.ts create mode 100644 test/integrations/destinations/heap/router/data.ts create mode 100644 test/integrations/destinations/impact/processor/data.ts create mode 100644 test/integrations/destinations/impact/router/data.ts create mode 100644 test/integrations/destinations/indicative/processor/data.ts create mode 100644 test/integrations/destinations/indicative/router/data.ts create mode 100644 test/integrations/destinations/iterable/processor/data.ts create mode 100644 test/integrations/destinations/iterable/router/data.ts create mode 100644 test/integrations/destinations/june/processor/data.ts create mode 100644 test/integrations/destinations/june/router/data.ts create mode 100644 test/integrations/destinations/kafka/batch/data.ts create mode 100644 test/integrations/destinations/kafka/processor/data.ts create mode 100644 test/integrations/destinations/keen/processor/data.ts create mode 100644 test/integrations/destinations/keen/router/data.ts create mode 100644 test/integrations/destinations/kissmetrics/processor/data.ts create mode 100644 test/integrations/destinations/kissmetrics/router/data.ts diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000000..875c8f8893 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,197 @@ +// For a detailed explanation regarding each configuration property, visit: +// https://jestjs.io/docs/en/configuration.html + +module.exports = { + // All imported modules in your tests should be mocked automatically + // automock: false, + + // Stop running tests after `n` failures + bail: 1, + + // Respect "browser" field in package.json when resolving modules + // browser: false, + + // The directory where Jest should store its cached dependency information + // cacheDirectory: "/private/var/folders/bj/xt4sffgd21z57fxhvqrd30_80000gn/T/jest_dx", + + // Automatically clear mock calls and instances between every test + // clearMocks: false, + + // Indicates whether the coverage information should be collected while executing the test + collectCoverage: false, + + // An array of glob patterns indicating a set of files for which coverage information should be collected + // collectCoverageFrom: null, + + // The directory where Jest should output its coverage files + coverageDirectory: 'reports/coverage', + + // An array of regexp pattern strings used to skip coverage collection + coveragePathIgnorePatterns: ['/node_modules/', '__tests__', 'warehouse/v0'], + + // A list of reporter names that Jest uses when writing coverage reports + coverageReporters: ['json', 'text', 'lcov', 'clover'], + + // An object that configures minimum threshold enforcement for coverage results + coverageThreshold: { + global: { + branches: 60, + functions: 80, + lines: 80, + statements: 80, + }, + }, + + // A path to a custom dependency extractor + // dependencyExtractor: null, + + // Make calling deprecated APIs throw helpful error messages + errorOnDeprecated: true, + + // Force coverage collection from ignored files using an array of glob patterns + // forceCoverageMatch: [], + + // A path to a module which exports an async function that is triggered once before all test suites + // globalSetup: null, + + // A path to a module which exports an async function that is triggered once after all test suites + // globalTeardown: null, + + // A set of global variables that need to be available in all test environments + // globals: { + // 'ts-jest': { + // tsConfigFile: 'tsconfig.json', + // diagnostics: false + // }, + // }, + // preset: 'ts-jest/presets/js-with-ts-esm', + + // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. + // maxWorkers: "50%", + + // An array of directory names to be searched recursively up from the requiring module's location + moduleDirectories: ['node_modules'], + + // An array of file extensions your modules use + moduleFileExtensions: ['js', 'json', 'ts', 'node'], + + // A map from regular expressions to module names that allow to stub out resources with a single module + // moduleNameMapper: {}, + + // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader + modulePathIgnorePatterns: ['/test/__mocks__/axios.js'], + + // Activates notifications for test results + notify: true, + + // An enum that specifies notification mode. Requires { notify: true } + notifyMode: 'failure-change', + + // A preset that is used as a base for Jest's configuration + // preset: null, + + // Run tests from one or more projects + // projects: null, + + // Use this configuration option to add custom reporters to Jest + reporters: [ + 'default', + [ + 'jest-sonar', + { + outputDirectory: 'reports/sonar', + outputName: 'results-report.xml', + reportedFilePath: 'relative', + relativeRootDir: './', + }, + ], + ], + + // Automatically reset mock state between every test + // resetMocks: false, + + // Reset the module registry before running each individual test + // resetModules: false, + + // A path to a custom resolver + // resolver: null, + + // Automatically restore mock state between every test + // restoreMocks: false, + + // The root directory that Jest should scan for tests and modules within + // rootDir: null, + + // A list of paths to directories that Jest should use to search for files in + // roots: [ + // "" + // ], + + // Allows you to use a custom runner instead of Jest's default test runner + // runner: "jest-runner", + + // The paths to modules that run some code to configure or set up the testing environment before each test + // setupFiles: [], + + // A list of paths to modules that run some code to configure or set up the testing framework before each test + // setupFilesAfterEnv: [], + + // A list of paths to snapshot serializer modules Jest should use for snapshot testing + // snapshotSerializers: [], + + // The test environment that will be used for testing + testEnvironment: 'node', + + // Options that will be passed to the testEnvironment + // testEnvironmentOptions: {}, + + // Adds a location field to test results + // testLocationInResults: false, + + // The glob patterns Jest uses to detect test files + testMatch: ['**/*.test.[tj]s?(x)'], + + // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped + testPathIgnorePatterns: ['/node_modules/'], + + // The regexp pattern or array of patterns that Jest uses to detect test files + // testRegex: [], + // This option allows the use of a custom results processor + // testResultsProcessor: null, + + // This option allows use of a custom test runner + // testRunner: "jasmine2", + + // This option sets the URL for the jsdom environment. It is reflected in properties such as location.href + // testURL: "http://localhost", + + // Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout" + // timers: "real", + + // A map from regular expressions to paths to transformers + transform: { + '^.+\\.[tj]sx?$': [ + 'ts-jest', + { + tsconfig: 'tsconfig.json', + diagnostics: true, + }, + ], + }, + // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation + // transformIgnorePatterns: [ + // "/node_modules/" + // ], + + // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them + // unmockedModulePathPatterns: undefined, + + // Indicates whether each individual test should be reported during the run + // verbose: null, + + // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode + // watchPathIgnorePatterns: [], + + // Whether to use watchman for file crawling + // watchman: true, +}; diff --git a/package-lock.json b/package-lock.json index b3d5eb7885..92cd0a03ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,6 @@ "ajv": "^8.12.0", "ajv-draft-04": "^1.0.0", "ajv-formats": "^2.1.1", - "aws-sdk": "^2.1354.0", "axios": "^1.4.0", "btoa": "^1.2.1", "component-each": "^0.2.6", @@ -8158,6 +8157,7 @@ }, "node_modules/available-typed-arrays": { "version": "1.0.5", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -8170,52 +8170,6 @@ "version": "1.1.2", "license": "MIT" }, - "node_modules/aws-sdk": { - "version": "2.1462.0", - "license": "Apache-2.0", - "dependencies": { - "buffer": "4.9.2", - "events": "1.1.1", - "ieee754": "1.1.13", - "jmespath": "0.16.0", - "querystring": "0.2.0", - "sax": "1.2.1", - "url": "0.10.3", - "util": "^0.12.4", - "uuid": "8.0.0", - "xml2js": "0.5.0" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/aws-sdk/node_modules/buffer": { - "version": "4.9.2", - "license": "MIT", - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "node_modules/aws-sdk/node_modules/events": { - "version": "1.1.1", - "license": "MIT", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/aws-sdk/node_modules/ieee754": { - "version": "1.1.13", - "license": "BSD-3-Clause" - }, - "node_modules/aws-sdk/node_modules/uuid": { - "version": "8.0.0", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/axios": { "version": "1.4.0", "license": "MIT", @@ -12477,6 +12431,7 @@ }, "node_modules/for-each": { "version": "0.3.3", + "dev": true, "license": "MIT", "dependencies": { "is-callable": "^1.1.3" @@ -13079,6 +13034,7 @@ }, "node_modules/gopd": { "version": "1.0.1", + "dev": true, "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" @@ -13667,20 +13623,6 @@ "node": "*" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-array-buffer": { "version": "3.0.1", "dev": true, @@ -13744,6 +13686,7 @@ }, "node_modules/is-callable": { "version": "1.2.7", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -14042,6 +13985,7 @@ }, "node_modules/is-typed-array": { "version": "1.1.10", + "dev": true, "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.5", @@ -14121,6 +14065,7 @@ }, "node_modules/isarray": { "version": "1.0.0", + "dev": true, "license": "MIT" }, "node_modules/iserror": { @@ -14828,13 +14773,6 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/jmespath": { - "version": "0.16.0", - "license": "Apache-2.0", - "engines": { - "node": ">= 0.6.0" - } - }, "node_modules/joi": { "version": "17.9.2", "license": "BSD-3-Clause", @@ -17530,12 +17468,6 @@ "node": ">=0.10.0" } }, - "node_modules/querystring": { - "version": "0.2.0", - "engines": { - "node": ">=0.4.x" - } - }, "node_modules/queue-microtask": { "version": "1.2.3", "dev": true, @@ -18163,10 +18095,6 @@ "dev": true, "license": "MIT" }, - "node_modules/sax": { - "version": "1.2.1", - "license": "ISC" - }, "node_modules/semver": { "version": "7.5.3", "license": "ISC", @@ -19636,14 +19564,6 @@ "punycode": "^2.1.0" } }, - "node_modules/url": { - "version": "0.10.3", - "license": "MIT", - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, "node_modules/url-parse-lax": { "version": "3.0.0", "dev": true, @@ -19663,10 +19583,6 @@ "node": ">= 4" } }, - "node_modules/url/node_modules/punycode": { - "version": "1.3.2", - "license": "MIT" - }, "node_modules/utf8-byte-length": { "version": "1.0.4", "license": "WTFPL" @@ -19675,17 +19591,6 @@ "version": "0.0.1", "license": "MIT" }, - "node_modules/util": { - "version": "0.12.5", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "which-typed-array": "^1.1.2" - } - }, "node_modules/util-deprecate": { "version": "1.0.2", "license": "MIT" @@ -19824,6 +19729,7 @@ }, "node_modules/which-typed-array": { "version": "1.1.9", + "dev": true, "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.5", @@ -19963,24 +19869,6 @@ "version": "1.0.2", "license": "ISC" }, - "node_modules/xml2js": { - "version": "0.5.0", - "license": "MIT", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "license": "MIT", - "engines": { - "node": ">=4.0" - } - }, "node_modules/xtend": { "version": "4.0.2", "dev": true, diff --git a/package.json b/package.json index 1d45524515..57874e4535 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,8 @@ "verify": "eslint . || exit 1; npm run test:js || exit 1", "test:testRouter": "jest testRouter --detectOpenHandles --coverage --notify --watchAll=false", "test:benchmark": "node benchmark/index.js", + "test": "jest -c jest.config.js --detectOpenHandles", + "test:ci": "npm run test -- --coverage --expand --maxWorkers=50%", "test:js": "jest -c jest.default.config.js --detectOpenHandles", "test:js:silent": "npm run test:js -- --silent", "test:js:ci": "npm run test:js -- --coverage --expand --maxWorkers=50%", diff --git a/src/cdk/v2/destinations/eloqua/config.js b/src/cdk/v2/destinations/eloqua/config.js index 091dfa7f7f..ac7b1edf3f 100644 --- a/src/cdk/v2/destinations/eloqua/config.js +++ b/src/cdk/v2/destinations/eloqua/config.js @@ -1,5 +1,5 @@ const ELOQUA = 'eloqua'; module.exports = { - ELOQUA -}; \ No newline at end of file + ELOQUA, +}; diff --git a/src/routes/bulkUpload.ts b/src/routes/bulkUpload.ts index e7aaf897c8..efbd81c34e 100644 --- a/src/routes/bulkUpload.ts +++ b/src/routes/bulkUpload.ts @@ -14,4 +14,4 @@ router.post('/getFailedJobs', getFailedJobStatus); router.post('/getWarningJobs', getWarnJobStatus); const bulkUploadRoutes = router.routes(); -export default bulkUploadRoutes; \ No newline at end of file +export default bulkUploadRoutes; diff --git a/src/routes/testEvents.ts b/src/routes/testEvents.ts index f842887b91..556ec10198 100644 --- a/src/routes/testEvents.ts +++ b/src/routes/testEvents.ts @@ -7,4 +7,4 @@ router.post('/:version/:destination', EventTestController.testEvent); router.get('/:version/health', EventTestController.status); const testEventRoutes = router.routes(); -export default testEventRoutes; \ No newline at end of file +export default testEventRoutes; diff --git a/src/util/prometheus.js b/src/util/prometheus.js index 8018750b5d..9f3255a05d 100644 --- a/src/util/prometheus.js +++ b/src/util/prometheus.js @@ -229,7 +229,13 @@ class Prometheus { name: 'tp_errors', help: 'tp_errors', type: 'counter', - labelNames: ['sourceType', 'destinationType', 'k8_namespace', 'workspaceId', 'trackingPlanId'], + labelNames: [ + 'sourceType', + 'destinationType', + 'k8_namespace', + 'workspaceId', + 'trackingPlanId', + ], }, { name: 'tp_events_count', @@ -593,7 +599,13 @@ class Prometheus { name: 'tp_request_latency', help: 'tp_request_latency', type: 'histogram', - labelNames: ['sourceType', 'destinationType', 'k8_namespace', 'workspaceId', 'trackingPlanId'], + labelNames: [ + 'sourceType', + 'destinationType', + 'k8_namespace', + 'workspaceId', + 'trackingPlanId', + ], }, { name: 'cdk_events_latency', @@ -928,7 +940,6 @@ class Prometheus { type: 'histogram', labelNames: [], }, - ]; metrics.forEach((metric) => { diff --git a/src/util/redis/testData/shopify_source.json b/src/util/redis/testData/shopify_source.json index 5b33085c6a..53c6047298 100644 --- a/src/util/redis/testData/shopify_source.json +++ b/src/util/redis/testData/shopify_source.json @@ -5,9 +5,7 @@ "user_id": "rudder01", "id": "shopify_test_get_items_fail", "query_parameters": { - "topic": [ - "carts_update" - ] + "topic": ["carts_update"] }, "token": "shopify_test_get_items_fail", "email": "test@rudderstack.com", @@ -56,9 +54,7 @@ "sessionId": "session_id", "cartToken": "shopify_test_set_map_fail", "query_parameters": { - "writeKey": [ - "Shopify Write Key" - ] + "writeKey": ["Shopify Write Key"] }, "cart": { "token": "shopify_test_set_map_fail", @@ -80,9 +76,7 @@ "input": { "cart_token": "shopifyGetSessionId", "query_parameters": { - "topic": [ - "checkouts_delete" - ] + "topic": ["checkouts_delete"] }, "line_items": [], "note": null, @@ -121,9 +115,7 @@ "input": { "cart_token": "shopifyGetAnonymousId", "query_parameters": { - "topic": [ - "checkouts_delete" - ] + "topic": ["checkouts_delete"] }, "line_items": [], "note": null, @@ -162,9 +154,7 @@ "input": { "id": "shopify_test3", "query_parameters": { - "topic": [ - "carts_update" - ] + "topic": ["carts_update"] }, "token": "shopify_test3", "line_items": [], @@ -185,9 +175,7 @@ "input": { "id": "shopify_test3", "query_parameters": { - "topic": [ - "orders_delete" - ] + "topic": ["orders_delete"] }, "line_items": [], "note": null, @@ -225,9 +213,7 @@ "input": { "id": "shopify_test3", "query_parameters": { - "topic": [ - "checkouts_delete" - ] + "topic": ["checkouts_delete"] }, "line_items": [], "note": null, @@ -266,9 +252,7 @@ "user_id": "rudder01", "id": "shopify_test_cart", "query_parameters": { - "topic": [ - "carts_update" - ] + "topic": ["carts_update"] }, "token": "shopify_test_cart", "email": "test@rudderstack.com", @@ -464,9 +448,7 @@ ], "id": "shopify_test2", "query_parameters": { - "topic": [ - "orders_updated" - ] + "topic": ["orders_updated"] }, "shipping_address": "abc", "billing_address": "abc", @@ -540,9 +522,7 @@ "description": "Track Call -> fullfillments_create", "input": { "query_parameters": { - "topic": [ - "fulfillments_create" - ] + "topic": ["fulfillments_create"] }, "order_id": "random", "status": "success", @@ -699,9 +679,7 @@ "id": "shopify_test2", "user_id": "rudder01", "query_parameters": { - "topic": [ - "checkouts_update" - ] + "topic": ["checkouts_update"] }, "token": "shopify_test2", "cart_token": "shopify_test2", @@ -902,9 +880,7 @@ ], "id": "shopify_test2", "query_parameters": { - "topic": [ - "checkouts_update" - ] + "topic": ["checkouts_update"] }, "cart_token": null, "line_items": [ @@ -1097,9 +1073,7 @@ "input": { "id": "shopify_test2", "query_parameters": { - "topic": [ - "checkouts_update" - ] + "topic": ["checkouts_update"] }, "cart_token": null, "line_items": [ @@ -1282,9 +1256,7 @@ "input": { "id": "shopify_test4", "query_parameters": { - "topic": [ - "carts_update" - ] + "topic": ["carts_update"] }, "token": "shopify_test4", "line_items": [], @@ -1326,9 +1298,7 @@ "anonymousId": "b9993cc5-9e60-4e69-be0e-4e38c228314b", "cartToken": "shopify_test1", "query_parameters": { - "writeKey": [ - "Shopify Write Key" - ] + "writeKey": ["Shopify Write Key"] }, "cart": { "token": "token", @@ -1352,9 +1322,7 @@ "sessionId": "b9993cc5-9e60-4e69-be0e-4e38c228314b", "cartToken": "shopify_test1", "query_parameters": { - "writeKey": [ - "Shopify Write Key" - ] + "writeKey": ["Shopify Write Key"] }, "cart": { "token": "token", @@ -1376,9 +1344,7 @@ "input": { "id": "order_id", "query_parameters": { - "topic": [ - "checkouts_update" - ] + "topic": ["checkouts_update"] }, "token": "shopify_test2", "cart_token": "shopify_test_no_sessionId", @@ -1561,4 +1527,4 @@ "timestamp": "2023-02-10T12:16:07.251Z" } } -] \ No newline at end of file +] diff --git a/src/v0/destinations/active_campaign/transform.js b/src/v0/destinations/active_campaign/transform.js index 905a8e897f..9c6643ebc3 100644 --- a/src/v0/destinations/active_campaign/transform.js +++ b/src/v0/destinations/active_campaign/transform.js @@ -130,7 +130,9 @@ const customTagProcessor = async (message, category, destination, contactId) => if (parseInt(get(res, TOTAL_RECORDS_KEY), 10) > 100) { const limit = Math.floor(parseInt(get(res, TOTAL_RECORDS_KEY), 10) / 100); for (let i = 0; i < limit; i += 1) { - endpoint = `${destination.Config.apiUrl}${category.tagEndPoint}?limit=100&offset=${100 * (i + 1)}`; + endpoint = `${destination.Config.apiUrl}${category.tagEndPoint}?limit=100&offset=${ + 100 * (i + 1) + }`; requestOptions = { headers: getHeader(destination), }; @@ -249,7 +251,9 @@ const customFieldProcessor = async (message, category, destination) => { const limit = Math.floor(parseInt(get(res, TOTAL_RECORDS_KEY), 10) / 100); if (parseInt(get(res, TOTAL_RECORDS_KEY), 10) > 100) { for (let i = 0; i < limit; i += 1) { - endpoint = `${destination.Config.apiUrl}${category.fieldEndPoint}?limit=100&offset=${100 * (i + 1)}`; + endpoint = `${destination.Config.apiUrl}${category.fieldEndPoint}?limit=100&offset=${ + 100 * (i + 1) + }`; const requestOpt = { headers: { 'Api-Token': destination.Config.apiKey, diff --git a/src/v0/destinations/braze/networkHandler.js b/src/v0/destinations/braze/networkHandler.js index cf6d36c2b4..a141607fe9 100644 --- a/src/v0/destinations/braze/networkHandler.js +++ b/src/v0/destinations/braze/networkHandler.js @@ -27,12 +27,14 @@ const responseHandler = (destinationResponse, _dest) => { } // Partial errors - if (!!response && + if ( + !!response && response.message === 'success' && response.errors && - response.errors.length > 0){ - stats.increment('braze_partial_failure') - } + response.errors.length > 0 + ) { + stats.increment('braze_partial_failure'); + } // application level errors if ( diff --git a/src/v0/destinations/customerio/util.test.js b/src/v0/destinations/customerio/util.test.js index 9117ed287c..2c308cd262 100644 --- a/src/v0/destinations/customerio/util.test.js +++ b/src/v0/destinations/customerio/util.test.js @@ -112,17 +112,17 @@ describe('Unit test cases for customerio identifyResponseBuilder', () => { expect(identifyResponseBuilder('user1', getTestMessage())).toEqual(expectedOutput); }); it('No Identifier to send for Identify Call', async () => { - let expectedOutput = "userId or email is not present"; + let expectedOutput = 'userId or email is not present'; try { - identifyResponseBuilder(null, getIdentifyTestMessage()) + identifyResponseBuilder(null, getIdentifyTestMessage()); } catch (error) { expect(error.message).toEqual(expectedOutput); } }); it('No Identifier to send for Identify Call', async () => { - let expectedOutput = "userId or email is not present"; + let expectedOutput = 'userId or email is not present'; try { - identifyResponseBuilder('', getIdentifyTestMessage()) + identifyResponseBuilder('', getIdentifyTestMessage()); } catch (error) { expect(error.message).toEqual(expectedOutput); } @@ -141,26 +141,28 @@ describe('Unit test cases for customerio aliasResponseBuilder', () => { it('Merging happending with previous_id as email and present one as id', async () => { let expectedOutput = { endpoint: 'https://track.customer.io/api/v1/merge_customers', - rawPayload: { primary: { id: 'user1' }, secondary: { email: "abc@test.com" } }, + rawPayload: { primary: { id: 'user1' }, secondary: { email: 'abc@test.com' } }, requestConfig: { requestFormat: 'JSON', requestMethod: 'POST' }, }; - expect(aliasResponseBuilder({ previousId: "abc@test.com" }, "user1")).toEqual(expectedOutput); + expect(aliasResponseBuilder({ previousId: 'abc@test.com' }, 'user1')).toEqual(expectedOutput); }); it('Merging happending with userId as email and present one as id', async () => { let expectedOutput = { endpoint: 'https://track.customer.io/api/v1/merge_customers', - rawPayload: { secondary: { id: 'user1' }, primary: { email: "abc@test.com" } }, + rawPayload: { secondary: { id: 'user1' }, primary: { email: 'abc@test.com' } }, requestConfig: { requestFormat: 'JSON', requestMethod: 'POST' }, }; - expect(aliasResponseBuilder({ previousId: "user1" }, "abc@test.com")).toEqual(expectedOutput); + expect(aliasResponseBuilder({ previousId: 'user1' }, 'abc@test.com')).toEqual(expectedOutput); }); it('Merging happending with userId as email and present one as id', async () => { let expectedOutput = { endpoint: 'https://track.customer.io/api/v1/merge_customers', - rawPayload: { secondary: { email: 'user1@test.com' }, primary: { email: "abc@test.com" } }, + rawPayload: { secondary: { email: 'user1@test.com' }, primary: { email: 'abc@test.com' } }, requestConfig: { requestFormat: 'JSON', requestMethod: 'POST' }, }; - expect(aliasResponseBuilder({ previousId: "user1@test.com" }, "abc@test.com")).toEqual(expectedOutput); + expect(aliasResponseBuilder({ previousId: 'user1@test.com' }, 'abc@test.com')).toEqual( + expectedOutput, + ); }); }); diff --git a/src/v0/destinations/june/config.js b/src/v0/destinations/june/config.js index 86503a3926..ba5030dbad 100644 --- a/src/v0/destinations/june/config.js +++ b/src/v0/destinations/june/config.js @@ -22,7 +22,7 @@ const CONFIG_CATEGORIES = { name: 'JunePageConfig', type: 'page', endpoint: `${BASE_ENDPOINT}/page`, - } + }, }; const MAPPING_CONFIG = getMappingConfig(CONFIG_CATEGORIES, __dirname); diff --git a/src/v0/destinations/june/data/JuneGroupConfig.json b/src/v0/destinations/june/data/JuneGroupConfig.json index dabd16a8e5..9005132169 100644 --- a/src/v0/destinations/june/data/JuneGroupConfig.json +++ b/src/v0/destinations/june/data/JuneGroupConfig.json @@ -28,9 +28,7 @@ "sourceFromGenericMap": true, "required": false, "metadata": { - "excludes": [ - "groupId" - ] + "excludes": ["groupId"] } }, { @@ -38,13 +36,7 @@ "sourceKeys": "context", "required": false, "metadata": { - "excludes": [ - "page", - "traits", - "sessionId", - "sessionStart", - "consentManagement" - ] + "excludes": ["page", "traits", "sessionId", "sessionStart", "consentManagement"] } } -] \ No newline at end of file +] diff --git a/src/v0/destinations/june/data/JuneIdentifyConfig.json b/src/v0/destinations/june/data/JuneIdentifyConfig.json index 62ffff6ff6..d49406a5ed 100644 --- a/src/v0/destinations/june/data/JuneIdentifyConfig.json +++ b/src/v0/destinations/june/data/JuneIdentifyConfig.json @@ -18,10 +18,7 @@ }, { "destKey": "traits", - "sourceKeys": [ - "context.traits", - "traits" - ], + "sourceKeys": ["context.traits", "traits"], "required": false }, { @@ -29,13 +26,7 @@ "sourceKeys": "context", "required": false, "metadata": { - "excludes": [ - "page", - "traits", - "sessionId", - "sessionStart", - "consentManagement" - ] + "excludes": ["page", "traits", "sessionId", "sessionStart", "consentManagement"] } } -] \ No newline at end of file +] diff --git a/src/v0/destinations/june/data/JunePageConfig.json b/src/v0/destinations/june/data/JunePageConfig.json index 0f2982e8d6..96791ef09f 100644 --- a/src/v0/destinations/june/data/JunePageConfig.json +++ b/src/v0/destinations/june/data/JunePageConfig.json @@ -1,49 +1,41 @@ [ - { - "destKey": "userId", - "sourceKeys": "userIdOnly", - "sourceFromGenericMap": true, - "required": false - }, - { - "destKey": "anonymousId", - "sourceKeys": "anonymousId", - "required": false - }, - { - "destKey": "timestamp", - "sourceKeys": "timestamp", - "sourceFromGenericMap": true, - "required": false - }, - { - "destKey": "properties", - "sourceKeys": "properties", - "required": true, - "metadata": { - "excludes": [ - "groupId" - ] - } - }, - { - "destKey": "context", - "sourceKeys": "context", - "required": false, - "metadata": { - "excludes": [ - "page", - "traits", - "sessionId", - "sessionStart", - "consentManagement" - ] - } - }, - { - "destKey": "context.groupId", - "sourceKeys": "groupId", - "sourceFromGenericMap": true, - "required": false + { + "destKey": "userId", + "sourceKeys": "userIdOnly", + "sourceFromGenericMap": true, + "required": false + }, + { + "destKey": "anonymousId", + "sourceKeys": "anonymousId", + "required": false + }, + { + "destKey": "timestamp", + "sourceKeys": "timestamp", + "sourceFromGenericMap": true, + "required": false + }, + { + "destKey": "properties", + "sourceKeys": "properties", + "required": true, + "metadata": { + "excludes": ["groupId"] } -] \ No newline at end of file + }, + { + "destKey": "context", + "sourceKeys": "context", + "required": false, + "metadata": { + "excludes": ["page", "traits", "sessionId", "sessionStart", "consentManagement"] + } + }, + { + "destKey": "context.groupId", + "sourceKeys": "groupId", + "sourceFromGenericMap": true, + "required": false + } +] diff --git a/src/v0/destinations/june/data/JuneTrackConfig.json b/src/v0/destinations/june/data/JuneTrackConfig.json index 6f873363ad..839c331ae2 100644 --- a/src/v0/destinations/june/data/JuneTrackConfig.json +++ b/src/v0/destinations/june/data/JuneTrackConfig.json @@ -34,13 +34,7 @@ "sourceKeys": "context", "required": false, "metadata": { - "excludes": [ - "page", - "traits", - "sessionId", - "sessionStart", - "consentManagement" - ] + "excludes": ["page", "traits", "sessionId", "sessionStart", "consentManagement"] } } ] diff --git a/src/v0/destinations/june/transform.js b/src/v0/destinations/june/transform.js index 14216b5d14..f85cb0fd3d 100644 --- a/src/v0/destinations/june/transform.js +++ b/src/v0/destinations/june/transform.js @@ -50,7 +50,7 @@ const genericResponseBuilder = (message, destination, category) => { const { endpoint, name } = CONFIG_CATEGORIES[category]; const payload = constructPayload(message, MAPPING_CONFIG[name]); return responseBuilder(payload, endpoint, destination); -} +}; const processEvent = (message, destination) => { if (!message.type) { @@ -85,4 +85,4 @@ const processRouterDest = async (inputs, reqMetadata) => { return respList; }; -module.exports = { process, processRouterDest }; \ No newline at end of file +module.exports = { process, processRouterDest }; diff --git a/src/v0/destinations/mailchimp/transform.js b/src/v0/destinations/mailchimp/transform.js index 70b37200f4..ced92ddea1 100644 --- a/src/v0/destinations/mailchimp/transform.js +++ b/src/v0/destinations/mailchimp/transform.js @@ -62,7 +62,10 @@ const trackResponseBuilder = (message, { Config }) => { if (processedPayload?.properties) { processedPayload.properties = stringifyPropertiesValues(processedPayload.properties); } - if (processedPayload.name && !(processedPayload.name.length >= 2 && processedPayload.name.length <= 30)) { + if ( + processedPayload.name && + !(processedPayload.name.length >= 2 && processedPayload.name.length <= 30) + ) { throw new InstrumentationError('Event name should be between 2 and 30 characters'); } processedPayload.name = processedPayload.name.trim().replace(/\s+/g, '_'); diff --git a/src/v0/destinations/personalize/transform.js b/src/v0/destinations/personalize/transform.js index bb547f7b28..3523987a89 100644 --- a/src/v0/destinations/personalize/transform.js +++ b/src/v0/destinations/personalize/transform.js @@ -54,7 +54,9 @@ const putEventsHandler = (message, destination) => { if (!(key.toUpperCase() === 'IMPRESSION' || key.toUpperCase() === 'EVENT_VALUE')) outputEvent[lodash.camelCase(key)] = String(value); else if (key.toUpperCase() === 'IMPRESSION') { - outputEvent[lodash.camelCase(key)] = Array.isArray(value) ? value.map(String) : [String(value)]; + outputEvent[lodash.camelCase(key)] = Array.isArray(value) + ? value.map(String) + : [String(value)]; outputEvent[lodash.camelCase(key)] = lodash.without( outputEvent[lodash.camelCase(key)], undefined, diff --git a/src/v0/destinations/posthog/transform.js b/src/v0/destinations/posthog/transform.js index 6aae98f46d..9f639b59de 100644 --- a/src/v0/destinations/posthog/transform.js +++ b/src/v0/destinations/posthog/transform.js @@ -84,7 +84,7 @@ const responseBuilderSimple = (message, category, destination) => { } if (!payload.timestamp && isDefinedAndNotNull(payload.properties?.timestamp)) { - payload.timestamp = payload.properties.timestamp + payload.timestamp = payload.properties.timestamp; } payload.properties = { diff --git a/src/v0/destinations/sendgrid/transform.js b/src/v0/destinations/sendgrid/transform.js index 4e68b34c7d..d2f5b38b70 100644 --- a/src/v0/destinations/sendgrid/transform.js +++ b/src/v0/destinations/sendgrid/transform.js @@ -211,7 +211,10 @@ const batchEvents = (successRespList) => { "contactListIds3": [{message : {}, metadata : {}, destination: {}}], "contactListIds4": [{message : {}, metadata : {}, destination: {}}] */ - const eventGroups = lodash.groupBy(identifyCalls, (event) => event.message.body.JSON.contactListIds); + const eventGroups = lodash.groupBy( + identifyCalls, + (event) => event.message.body.JSON.contactListIds, + ); Object.keys(eventGroups).forEach((combination) => { const eventChunks = lodash.chunk(eventGroups[combination], MAX_BATCH_SIZE); diff --git a/src/v0/sources/shopify/config.js b/src/v0/sources/shopify/config.js index d8593ce79b..b8b3cde284 100644 --- a/src/v0/sources/shopify/config.js +++ b/src/v0/sources/shopify/config.js @@ -119,5 +119,5 @@ module.exports = { SHOPIFY_TRACK_MAP, useRedisDatabase, SHOPIFY_ADMIN_ONLY_EVENTS, - maxTimeToIdentifyRSGeneratedCall + maxTimeToIdentifyRSGeneratedCall, }; diff --git a/src/v0/sources/shopify/shopify_redis.util.test.js b/src/v0/sources/shopify/shopify_redis.util.test.js index 49437551c2..db596e1dfb 100644 --- a/src/v0/sources/shopify/shopify_redis.util.test.js +++ b/src/v0/sources/shopify/shopify_redis.util.test.js @@ -1,274 +1,285 @@ const { getAnonymousIdAndSessionId, checkAndUpdateCartItems } = require('./util'); jest.mock('ioredis', () => require('../../../../test/__mocks__/redis')); describe('Shopify Utils Test', () => { + describe('Check for valid cart update event test cases', () => { + it('Event containing token and nothing is retreived from redis and less than req. time difference between created_at and uadated_at', async () => { + const input = { + query_parameters: { + topic: ['carts_update'], + }, + id: 'cartTokenTest1', + line_items: [], + note: null, + updated_at: '2023-02-10T12:05:07.251Z', + created_at: '2023-02-10T12:05:04.402Z', + }; + const expectedOutput = false; + const output = await checkAndUpdateCartItems(input); + expect(output).toEqual(expectedOutput); + }); + it('Event containing token and nothing is retreived from redis', async () => { + const input = { + token: 'token_not_in_redis', + line_items: [ + { + prod_id: 'prod_1', + quantity: 1, + }, + ], + }; + const expectedOutput = true; + const output = await checkAndUpdateCartItems(input); + expect(output).toEqual(expectedOutput); + }); - describe('Check for valid cart update event test cases', () => { - it('Event containing token and nothing is retreived from redis and less than req. time difference between created_at and uadated_at', async () => { - const input = { - "query_parameters": { - "topic": [ - "carts_update" - ] - }, - "id": "cartTokenTest1", - "line_items": [], - "note": null, - "updated_at": "2023-02-10T12:05:07.251Z", - "created_at": "2023-02-10T12:05:04.402Z" - }; - const expectedOutput = false; - const output = await checkAndUpdateCartItems(input); - expect(output).toEqual(expectedOutput); - }); - it('Event containing token and nothing is retreived from redis', async () => { - const input = { - token: 'token_not_in_redis', - line_items: [ - { - prod_id: 'prod_1', - quantity: 1, - }, - ], - }; - const expectedOutput = true; - const output = await checkAndUpdateCartItems(input); - expect(output).toEqual(expectedOutput); - }); - - it('Event contain id for cart_update event and isValid', async () => { - const input = { - id: 'shopify_test2', - line_items: [ - { - prod_id: 'prod_1', - quantity: 1, - }, - ], - }; + it('Event contain id for cart_update event and isValid', async () => { + const input = { + id: 'shopify_test2', + line_items: [ + { + prod_id: 'prod_1', + quantity: 1, + }, + ], + }; - const expectedOutput = true; - const output = await checkAndUpdateCartItems(input); - expect(output).toEqual(expectedOutput); - }); + const expectedOutput = true; + const output = await checkAndUpdateCartItems(input); + expect(output).toEqual(expectedOutput); + }); - it('Event contain id for cart_update event and isInValid', async () => { - const input = { - id: 'shopify_test_duplicate_cart', - line_items: [ - { - prod_id: 'prod_1', - quantity: 1, - }, - ], - }; + it('Event contain id for cart_update event and isInValid', async () => { + const input = { + id: 'shopify_test_duplicate_cart', + line_items: [ + { + prod_id: 'prod_1', + quantity: 1, + }, + ], + }; - const expectedOutput = false; - const output = await checkAndUpdateCartItems(input); - expect(output).toEqual(expectedOutput); - }); + const expectedOutput = false; + const output = await checkAndUpdateCartItems(input); + expect(output).toEqual(expectedOutput); + }); - it('Valid Cart Event but not able to set data due to redis error', async () => { - const input = { - id: 'shopify_test_set_redis_error', - line_items: [ - { - prod_id: 'prod_1', - quantity: 1, - }, - ], - }; + it('Valid Cart Event but not able to set data due to redis error', async () => { + const input = { + id: 'shopify_test_set_redis_error', + line_items: [ + { + prod_id: 'prod_1', + quantity: 1, + }, + ], + }; - const expectedOutput = true; - const output = await checkAndUpdateCartItems(input); - expect(output).toEqual(expectedOutput); - }); + const expectedOutput = true; + const output = await checkAndUpdateCartItems(input); + expect(output).toEqual(expectedOutput); }); + }); - describe(' Test Cases -> set AnonymousId and sessionId without using Redis', () => { - it('Order Updated -> Properties containing cartToken', async () => { - const input = { - event: 'Order Updated', - properties: { - cart_token: '123', - }, - }; - const expectedOutput = { "anonymousId": "b9b6607d-6974-594f-8e99-ac3de71c4d89", "sessionId": undefined }; - const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(expectedOutput); - }); + describe(' Test Cases -> set AnonymousId and sessionId without using Redis', () => { + it('Order Updated -> Properties containing cartToken', async () => { + const input = { + event: 'Order Updated', + properties: { + cart_token: '123', + }, + }; + const expectedOutput = { + anonymousId: 'b9b6607d-6974-594f-8e99-ac3de71c4d89', + sessionId: undefined, + }; + const output = await getAnonymousIdAndSessionId(input, {}, null); + expect(output).toEqual(expectedOutput); + }); - it('Cart Update -> Properties contain `id` ', async () => { - const input = { - event: 'Cart Update', - properties: { - id: '123', - }, - }; + it('Cart Update -> Properties contain `id` ', async () => { + const input = { + event: 'Cart Update', + properties: { + id: '123', + }, + }; - const expectedOutput = { "anonymousId": "b9b6607d-6974-594f-8e99-ac3de71c4d89", "sessionId": undefined }; - const output = await getAnonymousIdAndSessionId(input, {}, null); + const expectedOutput = { + anonymousId: 'b9b6607d-6974-594f-8e99-ac3de71c4d89', + sessionId: undefined, + }; + const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(expectedOutput); - }); + expect(output).toEqual(expectedOutput); + }); - it('Customer event -> random AnonymousId', async () => { - const input = { - event: 'Customer Enabled', - properties: {}, - }; + it('Customer event -> random AnonymousId', async () => { + const input = { + event: 'Customer Enabled', + properties: {}, + }; - const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(output); // since it will be random - }); + const output = await getAnonymousIdAndSessionId(input, {}, null); + expect(output).toEqual(output); // since it will be random + }); - it('Order Delete -> No anonymousId is there', async () => { - const input = { - event: 'Order Deleted', - properties: { - order_id: 'Order_ID', - }, - }; - const expectedOutput = { "anonymousId": undefined, "sessionId": undefined }; - const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(expectedOutput); - }); + it('Order Delete -> No anonymousId is there', async () => { + const input = { + event: 'Order Deleted', + properties: { + order_id: 'Order_ID', + }, + }; + const expectedOutput = { anonymousId: undefined, sessionId: undefined }; + const output = await getAnonymousIdAndSessionId(input, {}, null); + expect(output).toEqual(expectedOutput); + }); - it('Checkout Create -> rudderAnonymousId and rudderSessionId present in note_attributes', async () => { - const input = { - event: 'Checkout Create', - properties: { - cart_token: 'CART_TOKEN', - note_attributes: [ - { - "name": "rudderAnonymousId", - "value": "RUDDER_ANONYMOUSID" - }, - { - "name": "rudderSessionId", - "value": "RUDDER_SESSIONID" - }, - { - "name": "rudderUpdatedAt", - "value": "TIMESTAMP" - } - ], - }, - }; - const expectedOutput = { "anonymousId": "RUDDER_ANONYMOUSID", "sessionId": "RUDDER_SESSIONID" }; - const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(expectedOutput); - }); + it('Checkout Create -> rudderAnonymousId and rudderSessionId present in note_attributes', async () => { + const input = { + event: 'Checkout Create', + properties: { + cart_token: 'CART_TOKEN', + note_attributes: [ + { + name: 'rudderAnonymousId', + value: 'RUDDER_ANONYMOUSID', + }, + { + name: 'rudderSessionId', + value: 'RUDDER_SESSIONID', + }, + { + name: 'rudderUpdatedAt', + value: 'TIMESTAMP', + }, + ], + }, + }; + const expectedOutput = { anonymousId: 'RUDDER_ANONYMOUSID', sessionId: 'RUDDER_SESSIONID' }; + const output = await getAnonymousIdAndSessionId(input, {}, null); + expect(output).toEqual(expectedOutput); }); + }); - describe('set AnonymousId and sesssionId with Redis Test Cases', () => { - // Doing the following to enable redis mid test case file execution - process.env.USE_REDIS_DB = true; - jest.resetModules(); - const { getAnonymousIdAndSessionId } = require('./util'); - it('Properties containing cartToken but failed due redisError', async () => { - const input = { - event: 'Order Paid', - properties: { - cart_token: 'shopify_test2', - }, - }; - const expectedOutput = { "anonymousId": "bcaf0473-fb11-562f-80a1-c83a35f053bc", "sessionId": undefined } // cartToken hashed - const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(expectedOutput); - }); + describe('set AnonymousId and sesssionId with Redis Test Cases', () => { + // Doing the following to enable redis mid test case file execution + process.env.USE_REDIS_DB = true; + jest.resetModules(); + const { getAnonymousIdAndSessionId } = require('./util'); + it('Properties containing cartToken but failed due redisError', async () => { + const input = { + event: 'Order Paid', + properties: { + cart_token: 'shopify_test2', + }, + }; + const expectedOutput = { + anonymousId: 'bcaf0473-fb11-562f-80a1-c83a35f053bc', + sessionId: undefined, + }; // cartToken hashed + const output = await getAnonymousIdAndSessionId(input, {}, null); + expect(output).toEqual(expectedOutput); + }); - it('Order Paid- > Properties containing cartToken and fetched anonymousId and sessionId successfully', async () => { - const input = { - event: 'Order Paid', - properties: { - cart_token: 'shopify_test2', - note_attributes: [ - { - name: "rudderUpdatedAt", - value: "RUDDER_UPDTD_AT" - } - ], - }, - }; - const expectedOutput = { "anonymousId": "anon_shopify_test2", "sessionId": "session_id_2" }; // fetched succesfully from redis + it('Order Paid- > Properties containing cartToken and fetched anonymousId and sessionId successfully', async () => { + const input = { + event: 'Order Paid', + properties: { + cart_token: 'shopify_test2', + note_attributes: [ + { + name: 'rudderUpdatedAt', + value: 'RUDDER_UPDTD_AT', + }, + ], + }, + }; + const expectedOutput = { anonymousId: 'anon_shopify_test2', sessionId: 'session_id_2' }; // fetched succesfully from redis - const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(expectedOutput); - }); + const output = await getAnonymousIdAndSessionId(input, {}, null); + expect(output).toEqual(expectedOutput); + }); - it('Cart Update -> Properties contain id and fetched anonymousId successfully', async () => { - const input = { - event: 'Cart Update', - properties: { - id: 'shopify_test_only_anon_id', - }, - }; - const expectedOutput = { "anonymousId": "anon_shopify_test_only_anon_id", "sessionId": undefined }; - const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(expectedOutput); - }); + it('Cart Update -> Properties contain id and fetched anonymousId successfully', async () => { + const input = { + event: 'Cart Update', + properties: { + id: 'shopify_test_only_anon_id', + }, + }; + const expectedOutput = { + anonymousId: 'anon_shopify_test_only_anon_id', + sessionId: undefined, + }; + const output = await getAnonymousIdAndSessionId(input, {}, null); + expect(output).toEqual(expectedOutput); + }); - it('No mapping not present in DB for given cartToken', async () => { - const input = { - event: 'Cart Update', - properties: { - id: 'unstored_id', - }, - }; + it('No mapping not present in DB for given cartToken', async () => { + const input = { + event: 'Cart Update', + properties: { + id: 'unstored_id', + }, + }; - const expectedOutput = { "anonymousId": "281a3e25-e603-5870-9cda-281c22940970", "sessionId": undefined }; + const expectedOutput = { + anonymousId: '281a3e25-e603-5870-9cda-281c22940970', + sessionId: undefined, + }; - const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(expectedOutput); - }); + const output = await getAnonymousIdAndSessionId(input, {}, null); + expect(output).toEqual(expectedOutput); + }); - it('No cartToken for SHOPIFY_ADMIN_ONLY_EVENTS', async () => { - const input = { - event: 'Fulfillments Update', - properties: { - id: 'unstored_id', - }, - }; - const expectedOutput = { "anonymousId": undefined, "sessionId": undefined }; + it('No cartToken for SHOPIFY_ADMIN_ONLY_EVENTS', async () => { + const input = { + event: 'Fulfillments Update', + properties: { + id: 'unstored_id', + }, + }; + const expectedOutput = { anonymousId: undefined, sessionId: undefined }; - const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(expectedOutput); - }); + const output = await getAnonymousIdAndSessionId(input, {}, null); + expect(output).toEqual(expectedOutput); + }); - it('No cartToken for Order paid', async () => { - const input = { - event: 'Order Paid', - properties: { - cart_token: 'shopify_test2', - }, - }; - const expectedOutput = 'RANDOM_ANONYMOUS_ID'; // fetched succesfully from redis + it('No cartToken for Order paid', async () => { + const input = { + event: 'Order Paid', + properties: { + cart_token: 'shopify_test2', + }, + }; + const expectedOutput = 'RANDOM_ANONYMOUS_ID'; // fetched succesfully from redis - const output = await getAnonymousIdAndSessionId(input, {}, null); - expect('RANDOM_ANONYMOUS_ID').toEqual(expectedOutput); - }); + const output = await getAnonymousIdAndSessionId(input, {}, null); + expect('RANDOM_ANONYMOUS_ID').toEqual(expectedOutput); + }); - it('Only anonymousId fetched from note_attributes and no cartToken', async () => { - const input = { - event: 'Order Paid', - properties: { - note_attributes: [ - { - name: "rudderAnonymousId", - value: "RUDDER_ANON_ID" - }, - { - name: "rudderUpdatedAt", - value: "RUDDER_UPDTD_AT" - } - ], - }, - }; - const expectedOutput = { "anonymousId": "RUDDER_ANON_ID", "sessionId": null }; // fetched succesfully from redis - const output = await getAnonymousIdAndSessionId(input, {}, null); + it('Only anonymousId fetched from note_attributes and no cartToken', async () => { + const input = { + event: 'Order Paid', + properties: { + note_attributes: [ + { + name: 'rudderAnonymousId', + value: 'RUDDER_ANON_ID', + }, + { + name: 'rudderUpdatedAt', + value: 'RUDDER_UPDTD_AT', + }, + ], + }, + }; + const expectedOutput = { anonymousId: 'RUDDER_ANON_ID', sessionId: null }; // fetched succesfully from redis + const output = await getAnonymousIdAndSessionId(input, {}, null); - expect(output).toEqual(expectedOutput); - }); + expect(output).toEqual(expectedOutput); }); - + }); }); diff --git a/src/v0/sources/shopify/transform.js b/src/v0/sources/shopify/transform.js index 7bbb928fd8..fd763eeb46 100644 --- a/src/v0/sources/shopify/transform.js +++ b/src/v0/sources/shopify/transform.js @@ -173,7 +173,11 @@ const processEvent = async (inputEvent, metricMetadata) => { } } if (message.type !== EventType.IDENTIFY) { - const { anonymousId, sessionId } = await getAnonymousIdAndSessionId(message, metricMetadata, redisData); + const { anonymousId, sessionId } = await getAnonymousIdAndSessionId( + message, + metricMetadata, + redisData, + ); if (isDefinedAndNotNull(anonymousId)) { message.setProperty('anonymousId', anonymousId); } else if (!message.userId) { @@ -198,7 +202,8 @@ const processEvent = async (inputEvent, metricMetadata) => { message = removeUndefinedAndNullValues(message); return message; }; -const isIdentifierEvent = (event) => ['rudderIdentifier', 'rudderSessionIdentifier'].includes(event?.event); +const isIdentifierEvent = (event) => + ['rudderIdentifier', 'rudderSessionIdentifier'].includes(event?.event); const processIdentifierEvent = async (event, metricMetadata) => { if (useRedisDatabase) { let value; @@ -241,7 +246,6 @@ const processIdentifierEvent = async (event, metricMetadata) => { ...metricMetadata, }); } - } const result = { outputToSource: { diff --git a/src/warehouse/index.js b/src/warehouse/index.js index 244605613f..c12239c440 100644 --- a/src/warehouse/index.js +++ b/src/warehouse/index.js @@ -197,21 +197,30 @@ function setDataFromColumnMappingAndComputeColumnTypes( */ function setDataFromInputAndComputeColumnTypes( - utils, - eventType, - output, - input, - columnTypes, - options, - completePrefix = '', - completeLevel = 0, - prefix = '', - level = 0, + utils, + eventType, + output, + input, + columnTypes, + options, + completePrefix = '', + completeLevel = 0, + prefix = '', + level = 0, ) { if (!input || !isObject(input)) return; Object.keys(input).forEach((key) => { - const isValidLegacyJSONPath = isValidLegacyJsonPathKey(eventType, `${prefix + key}`, level, options.jsonLegacyPathKeys); - const isValidJSONPath = isValidJsonPathKey(`${completePrefix + key}`, completeLevel, options.jsonPathKeys); + const isValidLegacyJSONPath = isValidLegacyJsonPathKey( + eventType, + `${prefix + key}`, + level, + options.jsonLegacyPathKeys, + ); + const isValidJSONPath = isValidJsonPathKey( + `${completePrefix + key}`, + completeLevel, + options.jsonPathKeys, + ); if (isValidJSONPath || isValidLegacyJSONPath) { if (isBlank(input[key])) { @@ -220,27 +229,27 @@ function setDataFromInputAndComputeColumnTypes( const val = JSON.stringify(input[key]); appendColumnNameAndType( - utils, - eventType, - `${prefix + key}`, - val, - output, - columnTypes, - options, - true, + utils, + eventType, + `${prefix + key}`, + val, + output, + columnTypes, + options, + true, ); } else if (isObject(input[key]) && (options.sourceCategory !== 'cloud' || level < 3)) { setDataFromInputAndComputeColumnTypes( - utils, - eventType, - output, - input[key], - columnTypes, - options, - `${completePrefix + key}_`, - completeLevel + 1, - `${prefix + key}_`, - level + 1, + utils, + eventType, + output, + input[key], + columnTypes, + options, + `${completePrefix + key}_`, + completeLevel + 1, + `${prefix + key}_`, + level + 1, ); } else { let val = input[key]; @@ -252,13 +261,13 @@ function setDataFromInputAndComputeColumnTypes( val = JSON.stringify(val); } appendColumnNameAndType( - utils, - eventType, - `${prefix + key}`, - val, - output, - columnTypes, - options, + utils, + eventType, + `${prefix + key}`, + val, + output, + columnTypes, + options, ); } }); @@ -323,8 +332,8 @@ function storeRudderEvent(utils, message, output, columnTypes, options) { function addJsonKeysToOptions(options) { // Add json key paths from integration options and destination config const jsonPaths = Array.isArray(options.integrationOptions?.jsonPaths) - ? options.integrationOptions.jsonPaths - : []; + ? options.integrationOptions.jsonPaths + : []; if (options.destJsonPaths) { jsonPaths.push(...options.destJsonPaths.split(',')); } @@ -594,7 +603,7 @@ function processWarehouseMessage(message, options) { commonColumnTypes, options, `${eventType + '_context_'}`, - 2, + 2, 'context_', ); @@ -618,7 +627,7 @@ function processWarehouseMessage(message, options) { eventTableColumnTypes, options, `${eventType + '_properties_'}`, - 2, + 2, ); setDataFromColumnMappingAndComputeColumnTypes( utils, @@ -673,7 +682,7 @@ function processWarehouseMessage(message, options) { commonColumnTypes, options, `${eventType + '_context_'}`, - 2, + 2, 'context_', ); setDataFromColumnMappingAndComputeColumnTypes( @@ -749,7 +758,7 @@ function processWarehouseMessage(message, options) { eventTableColumnTypes, options, `${eventType + '_properties_'}`, - 2, + 2, ); setDataFromInputAndComputeColumnTypes( utils, @@ -759,7 +768,7 @@ function processWarehouseMessage(message, options) { eventTableColumnTypes, options, `${eventType + '_userProperties_'}`, - 2, + 2, ); setDataFromColumnMappingAndComputeColumnTypes( utils, @@ -815,7 +824,7 @@ function processWarehouseMessage(message, options) { commonColumnTypes, options, `${eventType + '_userProperties_'}`, - 2, + 2, ); setDataFromInputAndComputeColumnTypes( utils, @@ -825,7 +834,7 @@ function processWarehouseMessage(message, options) { commonColumnTypes, options, `${eventType + '_context_traits_'}`, - 3, + 3, ); setDataFromInputAndComputeColumnTypes( utils, @@ -835,7 +844,7 @@ function processWarehouseMessage(message, options) { commonColumnTypes, options, `${eventType + '_traits_'}`, - 2, + 2, '', ); @@ -848,7 +857,7 @@ function processWarehouseMessage(message, options) { commonColumnTypes, options, `${eventType + '_context_'}`, - 2, + 2, 'context_', ); @@ -954,7 +963,7 @@ function processWarehouseMessage(message, options) { columnTypes, options, `${eventType + '_properties_'}`, - 2, + 2, ); // set rudder properties after user set properties to prevent overwriting setDataFromInputAndComputeColumnTypes( @@ -965,7 +974,7 @@ function processWarehouseMessage(message, options) { columnTypes, options, `${eventType + '_context_'}`, - 2, + 2, 'context_', ); setDataFromColumnMappingAndComputeColumnTypes( @@ -1025,7 +1034,7 @@ function processWarehouseMessage(message, options) { columnTypes, options, `${eventType + '_traits_'}`, - 2, + 2, ); setDataFromInputAndComputeColumnTypes( utils, @@ -1035,7 +1044,7 @@ function processWarehouseMessage(message, options) { columnTypes, options, `${eventType + '_context_'}`, - 2, + 2, 'context_', ); setDataFromColumnMappingAndComputeColumnTypes( @@ -1083,7 +1092,7 @@ function processWarehouseMessage(message, options) { columnTypes, options, `${eventType + '_traits_'}`, - 2, + 2, ); setDataFromInputAndComputeColumnTypes( utils, @@ -1093,7 +1102,7 @@ function processWarehouseMessage(message, options) { columnTypes, options, `${eventType + '_context_'}`, - 2, + 2, 'context_', ); setDataFromColumnMappingAndComputeColumnTypes( diff --git a/src/warehouse/util.js b/src/warehouse/util.js index db81d11cbd..91b49039f1 100644 --- a/src/warehouse/util.js +++ b/src/warehouse/util.js @@ -59,7 +59,15 @@ const keysFromJsonPaths = (jsonPaths) => { const jsonPathKeys = {}; const jsonLegacyPathKeys = {}; - const supportedEventPrefixes = ['track.', 'identify.', 'page.', 'screen.', 'alias.', 'group.', 'extract.']; + const supportedEventPrefixes = [ + 'track.', + 'identify.', + 'page.', + 'screen.', + 'alias.', + 'group.', + 'extract.', + ]; jsonPaths.forEach((jsonPath) => { const trimmedJSONPath = jsonPath.trim(); @@ -71,13 +79,13 @@ const keysFromJsonPaths = (jsonPaths) => { const key = paths.join('_'); const pos = paths.length - 1; - if (supportedEventPrefixes.some(prefix => trimmedJSONPath.startsWith(prefix))) { + if (supportedEventPrefixes.some((prefix) => trimmedJSONPath.startsWith(prefix))) { jsonPathKeys[key] = pos; return; } jsonLegacyPathKeys[key] = pos; }); - return {jsonPathKeys, jsonLegacyPathKeys}; + return { jsonPathKeys, jsonLegacyPathKeys }; }; // https://www.myintervals.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/ diff --git a/test/__tests__/data/criteo_audience.json b/test/__tests__/data/criteo_audience.json index fb2cb5eed8..22ba309d5f 100644 --- a/test/__tests__/data/criteo_audience.json +++ b/test/__tests__/data/criteo_audience.json @@ -112,9 +112,7 @@ "attributes": { "operation": "add", "identifierType": "email", - "identifiers": [ - "van@email.com" - ], + "identifiers": ["van@email.com"], "internalIdentifiers": false } } @@ -257,10 +255,7 @@ "attributes": { "operation": "add", "identifierType": "madid", - "identifiers": [ - "sample_madid_11", - "sample_madid_12" - ], + "identifiers": ["sample_madid_11", "sample_madid_12"], "internalIdentifiers": false } } @@ -324,10 +319,7 @@ "attributes": { "operation": "remove", "identifierType": "madid", - "identifiers": [ - "sample_madid_8", - "sample_madid_9" - ], + "identifiers": ["sample_madid_8", "sample_madid_9"], "internalIdentifiers": false } } @@ -412,11 +404,7 @@ "attributes": { "operation": "add", "identifierType": "email", - "identifiers": [ - "alex@email.com", - "amy@email.com", - "van@email.com" - ], + "identifiers": ["alex@email.com", "amy@email.com", "van@email.com"], "internalIdentifiers": false } } @@ -498,11 +486,7 @@ "attributes": { "operation": "add", "identifierType": "madid", - "identifiers": [ - "sample_madid", - "sample_madid_1", - "sample_madid_2" - ], + "identifiers": ["sample_madid", "sample_madid_1", "sample_madid_2"], "internalIdentifiers": false } } @@ -592,11 +576,7 @@ "attributes": { "operation": "add", "identifierType": "madid", - "identifiers": [ - "sample_madid", - "sample_madid_1", - "sample_madid_2" - ], + "identifiers": ["sample_madid", "sample_madid_1", "sample_madid_2"], "internalIdentifiers": false } } @@ -625,9 +605,7 @@ "attributes": { "operation": "remove", "identifierType": "madid", - "identifiers": [ - "sample_madid" - ], + "identifiers": ["sample_madid"], "internalIdentifiers": false } } @@ -717,11 +695,7 @@ "attributes": { "operation": "add", "identifierType": "identityLink", - "identifiers": [ - "text.com", - "yahoo.com", - "abc.com" - ], + "identifiers": ["text.com", "yahoo.com", "abc.com"], "internalIdentifiers": false } } @@ -750,9 +724,7 @@ "attributes": { "operation": "remove", "identifierType": "identityLink", - "identifiers": [ - "text.com" - ], + "identifiers": ["text.com"], "internalIdentifiers": false } } @@ -843,11 +815,7 @@ "attributes": { "operation": "add", "identifierType": "gum", - "identifiers": [ - "sample_gum1", - "sample_gum2", - "sample_gum3" - ], + "identifiers": ["sample_gum1", "sample_gum2", "sample_gum3"], "internalIdentifiers": false, "gumCallerId": "329739" } @@ -877,9 +845,7 @@ "attributes": { "operation": "remove", "identifierType": "gum", - "identifiers": [ - "sample_gum3" - ], + "identifiers": ["sample_gum3"], "internalIdentifiers": false, "gumCallerId": "329739" } @@ -1304,4 +1270,4 @@ "error": "Required property for email type audience is not available in an object" } } -] \ No newline at end of file +] diff --git a/test/__tests__/data/fb_custom_audience.json b/test/__tests__/data/fb_custom_audience.json deleted file mode 100644 index 432cc08ce8..0000000000 --- a/test/__tests__/data/fb_custom_audience.json +++ /dev/null @@ -1,54067 +0,0 @@ -[ - { - "description": "No Message type", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": { - "error": "Message Type is not present. Aborting message." - } - }, - { - "description": "Unsupported Event type ", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "type": "Track", - "event": "event1", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": { - "error": " Track call is not supported " - } - }, - { - "description": "Non-Numerical Batch Size Event", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "type": "audiencelist", - "event": "event1", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "abc50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": { - "error": "Batch size must be an Integer." - } - }, - { - "description": "Audience ID Empty Event", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "type": "audiencelist", - "event": "event1", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": false, - "audienceId": "", - "isRaw": true, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": { - "error": "Audience ID is a mandatory field" - } - }, - { - "description": "Type NA ", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "NA", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "f", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "f", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "No Hashing and Format Disabled", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": true, - "audienceId": "aud1", - "isRaw": true, - "type": "NA", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "For User Schema having single Schema field Event ", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": "DOBM", - "isHashRequired": false, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "type": "UNKNOWN", - "sub_type": "ANYTHING" - }, - "schema": ["DOBM"], - "data": [["2"]] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "type": "UNKNOWN", - "sub_type": "ANYTHING" - }, - "schema": ["DOBM"], - "data": [["2"]] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Hashing Disabaled and Type Unknown ", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "type": "UNKNOWN", - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "f", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "type": "UNKNOWN", - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "f", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Required Hash", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": true, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "NA", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419", - "a953f09a1b6b6725b81956e9ad0b1eb49e3ad40004c04307ef8af6246a054116", - "3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278", - "7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f", - "7619ee8cea49187f309616e30ecf54be072259b43760f1f550a644945d5572f2", - "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111", - "db0683221aebc02cc034b65ebcf7d1bddd1eb199e33fd23a31931947d13a11bc", - "abc", - "4a70fe9aa6436e02c2dea340fbd1e352e4ef2d8ce6ca52ad25d4b95471fc8bf2", - "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad", - "582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419", - "a953f09a1b6b6725b81956e9ad0b1eb49e3ad40004c04307ef8af6246a054116", - "3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278", - "7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f", - "7619ee8cea49187f309616e30ecf54be072259b43760f1f550a644945d5572f2", - "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111", - "db0683221aebc02cc034b65ebcf7d1bddd1eb199e33fd23a31931947d13a11bc", - "abc", - "4a70fe9aa6436e02c2dea340fbd1e352e4ef2d8ce6ca52ad25d4b95471fc8bf2", - "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad", - "582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Format Disabled", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": true, - "disableFormat": true, - "audienceId": "aud1", - "isRaw": true, - "type": "NA", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419", - "d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35", - "3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278", - "7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f", - "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45", - "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111", - "7cfb46258a6f545f77cca49a27ded0bc69a56e16d0dcdf05ec843c0cc322145d", - "ABC", - "69deb728a28faee80ee80d8d5f97a5e2fd65758684f7412e535d19a19095369b", - "1dc362d22242a898483383061a98f0b41d725190f7bc00a962b6013b36dc2b81", - "fed1d872f6d540f4118582ec694270274e987b12f5dfe2057dddf1e12df2761a" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419", - "d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35", - "3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278", - "7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f", - "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45", - "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111", - "7cfb46258a6f545f77cca49a27ded0bc69a56e16d0dcdf05ec843c0cc322145d", - "ABC", - "69deb728a28faee80ee80d8d5f97a5e2fd65758684f7412e535d19a19095369b", - "1dc362d22242a898483383061a98f0b41d725190f7bc00a962b6013b36dc2b81", - "fed1d872f6d540f4118582ec694270274e987b12f5dfe2057dddf1e12df2761a" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "No Hashing and Format Disabled", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": true, - "audienceId": "aud1", - "isRaw": true, - "type": "NA", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Hash Required and Verify skipped", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": null, - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": true, - "disableFormat": false, - "skipVerify": true, - "audienceId": "aud1", - "isRaw": true, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "type": "UNKNOWN", - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419", - "a953f09a1b6b6725b81956e9ad0b1eb49e3ad40004c04307ef8af6246a054116", - "3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278", - "7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f", - null, - "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111", - "db0683221aebc02cc034b65ebcf7d1bddd1eb199e33fd23a31931947d13a11bc", - "abc", - "4a70fe9aa6436e02c2dea340fbd1e352e4ef2d8ce6ca52ad25d4b95471fc8bf2", - "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad", - "582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf" - ] - ] - } - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "All the field values are null", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": null, - "DOBM": null, - "DOBD": null, - "DOBY": null, - "PHONE": null, - "GEN": null, - "FI": null, - "MADID": null, - "ZIP": null, - "ST": null, - "COUNTRY": null - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": true, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "type": "UNKNOWN", - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [[null, null, null, null, null, null, null, null, null, null, null]] - } - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Schema Phone Field Missing", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": null, - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": true, - "disableFormat": false, - "skipVerify": false, - "audienceId": "aud1", - "isRaw": false, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "data_source": { - "type": "UNKNOWN", - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419", - "a953f09a1b6b6725b81956e9ad0b1eb49e3ad40004c04307ef8af6246a054116", - "3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278", - "7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f", - null, - "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111", - "db0683221aebc02cc034b65ebcf7d1bddd1eb199e33fd23a31931947d13a11bc", - "abc", - "4a70fe9aa6436e02c2dea340fbd1e352e4ef2d8ce6ca52ad25d4b95471fc8bf2", - "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad", - "582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf" - ] - ] - } - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Batching according payload size", - "input": { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": true, - "audienceId": "aud1", - "isRaw": true, - "type": "NA", - "subType": "ANYTHING", - "maxUserCount": "1000" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - } -] diff --git a/test/__tests__/data/fb_custom_audience_router.json b/test/__tests__/data/fb_custom_audience_router.json deleted file mode 100644 index 9a490a697a..0000000000 --- a/test/__tests__/data/fb_custom_audience_router.json +++ /dev/null @@ -1,457 +0,0 @@ -[ - { - "description": "Test Case 9", - "input": [ - { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ], - "remove": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "f", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "NA", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - } - ], - "output": [ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "type": "UNKNOWN", - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "f", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "type": "UNKNOWN", - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "f", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "UNKNOWN", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "f", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "data_source": { - "sub_type": "ANYTHING" - }, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "f", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accessToken": "ABC", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "isHashRequired": false, - "disableFormat": false, - "audienceId": "aud1", - "isRaw": true, - "type": "NA", - "subType": "ANYTHING", - "maxUserCount": "50" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } -] diff --git a/test/__tests__/data/fb_custom_audience_router_rETL_input.json b/test/__tests__/data/fb_custom_audience_router_rETL_input.json deleted file mode 100644 index 84475d7aae..0000000000 --- a/test/__tests__/data/fb_custom_audience_router_rETL_input.json +++ /dev/null @@ -1,26251 +0,0 @@ -[ - { - "message": { - "sentAt": "2023-03-30 06:42:55.991938402 +0000 UTC", - "userId": "2MUWghI7u85n91dd1qzGyswpZan-2MUWqbQqvctyfMGqU9QCNadpKNy", - "channel": "sources", - "messageId": "4d906837-031d-4d34-b97a-62fdf51b4d3a", - "event": "Add_Audience", - "context": { - "destinationFields": "EMAIL, FN", - "externalId": [ - { - "type": "FB_CUSTOM_AUDIENCE-23848494844100489", - "identifierType": "EMAIL" - } - ], - "mappedToDestination": "true", - "sources": { - "job_run_id": "cgiiurt8um7k7n5dq480", - "task_run_id": "cgiiurt8um7k7n5dq48g", - "job_id": "2MUWghI7u85n91dd1qzGyswpZan", - "version": "895/merge" - } - }, - "recordId": "725ad989-6750-4839-b46b-0ddb3b8e5aa2/1/10", - "rudderId": "85c49666-c628-4835-937b-8f1d9ee7a724", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "dede@gmail.com", - "FN": "vishwa" - }, - { - "EMAIL": "fchsjjn@gmail.com", - "FN": "hskks" - }, - { - "EMAIL": "fghjnbjk@gmail.com", - "FN": "ghfry" - }, - { - "EMAIL": "gvhjkk@gmail.com", - "FN": "hbcwqe" - }, - { - "EMAIL": "qsdwert@egf.com", - "FN": "dsfds" - }, - { - "EMAIL": "ascscxsaca@com", - "FN": "scadscdvcda" - }, - { - "EMAIL": "abc@gmail.com", - "FN": "subscribed" - }, - { - "EMAIL": "ddwnkl@gmail.com", - "FN": "subscribed" - }, - { - "EMAIL": "subscribed@eewrfrd.com", - "FN": "pending" - }, - { - "EMAIL": "acsdvdf@ddfvf.com", - "FN": "pending" - } - ] - } - }, - "type": "audienceList", - "anonymousId": "63228b51-394e-4ca2-97a0-427f6187480b" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "disableFormat": false, - "isHashRequired": true, - "isRaw": false, - "maxUserCount": "50", - "oneTrustCookieCategories": [], - "skipVerify": false, - "subType": "NA", - "type": "NA", - "userSchema": ["EMAIL"] - }, - "secretConfig": {}, - "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", - "name": "FB_CUSTOM_AUDIENCE", - "enabled": true, - "workspaceId": "1TSN08muJTZwH8iCDmnnRt1pmLd", - "deleted": false, - "createdAt": "2020-12-30T08:39:32.005Z", - "updatedAt": "2021-02-03T16:22:31.374Z", - "destinationDefinition": { - "id": "1aIXqM806xAVm92nx07YwKbRrO9", - "name": "FB_CUSTOM_AUDIENCE", - "displayName": "FB_CUSTOM_AUDIENCE", - "createdAt": "2020-04-09T09:24:31.794Z", - "updatedAt": "2021-01-11T11:03:28.103Z" - }, - "transformations": [], - "isConnectionEnabled": true, - "isProcessorEnabled": true - }, - "metadata": { - "jobId": 2 - } - }, - { - "message": { - "sentAt": "2023-03-30 06:42:55.991938402 +0000 UTC", - "userId": "2MUWghI7u85n91dd1qzGyswpZan-2MUWqbQqvctyfMGqU9QCNadpKNy", - "channel": "sources", - "messageId": "4d906837-031d-4d34-b97a-62fdf51b4d3a", - "event": "Add_Audience", - "context": { - "externalId": [ - { - "type": "FB_CUSTOM_AUDIENCE-23848494844100489", - "identifierType": "EMAIL" - } - ], - "mappedToDestination": "true", - "sources": { - "job_run_id": "cgiiurt8um7k7n5dq480", - "task_run_id": "cgiiurt8um7k7n5dq48g", - "job_id": "2MUWghI7u85n91dd1qzGyswpZan", - "version": "895/merge" - } - }, - "recordId": "725ad989-6750-4839-b46b-0ddb3b8e5aa2/1/10", - "rudderId": "85c49666-c628-4835-937b-8f1d9ee7a724", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "dede@gmail.com", - "FN": "vishwa" - }, - { - "EMAIL": "fchsjjn@gmail.com", - "FN": "hskks" - }, - { - "EMAIL": "fghjnbjk@gmail.com", - "FN": "ghfry" - }, - { - "EMAIL": "gvhjkk@gmail.com", - "FN": "hbcwqe" - }, - { - "EMAIL": "qsdwert@egf.com", - "FN": "dsfds" - }, - { - "EMAIL": "ascscxsaca@com", - "FN": "scadscdvcda" - }, - { - "EMAIL": "abc@gmail.com", - "FN": "subscribed" - }, - { - "EMAIL": "ddwnkl@gmail.com", - "FN": "subscribed" - }, - { - "EMAIL": "subscribed@eewrfrd.com", - "FN": "pending" - }, - { - "EMAIL": "acsdvdf@ddfvf.com", - "FN": "pending" - } - ] - } - }, - "type": "audienceList", - "anonymousId": "63228b51-394e-4ca2-97a0-427f6187480b" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "disableFormat": false, - "isHashRequired": true, - "isRaw": false, - "maxUserCount": "50", - "oneTrustCookieCategories": [], - "skipVerify": false, - "subType": "NA", - "type": "NA", - "userSchema": ["EMAIL"] - }, - "secretConfig": {}, - "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", - "name": "FB_CUSTOM_AUDIENCE", - "enabled": true, - "workspaceId": "1TSN08muJTZwH8iCDmnnRt1pmLd", - "deleted": false, - "createdAt": "2020-12-30T08:39:32.005Z", - "updatedAt": "2021-02-03T16:22:31.374Z", - "destinationDefinition": { - "id": "1aIXqM806xAVm92nx07YwKbRrO9", - "name": "FB_CUSTOM_AUDIENCE", - "displayName": "FB_CUSTOM_AUDIENCE", - "createdAt": "2020-04-09T09:24:31.794Z", - "updatedAt": "2021-01-11T11:03:28.103Z" - }, - "transformations": [], - "isConnectionEnabled": true, - "isProcessorEnabled": true - }, - "metadata": { - "jobId": 2 - } - }, - { - "message": { - "sentAt": "2023-03-30 06:42:55.991938402 +0000 UTC", - "userId": "2MUWghI7u85n91dd1qzGyswpZan-2MUWqbQqvctyfMGqU9QCNadpKNy", - "channel": "sources", - "messageId": "4d906837-031d-4d34-b97a-62fdf51b4d3a", - "event": "Add_Audience", - "context": { - "destinationFields": "EMAIL, DOBM, DOBD, DOBY, PHONE, GEN, FI, MADID, ZIP, ST, COUNTRY", - "externalId": [ - { - "type": "FB_CUSTOM_AUDIENCE-aud1", - "identifierType": "EMAIL" - } - ], - "mappedToDestination": "true", - "sources": { - "job_run_id": "cgiiurt8um7k7n5dq480", - "task_run_id": "cgiiurt8um7k7n5dq48g", - "job_id": "2MUWghI7u85n91dd1qzGyswpZan", - "version": "895/merge" - } - }, - "recordId": "725ad989-6750-4839-b46b-0ddb3b8e5aa2/1/10", - "rudderId": "85c49666-c628-4835-937b-8f1d9ee7a724", - "properties": { - "listData": { - "add": [ - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - }, - { - "EMAIL": "test@abc.com", - "DOBM": "2", - "DOBD": "13", - "DOBY": "2013", - "PHONE": "@09876543210", - "GEN": "female", - "FI": "Ms.", - "MADID": "ABC", - "ZIP": "ZIP ", - "ST": "123abc ", - "COUNTRY": "IN" - } - ] - } - }, - "type": "audienceList", - "anonymousId": "63228b51-394e-4ca2-97a0-427f6187480b" - }, - "destination": { - "Config": { - "accessToken": "ABC", - "disableFormat": false, - "isHashRequired": false, - "isRaw": true, - "maxUserCount": "1000", - "oneTrustCookieCategories": [], - "skipVerify": false, - "subType": "NA", - "type": "NA", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ] - }, - "secretConfig": {}, - "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", - "name": "FB_CUSTOM_AUDIENCE", - "enabled": true, - "workspaceId": "1TSN08muJTZwH8iCDmnnRt1pmLd", - "deleted": false, - "createdAt": "2020-12-30T08:39:32.005Z", - "updatedAt": "2021-02-03T16:22:31.374Z", - "destinationDefinition": { - "id": "1aIXqM806xAVm92nx07YwKbRrO9", - "name": "FB_CUSTOM_AUDIENCE", - "displayName": "FB_CUSTOM_AUDIENCE", - "createdAt": "2020-04-09T09:24:31.794Z", - "updatedAt": "2021-01-11T11:03:28.103Z" - }, - "transformations": [], - "isConnectionEnabled": true, - "isProcessorEnabled": true - }, - "metadata": { - "jobId": 2 - } - } -] diff --git a/test/__tests__/data/fb_custom_audience_router_rETL_output.json b/test/__tests__/data/fb_custom_audience_router_rETL_output.json deleted file mode 100644 index 45e8f29b3c..0000000000 --- a/test/__tests__/data/fb_custom_audience_router_rETL_output.json +++ /dev/null @@ -1,26266 +0,0 @@ -[ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/23848494844100489/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "schema": ["EMAIL", "FN"], - "data": [ - ["7625cab24612c37df6d2f724721bb38a25095d0295e29b807238ee188b8aca43", null], - ["b2b4abadd72190af54305c0d3abf1977fec4935016bb13ff28040d5712318dfd", null], - ["c4b007d1c3c9a5d31bd4082237a913e8e0db1767225c2a5ef33be2716df005fa", null], - ["94639be1bd9f17c05820164e9d71ef78558f117a9e8bfab43cf8015e08aa0b27", null], - ["39b456cfb4bb07f9e6bb18698aa173171ca49c731fccc4790e9ecea808d24ae6", null], - ["769f73387add781a481ca08300008a08fb2f1816aaed196137efc2e05976d711", null], - ["48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", null], - ["da2d431121cd10578fd81f8f80344b06db59ea2d05a7b5d27536c8789ddae8f0", null], - ["b100c2ec0718fe6b4805b623aeec6710719d042ceea55f5c8135b010ec1c7b36", null], - ["0c1d1b0ba547a742013366d6fbc8f71dd77f566d94e41ed9f828a74b96928161", null] - ] - } - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accessToken": "ABC", - "disableFormat": false, - "isHashRequired": true, - "isRaw": false, - "maxUserCount": "50", - "oneTrustCookieCategories": [], - "skipVerify": false, - "subType": "NA", - "type": "NA", - "userSchema": ["EMAIL"] - }, - "secretConfig": {}, - "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", - "name": "FB_CUSTOM_AUDIENCE", - "enabled": true, - "workspaceId": "1TSN08muJTZwH8iCDmnnRt1pmLd", - "deleted": false, - "createdAt": "2020-12-30T08:39:32.005Z", - "updatedAt": "2021-02-03T16:22:31.374Z", - "destinationDefinition": { - "id": "1aIXqM806xAVm92nx07YwKbRrO9", - "name": "FB_CUSTOM_AUDIENCE", - "displayName": "FB_CUSTOM_AUDIENCE", - "createdAt": "2020-04-09T09:24:31.794Z", - "updatedAt": "2021-01-11T11:03:28.103Z" - }, - "transformations": [], - "isConnectionEnabled": true, - "isProcessorEnabled": true - } - }, - { - "destination": { - "Config": { - "accessToken": "ABC", - "disableFormat": false, - "isHashRequired": true, - "isRaw": false, - "maxUserCount": "50", - "oneTrustCookieCategories": [], - "skipVerify": false, - "subType": "NA", - "type": "NA", - "userSchema": ["EMAIL"] - }, - "secretConfig": {}, - "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", - "name": "FB_CUSTOM_AUDIENCE", - "enabled": true, - "workspaceId": "1TSN08muJTZwH8iCDmnnRt1pmLd", - "deleted": false, - "createdAt": "2020-12-30T08:39:32.005Z", - "updatedAt": "2021-02-03T16:22:31.374Z", - "destinationDefinition": { - "id": "1aIXqM806xAVm92nx07YwKbRrO9", - "name": "FB_CUSTOM_AUDIENCE", - "displayName": "FB_CUSTOM_AUDIENCE", - "createdAt": "2020-04-09T09:24:31.794Z", - "updatedAt": "2021-01-11T11:03:28.103Z" - }, - "transformations": [], - "isConnectionEnabled": true, - "isProcessorEnabled": true - }, - "error": "context.destinationFields is required property for events mapped to destination ", - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 400, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/aud1/users", - "headers": {}, - "params": { - "access_token": "ABC", - "payload": { - "is_raw": true, - "schema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ], - "data": [ - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ], - [ - "test@abc.com", - "2", - "13", - "2013", - "@09876543210", - "female", - "Ms.", - "ABC", - "ZIP ", - "123abc ", - "IN" - ] - ] - } - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accessToken": "ABC", - "disableFormat": false, - "isHashRequired": false, - "isRaw": true, - "maxUserCount": "1000", - "oneTrustCookieCategories": [], - "skipVerify": false, - "subType": "NA", - "type": "NA", - "userSchema": [ - "EMAIL", - "DOBM", - "DOBD", - "DOBY", - "PHONE", - "GEN", - "FI", - "MADID", - "ZIP", - "ST", - "COUNTRY" - ] - }, - "secretConfig": {}, - "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", - "name": "FB_CUSTOM_AUDIENCE", - "enabled": true, - "workspaceId": "1TSN08muJTZwH8iCDmnnRt1pmLd", - "deleted": false, - "createdAt": "2020-12-30T08:39:32.005Z", - "updatedAt": "2021-02-03T16:22:31.374Z", - "destinationDefinition": { - "id": "1aIXqM806xAVm92nx07YwKbRrO9", - "name": "FB_CUSTOM_AUDIENCE", - "displayName": "FB_CUSTOM_AUDIENCE", - "createdAt": "2020-04-09T09:24:31.794Z", - "updatedAt": "2021-01-11T11:03:28.103Z" - }, - "transformations": [], - "isConnectionEnabled": true, - "isProcessorEnabled": true - } - } -] diff --git a/test/__tests__/data/fb_input.json b/test/__tests__/data/fb_input.json deleted file mode 100644 index 95afdaf135..0000000000 --- a/test/__tests__/data/fb_input.json +++ /dev/null @@ -1,1455 +0,0 @@ -[ - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": 123 - }, - { - "product_id": 345 - }, - { - "product_id": 567 - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "currency": "GBP", - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": 123 - }, - { - "product_id": 345 - }, - { - "product_id": 567 - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": "400", - "currency": "GBP", - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": "123" - }, - { - "product_id": "345" - }, - { - "product_id": "567" - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "advertisingId": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "type": "Android" - }, - "ip": "1.2.3.4", - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "width": "640", - "height": "480", - "density": 1.23456 - }, - "timezone": "Europe/Berlin", - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "firstName": "test", - "lastName": "last", - "gender": 1234, - "phone": "+91-9831311135" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "currency": "GBP", - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": "123" - }, - { - "product_id": "345" - }, - { - "product_id": "567" - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "advertisingId": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "type": "Android" - }, - "ip": "1.2.3.4", - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "width": "640", - "height": "480", - "density": 1.23456 - }, - "timezone": "Europe/Berlin", - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "firstName": "test", - "lastName": "last", - "gender": "Male", - "phone": "+91-9831311135" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "currency": "GBP", - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": "123" - }, - { - "product_id": "345" - }, - { - "product_id": "567" - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "name": "Main.1233" - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "screen" - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "name": "Main" - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "screen" - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "New.Event", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "name": "Main" - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "iOS" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "iOS", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "name": "Viewed Main Screen1 by expicit call Screen" - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "screen" - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "Android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "name": "Viewed Main Screen1 by expicit call Screen" - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "screen" - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "Android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "name": "Viewed Main Screen1 by expicit call Screen" - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "screen" - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "advertisingId": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "firstName": "test", - "lastName": "last", - "gender": "Male", - "phone": "919831311135" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "currency": "GBP", - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": "123" - }, - { - "product_id": "345" - }, - { - "product_id": "567" - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "advertisingId": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "firstName": "test", - "lastName": "last", - "gender": "Male", - "phone": "+0091-9831311135" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "currency": "GBP", - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": "123" - }, - { - "product_id": "345" - }, - { - "product_id": "567" - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "type": "watchos" - }, - "network": { - "carrier": "Banglalink" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "name": "Viewed Main Screen1 by expicit call Screen" - }, - "request_ip": "2.3.4.5", - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "screen" - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "advertisingId": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "firstName": "test", - "lastName": "last", - "gender": "Male", - "phone": "919831311135" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "currency": "GBP", - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": "123" - }, - { - "product_id": "345" - }, - { - "product_id": "567" - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 0, - "currency": "INR", - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": "123" - }, - { - "product_id": "345" - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - } -] \ No newline at end of file diff --git a/test/__tests__/data/fb_output.json b/test/__tests__/data/fb_output.json deleted file mode 100644 index 2923e1720e..0000000000 --- a/test/__tests__/data/fb_output.json +++ /dev/null @@ -1,310 +0,0 @@ -[ - { - "message": "If properties.revenue is present, properties.currency is required." - }, - { - "message": "Value of properties.products.sub.product_id is not of valid type. It should be of type string" - }, - { - "message": "Value of properties.revenue is not of valid type. It should be of type number" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "event": "CUSTOM_APP_EVENTS", - "advertiser_id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "ud[fn]": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", - "ud[ln]": "3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3", - "ud[ph]": "588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f", - "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",640,480,\"1.23\",0,0,0,\"Europe/Berlin\"]", - "app_user_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"spin_result\",\"_valueToSum\":400,\"fb_currency\":\"GBP\",\"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\",\"userId\":\"c82cbdff-e5be-4009-ac78-cdeea09ab4b1\",\"versionSessionCount\":2,\"win_amount\":0,\"fb_content_id\":[\"123\",\"345\",\"567\"]}]", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0" - }, - "JSON": {} - }, - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "files": {}, - "headers": { - "x-forwarded-for": "1.2.3.4" - }, - "method": "POST", - "params": {}, - "statusCode": 200, - "type": "REST", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "version": "1" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "event": "CUSTOM_APP_EVENTS", - "advertiser_id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "ud[fn]": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", - "ud[ge]": "62c66a7a5dd70c3146618063c344e531e6d4b59e379808443ce962b3abd63c5a", - "ud[ln]": "3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3", - "ud[ph]": "588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f", - "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",640,480,\"1.23\",0,0,0,\"Europe/Berlin\"]", - "app_user_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"spin_result\",\"_valueToSum\":400,\"fb_currency\":\"GBP\",\"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\",\"userId\":\"c82cbdff-e5be-4009-ac78-cdeea09ab4b1\",\"versionSessionCount\":2,\"win_amount\":0,\"fb_content_id\":[\"123\",\"345\",\"567\"]}]", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0" - }, - "JSON": {} - }, - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "files": {}, - "headers": { - "x-forwarded-for": "1.2.3.4" - }, - "method": "POST", - "params": {}, - "statusCode": 200, - "type": "REST", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "version": "1" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"Viewed Screen\",\"fb_description\":\"Main.1233\"}]", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0", - "event": "CUSTOM_APP_EVENTS" - } - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"Viewed Main Screen\",\"fb_description\":\"Main\"}]", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0", - "event": "CUSTOM_APP_EVENTS" - } - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "message": "Event name New.Event is not a valid FB APP event name.It must match the regex ^[0-9a-zA-Z_][0-9a-zA-Z _-]{0,39}$." - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "extinfo": "[\"i2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"Viewed Screen\",\"fb_description\":\"Viewed Main Screen1 by expicit call Screen\"}]", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0", - "event": "CUSTOM_APP_EVENTS" - } - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"Viewed Screen\",\"fb_description\":\"Viewed Main Screen1 by expicit call Screen\"}]", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0", - "event": "CUSTOM_APP_EVENTS" - } - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"Viewed Screen\",\"fb_description\":\"Viewed Main Screen1 by expicit call Screen\"}]", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0", - "event": "CUSTOM_APP_EVENTS" - } - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"spin_result\",\"_valueToSum\":400,\"fb_currency\":\"GBP\",\"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\",\"userId\":\"c82cbdff-e5be-4009-ac78-cdeea09ab4b1\",\"versionSessionCount\":2,\"win_amount\":0,\"fb_content_id\":[\"123\",\"345\",\"567\"]}]", - "app_user_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "advertiser_id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "ud[fn]": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", - "ud[ln]": "3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3", - "ud[ph]": "588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f", - "ud[ge]": "62c66a7a5dd70c3146618063c344e531e6d4b59e379808443ce962b3abd63c5a", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0", - "event": "CUSTOM_APP_EVENTS" - } - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"spin_result\",\"_valueToSum\":400,\"fb_currency\":\"GBP\",\"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\",\"userId\":\"c82cbdff-e5be-4009-ac78-cdeea09ab4b1\",\"versionSessionCount\":2,\"win_amount\":0,\"fb_content_id\":[\"123\",\"345\",\"567\"]}]", - "app_user_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "advertiser_id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "ud[fn]": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", - "ud[ln]": "3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3", - "ud[ph]": "588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f", - "ud[ge]": "62c66a7a5dd70c3146618063c344e531e6d4b59e379808443ce962b3abd63c5a", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0", - "event": "CUSTOM_APP_EVENTS" - } - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "headers": { - "x-forwarded-for": "2.3.4.5" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "extinfo": "[\"i2\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"Viewed Screen\",\"fb_description\":\"Viewed Main Screen1 by expicit call Screen\"}]", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0", - "event": "CUSTOM_APP_EVENTS" - } - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "message": "Extended device information i.e, \"context.device.type\" is required" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", - "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"spin_result\",\"_valueToSum\":0,\"fb_currency\":\"INR\",\"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\",\"userId\":\"c82cbdff-e5be-4009-ac78-cdeea09ab4b1\",\"versionSessionCount\":2,\"win_amount\":0,\"fb_content_id\":[\"123\",\"345\"]}]", - "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", - "advertiser_tracking_enabled": "0", - "application_tracking_enabled": "0", - "event": "CUSTOM_APP_EVENTS" - } - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - } -] diff --git a/test/__tests__/data/fb_router_input.json b/test/__tests__/data/fb_router_input.json deleted file mode 100644 index 0fdcf2dd76..0000000000 --- a/test/__tests__/data/fb_router_input.json +++ /dev/null @@ -1,245 +0,0 @@ -[ - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": 123 - }, - { - "product_id": 345 - }, - { - "product_id": 567 - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi", - "type": "Android" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "AM": true, - "All": false, - "GA": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "currency": "GBP", - "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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0, - "products": [ - { - "product_id": 123 - }, - { - "product_id": 345 - }, - { - "product_id": 567 - } - ] - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - } - } -] diff --git a/test/__tests__/data/fb_router_output.json b/test/__tests__/data/fb_router_output.json deleted file mode 100644 index 5dd568cca5..0000000000 --- a/test/__tests__/data/fb_router_output.json +++ /dev/null @@ -1,40 +0,0 @@ -[ - { - "metadata": [ - { - "jobId": 1 - } - ], - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - }, - "destination": { - "Config": { - "appID": "RudderFbApp" - } - }, - "batched": false, - "statusCode": 400, - "error": "If properties.revenue is present, properties.currency is required." - }, - { - "metadata": [ - { - "jobId": 2 - } - ], - "destination": { - "Config": { - "appID": "RudderFbApp" - } - }, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - }, - "batched": false, - "statusCode": 400, - "error": "Value of properties.products.sub.product_id is not of valid type. It should be of type string" - } -] diff --git a/test/__tests__/data/firehose_input.json b/test/__tests__/data/firehose_input.json deleted file mode 100644 index ddf3d93073..0000000000 --- a/test/__tests__/data/firehose_input.json +++ /dev/null @@ -1,431 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "track", - "to": "rudderstack-test-firehose" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "product added", - "to": "rudderstack-test-firehose" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "*", - "to": "rudderstack-test-firehose" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "test event", - "to": "rudderstack-test-firehose" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "*", - "to": "rudderstack-test-firehose" - }, - { - "from": "track", - "to": "rudderstack-test-firehose-1" - }, - { - "from": "product added", - "to": "rudderstack-test-firehose-2" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "*", - "to": "rudderstack-test-firehose" - }, - { - "from": "track", - "to": "rudderstack-test-firehose-1" - } - ] - } - } - }, - { - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "*", - "to": "rudderstack-test-firehose" - }, - { - "from": "product added", - "to": "rudderstack-test-firehose-1" - } - ] - }, - "DestinationDefinition": { - "DisplayName": "firehose", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "FIREHOSE" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Braze", - "Transformations": [] - }, - "metadata": { - "sourceType": "metadata.sourceType", - "destinationType": "metadata.destinationType", - "k8_namespace": "metadata.namespace" - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } -] diff --git a/test/__tests__/data/firehose_output.json b/test/__tests__/data/firehose_output.json deleted file mode 100644 index 862e3b985c..0000000000 --- a/test/__tests__/data/firehose_output.json +++ /dev/null @@ -1,282 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "rudderstack-test-firehose" - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "rudderstack-test-firehose" - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "rudderstack-test-firehose" - }, - { - "statusCode": 400, - "error": "No delivery stream set for this event" - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "rudderstack-test-firehose-2" - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "rudderstack-test-firehose-1" - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "rudderstack-test-firehose" - } -] diff --git a/test/__tests__/data/google_adwords_remarketing_lists_input.json b/test/__tests__/data/google_adwords_remarketing_lists_input.json index aa69908518..4b8666fa27 100644 --- a/test/__tests__/data/google_adwords_remarketing_lists_input.json +++ b/test/__tests__/data/google_adwords_remarketing_lists_input.json @@ -3714,7 +3714,7 @@ "typeOfList": "General" } }, - "message": { + "message": { "anonymousId": "24ed22ae-0681-4882-8c33-012e298e1c17", "channel": "sources", "context": { @@ -3776,7 +3776,7 @@ "typeOfList": "General" } }, - "message": { + "message": { "anonymousId": "24ed22ae-0681-4882-8c33-012e298e1c17", "channel": "sources", "context": { diff --git a/test/__tests__/data/googlepubsub_input.json b/test/__tests__/data/googlepubsub_input.json deleted file mode 100644 index 2b8f72aa00..0000000000 --- a/test/__tests__/data/googlepubsub_input.json +++ /dev/null @@ -1,610 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "test" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "product added", - "to": "test" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "*", - "to": "test" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "test event", - "to": "test" - } - ] - } - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "" - } - ] - } - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "" - } - ] - } - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "test" - }, - { - "from": "*", - "to": "test a" - } - ] - } - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "test" - }, - { - "from": "*", - "to": "test a" - }, - { - "from": "product added", - "to": "test b" - } - ] - } - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "Test-Topic" - } - ], - "eventToAttributesMap": [ - { - "from": "track", - "to": "name" - } - ] - } - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "Test-Topic" - } - ], - "eventToAttributesMap": [ - { - "from": "track", - "to": "url" - }, - { - "from": "track", - "to": "title" - } - ] - } - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "Test-Topic" - } - ], - "eventToAttributesMap": [ - { - "from": "track", - "to": "url" - }, - { - "from": "track", - "to": "title" - }, - { - "from": "product added", - "to": "referrer" - } - ] - } - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com", - "nestedObject": { - "this": "will be picked" - } - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "Test-Topic" - } - ], - "eventToAttributesMap": [ - { - "from": "track", - "to": "nestedObject.this" - } - ] - } - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com", - "nestedObject": { - "this": "will be picked" - } - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "Test-Topic" - } - ], - "eventToAttributesMap": [ - { - "from": "track", - "to": "properties.nestedObject.this" - } - ] - } - } - } -] diff --git a/test/__tests__/data/googlepubsub_output.json b/test/__tests__/data/googlepubsub_output.json deleted file mode 100644 index 0ed832af34..0000000000 --- a/test/__tests__/data/googlepubsub_output.json +++ /dev/null @@ -1,372 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "123456", - "topicId": "test", - "attributes": {} - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "123456", - "topicId": "test", - "attributes": {} - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "123456", - "topicId": "test", - "attributes": {} - }, - { - "statusCode": 400, - "error": "No topic set for this event" - }, - { - "statusCode": 400, - "error": "No topic set for this event" - }, - { - "statusCode": 400, - "error": "No topic set for this event" - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "test", - "attributes": {} - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "test b", - "attributes": {} - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "Test-Topic", - "attributes": { - "name": "Pizza" - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "Test-Topic", - "attributes": { - "url": "https://dominos.com", - "title": "Pizza" - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "Test-Topic", - "attributes": { - "referrer": "https://google.com" - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com", - "nestedObject": { - "this": "will be picked" - } - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "Test-Topic", - "attributes": { - "this": "will be picked" - } - }, - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com", - "nestedObject": { - "this": "will be picked" - } - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "Test-Topic", - "attributes": { - "this": "will be picked" - } - } -] diff --git a/test/__tests__/data/googlesheets_input.json b/test/__tests__/data/googlesheets_input.json deleted file mode 100644 index 492d57d431..0000000000 --- a/test/__tests__/data/googlesheets_input.json +++ /dev/null @@ -1,564 +0,0 @@ -[ - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "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": "OS-X", "version": "19.02.3" }, - "screen": { "density": 2 }, - "traits": { - "userId": "sheetuser001", - "firstName": "James", - "lastName": "Doe", - "address": { - "city": "Kolkata", - "country": "India", - "postalCode": "789003", - "state": "WB" - } - } - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "anon_id", - "type": "identify", - "traits": { - "anonymousId": "anon_id", - "email": "jamesDoe@gmail.com", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "employed": true, - "birthday": "1614775793", - "education": "Science", - "graduate": true, - "married": true, - "customerType": "Prime", - "custom_tags": ["Test_User", "Interested_User", "DIY_Hobby"], - "custom_mappings": { - "Office": "Trastkiv", - "Country": "Russia" - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "state": "WB", - "street": "" - } - }, - "integrations": { "All": true }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - }, - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "message": { - "type": "track", - "userId": "userTest004", - "event": "Added to Cart", - "properties": { - "name": "HomePage", - "revenue": 5.99, - "value": 5.5, - "offer": "Discount", - "Sale": false - }, - "context": { - "ip": "14.5.67.21", - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { "name": "Android", "version": "9" }, - "screen": { "density": 420, "height": 1794, "width": 1080 }, - "timezone": "Asia/Kolkata" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "message": { - "type": "page", - "userId": "userTest004", - "anonymousId": "anon-id-new", - "name": "1mg Cart", - "properties": { - "title": "Cart", - "path": "/", - "Cart Value": 7800, - "revenue": 7500 - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "message": { - "type": "page", - "userId": "userTest005", - "anonymousId": "anon-id-test", - "name": "Viewed Home Screen", - "properties": { - "title": "Home", - "path": "/home" - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "message": { - "type": "screen", - "name": "Trello home Screen", - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id" - } - }, - "message": { - "type": "screen", - "name": "Trello home Screen", - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - } -] diff --git a/test/__tests__/data/googlesheets_output.json b/test/__tests__/data/googlesheets_output.json deleted file mode 100644 index 23b2f2f01b..0000000000 --- a/test/__tests__/data/googlesheets_output.json +++ /dev/null @@ -1,345 +0,0 @@ -[ - { - "batch": { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "84e26acc-56a5-4835-8233-591137fca468" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "James" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "Doe" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "1614775793" - }, - "4": { - "attributeKey": "City", - "attributeValue": "kolkata" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "India" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "1.0.0" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "RudderLabs JavaScript SDK" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "RudderLabs JavaScript SDK" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "0.0.0.0" - } - } - }, - "spreadSheet": "rudder_sheet", - "spreadSheetId": "rudder_sheet_id" - }, - { - "batch": { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "" - }, - "4": { - "attributeKey": "City", - "attributeValue": "" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": 5.99 - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "Discount" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": 5.99 - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "1" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "RudderAndroidClient" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "com.rudderstack.android.sdk.core" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "14.5.67.21" - } - } - }, - "spreadSheet": "rudder_sheet", - "spreadSheetId": "rudder_sheet_id" - }, - { - "batch": { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "" - }, - "4": { - "attributeKey": "City", - "attributeValue": "" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": 7500 - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "Cart" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": 7800 - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": 7500 - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "http" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "14.5.67.21" - } - } - }, - "spreadSheet": "rudder_sheet", - "spreadSheetId": "rudder_sheet_id" - }, - { - "batch": { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "" - }, - "4": { - "attributeKey": "City", - "attributeValue": "" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "Home" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "http" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "14.5.67.21" - } - } - }, - "spreadSheet": "rudder_sheet", - "spreadSheetId": "rudder_sheet_id" - }, - { - "batch": { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "" - }, - "4": { - "attributeKey": "City", - "attributeValue": "" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "http" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "14.5.67.21" - } - } - }, - "spreadSheet": "rudder_sheet", - "spreadSheetId": "rudder_sheet_id" - }, - { - "error": "No Spread Sheet set for this event" - } -] diff --git a/test/__tests__/data/googlesheets_router_input.json b/test/__tests__/data/googlesheets_router_input.json deleted file mode 100644 index e675d25bd9..0000000000 --- a/test/__tests__/data/googlesheets_router_input.json +++ /dev/null @@ -1,245 +0,0 @@ -[ - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "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": "OS-X", "version": "19.02.3" }, - "screen": { "density": 2 }, - "traits": { - "userId": "sheetuser001", - "firstName": "James", - "lastName": "Doe", - "address": { - "city": "Kolkata", - "country": "India", - "postalCode": "789003", - "state": "WB" - } - } - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "anon_id", - "type": "identify", - "traits": { - "anonymousId": "anon_id", - "email": "jamesDoe@gmail.com", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "employed": true, - "birthday": "1614775793", - "education": "Science", - "graduate": true, - "married": true, - "customerType": "Prime", - "custom_tags": ["Test_User", "Interested_User", "DIY_Hobby"], - "custom_mappings": { - "Office": "Trastkiv", - "Country": "Russia" - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "state": "WB", - "street": "" - } - }, - "integrations": { "All": true }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 1 - } - }, - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "message": { - "type": "track", - "userId": "userTest004", - "event": "Added to Cart", - "properties": { - "name": "HomePage", - "revenue": 5.99, - "value": 5.5, - "offer": "Discount", - "Sale": false - }, - "context": { - "ip": "14.5.67.21", - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { "name": "Android", "version": "9" }, - "screen": { "density": 420, "height": 1794, "width": 1080 }, - "timezone": "Asia/Kolkata" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "metadata": { - "jobId": 2 - } - } -] diff --git a/test/__tests__/data/googlesheets_router_output.json b/test/__tests__/data/googlesheets_router_output.json deleted file mode 100644 index 6370a9fa3f..0000000000 --- a/test/__tests__/data/googlesheets_router_output.json +++ /dev/null @@ -1,213 +0,0 @@ -[ - { - "batchedRequest": { - "batch": [ - { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "84e26acc-56a5-4835-8233-591137fca468" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "James" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "Doe" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "1614775793" - }, - "4": { - "attributeKey": "City", - "attributeValue": "kolkata" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "India" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "1.0.0" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "RudderLabs JavaScript SDK" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "RudderLabs JavaScript SDK" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "0.0.0.0" - } - } - }, - { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "" - }, - "4": { - "attributeKey": "City", - "attributeValue": "" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": 5.99 - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "Discount" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": 5.99 - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "1" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "RudderAndroidClient" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "com.rudderstack.android.sdk.core" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "14.5.67.21" - } - } - } - ], - "spreadSheetId": "rudder_sheet_id", - "spreadSheet": "rudder_sheet" - }, - "metadata": [ - { - "jobId": 1 - }, - { - "jobId": 2 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - } - } -] diff --git a/test/__tests__/data/heap_input.json b/test/__tests__/data/heap_input.json deleted file mode 100644 index 944f661615..0000000000 --- a/test/__tests__/data/heap_input.json +++ /dev/null @@ -1,516 +0,0 @@ -[ - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - }, - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "fca2e71a-5d30-48e1-ba45-761c16e3820f", - "originalTimestamp": "2020-01-16T13:21:59.076Z", - "receivedAt": "2020-01-16T18:52:03.871+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:22:03.85Z", - "timestamp": "2020-01-16T18:51:59.097+05:30", - "type": "identify", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - }, - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-16T13:23:20.844Z", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - }, - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "fca2e71a-5d30-48e1-ba45-761c16e3820f", - "originalTimestamp": "2020-01-16T13:21:59.076Z", - "receivedAt": "2020-01-16T18:52:03.871+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:22:03.85Z", - "timestamp": "2020-01-16T18:51:59.097+05:30", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - }, - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-16T13:23:20.844Z", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "page", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - }, - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "properties": { - "subject": "Welcome to My App!", - "variation": "A", - "idempotencyKey": "1234" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2021-02-16T18:53:20.866+05:30", - "originalTimestamp": "2021-02-16T18:53:20.866+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - }, - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-17T13:23:20.844Z", - "properties": { - "subject": "Welcome to My App!", - "variation": "A", - "idempotencyKey": "1234" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - }, - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-17T13:23:20.844Z", - "properties": { - "Location": { - "City": "Los Angeles", - "State": "CA" - }, - "hobbies": ["Music", "Running"] - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - }, - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-17T13:23:20.844Z", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "track", - "userId": "sampath" - } - } -] diff --git a/test/__tests__/data/heap_output.json b/test/__tests__/data/heap_output.json deleted file mode 100644 index ac83648935..0000000000 --- a/test/__tests__/data/heap_output.json +++ /dev/null @@ -1,180 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/add_user_properties", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "properties": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "app_id": "" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "event": "Send Transactional Email", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "app_id": "", - "timestamp": "2020-01-16T18:53:20.866+05:30" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "statusCode": 400, - "error": "\"type\" is a required field and it must be a string" - }, - { - "statusCode": 400, - "error": "message type \"page\" not supported for \"heap\"" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "event": "Send Transactional Email", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "timestamp": "2021-02-16T18:53:20.866+05:30", - "idempotency_key": "1234", - "app_id": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "event": "Send Transactional Email", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "timestamp": "2020-01-16T18:53:20.866+05:30", - "idempotency_key": "1234", - "app_id": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "event": "Send Transactional Email", - "properties": { - "Location.City": "Los Angeles", - "Location.State": "CA", - "hobbies[0]": "Music", - "hobbies[1]": "Running" - }, - "timestamp": "2020-01-16T18:53:20.866+05:30", - "app_id": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "event": "Send Transactional Email", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "timestamp": "2020-01-16T18:53:20.866+05:30", - "app_id": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - } -] diff --git a/test/__tests__/data/heap_router_input.json b/test/__tests__/data/heap_router_input.json deleted file mode 100644 index 921ec684c1..0000000000 --- a/test/__tests__/data/heap_router_input.json +++ /dev/null @@ -1,193 +0,0 @@ -[ - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": { - "jobId": 1 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "fca2e71a-5d30-48e1-ba45-761c16e3820f", - "originalTimestamp": "2020-01-16T13:21:59.076Z", - "receivedAt": "2020-01-16T18:52:03.871+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:22:03.85Z", - "timestamp": "2020-01-16T18:51:59.097+05:30", - "type": "identify", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": { - "jobId": 2 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-16T13:23:20.844Z", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": { - "jobId": 3 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-16T13:23:20.844Z", - "properties": { - "subject": "Welcome to My App!", - "variation": "A", - "idempotencyKey": "1234" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "track", - "userId": "sampath" - } - } -] diff --git a/test/__tests__/data/heap_router_output.json b/test/__tests__/data/heap_router_output.json deleted file mode 100644 index 9a588f785b..0000000000 --- a/test/__tests__/data/heap_router_output.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/add_user_properties", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "properties": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "app_id": "" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "event": "Send Transactional Email", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "app_id": "", - "timestamp": "2020-01-16T18:53:20.866+05:30" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "event": "Send Transactional Email", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "app_id": "", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "idempotency_key": "1234" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - "metadata": [ - { - "jobId": 3 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - } - } -] diff --git a/test/__tests__/data/impact.json b/test/__tests__/data/impact.json deleted file mode 100644 index 8bd6d2dced..0000000000 --- a/test/__tests__/data/impact.json +++ /dev/null @@ -1,1814 +0,0 @@ -[ - { - "description": "Identify Call", - "input": { - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "DeviceOs": "ios", - "AndroidId": "id", - "EventDate": "NOW", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "user123", - "PropertyId": "2323", - "DeviceOsVer": "1.12.3", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://trkapi.impact.com/PageLoad" - } - }, - { - "description": "Identify Call when enableIdentifyEvents is disabled from config", - "input": { - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": { "error": "identify events are disabled from Config" } - }, - { - "description": "Account SID is empty", - "input": { - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": { - "error": "accountSID : are required fields" - } - }, - { - "description": "API Key is empty", - "input": { - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "jskafsdhgfbjcdsxzjhfnerscd", - "apiKey": "", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": { - "error": "apiKey : are required fields" - } - }, - { - "description": "campaignId is empty", - "input": { - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "jskafsdhgfbjcdsxzjhfnerscd", - "apiKey": "hjsfbnrrcldkbnfsjknfdkfjne", - "campaignId": "", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": { - "error": "campaignId : are required fields" - } - }, - { - "description": "Track Call with products array to test conversion endpoint", - "input": { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": [ - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Testab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - } - ] - }, - { - "description": "Track Call with products array without any custom products mapping", - "input": { - "message": { - "event": "Product Purchased", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": "", - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": [ - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Testab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Product Purchased", - "ItemQuantity1": 1, - "ItemCategory1": "wearables", - - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - } - ] - }, - { - "description": "Track Call with products array to test conversion endpoint with a custom products mapping", - "input": { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "variant": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": [ - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Testab", - "ItemBrand1": "zara", - "ItemCategory1": "wearables", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - } - ] - }, - { - "description": "Track Call with products array to test conversion endpoint with a custom products mapping and custom property mapping", - "input": { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "profit": 434, - "products": [ - { - "brand": "zara", - "variant": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": [ - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "Money1": 434, - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Testab", - "ItemBrand1": "zara", - "ItemCategory1": "wearables", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - } - ] - }, - { - "description": "Track Call with products array to test conversion endpoint with OS as android", - "input": { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "profit": 434, - "products": [ - { - "brand": "zara", - "variant": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "context": { - "os": { - "name": "Android", - "version": "9" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "device": { - "id": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "advertisingId": "435o4GRlm" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": [ - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "Money1": 434, - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "GoogAId": "435o4GRlm", - "OrderId": "9217374917471", - "DeviceOs": "Android", - "ItemSku1": "G-32", - "AndroidId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Testab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "DeviceOsVer": "9", - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemCategory1": "wearables", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - } - ] - }, - { - "description": "Track Call with products array to test conversion endpoint with OS as ios", - "input": { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "profit": 434, - "products": [ - { - "brand": "zara", - "variant": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "context": { - "os": { - "name": "iOS", - "version": "15.2" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "device": { - "id": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "advertisingId": "435o4GRlm" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": [ - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppleIfa": "435o4GRlm", - "AppleIfv": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "Money1": 434, - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "DeviceOs": "iOS", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Testab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "DeviceOsVer": "15.2", - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemCategory1": "wearables", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - } - ] - }, - { - "description": "Page Call", - "input": { - "message": { - "type": "page", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": true, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "DeviceOs": "ios", - "AndroidId": "id", - "EventDate": "NOW", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "user123", - "PropertyId": "2323", - "DeviceOsVer": "1.12.3", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://trkapi.impact.com/PageLoad" - } - }, - { - "description": "Screen Call", - "input": { - "message": { - "type": "screen", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": true, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "DeviceOs": "ios", - "AndroidId": "id", - "EventDate": "NOW", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "user123", - "PropertyId": "2323", - "DeviceOsVer": "1.12.3", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://trkapi.impact.com/PageLoad" - } - }, - { - "description": "Unsupported message type", - "input": { - "message": { - "event": "Order Completed", - "type": "group", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": { - "error": "Event type group is not supported" - } - }, - { - "description": "Event type is empty", - "input": { - "message": { - "event": "Order Completed", - "type": "", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": { - "error": "Event type is required" - } - }, - { - "description": "Track Call with products array to test conversion endpoint", - "input": { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - "output": [ - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Testab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemCategory1": "wearables", - "ItemQuantity1": 1, - "ItemPromoCode1": "10OFF-ROCKET", - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - } - ] - }, - { - "description": "Track Call with products array to test conversion endpoint with event mapping", - "input": { - "message": { - "event": "Product Ordered", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "profit": 434, - "products": [ - { - "brand": "zara", - "variant": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "context": { - "os": { - "name": "iOS", - "version": "15.2" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "device": { - "id": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "advertisingId": "435o4GRlm" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Ordered" }], - "installEventNames": [{ "eventName": "Product Ordered" }] - } - } - }, - "output": [ - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppleIfa": "435o4GRlm", - "AppleIfv": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "Money1": 434, - "AppName": "RudderLabs JavaScript SDK", - "OrderId": "9217374917471", - "DeviceOs": "iOS", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Testab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "DeviceOsVer": "15.2", - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Product Ordered", - "ItemCategory1": "wearables", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - }, - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppleIfa": "435o4GRlm", - "AppleIfv": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "Money1": 434, - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "DeviceOs": "iOS", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Testab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "DeviceOsVer": "15.2", - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Product Ordered", - "ItemCategory1": "wearables", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - } - ] - } -] diff --git a/test/__tests__/data/impact_router.json b/test/__tests__/data/impact_router.json deleted file mode 100644 index 87ed79025e..0000000000 --- a/test/__tests__/data/impact_router.json +++ /dev/null @@ -1,305 +0,0 @@ -[ - { - "input": [ - { - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - }, - "metadata": { - "jobId": 1 - }, - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - } - }, - { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Testab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - } - ], - "output": [ - { - "batchedRequest": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "DeviceOs": "ios", - "AndroidId": "id", - "EventDate": "NOW", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "user123", - "PropertyId": "2323", - "DeviceOsVer": "1.12.3", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://trkapi.impact.com/PageLoad" - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - { - "batchedRequest": [ - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Testab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpkdW1teUFwaUtleQ==" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - } - ], - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "dummyApiKey", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - } - ] - } -] diff --git a/test/__tests__/data/indicative_input.json b/test/__tests__/data/indicative_input.json deleted file mode 100644 index 44d7487bb9..0000000000 --- a/test/__tests__/data/indicative_input.json +++ /dev/null @@ -1,1790 +0,0 @@ -[ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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": "spin_result", - "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": { - "apiKey": "abcde" - } - }, - "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", - "anonymousId": "anon_id", - "userId": "123456", - "type": "identify", - "traits": { - "anonymousId": "anon_id", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "request_ip": "1.1.1.1", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "request_ip": "1.1.1.1", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "name": "ApplicationLoaded", - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "request_ip": "1.1.1.1", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "request_ip": "1.1.1.1", - "type": "screen", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "Home", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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": "spin_result", - "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", - "originalTimestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "originalTimestamp": "2020-01-24T06:29:02.366Z", - "previousId": "test_previous_id", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53711", - "sentAt": "2020-01-24T06:29:02.366Z", - "timestamp": "2020-01-24T11:59:02.403+05:30", - "type": "alias", - "userId": "test_new_user_id" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "originalTimestamp": "2020-01-24T06:29:02.366Z", - "previousId": "test_previous_id", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53711", - "sentAt": "2020-01-24T06:29:02.366Z", - "timestamp": "2020-01-24T11:59:02.403+05:30", - "userId": "test_new_user_id" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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", - "anonymousId": "123456", - "userId": "123456", - "type": "group", - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "test_anon_id", - "type": "identify", - "traits": { - "anonymousId": "test_anon_id", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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": "spin_result", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "searchResponse": { - "hits": [ - { - "Vrm": "026067", - "Make": "AUDI", - "Year": 2010, - "DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH", - "Model": "A5", - "Price": 13990, - "Mileage": 163000, - "DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69", - "Derivative": "A5 Cabrio 1.8 TFSI Cabrio" - }, - { - "Vrm": "4527", - "Make": "AUDI", - "Year": 2009, - "DName": "Stephan Walters - Autohaus Walters", - "Model": "A5", - "Price": 14450, - "Mileage": 99990, - "DealerId": "68c7b5ae-8cf0-6595-9fd2-8644b9682838", - "Derivative": "A5 Cabrio 40 TFSI S tronic S line Cabrio" - }, - { - "Vrm": "10007", - "Make": "AUDI", - "Year": 2017, - "DName": "ps kfz-vertrieb GmbH", - "Model": "A5", - "Price": 14580, - "Mileage": 151500, - "DealerId": "a107e9a8-ac3c-6790-bb84-052dd5eed5e8", - "Derivative": "A5 Sportback 2.0 TDI ultra S tronic Coupe" - }, - { - "Vrm": "031983", - "Make": "AUDI", - "Year": 2012, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 10980, - "Mileage": 197335, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 2.0 TDI Sportback DPF multitronic Coupe" - }, - { - "Vrm": "042012", - "Make": "AUDI", - "Year": 2015, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 15980, - "Mileage": 144205, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 Coupe 35 TDI S tronic S line Coupe" - }, - { - "Vrm": "002743", - "Make": "AUDI", - "Year": 2010, - "DName": "Auto Mayer e.K.Inh. Skelcim Imeri", - "Model": "A5", - "Price": 13980, - "Mileage": 121015, - "DealerId": "972258cb-132f-62a9-bd31-e02f9f70fa7b", - "Derivative": "A5 Cabrio 2.0 TDI DPF Cabrio" - }, - { - "Vrm": "205536_3895", - "Make": "AUDI", - "Year": 2011, - "DName": "Autohaus Löbau GmbH", - "Model": "A5", - "Price": 12790, - "Mileage": 89236, - "DealerId": "9e697219-293e-63a0-884a-2d03f77bbbef", - "Derivative": "A5 2.0 TDI Sportback DPF Coupe" - }, - { - "Vrm": "116265", - "Make": "AUDI", - "Year": 2016, - "DName": "Elspass Autoland GmbH & Co. KG", - "Model": "A1", - "Price": 14690, - "Mileage": 42800, - "DealerId": "00c1bf3f-b19d-6198-a509-c7f2ff73c29a", - "Derivative": "A1 1.0 TFSI ultra Limousine" - }, - { - "Vrm": "010159", - "Make": "AUDI", - "Year": 2013, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 9950, - "Mileage": 93996, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Ambition Limousine" - }, - { - "Vrm": "010178", - "Make": "AUDI", - "Year": 2016, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 12950, - "Mileage": 69454, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Sportback S tronic Attraction Limousine" - } - ], - "page": 0, - "merge": { - "nbHitsMax": 1000, - "nbHitslimit": 1000, - "nbSearchers": 2, - "nbHitsProcessed": 10, - "personalization": { - "impact": 100, - "enabled": true, - "profile": { - "time": 0, - "facets": {}, - "taskID": 0 - }, - "percentile": 0, - "nbPersoScanned": 0, - "nbPersoSkipped": 0, - "nbPersoReranked": 0, - "nbPersoReturned": 0, - "nbPersoSelected": 0, - "nbRelevanceBuckets": 8 - }, - "lastHitToDisplay": 10, - "nbHitsNumberingEnd": 10 - }, - "nbHits": 13, - "nbPages": 2, - "queryID": "c5a176f8493236fcbfe69c3298d41659", - "indexUsed": "Germany_prod_stock_Finance_0", - "serverUsed": "d85-de-1.algolia.net", - "hitsPerPage": 10, - "parsedQuery": "audi a5", - "timeoutHits": false, - "appliedRules": [ - { - "objectID": "1539345377254" - }, - { - "objectID": "1548767806494" - } - ], - "facets_stats": { - "Doors": { - "avg": 3, - "max": 5, - "min": 2, - "sum": 48 - }, - "Price": { - "avg": 13210, - "max": 15980, - "min": 9950, - "sum": 171730 - }, - "VrmYear": { - "avg": 2013, - "max": 2017, - "min": 2009, - "sum": 26171 - } - }, - "timeoutCounts": false - } - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "ID": "1afmecIpsJm7D72aRTksxyODrwR", - "Name": "Segment", - "DestinationDefinition": { - "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", - "Name": "SEGMENT", - "DisplayName": "Segment", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "writeKey": "abcdefghijklmnopqrstuvwxyz" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@email.com", - "firstname": "Test Transformer" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "JuhuSearchResults", - "integrations": { - "All": true - }, - "messageId": "584fde02-901a-4964-a4a0-4078b999d5b2", - "originalTimestamp": "2020-04-17T14:55:31.372Z", - "traits": { - "searchResponse": { - "hits": [ - { - "Vrm": "026067", - "Make": "AUDI", - "Year": 2010, - "DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH", - "Model": "A5", - "Price": 13990, - "Mileage": 163000, - "DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69", - "Derivative": "A5 Cabrio 1.8 TFSI Cabrio" - }, - { - "Vrm": "4527", - "Make": "AUDI", - "Year": 2009, - "DName": "Stephan Walters - Autohaus Walters", - "Model": "A5", - "Price": 14450, - "Mileage": 99990, - "DealerId": "68c7b5ae-8cf0-6595-9fd2-8644b9682838", - "Derivative": "A5 Cabrio 40 TFSI S tronic S line Cabrio" - }, - { - "Vrm": "10007", - "Make": "AUDI", - "Year": 2017, - "DName": "ps kfz-vertrieb GmbH", - "Model": "A5", - "Price": 14580, - "Mileage": 151500, - "DealerId": "a107e9a8-ac3c-6790-bb84-052dd5eed5e8", - "Derivative": "A5 Sportback 2.0 TDI ultra S tronic Coupe" - }, - { - "Vrm": "031983", - "Make": "AUDI", - "Year": 2012, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 10980, - "Mileage": 197335, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 2.0 TDI Sportback DPF multitronic Coupe" - }, - { - "Vrm": "042012", - "Make": "AUDI", - "Year": 2015, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 15980, - "Mileage": 144205, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 Coupe 35 TDI S tronic S line Coupe" - }, - { - "Vrm": "002743", - "Make": "AUDI", - "Year": 2010, - "DName": "Auto Mayer e.K.Inh. Skelcim Imeri", - "Model": "A5", - "Price": 13980, - "Mileage": 121015, - "DealerId": "972258cb-132f-62a9-bd31-e02f9f70fa7b", - "Derivative": "A5 Cabrio 2.0 TDI DPF Cabrio" - }, - { - "Vrm": "205536_3895", - "Make": "AUDI", - "Year": 2011, - "DName": "Autohaus Löbau GmbH", - "Model": "A5", - "Price": 12790, - "Mileage": 89236, - "DealerId": "9e697219-293e-63a0-884a-2d03f77bbbef", - "Derivative": "A5 2.0 TDI Sportback DPF Coupe" - }, - { - "Vrm": "116265", - "Make": "AUDI", - "Year": 2016, - "DName": "Elspass Autoland GmbH & Co. KG", - "Model": "A1", - "Price": 14690, - "Mileage": 42800, - "DealerId": "00c1bf3f-b19d-6198-a509-c7f2ff73c29a", - "Derivative": "A1 1.0 TFSI ultra Limousine" - }, - { - "Vrm": "010159", - "Make": "AUDI", - "Year": 2013, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 9950, - "Mileage": 93996, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Ambition Limousine" - }, - { - "Vrm": "010178", - "Make": "AUDI", - "Year": 2016, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 12950, - "Mileage": 69454, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Sportback S tronic Attraction Limousine" - } - ], - "page": 0, - "merge": { - "nbHitsMax": 1000, - "nbHitslimit": 1000, - "nbSearchers": 2, - "nbHitsProcessed": 10, - "personalization": { - "impact": 100, - "enabled": true, - "profile": { - "time": 0, - "facets": {}, - "taskID": 0 - }, - "percentile": 0, - "nbPersoScanned": 0, - "nbPersoSkipped": 0, - "nbPersoReranked": 0, - "nbPersoReturned": 0, - "nbPersoSelected": 0, - "nbRelevanceBuckets": 8 - }, - "lastHitToDisplay": 10, - "nbHitsNumberingEnd": 10 - }, - "nbHits": 13, - "nbPages": 2, - "queryID": "c5a176f8493236fcbfe69c3298d41659", - "indexUsed": "Germany_prod_stock_Finance_0", - "serverUsed": "d85-de-1.algolia.net", - "hitsPerPage": 10, - "parsedQuery": "audi a5", - "timeoutHits": false, - "appliedRules": [ - { - "objectID": "1539345377254" - }, - { - "objectID": "1548767806494" - } - ], - "facets_stats": { - "Doors": { - "avg": 3, - "max": 5, - "min": 2, - "sum": 48 - }, - "Price": { - "avg": 13210, - "max": 15980, - "min": 9950, - "sum": 171730 - }, - "VrmYear": { - "avg": 2013, - "max": 2017, - "min": 2009, - "sum": 26171 - } - }, - "timeoutCounts": false - } - }, - "receivedAt": "2020-04-17T20:25:31.401+05:30", - "request_ip": "[::1]:57365", - "sentAt": "2020-04-17T14:55:31.372Z", - "timestamp": "2020-04-17T20:25:31.401+05:30", - "name": "test page", - "type": "identify", - "userId": "user12345" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html" - } - }, - "request_ip": "1.1.1.1", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html" - } - }, - "request_ip": "1.1.1.1", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html" - } - }, - "event": "spin_result", - "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": { - "apiKey": "abcde" - } - }, - "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" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html" - } - }, - "event": "spin_result", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "searchResponse": { - "hits": [ - { - "Vrm": "026067", - "Make": "AUDI", - "Year": 2010, - "DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH", - "Model": "A5", - "Price": 13990, - "Mileage": 163000, - "DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69", - "Derivative": "A5 Cabrio 1.8 TFSI Cabrio" - }, - { - "Vrm": "4527", - "Make": "AUDI", - "Year": 2009, - "DName": "Stephan Walters - Autohaus Walters", - "Model": "A5", - "Price": 14450, - "Mileage": 99990, - "DealerId": "68c7b5ae-8cf0-6595-9fd2-8644b9682838", - "Derivative": "A5 Cabrio 40 TFSI S tronic S line Cabrio" - }, - { - "Vrm": "10007", - "Make": "AUDI", - "Year": 2017, - "DName": "ps kfz-vertrieb GmbH", - "Model": "A5", - "Price": 14580, - "Mileage": 151500, - "DealerId": "a107e9a8-ac3c-6790-bb84-052dd5eed5e8", - "Derivative": "A5 Sportback 2.0 TDI ultra S tronic Coupe" - }, - { - "Vrm": "031983", - "Make": "AUDI", - "Year": 2012, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 10980, - "Mileage": 197335, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 2.0 TDI Sportback DPF multitronic Coupe" - }, - { - "Vrm": "042012", - "Make": "AUDI", - "Year": 2015, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 15980, - "Mileage": 144205, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 Coupe 35 TDI S tronic S line Coupe" - }, - { - "Vrm": "002743", - "Make": "AUDI", - "Year": 2010, - "DName": "Auto Mayer e.K.Inh. Skelcim Imeri", - "Model": "A5", - "Price": 13980, - "Mileage": 121015, - "DealerId": "972258cb-132f-62a9-bd31-e02f9f70fa7b", - "Derivative": "A5 Cabrio 2.0 TDI DPF Cabrio" - }, - { - "Vrm": "205536_3895", - "Make": "AUDI", - "Year": 2011, - "DName": "Autohaus Löbau GmbH", - "Model": "A5", - "Price": 12790, - "Mileage": 89236, - "DealerId": "9e697219-293e-63a0-884a-2d03f77bbbef", - "Derivative": "A5 2.0 TDI Sportback DPF Coupe" - }, - { - "Vrm": "116265", - "Make": "AUDI", - "Year": 2016, - "DName": "Elspass Autoland GmbH & Co. KG", - "Model": "A1", - "Price": 14690, - "Mileage": 42800, - "DealerId": "00c1bf3f-b19d-6198-a509-c7f2ff73c29a", - "Derivative": "A1 1.0 TFSI ultra Limousine" - }, - { - "Vrm": "010159", - "Make": "AUDI", - "Year": 2013, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 9950, - "Mileage": 93996, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Ambition Limousine" - }, - { - "Vrm": "010178", - "Make": "AUDI", - "Year": 2016, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 12950, - "Mileage": 69454, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Sportback S tronic Attraction Limousine" - } - ], - "page": 0, - "merge": { - "nbHitsMax": 1000, - "nbHitslimit": 1000, - "nbSearchers": 2, - "nbHitsProcessed": 10, - "personalization": { - "impact": 100, - "enabled": true, - "profile": { - "time": 0, - "facets": {}, - "taskID": 0 - }, - "percentile": 0, - "nbPersoScanned": 0, - "nbPersoSkipped": 0, - "nbPersoReranked": 0, - "nbPersoReturned": 0, - "nbPersoSelected": 0, - "nbRelevanceBuckets": 8 - }, - "lastHitToDisplay": 10, - "nbHitsNumberingEnd": 10 - }, - "nbHits": 13, - "nbPages": 2, - "queryID": "c5a176f8493236fcbfe69c3298d41659", - "indexUsed": "Germany_prod_stock_Finance_0", - "serverUsed": "d85-de-1.algolia.net", - "hitsPerPage": 10, - "parsedQuery": "audi a5", - "timeoutHits": false, - "appliedRules": [ - { - "objectID": "1539345377254" - }, - { - "objectID": "1548767806494" - } - ], - "facets_stats": { - "Doors": { - "avg": 3, - "max": 5, - "min": 2, - "sum": 48 - }, - "Price": { - "avg": 13210, - "max": 15980, - "min": 9950, - "sum": 171730 - }, - "VrmYear": { - "avg": 2013, - "max": 2017, - "min": 2009, - "sum": 26171 - } - }, - "timeoutCounts": false - } - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html" - } - }, - "event": "spin_result", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "searchResponse": { - "primitiveArr1": ["abc", "def"], - "primitiveArr2": [1, 2, 3], - "arrOfArr": [ - ["abc", "def"], - [1, 2, 3] - ], - "emptyArr": [], - "complexArr1": [ - { - "crr1K1": { - "discardK1": "discardV1" - } - } - ] - } - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - }, - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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" - }, - "campaign": {} - }, - "event": "spin_result", - "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": { - "apiKey": "abcde" - } - }, - "message": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSPonIAEmulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "kolkata", - "country": "India" - } - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "Product Clicked", - "integrations": { - "All": true - }, - "messageId": "1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06", - "properties": { - "revenue": "30", - "currency": "USD", - "quantity": "5", - "test_key_2": { - "test_child_key_1": "test_child_value_1" - }, - "price": "58.0" - }, - "originalTimestamp": "2020-05-25T18:37:10.917Z", - "type": "track", - "userId": "sample_user_id" - } - } -] diff --git a/test/__tests__/data/indicative_output.json b/test/__tests__/data/indicative_output.json deleted file mode 100644 index 55c78bd0ef..0000000000 --- a/test/__tests__/data/indicative_output.json +++ /dev/null @@ -1,1000 +0,0 @@ -[ - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "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 - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/identify", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "uniqueId": "123456", - "properties": { - "email": "test@rudderstack.com", - "address.city": "kolkata", - "address.country": "India", - "address.postalCode": 712136, - "address.state": "WB", - "address.street": "", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/alias", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "previousId": "anon_id", - "newId": "123456", - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/identify", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "uniqueId": "123456", - "properties": { - "email": "test@rudderstack.com", - "address.city": "kolkata", - "address.country": "India", - "address.postalCode": 712136, - "address.state": "WB", - "address.street": "", - "ip": "0.0.0.0", - "age": 26, - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/alias", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "previousId": "123456", - "newId": "123456", - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Page View ApplicationLoaded", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Page View ApplicationLoaded", - "properties": { - "name": "ApplicationLoaded", - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Page View", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Screen View Home", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "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 - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/alias", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "previousId": "test_previous_id", - "newId": "test_new_user_id", - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_new_user_id" - } - ], - { - "statusCode": 400, - "error": "Message Type is not present. Aborting message." - }, - { - "statusCode": 400, - "error": "Message type group not supported" - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/identify", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "uniqueId": "test_anon_id", - "properties": { - "email": "test@rudderstack.com", - "address.city": "kolkata", - "address.country": "India", - "address.postalCode": 712136, - "address.state": "WB", - "address.street": "", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_anon_id" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "properties": { - "searchResponse.hits.Vrm": "026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178", - "searchResponse.hits.Make": "AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI", - "searchResponse.hits.Year": "2010,2009,2017,2012,2015,2010,2011,2016,2013,2016", - "searchResponse.hits.DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG", - "searchResponse.hits.Model": "A5,A5,A5,A5,A5,A5,A5,A1,A1,A1", - "searchResponse.hits.Price": "13990,14450,14580,10980,15980,13980,12790,14690,9950,12950", - "searchResponse.hits.Mileage": "163000,99990,151500,197335,144205,121015,89236,42800,93996,69454", - "searchResponse.hits.DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "searchResponse.hits.Derivative": "A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine", - "searchResponse.page": 0, - "searchResponse.merge.nbHitsMax": 1000, - "searchResponse.merge.nbHitslimit": 1000, - "searchResponse.merge.nbSearchers": 2, - "searchResponse.merge.nbHitsProcessed": 10, - "searchResponse.merge.personalization.impact": 100, - "searchResponse.merge.personalization.enabled": true, - "searchResponse.merge.personalization.profile.time": 0, - "searchResponse.merge.personalization.profile.taskID": 0, - "searchResponse.merge.personalization.percentile": 0, - "searchResponse.merge.personalization.nbPersoScanned": 0, - "searchResponse.merge.personalization.nbPersoSkipped": 0, - "searchResponse.merge.personalization.nbPersoReranked": 0, - "searchResponse.merge.personalization.nbPersoReturned": 0, - "searchResponse.merge.personalization.nbPersoSelected": 0, - "searchResponse.merge.personalization.nbRelevanceBuckets": 8, - "searchResponse.merge.lastHitToDisplay": 10, - "searchResponse.merge.nbHitsNumberingEnd": 10, - "searchResponse.nbHits": 13, - "searchResponse.nbPages": 2, - "searchResponse.queryID": "c5a176f8493236fcbfe69c3298d41659", - "searchResponse.indexUsed": "Germany_prod_stock_Finance_0", - "searchResponse.serverUsed": "d85-de-1.algolia.net", - "searchResponse.hitsPerPage": 10, - "searchResponse.parsedQuery": "audi a5", - "searchResponse.timeoutHits": false, - "searchResponse.appliedRules.objectID": "1539345377254,1548767806494", - "searchResponse.facets_stats.Doors.avg": 3, - "searchResponse.facets_stats.Doors.max": 5, - "searchResponse.facets_stats.Doors.min": 2, - "searchResponse.facets_stats.Doors.sum": 48, - "searchResponse.facets_stats.Price.avg": 13210, - "searchResponse.facets_stats.Price.max": 15980, - "searchResponse.facets_stats.Price.min": 9950, - "searchResponse.facets_stats.Price.sum": 171730, - "searchResponse.facets_stats.VrmYear.avg": 2013, - "searchResponse.facets_stats.VrmYear.max": 2017, - "searchResponse.facets_stats.VrmYear.min": 2009, - "searchResponse.facets_stats.VrmYear.sum": 26171, - "searchResponse.timeoutCounts": false - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/identify", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "uniqueId": "user12345", - "properties": { - "searchResponse.hits.Vrm": "026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178", - "searchResponse.hits.Make": "AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI", - "searchResponse.hits.Year": "2010,2009,2017,2012,2015,2010,2011,2016,2013,2016", - "searchResponse.hits.DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG", - "searchResponse.hits.Model": "A5,A5,A5,A5,A5,A5,A5,A1,A1,A1", - "searchResponse.hits.Price": "13990,14450,14580,10980,15980,13980,12790,14690,9950,12950", - "searchResponse.hits.Mileage": "163000,99990,151500,197335,144205,121015,89236,42800,93996,69454", - "searchResponse.hits.DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "searchResponse.hits.Derivative": "A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine", - "searchResponse.page": 0, - "searchResponse.merge.nbHitsMax": 1000, - "searchResponse.merge.nbHitslimit": 1000, - "searchResponse.merge.nbSearchers": 2, - "searchResponse.merge.nbHitsProcessed": 10, - "searchResponse.merge.personalization.impact": 100, - "searchResponse.merge.personalization.enabled": true, - "searchResponse.merge.personalization.profile.time": 0, - "searchResponse.merge.personalization.profile.taskID": 0, - "searchResponse.merge.personalization.percentile": 0, - "searchResponse.merge.personalization.nbPersoScanned": 0, - "searchResponse.merge.personalization.nbPersoSkipped": 0, - "searchResponse.merge.personalization.nbPersoReranked": 0, - "searchResponse.merge.personalization.nbPersoReturned": 0, - "searchResponse.merge.personalization.nbPersoSelected": 0, - "searchResponse.merge.personalization.nbRelevanceBuckets": 8, - "searchResponse.merge.lastHitToDisplay": 10, - "searchResponse.merge.nbHitsNumberingEnd": 10, - "searchResponse.nbHits": 13, - "searchResponse.nbPages": 2, - "searchResponse.queryID": "c5a176f8493236fcbfe69c3298d41659", - "searchResponse.indexUsed": "Germany_prod_stock_Finance_0", - "searchResponse.serverUsed": "d85-de-1.algolia.net", - "searchResponse.hitsPerPage": 10, - "searchResponse.parsedQuery": "audi a5", - "searchResponse.timeoutHits": false, - "searchResponse.appliedRules.objectID": "1539345377254,1548767806494", - "searchResponse.facets_stats.Doors.avg": 3, - "searchResponse.facets_stats.Doors.max": 5, - "searchResponse.facets_stats.Doors.min": 2, - "searchResponse.facets_stats.Doors.sum": 48, - "searchResponse.facets_stats.Price.avg": 13210, - "searchResponse.facets_stats.Price.max": 15980, - "searchResponse.facets_stats.Price.min": 9950, - "searchResponse.facets_stats.Price.sum": 171730, - "searchResponse.facets_stats.VrmYear.avg": 2013, - "searchResponse.facets_stats.VrmYear.max": 2017, - "searchResponse.facets_stats.VrmYear.min": 2009, - "searchResponse.facets_stats.VrmYear.sum": 26171, - "searchResponse.timeoutCounts": false, - "browser": "Chrome", - "browser_version": "80.0.3987.163", - "device": "Macintosh", - "os": "Mac OS" - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "user12345" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/alias", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "previousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "newId": "user12345" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "user12345" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Page View ApplicationLoaded", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Page View ApplicationLoaded", - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html", - "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 - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html", - "searchResponse.hits.Vrm": "026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178", - "searchResponse.hits.Make": "AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI", - "searchResponse.hits.Year": "2010,2009,2017,2012,2015,2010,2011,2016,2013,2016", - "searchResponse.hits.DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG", - "searchResponse.hits.Model": "A5,A5,A5,A5,A5,A5,A5,A1,A1,A1", - "searchResponse.hits.Price": "13990,14450,14580,10980,15980,13980,12790,14690,9950,12950", - "searchResponse.hits.Mileage": "163000,99990,151500,197335,144205,121015,89236,42800,93996,69454", - "searchResponse.hits.DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "searchResponse.hits.Derivative": "A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine", - "searchResponse.page": 0, - "searchResponse.merge.nbHitsMax": 1000, - "searchResponse.merge.nbHitslimit": 1000, - "searchResponse.merge.nbSearchers": 2, - "searchResponse.merge.nbHitsProcessed": 10, - "searchResponse.merge.personalization.impact": 100, - "searchResponse.merge.personalization.enabled": true, - "searchResponse.merge.personalization.profile.time": 0, - "searchResponse.merge.personalization.profile.taskID": 0, - "searchResponse.merge.personalization.percentile": 0, - "searchResponse.merge.personalization.nbPersoScanned": 0, - "searchResponse.merge.personalization.nbPersoSkipped": 0, - "searchResponse.merge.personalization.nbPersoReranked": 0, - "searchResponse.merge.personalization.nbPersoReturned": 0, - "searchResponse.merge.personalization.nbPersoSelected": 0, - "searchResponse.merge.personalization.nbRelevanceBuckets": 8, - "searchResponse.merge.lastHitToDisplay": 10, - "searchResponse.merge.nbHitsNumberingEnd": 10, - "searchResponse.nbHits": 13, - "searchResponse.nbPages": 2, - "searchResponse.queryID": "c5a176f8493236fcbfe69c3298d41659", - "searchResponse.indexUsed": "Germany_prod_stock_Finance_0", - "searchResponse.serverUsed": "d85-de-1.algolia.net", - "searchResponse.hitsPerPage": 10, - "searchResponse.parsedQuery": "audi a5", - "searchResponse.timeoutHits": false, - "searchResponse.appliedRules.objectID": "1539345377254,1548767806494", - "searchResponse.facets_stats.Doors.avg": 3, - "searchResponse.facets_stats.Doors.max": 5, - "searchResponse.facets_stats.Doors.min": 2, - "searchResponse.facets_stats.Doors.sum": 48, - "searchResponse.facets_stats.Price.avg": 13210, - "searchResponse.facets_stats.Price.max": 15980, - "searchResponse.facets_stats.Price.min": 9950, - "searchResponse.facets_stats.Price.sum": 171730, - "searchResponse.facets_stats.VrmYear.avg": 2013, - "searchResponse.facets_stats.VrmYear.max": 2017, - "searchResponse.facets_stats.VrmYear.min": 2009, - "searchResponse.facets_stats.VrmYear.sum": 26171, - "searchResponse.timeoutCounts": false - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html", - "searchResponse.primitiveArr1": "abc,def", - "searchResponse.primitiveArr2": "1,2,3" - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "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 - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "sample_user_id", - "eventName": "Product Clicked", - "properties": { - "revenue": "30", - "currency": "USD", - "quantity": "5", - "test_key_2.test_child_key_1": "test_child_value_1", - "price": "58.0", - "device": "Android 9", - "os": "Android" - }, - "eventTime": 1590431830917, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sample_user_id" - } - ] -] diff --git a/test/__tests__/data/indicative_router_input.json b/test/__tests__/data/indicative_router_input.json deleted file mode 100644 index 7f0fee05eb..0000000000 --- a/test/__tests__/data/indicative_router_input.json +++ /dev/null @@ -1,138 +0,0 @@ -[ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "metadata": { - "jobId": 1 - }, - "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": "spin_result", - "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": { - "apiKey": "abcde" - } - }, - "metadata": { - "jobId": 2 - }, - "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", - "anonymousId": "anon_id", - "userId": "123456", - "type": "identify", - "traits": { - "anonymousId": "anon_id", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } -] diff --git a/test/__tests__/data/indicative_router_output.json b/test/__tests__/data/indicative_router_output.json deleted file mode 100644 index c6031e90a2..0000000000 --- a/test/__tests__/data/indicative_router_output.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "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 - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "abcde" - } - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/identify", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "uniqueId": "123456", - "properties": { - "email": "test@rudderstack.com", - "address.city": "kolkata", - "address.country": "India", - "address.postalCode": 712136, - "address.state": "WB", - "address.street": "", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/alias", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "previousId": "anon_id", - "newId": "123456", - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - } - ], - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "abcde" - } - } - } -] diff --git a/test/__tests__/data/iterable.json b/test/__tests__/data/iterable.json deleted file mode 100644 index f8147c7402..0000000000 --- a/test/__tests__/data/iterable.json +++ /dev/null @@ -1,3191 +0,0 @@ -[ - { - "description": "Invalid page call", - "input": { - "message": { - "type": "page", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": false, - "trackCategorisedPages": true, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "statusCode": 400, - "message": "Invalid page call" - } - }, - { - "description": "Invalid screen call", - "input": { - "message": { - "type": "screen", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": false, - "trackCategorisedPages": true, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "statusCode": 400, - "message": "Invalid screen call" - } - }, - { - "description": "Update user event", - "input": { - "message": { - "type": "identify", - "sentAt": "2020-08-28T16:26:06.466Z", - "traits": { - "city": "Bangalore", - "name": "manashi", - "email": "manashi@website.com", - "country": "India" - }, - "context": { - "traits": { - "city": "Bangalore", - "name": "manashi", - "email": "manashi@website.com", - "country": "India" - }, - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.462Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "email": "manashi@website.com", - "userId": "abcdeeeeeeeexxxx102", - "dataFields": { - "city": "Bangalore", - "name": "manashi", - "email": "manashi@website.com", - "country": "India" - }, - "preferUserId": true, - "mergeNestedObjects": true - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "api_key": "dummyApiKey", - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.iterable.com/api/users/update" - } - }, - { - "description": "Email opened event", - "input": { - "message": { - "type": "track", - "event": "Email Opened", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453", - "properties": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "userId": "abcdeeeeeeeexxxx102", - "createdAt": 1598631966468, - "eventName": "Email Opened", - "dataFields": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - } - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "api_key": "dummyApiKey", - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.iterable.com/api/events/track" - } - }, - { - "description": "Page call with trackCategorisedPages set to true and mapToSingleEvent is false", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "category": "test-category" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": false, - "trackCategorisedPages": true, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/events/track", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "category": "test-category" - }, - "userId": "dummyApiKey", - "eventName": "ApplicationLoaded page", - "createdAt": 1571051718299 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Page call with trackAllPages set to true and mapToSingleEvent is true", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "category": "test-category", - "campaignId": "123456", - "templateId": "1213458" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": true, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/events/track", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "category": "test-category", - "campaignId": "123456", - "templateId": "1213458" - }, - "userId": "dummyApiKey", - "eventName": "Loaded a Page", - "createdAt": 1571051718299, - "campaignId": 123456, - "templateId": 1213458 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Page call with trackNamedPages set to true and mapToSingleEvent is false", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "name": "test-name" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": false, - "trackCategorisedPages": false, - "trackNamedPages": true - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/events/track", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "name": "test-name" - }, - "userId": "dummyApiKey", - "eventName": "ApplicationLoaded page", - "createdAt": 1571051718299 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Page call with trackAllPages set to true and mapToSingleEvent is false", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/events/track", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "" - }, - "userId": "dummyApiKey", - "eventName": "ApplicationLoaded page", - "createdAt": 1571051718299 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Screen call with trackCategorisedPages set to true and mapToSingleEvent is false", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "screen", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "category": "test-category" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": false, - "trackCategorisedPages": true, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/events/track", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "category": "test-category" - }, - "userId": "dummyApiKey", - "eventName": "ApplicationLoaded screen", - "createdAt": 1571051718299 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Screen call with trackAllPages and mapToSingleEvent set to true", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "screen", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "category": "test-category", - "campaignId": "123456", - "templateId": "1213458" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": true, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/events/track", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "category": "test-category", - "campaignId": "123456", - "templateId": "1213458" - }, - "userId": "dummyApiKey", - "eventName": "Loaded a Screen", - "createdAt": 1571051718299, - "campaignId": 123456, - "templateId": 1213458 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Screen call with trackNamedPages set to true and mapToSingleEvent is false", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "screen", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "name": "test-name" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": false, - "trackCategorisedPages": false, - "trackNamedPages": true - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/events/track", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "", - "name": "test-name" - }, - "userId": "dummyApiKey", - "eventName": "ApplicationLoaded screen", - "createdAt": 1571051718299 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Screen call with trackAllPages set to true and mapToSingleEvent is false", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "screen", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/events/track", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "path": "/abc", - "referrer": "", - "search": "", - "title": "", - "url": "" - }, - "userId": "dummyApiKey", - "eventName": "ApplicationLoaded screen", - "createdAt": 1571051718299 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Group call", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "group", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "statusCode": 400, - "message": "Message type group not supported" - } - }, - { - "description": "Update user call with register device token", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false, - "registerDeviceOrBrowserApiKey": "5678910" - }, - "Enabled": true - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/update", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "email": "test@rudderstack.com" - }, - "userId": "123456", - "preferUserId": true, - "mergeNestedObjects": true - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/registerBrowserToken", - "headers": { - "Content-Type": "application/json", - "api_key": "5678910" - }, - "params": {}, - "body": { - "JSON": { - "browserToken": "some_device_token", - "email": "test@rudderstack.com", - "userId": "123456" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Update user call with register device token", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "token": "sample_push_token", - "name": "sample_device_name", - "model": "sample_device_model", - "manufacturer": "sample_device_manufacturer", - "type": "ios" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false, - "registerDeviceOrBrowserApiKey": "5678910" - }, - "Enabled": true - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/update", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "email": "test@rudderstack.com" - }, - "userId": "123456", - "preferUserId": true, - "mergeNestedObjects": true - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/registerDeviceToken", - "headers": { - "Content-Type": "application/json", - "api_key": "5678910" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "userId": "123456", - "device": { - "token": "sample_push_token", - "applicationName": "sample_device_name", - "platform": "APNS" - }, - "preferUserId": true - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Update user call with register device token", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "token": "sample_push_token", - "name": "sample_device_name", - "model": "sample_device_model", - "manufacturer": "sample_device_manufacturer", - "type": "android" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mergeNestedObjects": false, - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false, - "registerDeviceOrBrowserApiKey": "5678910" - }, - "Enabled": true - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/update", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "email": "test@rudderstack.com" - }, - "userId": "123456", - "preferUserId": true, - "mergeNestedObjects": false - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/registerDeviceToken", - "headers": { - "Content-Type": "application/json", - "api_key": "5678910" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "userId": "123456", - "device": { - "token": "sample_push_token", - "applicationName": "sample_device_name", - "platform": "GCM" - }, - "preferUserId": true - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Update cart event", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "event": "product added", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "campaignId": "1", - "templateId": "0", - "orderId": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "cars,auto", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/commerce/updateCart", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "email": "test@rudderstack.com", - "dataFields": { - "email": "test@rudderstack.com" - }, - "userId": "dummyApiKey", - "preferUserId": true, - "mergeNestedObjects": true - }, - "items": [ - { - "id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "categories": ["cars", "auto"], - "price": 19, - "quantity": 2, - "imageUrl": "https://www.example.com/product/path.jpg", - "url": "https://www.example.com/product/path" - }, - { - "id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "categories": ["Cars2"], - "price": 192, - "quantity": 22, - "imageUrl": "https://www.example.com/product/path.jpg2", - "url": "https://www.example.com/product/path2" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "TrackPurchase event", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "event": "order completed", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "orderId": 10000, - "total": "1000", - "campaignId": "123456", - "templateId": "1213458", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "Cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": 2 - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": "22", - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/commerce/trackPurchase", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "dataFields": { - "orderId": 10000, - "total": "1000", - "campaignId": "123456", - "templateId": "1213458", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "Cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": 2 - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": "22", - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "id": "10000", - "createdAt": 1571051718299, - "campaignId": 123456, - "templateId": 1213458, - "total": 1000, - "user": { - "email": "test@rudderstack.com", - "dataFields": { - "email": "test@rudderstack.com" - }, - "userId": "dummyApiKey", - "preferUserId": true, - "mergeNestedObjects": true - }, - "items": [ - { - "id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "categories": ["Cars"], - "price": 19, - "quantity": 2, - "imageUrl": "https://www.example.com/product/path.jpg", - "url": "https://www.example.com/product/path" - }, - { - "id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "categories": ["Cars2"], - "price": 192, - "quantity": 22, - "imageUrl": "https://www.example.com/product/path.jpg2", - "url": "https://www.example.com/product/path2" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Custom track event", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "event": "test track event GA3", - "properties": { - "email": "test@rudderstack.com", - "campaignId": "1", - "templateId": "0", - "category": "test-category", - "user_actual_role": "system_admin, system_user", - "user_actual_id": 12345 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/events/track", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "campaignId": "1", - "templateId": "0", - "category": "test-category", - "user_actual_role": "system_admin, system_user", - "user_actual_id": 12345, - "email": "test@rudderstack.com" - }, - "userId": "dummyApiKey", - "eventName": "test track event GA3", - "createdAt": 1571051718300, - "campaignId": 1, - "templateId": 0 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Update user call with register browser token", - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "traits": { - "email": "test@rudderstack.com" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false, - "registerDeviceOrBrowserApiKey": "5678910" - }, - "Enabled": true - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/update", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "email": "test@rudderstack.com" - }, - "userId": "123456", - "preferUserId": true, - "mergeNestedObjects": true - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/registerBrowserToken", - "headers": { - "Content-Type": "application/json", - "api_key": "5678910" - }, - "params": {}, - "body": { - "JSON": { - "browserToken": "some_device_token", - "email": "test@rudderstack.com", - "userId": "123456" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "userId and email is not provided in identify call", - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "statusCode": 400, - "message": "userId or email is mandatory for this request" - } - }, - { - "description": "Invalid page call", - "input": { - "message": { - "type": "page", - "sentAt": "2020-08-28T16:26:16.473Z", - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": false, - "trackCategorisedPages": true, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "statusCode": 400, - "message": "Invalid page call" - } - }, - { - "description": "UpdateCart event", - "input": { - "message": { - "type": "track", - "event": "Product Added", - "sentAt": "2021-07-09T05:27:17.908Z", - "userId": "8751", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.0.16", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "https://joybird.com/cabinets/vira-console-cabinet/", - "path": "/cabinets/vira-console-cabinet/", - "title": "Vira Console Cabinet | Joybird", - "search": "", - "referrer": "$direct", - "referring_domain": "" - }, - "locale": "en-us", - "screen": { - "density": 2 - }, - "traits": { - "email": "jessica@jlpdesign.net" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.16" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15" - }, - "rudderId": "1c42e104-97ec-4f54-a328-2379623583fe", - "messageId": "e58f6624-a1c3-48f4-a6af-610389602304", - "timestamp": "2021-07-09T05:27:18.131Z", - "properties": { - "sku": "JB24691400-W05", - "name": "Vira Console Cabinet", - "price": 797, - "cart_id": "bd9b8dbf4ef8ee01d4206b04fe2ee6ae", - "variant": "Oak", - "quantity": 1, - "quickship": true, - "full_price": 1328, - "product_id": 10606, - "non_interaction": 1 - }, - "receivedAt": "2021-07-09T05:27:18.131Z", - "request_ip": "162.224.233.114", - "anonymousId": "8a7ff986-62d8-45ca-9a16-8895b3f9d341", - "integrations": { - "All": true - }, - "originalTimestamp": "2021-07-09T05:27:17.908Z" - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "projects/big-query-integration-poc/topics/test" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/commerce/updateCart", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "email": "jessica@jlpdesign.net", - "dataFields": { - "email": "jessica@jlpdesign.net" - }, - "userId": "8751", - "preferUserId": true, - "mergeNestedObjects": true - }, - "items": [ - { - "id": 10606, - "sku": "JB24691400-W05", - "name": "Vira Console Cabinet", - "price": 797, - "quantity": 1 - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Update user call", - "input": { - "message": { - "channel": "sources", - "context": { - "externalId": [ - { - "id": "lynnanderson@smith.net", - "identifierType": "email", - "type": "ITERABLE-users" - } - ], - "mappedToDestination": "true", - "sources": { - "batch_id": "f5f240d0-0acb-46e0-b043-57fb0aabbadd", - "job_id": "1zAj94bEy8komdqnYtSoDp0VmGs/Syncher", - "job_run_id": "c5tar6cqgmgmcjvupdhg", - "task_id": "tt_10_rows_check", - "task_run_id": "c5tar6cqgmgmcjvupdi0", - "version": "release.v1.6.8" - } - }, - "messageId": "2f052f7c-f694-4849-a7ed-a432f7ffa0a4", - "originalTimestamp": "2021-10-28T14:03:50.503Z", - "receivedAt": "2021-10-28T14:03:46.567Z", - "recordId": "8", - "request_ip": "10.1.94.92", - "rudderId": "c0f6843e-e3d6-4946-9752-fa339fbadef2", - "sentAt": "2021-10-28T14:03:50.503Z", - "timestamp": "2021-10-28T14:03:46.566Z", - "traits": { - "administrative_unit": "Minnesota", - "am_pm": "AM", - "boolean": true, - "firstname": "Jacqueline", - "pPower": "AM", - "userId": "Jacqueline" - }, - "type": "identify", - "userId": "lynnanderson@smith.net" - }, - "destination": { - "ID": "1zia9wKshXt80YksLmUdJnr7IHI", - "Name": "test_iterable", - "DestinationDefinition": { - "ID": "1iVQvTRMsPPyJzwol0ifH93QTQ6", - "Name": "ITERABLE", - "DisplayName": "Iterable", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "mapToSingleEvent", - "trackAllPages", - "trackCategorisedPages", - "trackNamedPages" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": true, - "trackAllPages": false, - "trackCategorisedPages": true, - "trackNamedPages": true - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/update", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "lynnanderson@smith.net", - "dataFields": { - "administrative_unit": "Minnesota", - "am_pm": "AM", - "boolean": true, - "firstname": "Jacqueline", - "pPower": "AM", - "userId": "Jacqueline", - "email": "lynnanderson@smith.net" - }, - "userId": "lynnanderson@smith.net", - "preferUserId": true, - "mergeNestedObjects": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Update user call", - "input": { - "message": { - "channel": "sources", - "context": { - "externalId": [ - { - "id": "Matthew", - "identifierType": "userId", - "type": "ITERABLE-users" - } - ], - "mappedToDestination": "true", - "sources": { - "batch_id": "230d7c79-a2c2-4b2a-90bb-06ba988d3bb4", - "job_id": "1zjj9aF5UkmavBi4HtM3kWOGvy0/Syncher", - "job_run_id": "c5tb4gsqgmgmcjvuplhg", - "task_id": "tt_10_rows", - "task_run_id": "c5tb4gsqgmgmcjvupli0", - "version": "release.v1.6.8" - } - }, - "messageId": "c4c97310-463b-4300-9215-5cfddcb2a769", - "originalTimestamp": "2021-10-28T14:23:43.254Z", - "receivedAt": "2021-10-28T14:23:38.300Z", - "recordId": "3", - "request_ip": "10.1.94.92", - "rudderId": "7300f5e3-bdb5-489e-ac7e-47876e487de9", - "sentAt": "2021-10-28T14:23:43.254Z", - "timestamp": "2021-10-28T14:23:38.299Z", - "traits": { - "price": "GB" - }, - "type": "identify", - "userId": "Matthew" - }, - "destination": { - "ID": "1zjjHN4RQ6t4DPj3HVpp0b6XW4A", - "Name": "test_userId_uniq", - "DestinationDefinition": { - "ID": "1iVQvTRMsPPyJzwol0ifH93QTQ6", - "Name": "ITERABLE", - "DisplayName": "Iterable", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "mapToSingleEvent", - "trackAllPages", - "trackCategorisedPages", - "trackNamedPages" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": true, - "trackAllPages": false, - "trackCategorisedPages": true, - "trackNamedPages": true - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/update", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "dataFields": { - "price": "GB", - "userId": "Matthew" - }, - "userId": "Matthew", - "preferUserId": true, - "mergeNestedObjects": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Update user call with register device token", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "token": "sample_push_token", - "name": "sample_device_name", - "model": "sample_device_model", - "manufacturer": "sample_device_manufacturer", - "type": "watchos" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "screen": { - "density": 2 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false, - "registerDeviceOrBrowserApiKey": "5678910" - }, - "Enabled": true - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/update", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "dataFields": { - "email": "test@rudderstack.com" - }, - "userId": "123456", - "preferUserId": true, - "mergeNestedObjects": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/registerDeviceToken", - "headers": { - "Content-Type": "application/json", - "api_key": "5678910" - }, - "params": {}, - "body": { - "JSON": { - "email": "test@rudderstack.com", - "userId": "123456", - "device": { - "token": "sample_push_token", - "applicationName": "sample_device_name", - "platform": "APNS" - }, - "preferUserId": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Update email call", - "input": { - "message": { - "type": "alias", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "userId": "new@email.com", - "previousId": "old@email.com", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": false, - "trackCategorisedPages": true, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "currentEmail": "old@email.com", - "newEmail": "new@email.com" - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "api_key": "dummyApiKey", - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.iterable.com/api/users/updateEmail" - } - }, - { - "description": "Update email call with missing previousId", - "input": { - "message": { - "type": "alias", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "userId": "new@email.com", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": false, - "trackCategorisedPages": true, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "message": "Missing required value from \"previousId\"" - } - }, - { - "description": "Update email call without userId", - "input": { - "message": { - "type": "alias", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "previousId": "old@email.com", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": false, - "trackCategorisedPages": true, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "message": "Missing required value from \"userId\"" - } - }, - { - "description": "Update cart event", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "john@gmail.com" - }, - "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 - } - }, - "event": "product added", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "campaignId": "1", - "templateId": "0", - "orderId": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": ["bikes", "cars", "motors"], - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": ["Bikes2", "cars2", "motors2"], - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/commerce/updateCart", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "email": "john@gmail.com", - "dataFields": { - "email": "john@gmail.com" - }, - "userId": "dummyApiKey", - "preferUserId": true, - "mergeNestedObjects": true - }, - "items": [ - { - "id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "categories": ["bikes", "cars", "motors"], - "price": 19, - "quantity": 2, - "imageUrl": "https://www.example.com/product/path.jpg", - "url": "https://www.example.com/product/path" - }, - { - "id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "categories": ["Bikes2", "cars2", "motors2"], - "price": 192, - "quantity": 22, - "imageUrl": "https://www.example.com/product/path.jpg2", - "url": "https://www.example.com/product/path2" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Update cart event", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "event": "product added", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "campaignId": "1", - "templateId": "0", - "orderId": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "shirts,pants,trousers", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/commerce/updateCart", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "email": "test@rudderstack.com", - "dataFields": { - "email": "test@rudderstack.com" - }, - "userId": "dummyApiKey", - "preferUserId": true, - "mergeNestedObjects": true - }, - "items": [ - { - "id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "categories": ["shirts", "pants", "trousers"], - "price": 19, - "quantity": 2, - "imageUrl": "https://www.example.com/product/path.jpg", - "url": "https://www.example.com/product/path" - }, - { - "id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "categories": ["Cars2"], - "price": 192, - "quantity": 22, - "imageUrl": "https://www.example.com/product/path.jpg2", - "url": "https://www.example.com/product/path2" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Update cart event", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "event": "product added", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "campaignId": "1", - "templateId": "0", - "orderId": 10000, - "total": 1000, - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/commerce/updateCart", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "email": "test@rudderstack.com", - "dataFields": { - "email": "test@rudderstack.com" - }, - "userId": "dummyApiKey", - "preferUserId": true, - "mergeNestedObjects": true - }, - "items": [ - { - "id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "categories": ["Cars2"], - "price": 192, - "quantity": 22, - "imageUrl": "https://www.example.com/product/path.jpg2", - "url": "https://www.example.com/product/path2" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track purchase event", - "input": { - "destination": { - "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", - "accountId": "476550467", - "trackAnonymous": true, - "enableObjectIdMapping": false - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "event": "order completed", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "dummyApiKey", - "properties": { - "product_id": 1234, - "name": "Shoes", - "price": 45, - "quantity": 1, - "orderId": 10000, - "total": "1000", - "campaignId": "123456", - "templateId": "1213458" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/commerce/trackPurchase", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "dataFields": { - "product_id": 1234, - "name": "Shoes", - "price": 45, - "quantity": 1, - "orderId": 10000, - "total": "1000", - "campaignId": "123456", - "templateId": "1213458" - }, - "id": "10000", - "createdAt": 1571051718299, - "campaignId": 123456, - "templateId": 1213458, - "total": 1000, - "user": { - "email": "test@rudderstack.com", - "dataFields": { - "email": "test@rudderstack.com" - }, - "userId": "dummyApiKey", - "preferUserId": true, - "mergeNestedObjects": true - }, - "items": [ - { - "id": 1234, - "name": "Shoes", - "price": 45, - "quantity": 1 - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track event without an event name", - "input": { - "message": { - "type": "track", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453", - "properties": { - "id": "event1234", - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "userId": "abcdeeeeeeeexxxx102", - "createdAt": 1598631966468, - "dataFields": { - "id": "event1234", - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - } - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "api_key": "dummyApiKey", - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.iterable.com/api/events/track" - } - }, - { - "description": "Track event with empty event name", - "input": { - "message": { - "type": "track", - "event": "", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453", - "properties": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "userId": "abcdeeeeeeeexxxx102", - "createdAt": 1598631966468, - "dataFields": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - } - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "api_key": "dummyApiKey", - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.iterable.com/api/events/track" - } - } -] diff --git a/test/__tests__/data/iterable_router.json b/test/__tests__/data/iterable_router.json deleted file mode 100644 index eee80d1be8..0000000000 --- a/test/__tests__/data/iterable_router.json +++ /dev/null @@ -1,1141 +0,0 @@ -[ - { - "description": "Iterable router rETL tests", - "input": [ - { - "message": { - "receivedAt": "2022-09-27T11:12:59.080Z", - "sentAt": "2022-09-27T11:13:03.777Z", - "messageId": "9ad41366-8060-4c9f-b181-f6bea67d5469", - "originalTimestamp": "2022-09-27T11:13:03.777Z", - "traits": { - "rudderstack": "donaldbaker@ellis.com", - "new_field2": "GB" - }, - "channel": "sources", - "context": { - "sources": { - "version": "feat.SupportForTrack", - "job_run_id": "ccpdlajh6cfi19mr1vs0", - "task_run_id": "ccpdlajh6cfi19mr1vsg", - "batch_id": "4917ad78-280b-40d2-a30d-119434152a0f", - "job_id": "2FLKJDcTdjPHQpq7pUjB34dQ5w6/Syncher", - "task_id": "rows_100" - }, - "mappedToDestination": "true", - "externalId": [ - { - "id": "Tiffany", - "type": "ITERABLE-test-rudderstack", - "identifierType": "itemId" - } - ] - }, - "timestamp": "2022-09-27T11:12:59.079Z", - "type": "identify", - "userId": "Tiffany", - "recordId": "10", - "request_ip": "10.1.86.248" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "hubID": "22066036" - }, - "Enabled": true - } - }, - { - "message": { - "receivedAt": "2022-09-27T11:12:59.080Z", - "sentAt": "2022-09-27T11:13:03.777Z", - "messageId": "9ad41366-8060-4c9f-b181-f6bea67d5469", - "originalTimestamp": "2022-09-27T11:13:03.777Z", - "traits": { - "rudderstack": "abc@ellis.com", - "new_field2": "GB1" - }, - "channel": "sources", - "context": { - "sources": { - "version": "feat.SupportForTrack", - "job_run_id": "ccpdlajh6cfi19mr1vs0", - "task_run_id": "ccpdlajh6cfi19mr1vsg", - "batch_id": "4917ad78-280b-40d2-a30d-119434152a0f", - "job_id": "2FLKJDcTdjPHQpq7pUjB34dQ5w6/Syncher", - "task_id": "rows_100" - }, - "mappedToDestination": "true", - "externalId": [ - { - "id": "ABC", - "type": "ITERABLE-test-rudderstack", - "identifierType": "itemId" - } - ] - }, - "timestamp": "2022-09-27T11:12:59.079Z", - "type": "identify", - "userId": "Tiffany", - "recordId": "10", - "request_ip": "10.1.86.248" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "hubID": "22066036" - }, - "Enabled": true - } - } - ], - "output": [ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/catalogs/test-rudderstack/items", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "documents": { - "Tiffany": { - "rudderstack": "donaldbaker@ellis.com", - "new_field2": "GB" - }, - "ABC": { - "rudderstack": "abc@ellis.com", - "new_field2": "GB1" - } - }, - "replaceUploadedFieldsOnly": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 1 - }, - { - "jobId": 2 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "hubID": "22066036" - }, - "Enabled": true - } - } - ] - }, - { - "description": "Iterable router batch tests", - "input": [ - { - "message": { - "type": "identify", - "event": "Details", - "sentAt": "2020-08-28T16:26:06.466Z", - "traits": { - "city": "Bangalore", - "name": "manashi", - "email": "manashi@website.com", - "country": "India" - }, - "context": { - "traits": { - "city": "Bangalore", - "name": "manashi", - "email": "manashi@website.com", - "country": "India" - }, - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.462Z" - }, - "metadata": { - "jobId": 1, - "userId": "1" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "track", - "event": "Email Opened", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453", - "properties": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "metadata": { - "jobId": 2, - "userId": "1" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "identify", - "event": "Details", - "sentAt": "2020-08-28T16:26:06.466Z", - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test@website.com", - "country": "India" - }, - "context": { - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test@website.com", - "country": "India" - }, - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.462Z" - }, - "metadata": { - "jobId": 3, - "userId": "2" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "track", - "event": "Link Clicked", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453", - "properties": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "metadata": { - "jobId": 4, - "userId": "2" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "track", - "event": "Email Deleted", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453", - "properties": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "metadata": { - "jobId": 5, - "userId": "2" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "track", - "event": "Email Opened", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453", - "properties": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "metadata": { - "jobId": 6, - "userId": "3" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "identify", - "event": "Details", - "sentAt": "2020-08-28T16:26:06.466Z", - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+1@website.com", - "country": "India" - }, - "context": { - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+1@website.com", - "country": "India" - }, - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.462Z" - }, - "metadata": { - "jobId": 7, - "userId": "3" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "track", - "event": "Email Sent", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453", - "properties": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "metadata": { - "jobId": 8, - "userId": "4" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "identify", - "event": "Details", - "sentAt": "2020-08-28T16:26:06.466Z", - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+2@website.com", - "country": "India" - }, - "context": { - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+2@website.com", - "country": "India" - }, - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.462Z" - }, - "metadata": { - "jobId": 9, - "userId": "4" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "identify", - "event": "Details", - "sentAt": "2020-08-28T16:26:06.466Z", - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+3@website.com", - "country": "India" - }, - "context": { - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+3@website.com", - "country": "India" - }, - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.462Z" - }, - "metadata": { - "jobId": 10, - "userId": "5" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "track", - "event": "Email Received", - "sentAt": "2020-08-28T16:26:16.473Z", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453", - "properties": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.468Z" - }, - "metadata": { - "jobId": 11, - "userId": "5" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "identify", - "event": "Details", - "sentAt": "2020-08-28T16:26:06.466Z", - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+7@website.com", - "country": "India" - }, - "context": { - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+7@website.com", - "country": "India" - }, - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.462Z" - }, - "metadata": { - "jobId": 12, - "userId": "5" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "identify", - "event": "Details", - "sentAt": "2020-08-28T16:26:06.466Z", - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+4@website.com", - "country": "India" - }, - "context": { - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+4@website.com", - "country": "India" - }, - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.462Z" - }, - "metadata": { - "jobId": 13, - "userId": "6" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "identify", - "event": "Details", - "sentAt": "2020-08-28T16:26:06.466Z", - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+5@website.com", - "country": "India" - }, - "context": { - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+5@website.com", - "country": "India" - }, - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.462Z" - }, - "metadata": { - "jobId": 14, - "userId": "6" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "message": { - "type": "identify", - "event": "Details", - "sentAt": "2020-08-28T16:26:06.466Z", - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+6@website.com", - "country": "India" - }, - "context": { - "traits": { - "city": "Bangalore", - "name": "rudder", - "email": "test+6@website.com", - "country": "India" - }, - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "_metadata": { - "nodeVersion": "10.22.0" - }, - "messageId": "node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd", - "anonymousId": "abcdeeeeeeeexxxx102", - "originalTimestamp": "2020-08-28T16:26:06.462Z" - }, - "metadata": { - "jobId": 15, - "userId": "6" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - } - ], - "output": [ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/bulkUpdate", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "email": "manashi@website.com", - "dataFields": { - "city": "Bangalore", - "name": "manashi", - "email": "manashi@website.com", - "country": "India" - }, - "userId": "abcdeeeeeeeexxxx102", - "preferUserId": true, - "mergeNestedObjects": true - }, - { - "email": "test@website.com", - "dataFields": { - "city": "Bangalore", - "name": "rudder", - "email": "test@website.com", - "country": "India" - }, - "userId": "abcdeeeeeeeexxxx102", - "preferUserId": true, - "mergeNestedObjects": true - }, - { - "email": "test+3@website.com", - "dataFields": { - "city": "Bangalore", - "name": "rudder", - "email": "test+3@website.com", - "country": "India" - }, - "userId": "abcdeeeeeeeexxxx102", - "preferUserId": true, - "mergeNestedObjects": true - }, - { - "email": "test+4@website.com", - "dataFields": { - "city": "Bangalore", - "name": "rudder", - "email": "test+4@website.com", - "country": "India" - }, - "userId": "abcdeeeeeeeexxxx102", - "preferUserId": true, - "mergeNestedObjects": true - }, - { - "email": "test+5@website.com", - "dataFields": { - "city": "Bangalore", - "name": "rudder", - "email": "test+5@website.com", - "country": "India" - }, - "userId": "abcdeeeeeeeexxxx102", - "preferUserId": true, - "mergeNestedObjects": true - }, - { - "email": "test+6@website.com", - "dataFields": { - "city": "Bangalore", - "name": "rudder", - "email": "test+6@website.com", - "country": "India" - }, - "userId": "abcdeeeeeeeexxxx102", - "preferUserId": true, - "mergeNestedObjects": true - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 1, - "userId": "1" - }, - { - "jobId": 3, - "userId": "2" - }, - { - "jobId": 10, - "userId": "5" - }, - { - "jobId": 13, - "userId": "6" - }, - { - "jobId": 14, - "userId": "6" - }, - { - "jobId": 15, - "userId": "6" - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/events/trackBulk", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "events": [ - { - "dataFields": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "userId": "abcdeeeeeeeexxxx102", - "eventName": "Email Opened", - "createdAt": 1598631966468 - }, - { - "dataFields": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "userId": "abcdeeeeeeeexxxx102", - "eventName": "Link Clicked", - "createdAt": 1598631966468 - }, - { - "dataFields": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "userId": "abcdeeeeeeeexxxx102", - "eventName": "Email Deleted", - "createdAt": 1598631966468 - }, - { - "dataFields": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "userId": "abcdeeeeeeeexxxx102", - "eventName": "Email Opened", - "createdAt": 1598631966468 - }, - { - "dataFields": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "userId": "abcdeeeeeeeexxxx102", - "eventName": "Email Sent", - "createdAt": 1598631966468 - }, - { - "dataFields": { - "subject": "resume validate", - "sendtime": "2020-01-01", - "sendlocation": "akashdeep@gmail.com" - }, - "userId": "abcdeeeeeeeexxxx102", - "eventName": "Email Received", - "createdAt": 1598631966468 - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 2, - "userId": "1" - }, - { - "jobId": 4, - "userId": "2" - }, - { - "jobId": 5, - "userId": "2" - }, - { - "jobId": 6, - "userId": "3" - }, - { - "jobId": 8, - "userId": "4" - }, - { - "jobId": 11, - "userId": "5" - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.iterable.com/api/users/bulkUpdate", - "headers": { - "Content-Type": "application/json", - "api_key": "dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "email": "test+1@website.com", - "dataFields": { - "city": "Bangalore", - "name": "rudder", - "email": "test+1@website.com", - "country": "India" - }, - "userId": "abcdeeeeeeeexxxx102", - "preferUserId": true, - "mergeNestedObjects": true - }, - { - "email": "test+2@website.com", - "dataFields": { - "city": "Bangalore", - "name": "rudder", - "email": "test+2@website.com", - "country": "India" - }, - "userId": "abcdeeeeeeeexxxx102", - "preferUserId": true, - "mergeNestedObjects": true - }, - { - "email": "test+7@website.com", - "dataFields": { - "city": "Bangalore", - "name": "rudder", - "email": "test+7@website.com", - "country": "India" - }, - "userId": "abcdeeeeeeeexxxx102", - "preferUserId": true, - "mergeNestedObjects": true - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 7, - "userId": "3" - }, - { - "jobId": 9, - "userId": "4" - }, - { - "jobId": 12, - "userId": "5" - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "mapToSingleEvent": false, - "trackAllPages": true, - "trackCategorisedPages": false, - "trackNamedPages": false - }, - "Enabled": true - } - } - ] - }, - { - "description": "Iterable no event test", - "input": [], - "output": [ - { - "batched": false, - "error": "Invalid event array", - "metadata": null, - "statusCode": 400 - } - ] - } -] diff --git a/test/__tests__/data/june.json b/test/__tests__/data/june.json deleted file mode 100644 index 8b995fbff5..0000000000 --- a/test/__tests__/data/june.json +++ /dev/null @@ -1,572 +0,0 @@ -[ - { - "description": "No Message type", - "input": { - "message": { - "userId": "test@123", - "context": { - "traits": { - "email": "test@rudderstack.com", - "username": "Samle_putUserName", - "firstName": "uday" - } - }, - "integrations": { - "All": true, - "user.com": { - "lookup": "email" - } - } - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "apiSecret": "dummyApiSecret" - } - } - }, - "output": { - "error": "Event type is required" - } - }, - { - "description": "Unsupported Type", - "input": { - "message": { - "userId": "test@123", - "type": "trackUser", - "context": { - "traits": { - "email": "test@rudderstack.com", - "firstName": "test", - "lastName": "rudderstack", - "age": 15, - "gender": "male", - "status": "user", - "city": "Kalkata", - "country": "india", - "tags": ["productuser"], - "phone": "9225467887" - } - } - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "apiSecret": "dummyApiSecret" - } - } - }, - "output": { - "error": "Event type \"trackuser\" is not supported" - } - }, - { - "description": "Identify call without userId", - "input": { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "message": { - "type": "identify", - "context": { - "traits": { - "name": "John Doe", - "email": "johndoe@gmail.com", - "age": 25 - } - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - "output": { - "error": "Missing required value from \"userIdOnly\"" - } - }, - { - "description": "Identify call with userId, traits", - "input": { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "message": { - "type": "identify", - "sentAt": "2022-01-20T13:39:21.033Z", - "channel": "web", - "userId": "5136633649", - "context": { - "traits": { - "name": "John Doe", - "email": "johndoe@gmail.com", - "age": 25 - } - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.june.so/api/identify", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "userId": "5136633649", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "traits": { - "name": "John Doe", - "email": "johndoe@gmail.com", - "age": 25 - }, - "timestamp": "2022-01-20T13:39:21.032Z" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track call without userId", - "input": { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "message": { - "type": "track", - "event": "Product Reviewed", - "properties": { - "review_id": "12345", - "product_id": "123", - "rating": 3.0, - "review_body": "Average product, expected much more.", - "groupId": "91Yb32830" - }, - "context": {}, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - "output": { - "error": "Missing required value from \"userIdOnly\"" - } - }, - { - "description": "Track call without groupId", - "input": { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "message": { - "type": "track", - "event": "Product Reviewed", - "userId": "5136633649", - "properties": { - "review_id": "12345", - "product_id": "123", - "rating": 3.0, - "review_body": "Average product, expected much more." - }, - "context": {}, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.june.so/api/track", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "userId": "5136633649", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "event": "Product Reviewed", - "properties": { - "review_id": "12345", - "product_id": "123", - "rating": 3, - "review_body": "Average product, expected much more." - }, - "timestamp": "2022-01-20T13:39:21.032Z" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track call without properties", - "input": { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "message": { - "type": "track", - "event": "Product Reviewed", - "userId": "5136633649", - "context": {}, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.june.so/api/track", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "userId": "5136633649", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "event": "Product Reviewed", - "timestamp": "2022-01-20T13:39:21.032Z" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track call with userId, groupId and properties", - "input": { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "message": { - "type": "track", - "event": "Product Reviewed", - "userId": "5136633649", - "properties": { - "review_id": "12345", - "product_id": "123", - "rating": 3.0, - "review_body": "Average product, expected much more.", - "groupId": "91Yb32830" - }, - "context": {}, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.june.so/api/track", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "userId": "5136633649", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "event": "Product Reviewed", - "properties": { - "review_id": "12345", - "product_id": "123", - "rating": 3, - "review_body": "Average product, expected much more." - }, - "timestamp": "2022-01-20T13:39:21.032Z", - "context": { - "groupId": "91Yb32830" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track call with userId, groupId (from externalId) and properties", - "input": { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "message": { - "type": "track", - "event": "Product Reviewed", - "userId": "5136633649", - "properties": { - "review_id": "12345", - "product_id": "123", - "rating": 3.0, - "review_body": "Average product, expected much more.", - "groupId": "test-12345" - }, - "context": { - "externalId": [ - { - "type": "juneGroupId", - "id": "91Yb32830" - } - ] - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.june.so/api/track", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "userId": "5136633649", - "event": "Product Reviewed", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "properties": { - "review_id": "12345", - "product_id": "123", - "rating": 3, - "review_body": "Average product, expected much more." - }, - "timestamp": "2022-01-20T13:39:21.032Z", - "context": { - "groupId": "91Yb32830" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Group call with userId, groupId and traits", - "input": { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "message": { - "type": "group", - "userId": "5136633649", - "traits": { - "name": "Initech", - "employees": 500, - "headquarters": "Redwood City, California, United States", - "ceo": "John Doe", - "revenue": 70000000, - "currency": "USD", - "groupId": "9230AUbd2138h" - }, - "context": {}, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.june.so/api/group", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "userId": "5136633649", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "groupId": "9230AUbd2138h", - "traits": { - "name": "Initech", - "employees": 500, - "headquarters": "Redwood City, California, United States", - "ceo": "John Doe", - "revenue": 70000000, - "currency": "USD" - }, - "timestamp": "2022-01-20T13:39:21.032Z" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Page call with properties", - "input": { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "message": { - "type": "page", - "userId": "5136633649", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "rudderTest@gmail.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/destinations/amplitude", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/amplitude", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "properties": { - "path": "/destinations/amplitude", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/amplitude", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2023-08-06T13:39:21.032Z" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.june.so/api/page", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "userId": "5136633649", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "properties": { - "path": "/destinations/amplitude", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/amplitude", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "timestamp": "2023-08-06T13:39:21.032Z" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } -] diff --git a/test/__tests__/data/june_router.json b/test/__tests__/data/june_router.json deleted file mode 100644 index cef4674e54..0000000000 --- a/test/__tests__/data/june_router.json +++ /dev/null @@ -1,123 +0,0 @@ -[ - { - "input": [ - { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "metadata": { - "jobId": 1 - }, - "message": { - "type": "identify", - "sentAt": "2022-01-20T13:39:21.033Z", - "channel": "web", - "userId": "5136633649", - "context": { - "traits": { - "name": "John Doe", - "email": "johndoe@gmail.com", - "age": 25 - } - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "metadata": { - "jobId": 2 - }, - "message": { - "type": "track", - "event": "Product Reviewed", - "properties": { - "review_id": "12345", - "product_id": "123", - "rating": 3.0, - "review_body": "Average product, expected much more.", - "groupId": "91Yb32830" - }, - "context": {}, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - } - ], - "output": [ - { - "batched": false, - "batchedRequest": { - "body": { - "FORM": {}, - "JSON": { - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "timestamp": "2022-01-20T13:39:21.032Z", - "traits": { - "age": 25, - "email": "johndoe@gmail.com", - "name": "John Doe" - }, - "userId": "5136633649" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "endpoint": "https://api.june.so/api/identify", - "files": {}, - "headers": { - "Authorization": "Basic dummyApiKey", - "Content-Type": "application/json" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "metadata": [ - { - "jobId": 1 - } - ], - "statusCode": 200 - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - }, - "ID": "june123" - }, - "batched": false, - "error": "Missing required value from \"userIdOnly\"", - "metadata": [ - { - "jobId": 2 - } - ], - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - }, - "statusCode": 400 - } - ] - } -] diff --git a/test/__tests__/data/kafka.json b/test/__tests__/data/kafka.json deleted file mode 100644 index 720ae1fec2..0000000000 --- a/test/__tests__/data/kafka.json +++ /dev/null @@ -1,571 +0,0 @@ -[ - { - "description": "Test case with null destination config", - "input": { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": null, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": true - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - } - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": true - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId" - } - }, - { - "description": "Test case without userId", - "input": { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": null, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": true - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track" - } - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": true - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track" - }, - "userId": "anonymousId" - } - }, - { - "description": "Test case with null dest config and avro schema", - "input": { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": null, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": { - "schemaId": "schema001" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - } - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": { - "schemaId": "schema001" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId", - "schemaId": "schema001" - } - }, - { - "description": "Test case with null dest config and integrations topic", - "input": { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": null, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": { - "topic": "specific-topic" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - } - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": { - "topic": "specific-topic" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId", - "topic": "specific-topic" - } - }, - { - "description": "Test case with dest config with default topic", - "input": { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": { - "topic": "default-topic" - }, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - } - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId", - "topic": "default-topic" - } - }, - { - "description": "Test case with dest config with event type topic", - "input": { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": { - "topic": "default-topic", - "enableMultiTopic": true, - "eventTypeToTopicMap": [ - { - "from": "identify", - "to": "identify-topic" - }, - { - "from": "page", - "to": "page-topic" - }, - { - "from": "screen", - "to": "screen-topic" - }, - { - "from": "group", - "to": "group-topic" - }, - { - "from": "alias", - "to": "alias-topic" - } - ], - "eventToTopicMap": [ - { - "from": "Product Added", - "to": "product-added" - } - ] - }, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "identify", - "userId": "userId" - } - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "identify", - "userId": "userId" - }, - "userId": "userId", - "topic": "identify-topic" - } - }, - { - "description": "Test case with dest config with event name topic", - "input": { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": { - "topic": "default-topic", - "enableMultiTopic": true, - "eventTypeToTopicMap": [ - { - "from": "identify", - "to": "identify-topic" - }, - { - "from": "page", - "to": "page-topic" - }, - { - "from": "screen", - "to": "screen-topic" - }, - { - "from": "group", - "to": "group-topic" - }, - { - "from": "alias", - "to": "alias-topic" - } - ], - "eventToTopicMap": [ - { - "from": "Product Added", - "to": "product-added" - } - ] - }, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "Product Added", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - } - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "Product Added", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId", - "topic": "product-added" - } - }, - { - "description": "Test case with dest config with event name topic no match", - "input": { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": { - "topic": "default-topic", - "enableMultiTopic": true, - "eventTypeToTopicMap": [ - { - "from": "identify", - "to": "identify-topic" - }, - { - "from": "page", - "to": "page-topic" - }, - { - "from": "screen", - "to": "screen-topic" - }, - { - "from": "group", - "to": "group-topic" - }, - { - "from": "alias", - "to": "alias-topic" - } - ], - "eventToTopicMap": [ - { - "from": "Product Added", - "to": "product-added" - } - ] - }, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "Product Added No match", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - } - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "Product Added No match", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId", - "topic": "default-topic" - } - } -] diff --git a/test/__tests__/data/kafka_batch_input.json b/test/__tests__/data/kafka_batch_input.json index fa4144406a..e69de29bb2 100644 --- a/test/__tests__/data/kafka_batch_input.json +++ b/test/__tests__/data/kafka_batch_input.json @@ -1,987 +0,0 @@ -[ - [ - { - "message": { - "userId": "user1", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user1", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "messageId": "6f27a4da-cefb-4800-acf1-f467e8aab91c", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "new-topic" - }, - "metadata": { - "rudderId": "user1<<>>new-topic", - "jobId": 1 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user2", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user2", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "messageId": "fe182d9e-e86e-4db5-ae12-f4b399555fcc", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "new-topic" - }, - "metadata": { - "rudderId": "user2<<>>new-topic", - "jobId": 2 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user3", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user3", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "messageId": "2803e656-77ff-47ca-9606-90663f9aed38", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "new-topic" - }, - "metadata": { - "rudderId": "user3<<>>new-topic", - "jobId": 3 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user4", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user4", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "new-topic" - }, - "metadata": { - "rudderId": "user4<<>>new-topic", - "jobId": 4 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user5", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user5", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "schemaId": "schema001" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "schemaId": "schema001", - "topic": "new-topic" - }, - "metadata": { - "rudderId": "user5<<>>new-topic", - "jobId": 5 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user6", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user6", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-1" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "topic-1" - }, - "metadata": { - "rudderId": "user6<<>>topic-1", - "jobId": 6 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user7", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user7", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-1" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "topic-1" - }, - "metadata": { - "rudderId": "user7<<>>topic-1", - "jobId": 7 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user8", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user8", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-2" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "topic-2" - }, - "metadata": { - "rudderId": "user8<<>>topic-2", - "jobId": 8 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user8", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user8", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-2" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "topic-2" - }, - "metadata": { - "rudderId": "user8<<>>topic-2", - "jobId": 9 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user8", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user8", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-3" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "topic-3" - }, - "metadata": { - "rudderId": "user8<<>>topic-3", - "jobId": 10 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ], - { - "message": { - "userId": "user1", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user1", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "messageId": "6f27a4da-cefb-4800-acf1-f467e8aab91c", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "new-topic" - }, - "metadata": { - "rudderId": "user1<<>>new-topic", - "jobId": 1 - }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } -] diff --git a/test/__tests__/data/kafka_batch_output.json b/test/__tests__/data/kafka_batch_output.json index a0e2d935e4..e69de29bb2 100644 --- a/test/__tests__/data/kafka_batch_output.json +++ b/test/__tests__/data/kafka_batch_output.json @@ -1,582 +0,0 @@ -[ - [ - { - "batchedRequest": [ - { - "userId": "user1", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user1", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "messageId": "6f27a4da-cefb-4800-acf1-f467e8aab91c", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "new-topic" - }, - { - "userId": "user2", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user2", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "messageId": "fe182d9e-e86e-4db5-ae12-f4b399555fcc", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "new-topic" - }, - { - "userId": "user3", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user3", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "messageId": "2803e656-77ff-47ca-9606-90663f9aed38", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "new-topic" - }, - { - "userId": "user4", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user4", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "new-topic" - }, - { - "userId": "user5", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user5", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "schemaId": "schema001" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "schemaId": "schema001", - "topic": "new-topic" - } - ], - "metadata": [ - { "rudderId": "user1<<>>new-topic", "jobId": 1 }, - { - "rudderId": "user2<<>>new-topic", - "jobId": 2 - }, - { - "rudderId": "user3<<>>new-topic", - "jobId": 3 - }, - { - "rudderId": "user4<<>>new-topic", - "jobId": 4 - }, - { - "rudderId": "user5<<>>new-topic", - "jobId": 5 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "batchedRequest": [ - { - "userId": "user6", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user6", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-1" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "topic-1" - }, - { - "userId": "user7", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user7", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-1" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "topic-1" - } - ], - "metadata": [ - { - "rudderId": "user6<<>>topic-1", - "jobId": 6 - }, - { - "rudderId": "user7<<>>topic-1", - "jobId": 7 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "batchedRequest": [ - { - "userId": "user8", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user8", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-2" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "topic-2" - }, - { - "userId": "user8", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user8", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-2" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "topic-2" - } - ], - "metadata": [ - { - "rudderId": "user8<<>>topic-2", - "jobId": 8 - }, - { - "rudderId": "user8<<>>topic-2", - "jobId": 9 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "batchedRequest": [ - { - "userId": "user8", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user8", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" - }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-3" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", - "timestamp": "2020-02-02T00:23:09.544Z", - "receivedAt": "2021-07-08T02:45:06.851+05:30", - "request_ip": "[::1]", - "anonymousId": "anon-id-new", - "originalTimestamp": "2021-07-08T02:45:11.329+05:30" - }, - "topic": "topic-3" - } - ], - "metadata": [ - { - "rudderId": "user8<<>>topic-3", - "jobId": 10 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", - "Config": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": null - }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ], - [ - { - "batched": false, - "error": "Invalid event array", - "metadata": null, - "statusCode": 400 - } - ] -] diff --git a/test/__tests__/data/kafka_with_metadata.json b/test/__tests__/data/kafka_with_metadata.json deleted file mode 100644 index 04564102b8..0000000000 --- a/test/__tests__/data/kafka_with_metadata.json +++ /dev/null @@ -1,75 +0,0 @@ -[ - { - "input": { - "outputEvent": { - "message": { - "anonymousId": "b255896a-94cd-4bf9-98d5-40389e4b70b8", - "channel": "web", - "event": "Purchase", - "integrations": { - "All": true, - "KAFKA": { - "topic": "specific-topic" - } - }, - "messageId": "522224fe-9c65-4036-8f1f-980e39c6b342", - "originalTimestamp": "2020-05-14T06:54:08.745Z", - "properties": { - "currency": "USD", - "revenue": 100 - }, - "receivedAt": "2020-05-14T12:24:08.781+05:30", - "request_ip": "[::1]:53194", - "sentAt": "2020-05-14T06:54:08.746Z", - "timestamp": "2020-05-14T12:24:08.780+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345", - "topic": "specific-topic" - }, - "inputEvent": { - "message": { - "val": "add boilerplate values if needed" - }, - "destination": { - "ID": "1bqCbmPnO0T7dTE159ho8wiyPlD", - "Name": "Kafka", - "DestinationDefinition": {}, - "Config": { - "caCertificate": "", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "default-topic", - "useSASL": true, - "username": "username" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - "metadata": { - "anonymousId": "b255896a-94cd-4bf9-98d5-40389e4b70b8", - "destinationId": "1bqCbmPnO0T7dTE159ho8wiyPlD", - "destinationType": "KAFKA", - "jobId": 15, - "messageId": "522224fe-9c65-4036-8f1f-980e39c6b342", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC", - "rudderId": "b255896a-94cd-4bf9-98d5-40389e4b70b8<<>>user-12345" - } - }, - "output": { - "anonymousId": "b255896a-94cd-4bf9-98d5-40389e4b70b8", - "destinationId": "1bqCbmPnO0T7dTE159ho8wiyPlD", - "destinationType": "KAFKA", - "jobId": 15, - "messageId": "522224fe-9c65-4036-8f1f-980e39c6b342", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC", - "rudderId": "b255896a-94cd-4bf9-98d5-40389e4b70b8<<>>user-12345<<>>specific-topic" - } - } -] diff --git a/test/__tests__/data/keen_input.json b/test/__tests__/data/keen_input.json deleted file mode 100644 index 08467936b7..0000000000 --- a/test/__tests__/data/keen_input.json +++ /dev/null @@ -1,235 +0,0 @@ -[ - { - "message": { - "channel": "web", - "type": "page", - "context": null, - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "traits": { - "email": "test@gmail.com", - "anonymousId": "anon-id" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "my-anon-id", - "email": "test@gmail.com", - "address": { - "city": "kolkata-1", - "country": "US", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "traits": { - "email": "test@gmail.com", - "anonymousId": "anon-id" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "test track event", - "request_ip": "1.1.1.1", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "traits": { - "email": "test@gmail.com", - "anonymousId": "anon-id" - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - } -] diff --git a/test/__tests__/data/keen_output.json b/test/__tests__/data/keen_output.json deleted file mode 100644 index 4b48b273f0..0000000000 --- a/test/__tests__/data/keen_output.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "userId": "12345", - "keen": { - "addons": [] - }, - "anonymousId": "00000000000000000000000000", - "user": { - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com" - }, - "userId": "12345" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page", - "userId": "12345", - "headers": { - "Content-Type": "application/json", - "Authorization": "xyz" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "message": "Event type identify is not supported", - "statusCode": 400 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "search": "abc", - "request_ip": "0.0.0.0", - "title": "Test Page", - "url": "www.rudderlabs.com", - "referrer": "Rudder", - "userId": "12345", - "keen": { - "addons": [ - { - "input": { - "ip": "request_ip" - }, - "name": "keen:ip_to_geo", - "output": "ip_geo_info" - }, - { - "input": { - "ua_string": "user_agent" - }, - "name": "keen:ua_parser", - "output": "parsed_user_agent" - } - ] - }, - "anonymousId": "00000000000000000000000000", - "user": { - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com" - }, - "userId": "12345" - }, - "path": "/test", - "user_agent": "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" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page", - "userId": "12345", - "headers": { - "Content-Type": "application/json", - "Authorization": "xyz" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "request_ip": "1.1.1.1", - "user_time_spent": 50000, - "userId": "12345", - "keen": { - "addons": [ - { - "input": { - "ip": "request_ip" - }, - "name": "keen:ip_to_geo", - "output": "ip_geo_info" - }, - { - "input": { - "ua_string": "user_agent" - }, - "name": "keen:ua_parser", - "output": "parsed_user_agent" - } - ] - }, - "anonymousId": "00000000000000000000000000", - "user": { - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com" - }, - "userId": "12345" - }, - "user_agent": "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" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.keen.io/3.0/projects/abcde/events/test track event", - "userId": "12345", - "headers": { - "Content-Type": "application/json", - "Authorization": "xyz" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - } -] diff --git a/test/__tests__/data/keen_router_input.json b/test/__tests__/data/keen_router_input.json deleted file mode 100644 index 5c85bbc017..0000000000 --- a/test/__tests__/data/keen_router_input.json +++ /dev/null @@ -1,132 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "test track event", - "request_ip": "1.1.1.1", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "traits": { - "email": "test@gmail.com", - "anonymousId": "anon-id" - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "traits": { - "email": "test@gmail.com", - "anonymousId": "anon-id" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - } -] diff --git a/test/__tests__/data/keen_router_output.json b/test/__tests__/data/keen_router_output.json deleted file mode 100644 index d54809354b..0000000000 --- a/test/__tests__/data/keen_router_output.json +++ /dev/null @@ -1,148 +0,0 @@ -[ - { - "batchedRequest": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "request_ip": "1.1.1.1", - "user_time_spent": 50000, - "userId": "12345", - "keen": { - "addons": [ - { - "input": { - "ip": "request_ip" - }, - "name": "keen:ip_to_geo", - "output": "ip_geo_info" - }, - { - "input": { - "ua_string": "user_agent" - }, - "name": "keen:ua_parser", - "output": "parsed_user_agent" - } - ] - }, - "anonymousId": "00000000000000000000000000", - "user": { - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com" - }, - "userId": "12345" - }, - "user_agent": "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" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.keen.io/3.0/projects/abcde/events/test track event", - "userId": "12345", - "headers": { - "Content-Type": "application/json", - "Authorization": "xyz" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - }, - { - "batchedRequest": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "search": "abc", - "request_ip": "0.0.0.0", - "title": "Test Page", - "url": "www.rudderlabs.com", - "referrer": "Rudder", - "userId": "12345", - "keen": { - "addons": [ - { - "input": { - "ip": "request_ip" - }, - "name": "keen:ip_to_geo", - "output": "ip_geo_info" - }, - { - "input": { - "ua_string": "user_agent" - }, - "name": "keen:ua_parser", - "output": "parsed_user_agent" - } - ] - }, - "anonymousId": "00000000000000000000000000", - "user": { - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com" - }, - "userId": "12345" - }, - "path": "/test", - "user_agent": "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" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page", - "userId": "12345", - "headers": { - "Content-Type": "application/json", - "Authorization": "xyz" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - } -] diff --git a/test/__tests__/data/kissmetrics_input.json b/test/__tests__/data/kissmetrics_input.json deleted file mode 100644 index 4a45f994e7..0000000000 --- a/test/__tests__/data/kissmetrics_input.json +++ /dev/null @@ -1,464 +0,0 @@ -[ - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "originalTimestamp": "2020-01-24T06:29:02.358Z", - "properties": { - "path": "/tests/html/index2.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index2.html" - }, - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.359Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "page", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 1, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "traits": { - "city": "Disney-1", - "country": "India", - "email": "test@rudderstack.com", - "firstname": "Test" - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53709", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 2, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53709", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 2, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "event": "test revenue kissmetrics", - "integrations": { - "All": true - }, - "messageId": "a6a0ad5a-bd26-4f19-8f75-38484e580fc7", - "originalTimestamp": "2020-01-24T06:29:02.364Z", - "properties": { - "currency": "USD", - "revenue": 50 - }, - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53710", - "sentAt": "2020-01-24T06:29:02.364Z", - "timestamp": "2020-01-24T11:59:02.403+05:30", - "type": "track", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 3, - "messageId": "a6a0ad5a-bd26-4f19-8f75-38484e580fc7", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "originalTimestamp": "2020-01-24T06:29:02.366Z", - "previousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53711", - "sentAt": "2020-01-24T06:29:02.366Z", - "timestamp": "2020-01-24T11:59:02.403+05:30", - "type": "alias", - "userId": "1234abc" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 4, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "properties": { - "affiliation": "Google Store", - "checkout_id": "fksdjfsdjfisjf9sdfjsd9f", - "coupon": "hasbros", - "currency": "USD", - "discount": 2.5, - "order_id": "50314b8e9bcf000000000000", - "products": [ - { - "category": "Games", - "image_url": "https:///www.example.com/product/path.jpg", - "name": "Monopoly: 3rd Edition", - "price": 19, - "product_id": "507f1f77bcf86cd799439011", - "quantity": 1, - "sku": "45790-32", - "url": "https://www.example.com/product/path" - }, - { - "category": "Games", - "name": "Uno Card Game", - "price": 3, - "product_id": "505bd76785ebb509fc183733", - "quantity": 2, - "sku": "46493-32" - } - ], - "revenue": 25, - "shipping": 3, - "subtotal": 22.5, - "tax": 2, - "total": 27.5 - }, - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53712", - "sentAt": "2020-01-24T06:29:02.368Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "track", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 5, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } -] diff --git a/test/__tests__/data/kissmetrics_output.json b/test/__tests__/data/kissmetrics_output.json deleted file mode 100644 index aa35778490..0000000000 --- a/test/__tests__/data/kissmetrics_output.json +++ /dev/null @@ -1,218 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/e", - "headers": {}, - "params": { - "Page-path": "/tests/html/index2.html", - "Page-referrer": "", - "Page-search": "", - "Page-title": "", - "Page-url": "http://localhost/tests/html/index2.html", - "_k": "dummyApiKey", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_n": "Loaded a Page", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/s", - "headers": {}, - "params": { - "city": "Disney-1", - "country": "India", - "email": "test@rudderstack.com", - "firstname": "Test", - "_k": "dummyApiKey", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/s", - "headers": {}, - "params": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey", - "_k": "dummyApiKey", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/e", - "headers": {}, - "params": { - "test revenue kissmetrics-currency": "USD", - "test revenue kissmetrics - revenue": 50, - "Billing Amount": 50, - "_k": "dummyApiKey", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_n": "test revenue kissmetrics", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/a", - "headers": {}, - "params": { - "_k": "dummyApiKey", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_n": "1234abc" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "1234abc", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/e", - "headers": {}, - "params": { - "KM Order Completed-affiliation": "Google Store", - "KM Order Completed-checkout_id": "fksdjfsdjfisjf9sdfjsd9f", - "KM Order Completed-coupon": "hasbros", - "KM Order Completed-currency": "USD", - "KM Order Completed-discount": 2.5, - "KM Order Completed-order_id": "50314b8e9bcf000000000000", - "KM Order Completed - revenue": 25, - "Billing Amount": 25, - "KM Order Completed-shipping": 3, - "KM Order Completed-subtotal": 22.5, - "KM Order Completed-tax": 2, - "KM Order Completed-total": 27.5, - "_k": "dummyApiKey", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_n": "KM Order Completed", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/s", - "headers": {}, - "params": { - "KM Order Completed-category": "Games", - "KM Order Completed-image_url": "https:///www.example.com/product/path.jpg", - "KM Order Completed-name": "Monopoly: 3rd Edition", - "KM Order Completed-price": 19, - "KM Order Completed-product_id": "507f1f77bcf86cd799439011", - "KM Order Completed-quantity": 1, - "KM Order Completed-sku": "45790-32", - "KM Order Completed-url": "https://www.example.com/product/path", - "_k": "dummyApiKey", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/s", - "headers": {}, - "params": { - "KM Order Completed-category": "Games", - "KM Order Completed-name": "Uno Card Game", - "KM Order Completed-price": 3, - "KM Order Completed-product_id": "505bd76785ebb509fc183733", - "KM Order Completed-quantity": 2, - "KM Order Completed-sku": "46493-32", - "_k": "dummyApiKey", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - } -] diff --git a/test/__tests__/data/kissmetrics_router_input.json b/test/__tests__/data/kissmetrics_router_input.json deleted file mode 100644 index 2cc3e74867..0000000000 --- a/test/__tests__/data/kissmetrics_router_input.json +++ /dev/null @@ -1,148 +0,0 @@ -[ - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "originalTimestamp": "2020-01-24T06:29:02.358Z", - "properties": { - "path": "/tests/html/index2.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index2.html" - }, - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.359Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "page", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 1, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "traits": { - "city": "Disney-1", - "country": "India", - "email": "test@rudderstack.com", - "firstname": "Test" - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53709", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 2, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } -] diff --git a/test/__tests__/data/kissmetrics_router_output.json b/test/__tests__/data/kissmetrics_router_output.json deleted file mode 100644 index 4e10d57ccb..0000000000 --- a/test/__tests__/data/kissmetrics_router_output.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/e", - "headers": {}, - "params": { - "Page-path": "/tests/html/index2.html", - "Page-referrer": "", - "Page-search": "", - "Page-title": "", - "Page-url": "http://localhost/tests/html/index2.html", - "_k": "dummyApiKey", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_n": "Loaded a Page", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - } - ], - "metadata": [ - { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 1, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/s", - "headers": {}, - "params": { - "city": "Disney-1", - "country": "India", - "email": "test@rudderstack.com", - "firstname": "Test", - "_k": "dummyApiKey", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - } - ], - "metadata": [ - { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 2, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - } - } -] diff --git a/test/__tests__/eloqua-cdk.test.ts b/test/__tests__/eloqua-cdk.test.ts index aeef8f7f29..455e738b26 100644 --- a/test/__tests__/eloqua-cdk.test.ts +++ b/test/__tests__/eloqua-cdk.test.ts @@ -1,8 +1,6 @@ import fs from 'fs'; import path from 'path'; -import { - processCdkV2Workflow -} from '../../src/cdk/v2/handler'; +import { processCdkV2Workflow } from '../../src/cdk/v2/handler'; import tags from '../../src/v0/util/tags'; const integration = 'eloqua'; diff --git a/test/__tests__/facebook.test.js b/test/__tests__/facebook.test.js deleted file mode 100644 index cd82a9058c..0000000000 --- a/test/__tests__/facebook.test.js +++ /dev/null @@ -1,50 +0,0 @@ -const integration = "fb"; -const name = "Facebook"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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); - -inputData.forEach((input, index) => { - test(`${name} Tests: payload - ${index}`, () => { - let output, expected; - try { - output = transformer.process(input); - expected = expectedData[index]; - } catch (error) { - output = error.message; - expected = expectedData[index].message; - } - expect(output).toEqual(expected); - }); -}); - -describe(`${name} Tests`, () => { - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/fb_custom_audience.test.js b/test/__tests__/fb_custom_audience.test.js deleted file mode 100644 index 423e511526..0000000000 --- a/test/__tests__/fb_custom_audience.test.js +++ /dev/null @@ -1,66 +0,0 @@ -const fs = require("fs"); -const path = require("path"); - -const integration = "fb_custom_audience"; -const name = "fb_custom_audience"; -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -// Router Test files -const routerTestDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router.json`) -); -const routerTestData = JSON.parse(routerTestDataFile); - -describe(`${name} Tests`, () => { - describe("Processor", () => { - testData.forEach(async (dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - const output = await transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (error) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - }); - - describe("Router Tests", () => { - routerTestData.forEach(async dataPoint => { - it("Payload", async () => { - const output = await transformer.processRouterDest(dataPoint.input); - expect(output).toEqual(dataPoint.output); - }); - }); - }); -}); - -describe("Router Tests for rETL sources", () => { - it("should send events to dest", async () => { - const input = JSON.parse( - fs.readFileSync( - path.resolve( - __dirname, - `data/${integration}_router_rETL_input.json` - ) - ) - ); - const output = JSON.parse( - fs.readFileSync( - path.resolve( - __dirname, - `data/${integration}_router_rETL_output.json` - ) - ) - ); - const actualOutput = await transformer.processRouterDest(input); - expect(actualOutput).toEqual(output); - }); -}); diff --git a/test/__tests__/firehose.test.js b/test/__tests__/firehose.test.js deleted file mode 100644 index feff4e2f9d..0000000000 --- a/test/__tests__/firehose.test.js +++ /dev/null @@ -1,29 +0,0 @@ -const integration = "firehose"; -const name = "FIREHOSE"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); - -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -inputData.forEach((input, index) => { - it(`${name} Tests: payload: ${index}`, () => { - try { - const output = transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); -}); diff --git a/test/__tests__/googlepubsub.test.js b/test/__tests__/googlepubsub.test.js deleted file mode 100644 index a18f4c3405..0000000000 --- a/test/__tests__/googlepubsub.test.js +++ /dev/null @@ -1,29 +0,0 @@ -const integration = "googlepubsub"; -const name = "GOOGLEPUBSUB"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); - -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -inputData.forEach((input, index) => { - it(`${name} Tests: payload: ${index}`, () => { - try { - const output = transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); -}); diff --git a/test/__tests__/googlesheets.test.js b/test/__tests__/googlesheets.test.js deleted file mode 100644 index 6a39d96073..0000000000 --- a/test/__tests__/googlesheets.test.js +++ /dev/null @@ -1,46 +0,0 @@ -const integration = "googlesheets"; -const name = "Google Sheets"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// Router Test files -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); - -inputData.forEach((input, index) => { - it(`${name} - payload: ${index}`, async () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); -}); - -describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - // console.log(JSON.stringify(routerOutput)); - expect(routerOutput).toEqual(expectedRouterData); - }); -}); diff --git a/test/__tests__/heap-cdk.test.ts b/test/__tests__/heap-cdk.test.ts deleted file mode 100644 index 8ba69cb89c..0000000000 --- a/test/__tests__/heap-cdk.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -import fs from 'fs'; -import path from 'path'; -import { processCdkV2Workflow } from '../../src/cdk/v2/handler'; -import tags from '../../src/v0/util/tags'; - -const integration = 'heap'; -const destName = 'Heap'; - -const inputDataFile = fs.readFileSync(path.resolve(__dirname, `./data/${integration}_input.json`), { - encoding: 'utf8', -}); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_cdk_output.json`), - { encoding: 'utf8' }, -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -describe(`${destName} Tests`, () => { - describe('Processor Tests', () => { - inputData.forEach((input, index) => { - it(`${destName} - payload: ${index}`, async () => { - const expected = expectedData[index]; - try { - const output = await processCdkV2Workflow(integration, input, tags.FEATURES.PROCESSOR); - expect(output).toEqual(expected); - } catch (error: any) { - expect(error.message).toEqual(expected.error); - } - }); - }); - }); -}); diff --git a/test/__tests__/heap.test.js b/test/__tests__/heap.test.js deleted file mode 100644 index d2b226aea3..0000000000 --- a/test/__tests__/heap.test.js +++ /dev/null @@ -1,7 +0,0 @@ -const { - getDestFromTestFile, - executeTransformationTest -} = require("./utilities/test-utils"); - -executeTransformationTest(getDestFromTestFile(__filename), "processor"); -executeTransformationTest(getDestFromTestFile(__filename), "router"); diff --git a/test/__tests__/impact.test.js b/test/__tests__/impact.test.js deleted file mode 100644 index 8a741840de..0000000000 --- a/test/__tests__/impact.test.js +++ /dev/null @@ -1,43 +0,0 @@ -const fs = require("fs"); -const path = require("path"); - -const integration = "impact"; -const name = "IMPACT"; -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -// Router Test files -const routerTestDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router.json`) -); -const routerTestData = JSON.parse(routerTestDataFile); - -describe(`${name} Tests`, () => { - describe("Processor", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, () => { - try { - const output = transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (error) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - }); - - describe("Router Tests", () => { - routerTestData.forEach(dataPoint => { - it("Payload", async () => { - const output = await transformer.processRouterDest(dataPoint.input); - expect(output).toEqual(dataPoint.output); - }); - }); - }); -}); diff --git a/test/__tests__/indicative.test.js b/test/__tests__/indicative.test.js deleted file mode 100644 index cfb0ad462a..0000000000 --- a/test/__tests__/indicative.test.js +++ /dev/null @@ -1,49 +0,0 @@ -const integration = "indicative"; -const name = "Indicative"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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 () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/iterable.test.js b/test/__tests__/iterable.test.js deleted file mode 100644 index df203bbc67..0000000000 --- a/test/__tests__/iterable.test.js +++ /dev/null @@ -1,54 +0,0 @@ -const integration = "iterable"; -const name = "Iterable"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -// Router Test files -const routerTestDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router.json`) -); -const routerTestData = JSON.parse(routerTestDataFile); - -// Mocking IDENTIFY_MAX_BODY_SIZE and IDENTIFY_MAX_BATCH_SIZE variable to test batching -jest.mock(`../../src/${version}/destinations/${integration}/config`, () => { - const originalConfig = jest.requireActual(`../../src/${version}/destinations/${integration}/config`); - return { - ...originalConfig, - IDENTIFY_MAX_BATCH_SIZE: 6, - IDENTIFY_MAX_BODY_SIZE_IN_BYTES: 4000 - }; -}); - -describe(`${name} Tests`, () => { - describe("Processor", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - const output = await transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (error) { - expect(error.message).toEqual(dataPoint.output.message); - } - }); - }); - }); - - describe("Router", () => { - routerTestData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - const output = await transformer.processRouterDest(dataPoint.input); - expect(output).toEqual(dataPoint.output); - }); - }); - }); -}); diff --git a/test/__tests__/june.test.js b/test/__tests__/june.test.js deleted file mode 100644 index c8df25945a..0000000000 --- a/test/__tests__/june.test.js +++ /dev/null @@ -1,46 +0,0 @@ -const integration = "june"; -const name = "JUNE"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test files -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -// Router Test files -const routerTestDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router.json`) -); -const routerTestData = JSON.parse(routerTestDataFile); - - -describe(`${name} Tests`, () => { - describe("Processor", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, () => { - try { - const output = transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (error) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - }); - - describe("Router", () => { - routerTestData.forEach(async dataPoint => { - it("Payload", async () => { - const output = await transformer.processRouterDest(dataPoint.input); - expect(output).toEqual(dataPoint.output); - }); - }); - }); -}); \ No newline at end of file diff --git a/test/__tests__/kafka.test.js b/test/__tests__/kafka.test.js deleted file mode 100644 index c824b9612f..0000000000 --- a/test/__tests__/kafka.test.js +++ /dev/null @@ -1,65 +0,0 @@ -const integration = "kafka"; -const name = "Kafka"; - -const fs = require("fs"); -const path = require("path"); - -const transformer = require(`../../src/v0/destinations/${integration}/transform`); - -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -const batchInputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_batch_input.json`) -); -const batchOutputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_batch_output.json`) -); - -const dataWithMetadata = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_with_metadata.json`) -); - -describe("Tests", () => { - testData.forEach(async (dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - const output = await transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (error) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - - const batchInputData = JSON.parse(batchInputDataFile); - const batchExpectedData = JSON.parse(batchOutputDataFile); - batchInputData.forEach((input, index) => { - test(`Batching Tests ${index}`, () => { - const output = transformer.batch(input); - expect(Array.isArray(output)).toEqual(true); - expect(output.length).toEqual(batchExpectedData[index].length); - output.forEach((input, indexInner) => { - expect(output[indexInner]).toEqual( - batchExpectedData[index][indexInner] - ); - }); - }); - }); - - - test(`${name} Metadata parse test`, done => { - const inputData = JSON.parse(dataWithMetadata); - inputData.forEach(async (data, _) => { - try { - const output = transformer.processMetadata(data.input); - expect(output).toEqual(data.output); - done(); - } catch (error) { - done(error); - } - }); - }); -}); diff --git a/test/__tests__/keen.test.js b/test/__tests__/keen.test.js deleted file mode 100644 index b434829b17..0000000000 --- a/test/__tests__/keen.test.js +++ /dev/null @@ -1,53 +0,0 @@ -const integration = "keen"; -const name = "keen"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); -// const { compareJSON } = require("./util"); - -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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); - -inputData.forEach((input, index) => { - test(`${name} Tests - payload: ${index}`, () => { - let output, expected; - try { - output = transformer.process(input); - expected = expectedData[index]; - } catch (error) { - output = error.message; - expected = expectedData[index].message; - } - - expect(output).toEqual(expected); - }); -}); - -describe(`${name} Tests`, () => { - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/kissmetrics.test.js b/test/__tests__/kissmetrics.test.js deleted file mode 100644 index 64ec469d99..0000000000 --- a/test/__tests__/kissmetrics.test.js +++ /dev/null @@ -1,48 +0,0 @@ -const integration = "kissmetrics"; -const name = "kissmetrics"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); -// const { compareJSON } = require("./util"); - -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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); - -inputData.forEach((input, index) => { - test(`${name} Tests : payload: ${index}`, () => { - const output = transformer.process(input); - const outputLength = output.length; - for (let i = 0; i < outputLength; i++) { - expect(output[i]).toEqual(expectedData[index + i]); - } - }); -}); - -describe(`${name} Tests`, () => { - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/controllerUtility/ctrl-utility.test.ts b/test/controllerUtility/ctrl-utility.test.ts index 8bdfca9bfc..c3a668d7e7 100644 --- a/test/controllerUtility/ctrl-utility.test.ts +++ b/test/controllerUtility/ctrl-utility.test.ts @@ -926,7 +926,7 @@ const timestampEventsCases: timestampTestCases[] = [ traits: { timestamp: '2023-01-22T00:29:12.117+05:30', }, - mappedToDestination: true + mappedToDestination: true, }, sentAt: '2022-12-23T00:29:12.117+05:30', timestamp: '2022-11-22T00:29:10.188+05:30', @@ -1050,7 +1050,7 @@ const timestampEventsCases: timestampTestCases[] = [ originalTimestamp: '2022-12-23T00:29:12.117+05:30', channel: 'sources', context: { - mappedToDestination: true + mappedToDestination: true, }, properties: { timestamp: '2023-01-13T00:29:12.117+05:30', @@ -1112,7 +1112,7 @@ const timestampEventsCases: timestampTestCases[] = [ anonymousId: '2073232', event: 'Test', context: { - mappedToDestination: true + mappedToDestination: true, }, messageId: 'e3a51e9a-6313-4389-ae73-07e487c8d9d0', originalTimestamp: '2022-12-23T00:29:12.117+05:30', @@ -1185,7 +1185,7 @@ const timestampEventsCases: timestampTestCases[] = [ traits: { timestamp: '2023-01-22T00:29:12.117+05:30', }, - mappedToDestination: true + mappedToDestination: true, }, sentAt: '2022-12-23T00:29:12.117+05:30', timestamp: '2022-11-22T00:29:10.188+05:30', @@ -1309,7 +1309,7 @@ const timestampEventsCases: timestampTestCases[] = [ originalTimestamp: '2022-12-23T00:29:12.117+05:30', channel: 'sources', context: { - mappedToDestination: true + mappedToDestination: true, }, properties: { timestamp: '2023-01-13T00:29:12.117+05:30', @@ -1374,7 +1374,7 @@ const timestampEventsCases: timestampTestCases[] = [ originalTimestamp: '2022-12-23T00:29:12.117+05:30', channel: 'sources', context: { - mappedToDestination: true + mappedToDestination: true, }, properties: { timestamp: '2023-01-13T00:29:12.117+05:30', diff --git a/test/integrations/component.test.ts b/test/integrations/component.test.ts index 5e011e4115..26bbb43a0e 100644 --- a/test/integrations/component.test.ts +++ b/test/integrations/component.test.ts @@ -17,12 +17,10 @@ import { getAllTestMockDataFilePaths, addMock, } from './testUtils'; -import tags, { FEATURES } from '../../src/v0/util/tags'; +import tags from '../../src/v0/util/tags'; import { Server } from 'http'; import { appendFileSync } from 'fs'; import { responses } from '../testHelper'; -import utils from '../../src/v0/util'; -import isMatch from 'lodash/isMatch'; // To run single destination test cases // npm run test:ts -- component --destination=adobe_analytics @@ -31,10 +29,9 @@ import isMatch from 'lodash/isMatch'; // npm run test:ts -- component --destination=zendesk --generate=true // npm run test:ts:component:generateNwMocks -- --destination=zendesk const command = new Command(); -command.allowUnknownOption().option('-d, --destination ', 'Enter Destination Name').parse(); -// This option will only work when destination option is also provided command .allowUnknownOption() + .option('-d, --destination ', 'Enter Destination Name') .option('-g, --generate ', 'Enter "true" If you want to generate network file') .parse(); @@ -178,21 +175,23 @@ describe.each(allTestDataFilePaths)('%s Tests', (testDataPath) => { }); // add special mocks for specific destinations const testData: TestCaseData[] = getTestData(testDataPath); - test.each(testData)('$name - $module - $feature -> $description', async (tcData) => { - tcData?.mockFns?.(mock); - - switch (tcData.module) { - case tags.MODULES.DESTINATION: - await destinationTestHandler(tcData); - break; - case tags.MODULES.SOURCE: - await sourceTestHandler(tcData); - break; - default: - console.log('Invalid module'); - // Intentionally fail the test case - expect(true).toEqual(false); - break; - } + describe(`${testData[0].name} ${testData[0].module}`, () => { + test.each(testData)('$feature -> $description', async (tcData) => { + tcData?.mockFns?.(mock); + + switch (tcData.module) { + case tags.MODULES.DESTINATION: + await destinationTestHandler(tcData); + break; + case tags.MODULES.SOURCE: + await sourceTestHandler(tcData); + break; + default: + console.log('Invalid module'); + // Intentionally fail the test case + expect(true).toEqual(false); + break; + } + }); }); }); diff --git a/test/integrations/destinations/fb/processor/data.ts b/test/integrations/destinations/fb/processor/data.ts new file mode 100644 index 0000000000..9b57f3ef78 --- /dev/null +++ b/test/integrations/destinations/fb/processor/data.ts @@ -0,0 +1,2184 @@ +export const data = [ + { + name: 'fb', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: 123, + }, + { + product_id: 345, + }, + { + product_id: 567, + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'If properties.revenue is present, properties.currency is required.', + statTags: { + destType: 'FB', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + currency: 'GBP', + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: 123, + }, + { + product_id: 345, + }, + { + product_id: 567, + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + 'Value of properties.products.sub.product_id is not of valid type. It should be of type string', + statTags: { + destType: 'FB', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: '400', + currency: 'GBP', + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: '123', + }, + { + product_id: '345', + }, + { + product_id: '567', + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Value of properties.revenue is not of valid type. It should be of type number', + statTags: { + destType: 'FB', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + advertisingId: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + type: 'Android', + }, + ip: '1.2.3.4', + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + width: '640', + height: '480', + density: 1.23456, + }, + timezone: 'Europe/Berlin', + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + firstName: 'test', + lastName: 'last', + gender: 1234, + phone: '+91-9831311135', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + currency: 'GBP', + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: '123', + }, + { + product_id: '345', + }, + { + product_id: '567', + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: { + event: 'CUSTOM_APP_EVENTS', + advertiser_id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + 'ud[fn]': '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08', + 'ud[ln]': '3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3', + 'ud[ph]': '588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f', + extinfo: + '["a2","","","","8.1.0","Redmi 6","","","Banglalink",640,480,"1.23",0,0,0,"Europe/Berlin"]', + app_user_id: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"spin_result","_valueToSum":400,"fb_currency":"GBP","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","userId":"c82cbdff-e5be-4009-ac78-cdeea09ab4b1","versionSessionCount":2,"win_amount":0,"fb_content_id":["123","345","567"]}]', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + }, + JSON: {}, + }, + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + files: {}, + headers: { + 'x-forwarded-for': '1.2.3.4', + }, + method: 'POST', + params: {}, + statusCode: 200, + type: 'REST', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + version: '1', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + advertisingId: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + type: 'Android', + }, + ip: '1.2.3.4', + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + width: '640', + height: '480', + density: 1.23456, + }, + timezone: 'Europe/Berlin', + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + firstName: 'test', + lastName: 'last', + gender: 'Male', + phone: '+91-9831311135', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + currency: 'GBP', + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: '123', + }, + { + product_id: '345', + }, + { + product_id: '567', + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: { + event: 'CUSTOM_APP_EVENTS', + advertiser_id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + 'ud[fn]': '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08', + 'ud[ge]': '62c66a7a5dd70c3146618063c344e531e6d4b59e379808443ce962b3abd63c5a', + 'ud[ln]': '3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3', + 'ud[ph]': '588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f', + extinfo: + '["a2","","","","8.1.0","Redmi 6","","","Banglalink",640,480,"1.23",0,0,0,"Europe/Berlin"]', + app_user_id: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"spin_result","_valueToSum":400,"fb_currency":"GBP","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","userId":"c82cbdff-e5be-4009-ac78-cdeea09ab4b1","versionSessionCount":2,"win_amount":0,"fb_content_id":["123","345","567"]}]', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + }, + JSON: {}, + }, + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + files: {}, + headers: { + 'x-forwarded-for': '1.2.3.4', + }, + method: 'POST', + params: {}, + statusCode: 200, + type: 'REST', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + version: '1', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + name: 'Main.1233', + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'screen', + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + headers: {}, + params: {}, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: { + extinfo: + '["a2","","","","8.1.0","Redmi 6","","","Banglalink",0,100,"50.00",0,0,0,""]', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"Viewed Screen","fb_description":"Main.1233"}]', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + event: 'CUSTOM_APP_EVENTS', + }, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + name: 'Main', + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'screen', + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + headers: {}, + params: {}, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: { + extinfo: + '["a2","","","","8.1.0","Redmi 6","","","Banglalink",0,100,"50.00",0,0,0,""]', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"Viewed Main Screen","fb_description":"Main"}]', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + event: 'CUSTOM_APP_EVENTS', + }, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'New.Event', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + name: 'Main', + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + 'Event name New.Event is not a valid FB APP event name.It must match the regex ^[0-9a-zA-Z_][0-9a-zA-Z _-]{0,39}$.', + statTags: { + destType: 'FB', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'iOS', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'iOS', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + name: 'Viewed Main Screen1 by expicit call Screen', + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'screen', + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + headers: {}, + params: {}, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: { + extinfo: + '["i2","","","","8.1.0","Redmi 6","","","Banglalink",0,100,"50.00",0,0,0,""]', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"Viewed Screen","fb_description":"Viewed Main Screen1 by expicit call Screen"}]', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + event: 'CUSTOM_APP_EVENTS', + }, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'Android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + name: 'Viewed Main Screen1 by expicit call Screen', + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'screen', + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + headers: {}, + params: {}, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: { + extinfo: + '["a2","","","","8.1.0","Redmi 6","","","Banglalink",0,100,"50.00",0,0,0,""]', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"Viewed Screen","fb_description":"Viewed Main Screen1 by expicit call Screen"}]', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + event: 'CUSTOM_APP_EVENTS', + }, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'Android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + name: 'Viewed Main Screen1 by expicit call Screen', + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'screen', + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + headers: {}, + params: {}, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: { + extinfo: + '["a2","","","","8.1.0","Redmi 6","","","Banglalink",0,100,"50.00",0,0,0,""]', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"Viewed Screen","fb_description":"Viewed Main Screen1 by expicit call Screen"}]', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + event: 'CUSTOM_APP_EVENTS', + }, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + advertisingId: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + firstName: 'test', + lastName: 'last', + gender: 'Male', + phone: '919831311135', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + currency: 'GBP', + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: '123', + }, + { + product_id: '345', + }, + { + product_id: '567', + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + headers: {}, + params: {}, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: { + extinfo: + '["a2","","","","8.1.0","Redmi 6","","","Banglalink",0,100,"50.00",0,0,0,""]', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"spin_result","_valueToSum":400,"fb_currency":"GBP","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","userId":"c82cbdff-e5be-4009-ac78-cdeea09ab4b1","versionSessionCount":2,"win_amount":0,"fb_content_id":["123","345","567"]}]', + app_user_id: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + advertiser_id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + 'ud[fn]': '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08', + 'ud[ln]': '3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3', + 'ud[ph]': '588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f', + 'ud[ge]': '62c66a7a5dd70c3146618063c344e531e6d4b59e379808443ce962b3abd63c5a', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + event: 'CUSTOM_APP_EVENTS', + }, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + advertisingId: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + firstName: 'test', + lastName: 'last', + gender: 'Male', + phone: '+0091-9831311135', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + currency: 'GBP', + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: '123', + }, + { + product_id: '345', + }, + { + product_id: '567', + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + headers: {}, + params: {}, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: { + extinfo: + '["a2","","","","8.1.0","Redmi 6","","","Banglalink",0,100,"50.00",0,0,0,""]', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"spin_result","_valueToSum":400,"fb_currency":"GBP","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","userId":"c82cbdff-e5be-4009-ac78-cdeea09ab4b1","versionSessionCount":2,"win_amount":0,"fb_content_id":["123","345","567"]}]', + app_user_id: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + advertiser_id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + 'ud[fn]': '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08', + 'ud[ln]': '3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3', + 'ud[ph]': '588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f', + 'ud[ge]': '62c66a7a5dd70c3146618063c344e531e6d4b59e379808443ce962b3abd63c5a', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + event: 'CUSTOM_APP_EVENTS', + }, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + type: 'watchos', + }, + network: { + carrier: 'Banglalink', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + name: 'Viewed Main Screen1 by expicit call Screen', + }, + request_ip: '2.3.4.5', + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'screen', + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + headers: { + 'x-forwarded-for': '2.3.4.5', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + extinfo: '["i2","","","","","","","","Banglalink",0,100,"50.00",0,0,0,""]', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"Viewed Screen","fb_description":"Viewed Main Screen1 by expicit call Screen"}]', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + event: 'CUSTOM_APP_EVENTS', + }, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + advertisingId: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + firstName: 'test', + lastName: 'last', + gender: 'Male', + phone: '919831311135', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + currency: 'GBP', + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: '123', + }, + { + product_id: '345', + }, + { + product_id: '567', + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Extended device information i.e, "context.device.type" is required', + statTags: { + destType: 'FB', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'fb', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 0, + currency: 'INR', + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: '123', + }, + { + product_id: '345', + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/RudderFbApp/activities', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + extinfo: + '["a2","","","","8.1.0","Redmi 6","","","Banglalink",0,100,"50.00",0,0,0,""]', + custom_events: + '[{"_logTime":1567333011693,"_eventName":"spin_result","_valueToSum":0,"fb_currency":"INR","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","userId":"c82cbdff-e5be-4009-ac78-cdeea09ab4b1","versionSessionCount":2,"win_amount":0,"fb_content_id":["123","345"]}]', + 'ud[em]': '48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', + advertiser_tracking_enabled: '0', + application_tracking_enabled: '0', + event: 'CUSTOM_APP_EVENTS', + }, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/fb/router/data.ts b/test/integrations/destinations/fb/router/data.ts new file mode 100644 index 0000000000..4daefad141 --- /dev/null +++ b/test/integrations/destinations/fb/router/data.ts @@ -0,0 +1,317 @@ +export const data = [ + { + name: 'fb', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: 123, + }, + { + product_id: 345, + }, + { + product_id: 567, + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + type: 'Android', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + All: false, + GA: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + currency: 'GBP', + 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + products: [ + { + product_id: 123, + }, + { + product_id: 345, + }, + { + product_id: 567, + }, + ], + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + }, + ], + destType: 'fb', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + metadata: [ + { + jobId: 2, + }, + ], + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FB', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + batched: false, + statusCode: 400, + error: 'If properties.revenue is present, properties.currency is required.', + }, + { + metadata: [ + { + jobId: 2, + }, + ], + destination: { + Config: { + appID: 'RudderFbApp', + }, + }, + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FB', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + batched: false, + statusCode: 400, + error: + 'Value of properties.products.sub.product_id is not of valid type. It should be of type string', + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/fb_custom_audience/processor/data.ts b/test/integrations/destinations/fb_custom_audience/processor/data.ts new file mode 100644 index 0000000000..17dcda3a98 --- /dev/null +++ b/test/integrations/destinations/fb_custom_audience/processor/data.ts @@ -0,0 +1,54420 @@ +export const data = [ + { + name: 'fb_custom_audience', + description: 'No Message type', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Message Type is not present. Aborting message.', + statTags: { + destType: 'FB_CUSTOM_AUDIENCE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Unsupported Event type ', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + type: 'Track', + event: 'event1', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: ' Track call is not supported ', + statTags: { + destType: 'FB_CUSTOM_AUDIENCE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Non-Numerical Batch Size Event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + type: 'audiencelist', + event: 'event1', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: 'abc50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Batch size must be an Integer.', + statTags: { + destType: 'FB_CUSTOM_AUDIENCE', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Audience ID Empty Event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + type: 'audiencelist', + event: 'event1', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: false, + audienceId: '', + isRaw: true, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Audience ID is a mandatory field', + statTags: { + destType: 'FB_CUSTOM_AUDIENCE', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Type NA ', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'NA', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'No Hashing and Format Disabled', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: true, + audienceId: 'aud1', + isRaw: true, + type: 'NA', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + userId: '', + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'For User Schema having single Schema field Event ', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: 'DOBM', + isHashRequired: false, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + userId: '', + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + type: 'UNKNOWN', + sub_type: 'ANYTHING', + }, + schema: ['DOBM'], + data: [['2']], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + { + output: { + userId: '', + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + type: 'UNKNOWN', + sub_type: 'ANYTHING', + }, + schema: ['DOBM'], + data: [['2']], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Hashing Disabaled and Type Unknown ', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + type: 'UNKNOWN', + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + type: 'UNKNOWN', + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Required Hash', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: true, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'NA', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + userId: '', + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05', + 'a953f09a1b6b6725b81956e9ad0b1eb49e3ad40004c04307ef8af6246a054116', + '3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278', + '7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f', + '0dcd4be87427e008a16adbdc2b2c15a14accf485dd451314dcecfb902c51c686', + '252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111', + 'db0683221aebc02cc034b65ebcf7d1bddd1eb199e33fd23a31931947d13a11bc', + 'abc', + '4a70fe9aa6436e02c2dea340fbd1e352e4ef2d8ce6ca52ad25d4b95471fc8bf2', + 'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad', + '582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05', + 'a953f09a1b6b6725b81956e9ad0b1eb49e3ad40004c04307ef8af6246a054116', + '3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278', + '7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f', + '0dcd4be87427e008a16adbdc2b2c15a14accf485dd451314dcecfb902c51c686', + '252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111', + 'db0683221aebc02cc034b65ebcf7d1bddd1eb199e33fd23a31931947d13a11bc', + 'abc', + '4a70fe9aa6436e02c2dea340fbd1e352e4ef2d8ce6ca52ad25d4b95471fc8bf2', + 'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad', + '582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Format Disabled', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: true, + disableFormat: true, + audienceId: 'aud1', + isRaw: true, + type: 'NA', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05', + 'd4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35', + '3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278', + '7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f', + '3c98400cbfaf690bf3601f538def8ff16f3b3bcd075b028fa28aa44ca09fec22', + '252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111', + '7cfb46258a6f545f77cca49a27ded0bc69a56e16d0dcdf05ec843c0cc322145d', + 'ABC', + '69deb728a28faee80ee80d8d5f97a5e2fd65758684f7412e535d19a19095369b', + '1dc362d22242a898483383061a98f0b41d725190f7bc00a962b6013b36dc2b81', + 'fed1d872f6d540f4118582ec694270274e987b12f5dfe2057dddf1e12df2761a', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05', + 'd4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35', + '3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278', + '7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f', + '3c98400cbfaf690bf3601f538def8ff16f3b3bcd075b028fa28aa44ca09fec22', + '252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111', + '7cfb46258a6f545f77cca49a27ded0bc69a56e16d0dcdf05ec843c0cc322145d', + 'ABC', + '69deb728a28faee80ee80d8d5f97a5e2fd65758684f7412e535d19a19095369b', + '1dc362d22242a898483383061a98f0b41d725190f7bc00a962b6013b36dc2b81', + 'fed1d872f6d540f4118582ec694270274e987b12f5dfe2057dddf1e12df2761a', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'No Hashing and Format Disabled', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: true, + audienceId: 'aud1', + isRaw: true, + type: 'NA', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + userId: '', + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + userId: '', + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Hash Required and Verify skipped', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: null, + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: true, + disableFormat: false, + skipVerify: true, + audienceId: 'aud1', + isRaw: true, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + userId: '', + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + type: 'UNKNOWN', + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05', + 'a953f09a1b6b6725b81956e9ad0b1eb49e3ad40004c04307ef8af6246a054116', + '3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278', + '7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f', + null, + '252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111', + 'db0683221aebc02cc034b65ebcf7d1bddd1eb199e33fd23a31931947d13a11bc', + 'abc', + '4a70fe9aa6436e02c2dea340fbd1e352e4ef2d8ce6ca52ad25d4b95471fc8bf2', + 'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad', + '582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf', + ], + ], + }, + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'All the field values are null', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: null, + DOBM: null, + DOBD: null, + DOBY: null, + PHONE: null, + GEN: null, + FI: null, + MADID: null, + ZIP: null, + ST: null, + COUNTRY: null, + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: true, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + userId: '', + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + type: 'UNKNOWN', + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [[null, null, null, null, null, null, null, null, null, null, null]], + }, + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Schema Phone Field Missing', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: null, + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: true, + disableFormat: false, + skipVerify: false, + audienceId: 'aud1', + isRaw: false, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + data_source: { + type: 'UNKNOWN', + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05', + 'a953f09a1b6b6725b81956e9ad0b1eb49e3ad40004c04307ef8af6246a054116', + '3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278', + '7931aa2a1bed855457d1ddf6bc06ab4406a9fba0579045a4d6ff78f9c07c440f', + null, + '252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111', + 'db0683221aebc02cc034b65ebcf7d1bddd1eb199e33fd23a31931947d13a11bc', + 'abc', + '4a70fe9aa6436e02c2dea340fbd1e352e4ef2d8ce6ca52ad25d4b95471fc8bf2', + 'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad', + '582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Batching according payload size', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: true, + audienceId: 'aud1', + isRaw: true, + type: 'NA', + subType: 'ANYTHING', + maxUserCount: '1000', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/fb_custom_audience/router/data.ts b/test/integrations/destinations/fb_custom_audience/router/data.ts new file mode 100644 index 0000000000..c458b45c91 --- /dev/null +++ b/test/integrations/destinations/fb_custom_audience/router/data.ts @@ -0,0 +1,53019 @@ +export const data = [ + { + name: 'fb_custom_audience', + description: 'eventStream tests', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + metadata: { + jobId: 1, + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + remove: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'f', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'NA', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + destType: 'fb_custom_audience', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + type: 'UNKNOWN', + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + type: 'UNKNOWN', + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'UNKNOWN', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + accessToken: 'ABC', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + isHashRequired: false, + disableFormat: false, + audienceId: 'aud1', + isRaw: true, + type: 'NA', + subType: 'ANYTHING', + maxUserCount: '50', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'rETL tests', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + sentAt: '2023-03-30 06:42:55.991938402 +0000 UTC', + userId: '2MUWghI7u85n91dd1qzGyswpZan-2MUWqbQqvctyfMGqU9QCNadpKNy', + channel: 'sources', + messageId: '4d906837-031d-4d34-b97a-62fdf51b4d3a', + event: 'Add_Audience', + context: { + destinationFields: 'EMAIL, FN', + externalId: [ + { + type: 'FB_CUSTOM_AUDIENCE-23848494844100489', + identifierType: 'EMAIL', + }, + ], + mappedToDestination: 'true', + sources: { + job_run_id: 'cgiiurt8um7k7n5dq480', + task_run_id: 'cgiiurt8um7k7n5dq48g', + job_id: '2MUWghI7u85n91dd1qzGyswpZan', + version: '895/merge', + }, + }, + recordId: '725ad989-6750-4839-b46b-0ddb3b8e5aa2/1/10', + rudderId: '85c49666-c628-4835-937b-8f1d9ee7a724', + properties: { + listData: { + add: [ + { + EMAIL: 'dede@gmail.com', + FN: 'vishwa', + }, + { + EMAIL: 'fchsjjn@gmail.com', + FN: 'hskks', + }, + { + EMAIL: 'fghjnbjk@gmail.com', + FN: 'ghfry', + }, + { + EMAIL: 'gvhjkk@gmail.com', + FN: 'hbcwqe', + }, + { + EMAIL: 'qsdwert@egf.com', + FN: 'dsfds', + }, + { + EMAIL: 'ascscxsaca@com', + FN: 'scadscdvcda', + }, + { + EMAIL: 'abc@gmail.com', + FN: 'subscribed', + }, + { + EMAIL: 'ddwnkl@gmail.com', + FN: 'subscribed', + }, + { + EMAIL: 'subscribed@eewrfrd.com', + FN: 'pending', + }, + { + EMAIL: 'acsdvdf@ddfvf.com', + FN: 'pending', + }, + ], + }, + }, + type: 'audienceList', + anonymousId: '63228b51-394e-4ca2-97a0-427f6187480b', + }, + destination: { + Config: { + accessToken: 'ABC', + disableFormat: false, + isHashRequired: true, + isRaw: false, + maxUserCount: '50', + oneTrustCookieCategories: [], + skipVerify: false, + subType: 'NA', + type: 'NA', + userSchema: ['EMAIL'], + }, + secretConfig: {}, + ID: '1mMy5cqbtfuaKZv1IhVQKnBdVwe', + name: 'FB_CUSTOM_AUDIENCE', + enabled: true, + workspaceId: '1TSN08muJTZwH8iCDmnnRt1pmLd', + deleted: false, + createdAt: '2020-12-30T08:39:32.005Z', + updatedAt: '2021-02-03T16:22:31.374Z', + destinationDefinition: { + id: '1aIXqM806xAVm92nx07YwKbRrO9', + name: 'FB_CUSTOM_AUDIENCE', + displayName: 'FB_CUSTOM_AUDIENCE', + createdAt: '2020-04-09T09:24:31.794Z', + updatedAt: '2021-01-11T11:03:28.103Z', + }, + transformations: [], + isConnectionEnabled: true, + isProcessorEnabled: true, + }, + metadata: { + jobId: 2, + }, + }, + { + message: { + sentAt: '2023-03-30 06:42:55.991938402 +0000 UTC', + userId: '2MUWghI7u85n91dd1qzGyswpZan-2MUWqbQqvctyfMGqU9QCNadpKNy', + channel: 'sources', + messageId: '4d906837-031d-4d34-b97a-62fdf51b4d3a', + event: 'Add_Audience', + context: { + externalId: [ + { + type: 'FB_CUSTOM_AUDIENCE-23848494844100489', + identifierType: 'EMAIL', + }, + ], + mappedToDestination: 'true', + sources: { + job_run_id: 'cgiiurt8um7k7n5dq480', + task_run_id: 'cgiiurt8um7k7n5dq48g', + job_id: '2MUWghI7u85n91dd1qzGyswpZan', + version: '895/merge', + }, + }, + recordId: '725ad989-6750-4839-b46b-0ddb3b8e5aa2/1/10', + rudderId: '85c49666-c628-4835-937b-8f1d9ee7a724', + properties: { + listData: { + add: [ + { + EMAIL: 'dede@gmail.com', + FN: 'vishwa', + }, + { + EMAIL: 'fchsjjn@gmail.com', + FN: 'hskks', + }, + { + EMAIL: 'fghjnbjk@gmail.com', + FN: 'ghfry', + }, + { + EMAIL: 'gvhjkk@gmail.com', + FN: 'hbcwqe', + }, + { + EMAIL: 'qsdwert@egf.com', + FN: 'dsfds', + }, + { + EMAIL: 'ascscxsaca@com', + FN: 'scadscdvcda', + }, + { + EMAIL: 'abc@gmail.com', + FN: 'subscribed', + }, + { + EMAIL: 'ddwnkl@gmail.com', + FN: 'subscribed', + }, + { + EMAIL: 'subscribed@eewrfrd.com', + FN: 'pending', + }, + { + EMAIL: 'acsdvdf@ddfvf.com', + FN: 'pending', + }, + ], + }, + }, + type: 'audienceList', + anonymousId: '63228b51-394e-4ca2-97a0-427f6187480b', + }, + destination: { + Config: { + accessToken: 'ABC', + disableFormat: false, + isHashRequired: true, + isRaw: false, + maxUserCount: '50', + oneTrustCookieCategories: [], + skipVerify: false, + subType: 'NA', + type: 'NA', + userSchema: ['EMAIL'], + }, + secretConfig: {}, + ID: '1mMy5cqbtfuaKZv1IhVQKnBdVwe', + name: 'FB_CUSTOM_AUDIENCE', + enabled: true, + workspaceId: '1TSN08muJTZwH8iCDmnnRt1pmLd', + deleted: false, + createdAt: '2020-12-30T08:39:32.005Z', + updatedAt: '2021-02-03T16:22:31.374Z', + destinationDefinition: { + id: '1aIXqM806xAVm92nx07YwKbRrO9', + name: 'FB_CUSTOM_AUDIENCE', + displayName: 'FB_CUSTOM_AUDIENCE', + createdAt: '2020-04-09T09:24:31.794Z', + updatedAt: '2021-01-11T11:03:28.103Z', + }, + transformations: [], + isConnectionEnabled: true, + isProcessorEnabled: true, + }, + metadata: { + jobId: 2, + }, + }, + { + message: { + sentAt: '2023-03-30 06:42:55.991938402 +0000 UTC', + userId: '2MUWghI7u85n91dd1qzGyswpZan-2MUWqbQqvctyfMGqU9QCNadpKNy', + channel: 'sources', + messageId: '4d906837-031d-4d34-b97a-62fdf51b4d3a', + event: 'Add_Audience', + context: { + destinationFields: + 'EMAIL, DOBM, DOBD, DOBY, PHONE, GEN, FI, MADID, ZIP, ST, COUNTRY', + externalId: [ + { + type: 'FB_CUSTOM_AUDIENCE-aud1', + identifierType: 'EMAIL', + }, + ], + mappedToDestination: 'true', + sources: { + job_run_id: 'cgiiurt8um7k7n5dq480', + task_run_id: 'cgiiurt8um7k7n5dq48g', + job_id: '2MUWghI7u85n91dd1qzGyswpZan', + version: '895/merge', + }, + }, + recordId: '725ad989-6750-4839-b46b-0ddb3b8e5aa2/1/10', + rudderId: '85c49666-c628-4835-937b-8f1d9ee7a724', + properties: { + listData: { + add: [ + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + { + EMAIL: 'shrouti@abc.com', + DOBM: '2', + DOBD: '13', + DOBY: '2013', + PHONE: '@09432457768', + GEN: 'female', + FI: 'Ms.', + MADID: 'ABC', + ZIP: 'ZIP ', + ST: '123abc ', + COUNTRY: 'IN', + }, + ], + }, + }, + type: 'audienceList', + anonymousId: '63228b51-394e-4ca2-97a0-427f6187480b', + }, + destination: { + Config: { + accessToken: 'ABC', + disableFormat: false, + isHashRequired: false, + isRaw: true, + maxUserCount: '1000', + oneTrustCookieCategories: [], + skipVerify: false, + subType: 'NA', + type: 'NA', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + }, + secretConfig: {}, + ID: '1mMy5cqbtfuaKZv1IhVQKnBdVwe', + name: 'FB_CUSTOM_AUDIENCE', + enabled: true, + workspaceId: '1TSN08muJTZwH8iCDmnnRt1pmLd', + deleted: false, + createdAt: '2020-12-30T08:39:32.005Z', + updatedAt: '2021-02-03T16:22:31.374Z', + destinationDefinition: { + id: '1aIXqM806xAVm92nx07YwKbRrO9', + name: 'FB_CUSTOM_AUDIENCE', + displayName: 'FB_CUSTOM_AUDIENCE', + createdAt: '2020-04-09T09:24:31.794Z', + updatedAt: '2021-01-11T11:03:28.103Z', + }, + transformations: [], + isConnectionEnabled: true, + isProcessorEnabled: true, + }, + metadata: { + jobId: 2, + }, + }, + ], + destType: 'fb_custom_audience', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/23848494844100489/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + schema: ['EMAIL', 'FN'], + data: [ + ['7625cab24612c37df6d2f724721bb38a25095d0295e29b807238ee188b8aca43', null], + ['b2b4abadd72190af54305c0d3abf1977fec4935016bb13ff28040d5712318dfd', null], + ['c4b007d1c3c9a5d31bd4082237a913e8e0db1767225c2a5ef33be2716df005fa', null], + ['94639be1bd9f17c05820164e9d71ef78558f117a9e8bfab43cf8015e08aa0b27', null], + ['39b456cfb4bb07f9e6bb18698aa173171ca49c731fccc4790e9ecea808d24ae6', null], + ['769f73387add781a481ca08300008a08fb2f1816aaed196137efc2e05976d711', null], + ['48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08', null], + ['da2d431121cd10578fd81f8f80344b06db59ea2d05a7b5d27536c8789ddae8f0', null], + ['b100c2ec0718fe6b4805b623aeec6710719d042ceea55f5c8135b010ec1c7b36', null], + ['0c1d1b0ba547a742013366d6fbc8f71dd77f566d94e41ed9f828a74b96928161', null], + ], + }, + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + accessToken: 'ABC', + disableFormat: false, + isHashRequired: true, + isRaw: false, + maxUserCount: '50', + oneTrustCookieCategories: [], + skipVerify: false, + subType: 'NA', + type: 'NA', + userSchema: ['EMAIL'], + }, + secretConfig: {}, + ID: '1mMy5cqbtfuaKZv1IhVQKnBdVwe', + name: 'FB_CUSTOM_AUDIENCE', + enabled: true, + workspaceId: '1TSN08muJTZwH8iCDmnnRt1pmLd', + deleted: false, + createdAt: '2020-12-30T08:39:32.005Z', + updatedAt: '2021-02-03T16:22:31.374Z', + destinationDefinition: { + id: '1aIXqM806xAVm92nx07YwKbRrO9', + name: 'FB_CUSTOM_AUDIENCE', + displayName: 'FB_CUSTOM_AUDIENCE', + createdAt: '2020-04-09T09:24:31.794Z', + updatedAt: '2021-01-11T11:03:28.103Z', + }, + transformations: [], + isConnectionEnabled: true, + isProcessorEnabled: true, + }, + }, + { + destination: { + Config: { + accessToken: 'ABC', + disableFormat: false, + isHashRequired: true, + isRaw: false, + maxUserCount: '50', + oneTrustCookieCategories: [], + skipVerify: false, + subType: 'NA', + type: 'NA', + userSchema: ['EMAIL'], + }, + secretConfig: {}, + ID: '1mMy5cqbtfuaKZv1IhVQKnBdVwe', + name: 'FB_CUSTOM_AUDIENCE', + enabled: true, + workspaceId: '1TSN08muJTZwH8iCDmnnRt1pmLd', + deleted: false, + createdAt: '2020-12-30T08:39:32.005Z', + updatedAt: '2021-02-03T16:22:31.374Z', + destinationDefinition: { + id: '1aIXqM806xAVm92nx07YwKbRrO9', + name: 'FB_CUSTOM_AUDIENCE', + displayName: 'FB_CUSTOM_AUDIENCE', + createdAt: '2020-04-09T09:24:31.794Z', + updatedAt: '2021-01-11T11:03:28.103Z', + }, + transformations: [], + isConnectionEnabled: true, + isProcessorEnabled: true, + }, + error: + 'context.destinationFields is required property for events mapped to destination ', + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 400, + statTags: { + destType: 'FB_CUSTOM_AUDIENCE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + }, + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: {}, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'female', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + accessToken: 'ABC', + disableFormat: false, + isHashRequired: false, + isRaw: true, + maxUserCount: '1000', + oneTrustCookieCategories: [], + skipVerify: false, + subType: 'NA', + type: 'NA', + userSchema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + }, + secretConfig: {}, + ID: '1mMy5cqbtfuaKZv1IhVQKnBdVwe', + name: 'FB_CUSTOM_AUDIENCE', + enabled: true, + workspaceId: '1TSN08muJTZwH8iCDmnnRt1pmLd', + deleted: false, + createdAt: '2020-12-30T08:39:32.005Z', + updatedAt: '2021-02-03T16:22:31.374Z', + destinationDefinition: { + id: '1aIXqM806xAVm92nx07YwKbRrO9', + name: 'FB_CUSTOM_AUDIENCE', + displayName: 'FB_CUSTOM_AUDIENCE', + createdAt: '2020-04-09T09:24:31.794Z', + updatedAt: '2021-01-11T11:03:28.103Z', + }, + transformations: [], + isConnectionEnabled: true, + isProcessorEnabled: true, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/firehose/processor/data.ts b/test/integrations/destinations/firehose/processor/data.ts new file mode 100644 index 0000000000..faa14a6a44 --- /dev/null +++ b/test/integrations/destinations/firehose/processor/data.ts @@ -0,0 +1,858 @@ +export const data = [ + { + "name": "firehose", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "region": "us-east-1", + "accessKeyID": "abc", + "accessKey": "xyz", + "mapEvents": [ + { + "from": "track", + "to": "ruchira-test-firehose" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { "email": "ruchira@rudderlabs.com" }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { "density": 2 } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { "All": true }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "userId": "00000000000000000000000000", + "deliveryStreamMapTo": "ruchira-test-firehose" + }, + "statusCode": 200 + } + ] + } + } + }, { + "name": "firehose", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "region": "us-east-1", + "accessKeyID": "abc", + "accessKey": "xyz", + "mapEvents": [ + { + "from": "product added", + "to": "ruchira-test-firehose" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { "email": "ruchira@rudderlabs.com" }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { "density": 2 } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { "All": true }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "userId": "00000000000000000000000000", + "deliveryStreamMapTo": "ruchira-test-firehose" + }, + "statusCode": 200 + } + ] + } + } + }, { + "name": "firehose", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "region": "us-east-1", + "accessKeyID": "abc", + "accessKey": "xyz", + "mapEvents": [ + { + "from": "*", + "to": "ruchira-test-firehose" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { "email": "ruchira@rudderlabs.com" }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { "density": 2 } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { "All": true }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "userId": "00000000000000000000000000", + "deliveryStreamMapTo": "ruchira-test-firehose" + }, + "statusCode": 200 + } + ] + } + } + }, { + "name": "firehose", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "region": "us-east-1", + "accessKeyID": "abc", + "accessKey": "xyz", + "mapEvents": [ + { + "from": "test event", + "to": "ruchira-test-firehose" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "No delivery stream set for this event", + "statTags": { + "destType": "FIREHOSE", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination", + }, + "statusCode": 400 + } + ] + } + } + }, { + "name": "firehose", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "region": "us-east-1", + "accessKeyID": "abc", + "accessKey": "xyz", + "mapEvents": [ + { + "from": "*", + "to": "ruchira-test-firehose" + }, + { + "from": "track", + "to": "ruchira-test-firehose-1" + }, + { + "from": "product added", + "to": "ruchira-test-firehose-2" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "userId": "00000000000000000000000000", + "deliveryStreamMapTo": "ruchira-test-firehose-2" + }, + "statusCode": 200 + } + ] + } + } + }, { + "name": "firehose", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "region": "us-east-1", + "accessKeyID": "abc", + "accessKey": "xyz", + "mapEvents": [ + { + "from": "*", + "to": "ruchira-test-firehose" + }, + { + "from": "track", + "to": "ruchira-test-firehose-1" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "userId": "00000000000000000000000000", + "deliveryStreamMapTo": "ruchira-test-firehose-1" + }, + "statusCode": 200 + } + ] + } + } + }, { + "name": "firehose", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "region": "us-east-1", + "accessKeyID": "abc", + "accessKey": "xyz", + "mapEvents": [ + { + "from": "*", + "to": "ruchira-test-firehose" + }, + { + "from": "product added", + "to": "ruchira-test-firehose-1" + } + ] + }, + "DestinationDefinition": { + "DisplayName": "firehose", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "FIREHOSE" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Braze", + "Transformations": [] + }, + "metadata": { + "sourceType": "metadata.sourceType", + "destinationType": "metadata.destinationType", + "k8_namespace": "metadata.namespace" + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "destinationType": "metadata.destinationType", + "k8_namespace": "metadata.namespace", + "sourceType": "metadata.sourceType", + }, + "output": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "userId": "00000000000000000000000000", + "deliveryStreamMapTo": "ruchira-test-firehose" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/googlepubsub/processor/data.ts b/test/integrations/destinations/googlepubsub/processor/data.ts new file mode 100644 index 0000000000..7603a4c248 --- /dev/null +++ b/test/integrations/destinations/googlepubsub/processor/data.ts @@ -0,0 +1,1294 @@ +export const data = [ + { + "name": "googlepubsub", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "track", + "to": "test" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "userId": "123456", + "topicId": "test", + "attributes": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "product added", + "to": "test" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "userId": "123456", + "topicId": "test", + "attributes": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "*", + "to": "test" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "userId": "123456", + "topicId": "test", + "attributes": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "ruchira@rudderlabs.com" + }, + "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": { + "id": "72e528f869711c3d", + "manufacturer": "Google", + "model": "sdk_gphone_x86", + "name": "generic_x86_arm", + "token": "some_device_token", + "type": "android" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "event": "product added", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "test event", + "to": "test" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "No topic set for this event", + "statTags": { + "destType": "GOOGLEPUBSUB", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "track", + "to": "" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "No topic set for this event", + "statTags": { + "destType": "GOOGLEPUBSUB", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "track", + "to": "" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "No topic set for this event", + "statTags": { + "destType": "GOOGLEPUBSUB", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "track", + "to": "test" + }, + { + "from": "*", + "to": "test a" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "userId": "abcdeeeeeeeexxxx111", + "topicId": "test", + "attributes": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "event": "product added", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "track", + "to": "test" + }, + { + "from": "*", + "to": "test a" + }, + { + "from": "product added", + "to": "test b" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "event": "product added", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "userId": "abcdeeeeeeeexxxx111", + "topicId": "test b", + "attributes": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "event": "product added", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "track", + "to": "Test-Topic" + } + ], + "eventToAttributesMap": [ + { + "from": "track", + "to": "name" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "event": "product added", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "userId": "abcdeeeeeeeexxxx111", + "topicId": "Test-Topic", + "attributes": { + "name": "Pizza" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "event": "product added", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "track", + "to": "Test-Topic" + } + ], + "eventToAttributesMap": [ + { + "from": "track", + "to": "url" + }, + { + "from": "track", + "to": "title" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "event": "product added", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "userId": "abcdeeeeeeeexxxx111", + "topicId": "Test-Topic", + "attributes": { + "url": "https://dominos.com", + "title": "Pizza" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "event": "product added", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "track", + "to": "Test-Topic" + } + ], + "eventToAttributesMap": [ + { + "from": "track", + "to": "url" + }, + { + "from": "track", + "to": "title" + }, + { + "from": "product added", + "to": "referrer" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com" + }, + "type": "track", + "event": "product added", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "userId": "abcdeeeeeeeexxxx111", + "topicId": "Test-Topic", + "attributes": { + "referrer": "https://google.com" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com", + "nestedObject": { + "this": "will be picked" + } + }, + "type": "track", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "track", + "to": "Test-Topic" + } + ], + "eventToAttributesMap": [ + { + "from": "track", + "to": "nestedObject.this" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com", + "nestedObject": { + "this": "will be picked" + } + }, + "type": "track", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "userId": "abcdeeeeeeeexxxx111", + "topicId": "Test-Topic", + "attributes": { + "this": "will be picked" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlepubsub", + "description": "Test 12", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com", + "nestedObject": { + "this": "will be picked" + } + }, + "type": "track", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "destination": { + "Config": { + "credentials": "abc", + "eventToTopicMap": [ + { + "from": "track", + "to": "Test-Topic" + } + ], + "eventToAttributesMap": [ + { + "from": "track", + "to": "properties.nestedObject.this" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "sentAt": "2020-08-28T15:11:56.167Z", + "category": "Food", + "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", + "anonymousId": "abcdeeeeeeeexxxx111", + "context": { + "library": { + "name": "analytics-node", + "version": "0.0.3" + } + }, + "originalTimestamp": "2020-08-28T15:11:56.162Z", + "properties": { + "url": "https://dominos.com", + "title": "Pizza", + "referrer": "https://google.com", + "nestedObject": { + "this": "will be picked" + } + }, + "type": "track", + "name": "Pizza", + "_metadata": { + "nodeVersion": "10.22.0" + } + }, + "userId": "abcdeeeeeeeexxxx111", + "topicId": "Test-Topic", + "attributes": { + "this": "will be picked" + } + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/googlesheets/processor/data.ts b/test/integrations/destinations/googlesheets/processor/data.ts new file mode 100644 index 0000000000..a68a2a8b61 --- /dev/null +++ b/test/integrations/destinations/googlesheets/processor/data.ts @@ -0,0 +1,1077 @@ +export const data = [ + { + "name": "googlesheets", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "credentials": "{ sheets credentials }", + "eventKeyMap": [ + { + "from": "firstName", + "to": "First Name" + }, + { + "from": "lastName", + "to": "Last Name" + }, + { + "from": "birthday", + "to": "Birthday" + }, + { + "from": "address.city", + "to": "City" + }, + { + "from": "address.country", + "to": "Country" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "offer", + "to": "Offer" + }, + { + "from": "title", + "to": "Title Page" + }, + { + "from": "Cart Value", + "to": "Cart Value" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "context.app.build", + "to": "App Build" + }, + { + "from": "context.app.name", + "to": "App Name" + }, + { + "from": "context.library.name", + "to": "Library Name" + }, + { + "from": "context.ip", + "to": "IP" + } + ], + "sheetId": "rudder_sheet_id", + "sheetName": "rudder_sheet" + } + }, + "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": "OS-X", + "version": "19.02.3" + }, + "screen": { + "density": 2 + }, + "traits": { + "userId": "sheetuser001", + "firstName": "James", + "lastName": "Doe", + "address": { + "city": "Kolkata", + "country": "India", + "postalCode": "789003", + "state": "WB" + } + } + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "anon_id", + "type": "identify", + "traits": { + "anonymousId": "anon_id", + "email": "jamesDoe@gmail.com", + "name": "James Doe", + "phone": "92374162212", + "gender": "M", + "employed": true, + "birthday": "1614775793", + "education": "Science", + "graduate": true, + "married": true, + "customerType": "Prime", + "custom_tags": [ + "Test_User", + "Interested_User", + "DIY_Hobby" + ], + "custom_mappings": { + "Office": "Trastkiv", + "Country": "Russia" + }, + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 789223, + "state": "WB", + "street": "" + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "batch": { + "message": { + "0": { + "attributeKey": "messageId", + "attributeValue": "84e26acc-56a5-4835-8233-591137fca468" + }, + "1": { + "attributeKey": "First Name", + "attributeValue": "James" + }, + "2": { + "attributeKey": "Last Name", + "attributeValue": "Doe" + }, + "3": { + "attributeKey": "Birthday", + "attributeValue": "1614775793" + }, + "4": { + "attributeKey": "City", + "attributeValue": "kolkata" + }, + "5": { + "attributeKey": "Country", + "attributeValue": "India" + }, + "6": { + "attributeKey": "Revenue", + "attributeValue": "" + }, + "7": { + "attributeKey": "Offer", + "attributeValue": "" + }, + "8": { + "attributeKey": "Title Page", + "attributeValue": "" + }, + "9": { + "attributeKey": "Cart Value", + "attributeValue": "" + }, + "10": { + "attributeKey": "Revenue", + "attributeValue": "" + }, + "11": { + "attributeKey": "App Build", + "attributeValue": "1.0.0" + }, + "12": { + "attributeKey": "App Name", + "attributeValue": "RudderLabs JavaScript SDK" + }, + "13": { + "attributeKey": "Library Name", + "attributeValue": "RudderLabs JavaScript SDK" + }, + "14": { + "attributeKey": "IP", + "attributeValue": "0.0.0.0" + } + } + }, + "spreadSheet": "rudder_sheet", + "spreadSheetId": "rudder_sheet_id", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlesheets", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "credentials": "{ sheets credentials }", + "eventKeyMap": [ + { + "from": "firstName", + "to": "First Name" + }, + { + "from": "lastName", + "to": "Last Name" + }, + { + "from": "birthday", + "to": "Birthday" + }, + { + "from": "address.city", + "to": "City" + }, + { + "from": "address.country", + "to": "Country" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "offer", + "to": "Offer" + }, + { + "from": "title", + "to": "Title Page" + }, + { + "from": "Cart Value", + "to": "Cart Value" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "context.app.build", + "to": "App Build" + }, + { + "from": "context.app.name", + "to": "App Name" + }, + { + "from": "context.library.name", + "to": "Library Name" + }, + { + "from": "context.ip", + "to": "IP" + } + ], + "sheetId": "rudder_sheet_id", + "sheetName": "rudder_sheet" + } + }, + "message": { + "type": "track", + "userId": "userTest004", + "event": "Added to Cart", + "properties": { + "name": "HomePage", + "revenue": 5.99, + "value": 5.5, + "offer": "Discount", + "Sale": false + }, + "context": { + "ip": "14.5.67.21", + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.rudderstack.demo.android", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android" + }, + "library": { + "name": "com.rudderstack.android.sdk.core", + "version": "0.1.4" + }, + "locale": "en-US", + "network": { + "carrier": "Android", + "bluetooth": false, + "cellular": true, + "wifi": true + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Kolkata" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "batch": { + "message": { + "0": { + "attributeKey": "messageId", + "attributeValue": "" + }, + "1": { + "attributeKey": "First Name", + "attributeValue": "" + }, + "2": { + "attributeKey": "Last Name", + "attributeValue": "" + }, + "3": { + "attributeKey": "Birthday", + "attributeValue": "" + }, + "4": { + "attributeKey": "City", + "attributeValue": "" + }, + "5": { + "attributeKey": "Country", + "attributeValue": "" + }, + "6": { + "attributeKey": "Revenue", + "attributeValue": 5.99 + }, + "7": { + "attributeKey": "Offer", + "attributeValue": "Discount" + }, + "8": { + "attributeKey": "Title Page", + "attributeValue": "" + }, + "9": { + "attributeKey": "Cart Value", + "attributeValue": "" + }, + "10": { + "attributeKey": "Revenue", + "attributeValue": 5.99 + }, + "11": { + "attributeKey": "App Build", + "attributeValue": "1" + }, + "12": { + "attributeKey": "App Name", + "attributeValue": "RudderAndroidClient" + }, + "13": { + "attributeKey": "Library Name", + "attributeValue": "com.rudderstack.android.sdk.core" + }, + "14": { + "attributeKey": "IP", + "attributeValue": "14.5.67.21" + } + } + }, + "spreadSheet": "rudder_sheet", + "spreadSheetId": "rudder_sheet_id", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlesheets", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "credentials": "{ sheets credentials }", + "eventKeyMap": [ + { + "from": "firstName", + "to": "First Name" + }, + { + "from": "lastName", + "to": "Last Name" + }, + { + "from": "birthday", + "to": "Birthday" + }, + { + "from": "address.city", + "to": "City" + }, + { + "from": "address.country", + "to": "Country" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "offer", + "to": "Offer" + }, + { + "from": "title", + "to": "Title Page" + }, + { + "from": "Cart Value", + "to": "Cart Value" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "context.app.build", + "to": "App Build" + }, + { + "from": "context.app.name", + "to": "App Name" + }, + { + "from": "context.library.name", + "to": "Library Name" + }, + { + "from": "context.ip", + "to": "IP" + } + ], + "sheetId": "rudder_sheet_id", + "sheetName": "rudder_sheet" + } + }, + "message": { + "type": "page", + "userId": "userTest004", + "anonymousId": "anon-id-new", + "name": "1mg Cart", + "properties": { + "title": "Cart", + "path": "/", + "Cart Value": 7800, + "revenue": 7500 + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "batch": { + "message": { + "0": { + "attributeKey": "messageId", + "attributeValue": "" + }, + "1": { + "attributeKey": "First Name", + "attributeValue": "" + }, + "2": { + "attributeKey": "Last Name", + "attributeValue": "" + }, + "3": { + "attributeKey": "Birthday", + "attributeValue": "" + }, + "4": { + "attributeKey": "City", + "attributeValue": "" + }, + "5": { + "attributeKey": "Country", + "attributeValue": "" + }, + "6": { + "attributeKey": "Revenue", + "attributeValue": 7500 + }, + "7": { + "attributeKey": "Offer", + "attributeValue": "" + }, + "8": { + "attributeKey": "Title Page", + "attributeValue": "Cart" + }, + "9": { + "attributeKey": "Cart Value", + "attributeValue": 7800 + }, + "10": { + "attributeKey": "Revenue", + "attributeValue": 7500 + }, + "11": { + "attributeKey": "App Build", + "attributeValue": "" + }, + "12": { + "attributeKey": "App Name", + "attributeValue": "" + }, + "13": { + "attributeKey": "Library Name", + "attributeValue": "http" + }, + "14": { + "attributeKey": "IP", + "attributeValue": "14.5.67.21" + } + } + }, + "spreadSheet": "rudder_sheet", + "spreadSheetId": "rudder_sheet_id", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlesheets", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "credentials": "{ sheets credentials }", + "eventKeyMap": [ + { + "from": "firstName", + "to": "First Name" + }, + { + "from": "lastName", + "to": "Last Name" + }, + { + "from": "birthday", + "to": "Birthday" + }, + { + "from": "address.city", + "to": "City" + }, + { + "from": "address.country", + "to": "Country" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "offer", + "to": "Offer" + }, + { + "from": "title", + "to": "Title Page" + }, + { + "from": "Cart Value", + "to": "Cart Value" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "context.app.build", + "to": "App Build" + }, + { + "from": "context.app.name", + "to": "App Name" + }, + { + "from": "context.library.name", + "to": "Library Name" + }, + { + "from": "context.ip", + "to": "IP" + } + ], + "sheetId": "rudder_sheet_id", + "sheetName": "rudder_sheet" + } + }, + "message": { + "type": "page", + "userId": "userTest005", + "anonymousId": "anon-id-test", + "name": "Viewed Home Screen", + "properties": { + "title": "Home", + "path": "/home" + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "batch": { + "message": { + "0": { + "attributeKey": "messageId", + "attributeValue": "" + }, + "1": { + "attributeKey": "First Name", + "attributeValue": "" + }, + "2": { + "attributeKey": "Last Name", + "attributeValue": "" + }, + "3": { + "attributeKey": "Birthday", + "attributeValue": "" + }, + "4": { + "attributeKey": "City", + "attributeValue": "" + }, + "5": { + "attributeKey": "Country", + "attributeValue": "" + }, + "6": { + "attributeKey": "Revenue", + "attributeValue": "" + }, + "7": { + "attributeKey": "Offer", + "attributeValue": "" + }, + "8": { + "attributeKey": "Title Page", + "attributeValue": "Home" + }, + "9": { + "attributeKey": "Cart Value", + "attributeValue": "" + }, + "10": { + "attributeKey": "Revenue", + "attributeValue": "" + }, + "11": { + "attributeKey": "App Build", + "attributeValue": "" + }, + "12": { + "attributeKey": "App Name", + "attributeValue": "" + }, + "13": { + "attributeKey": "Library Name", + "attributeValue": "http" + }, + "14": { + "attributeKey": "IP", + "attributeValue": "14.5.67.21" + } + } + }, + "spreadSheet": "rudder_sheet", + "spreadSheetId": "rudder_sheet_id", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlesheets", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "credentials": "{ sheets credentials }", + "eventKeyMap": [ + { + "from": "firstName", + "to": "First Name" + }, + { + "from": "lastName", + "to": "Last Name" + }, + { + "from": "birthday", + "to": "Birthday" + }, + { + "from": "address.city", + "to": "City" + }, + { + "from": "address.country", + "to": "Country" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "offer", + "to": "Offer" + }, + { + "from": "title", + "to": "Title Page" + }, + { + "from": "Cart Value", + "to": "Cart Value" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "context.app.build", + "to": "App Build" + }, + { + "from": "context.app.name", + "to": "App Name" + }, + { + "from": "context.library.name", + "to": "Library Name" + }, + { + "from": "context.ip", + "to": "IP" + } + ], + "sheetId": "rudder_sheet_id", + "sheetName": "rudder_sheet" + } + }, + "message": { + "type": "screen", + "name": "Trello home Screen", + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "batch": { + "message": { + "0": { + "attributeKey": "messageId", + "attributeValue": "" + }, + "1": { + "attributeKey": "First Name", + "attributeValue": "" + }, + "2": { + "attributeKey": "Last Name", + "attributeValue": "" + }, + "3": { + "attributeKey": "Birthday", + "attributeValue": "" + }, + "4": { + "attributeKey": "City", + "attributeValue": "" + }, + "5": { + "attributeKey": "Country", + "attributeValue": "" + }, + "6": { + "attributeKey": "Revenue", + "attributeValue": "" + }, + "7": { + "attributeKey": "Offer", + "attributeValue": "" + }, + "8": { + "attributeKey": "Title Page", + "attributeValue": "" + }, + "9": { + "attributeKey": "Cart Value", + "attributeValue": "" + }, + "10": { + "attributeKey": "Revenue", + "attributeValue": "" + }, + "11": { + "attributeKey": "App Build", + "attributeValue": "" + }, + "12": { + "attributeKey": "App Name", + "attributeValue": "" + }, + "13": { + "attributeKey": "Library Name", + "attributeValue": "http" + }, + "14": { + "attributeKey": "IP", + "attributeValue": "14.5.67.21" + } + } + }, + "spreadSheet": "rudder_sheet", + "spreadSheetId": "rudder_sheet_id", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "googlesheets", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "credentials": "{ sheets credentials }", + "eventKeyMap": [ + { + "from": "firstName", + "to": "First Name" + }, + { + "from": "lastName", + "to": "Last Name" + }, + { + "from": "birthday", + "to": "Birthday" + }, + { + "from": "address.city", + "to": "City" + }, + { + "from": "address.country", + "to": "Country" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "offer", + "to": "Offer" + }, + { + "from": "title", + "to": "Title Page" + }, + { + "from": "Cart Value", + "to": "Cart Value" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "context.app.build", + "to": "App Build" + }, + { + "from": "context.app.name", + "to": "App Name" + }, + { + "from": "context.library.name", + "to": "Library Name" + }, + { + "from": "context.ip", + "to": "IP" + } + ], + "sheetId": "rudder_sheet_id" + } + }, + "message": { + "type": "screen", + "name": "Trello home Screen", + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "No Spread Sheet set for this event", + "statTags": { + "destType": "GOOGLESHEETS", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/googlesheets/router/data.ts b/test/integrations/destinations/googlesheets/router/data.ts new file mode 100644 index 0000000000..1e323211e3 --- /dev/null +++ b/test/integrations/destinations/googlesheets/router/data.ts @@ -0,0 +1,479 @@ +export const data = [{ + name: 'googlesheets', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "destination": { + "Config": { + "credentials": "{ sheets credentials }", + "eventKeyMap": [ + { + "from": "firstName", + "to": "First Name" + }, + { + "from": "lastName", + "to": "Last Name" + }, + { + "from": "birthday", + "to": "Birthday" + }, + { + "from": "address.city", + "to": "City" + }, + { + "from": "address.country", + "to": "Country" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "offer", + "to": "Offer" + }, + { + "from": "title", + "to": "Title Page" + }, + { + "from": "Cart Value", + "to": "Cart Value" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "context.app.build", + "to": "App Build" + }, + { + "from": "context.app.name", + "to": "App Name" + }, + { + "from": "context.library.name", + "to": "Library Name" + }, + { + "from": "context.ip", + "to": "IP" + } + ], + "sheetId": "rudder_sheet_id", + "sheetName": "rudder_sheet" + } + }, + "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": "OS-X", "version": "19.02.3" }, + "screen": { "density": 2 }, + "traits": { + "userId": "sheetuser001", + "firstName": "James", + "lastName": "Doe", + "address": { + "city": "Kolkata", + "country": "India", + "postalCode": "789003", + "state": "WB" + } + } + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "anon_id", + "type": "identify", + "traits": { + "anonymousId": "anon_id", + "email": "jamesDoe@gmail.com", + "name": "James Doe", + "phone": "92374162212", + "gender": "M", + "employed": true, + "birthday": "1614775793", + "education": "Science", + "graduate": true, + "married": true, + "customerType": "Prime", + "custom_tags": ["Test_User", "Interested_User", "DIY_Hobby"], + "custom_mappings": { + "Office": "Trastkiv", + "Country": "Russia" + }, + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 789223, + "state": "WB", + "street": "" + } + }, + "integrations": { "All": true }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "metadata": { + "jobId": 1 + } + }, + { + "destination": { + "Config": { + "credentials": "{ sheets credentials }", + "eventKeyMap": [ + { + "from": "firstName", + "to": "First Name" + }, + { + "from": "lastName", + "to": "Last Name" + }, + { + "from": "birthday", + "to": "Birthday" + }, + { + "from": "address.city", + "to": "City" + }, + { + "from": "address.country", + "to": "Country" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "offer", + "to": "Offer" + }, + { + "from": "title", + "to": "Title Page" + }, + { + "from": "Cart Value", + "to": "Cart Value" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "context.app.build", + "to": "App Build" + }, + { + "from": "context.app.name", + "to": "App Name" + }, + { + "from": "context.library.name", + "to": "Library Name" + }, + { + "from": "context.ip", + "to": "IP" + } + ], + "sheetId": "rudder_sheet_id", + "sheetName": "rudder_sheet" + } + }, + "message": { + "type": "track", + "userId": "userTest004", + "event": "Added to Cart", + "properties": { + "name": "HomePage", + "revenue": 5.99, + "value": 5.5, + "offer": "Discount", + "Sale": false + }, + "context": { + "ip": "14.5.67.21", + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.rudderstack.demo.android", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android" + }, + "library": { + "name": "com.rudderstack.android.sdk.core", + "version": "0.1.4" + }, + "locale": "en-US", + "network": { + "carrier": "Android", + "bluetooth": false, + "cellular": true, + "wifi": true + }, + "os": { "name": "Android", "version": "9" }, + "screen": { "density": 420, "height": 1794, "width": 1080 }, + "timezone": "Asia/Kolkata" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "metadata": { + "jobId": 2 + } + }, + ], + destType: 'googlesheets', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": { + "batch": [ + { + "message": { + "0": { + "attributeKey": "messageId", + "attributeValue": "84e26acc-56a5-4835-8233-591137fca468" + }, + "1": { + "attributeKey": "First Name", + "attributeValue": "James" + }, + "2": { + "attributeKey": "Last Name", + "attributeValue": "Doe" + }, + "3": { + "attributeKey": "Birthday", + "attributeValue": "1614775793" + }, + "4": { + "attributeKey": "City", + "attributeValue": "kolkata" + }, + "5": { + "attributeKey": "Country", + "attributeValue": "India" + }, + "6": { + "attributeKey": "Revenue", + "attributeValue": "" + }, + "7": { + "attributeKey": "Offer", + "attributeValue": "" + }, + "8": { + "attributeKey": "Title Page", + "attributeValue": "" + }, + "9": { + "attributeKey": "Cart Value", + "attributeValue": "" + }, + "10": { + "attributeKey": "Revenue", + "attributeValue": "" + }, + "11": { + "attributeKey": "App Build", + "attributeValue": "1.0.0" + }, + "12": { + "attributeKey": "App Name", + "attributeValue": "RudderLabs JavaScript SDK" + }, + "13": { + "attributeKey": "Library Name", + "attributeValue": "RudderLabs JavaScript SDK" + }, + "14": { + "attributeKey": "IP", + "attributeValue": "0.0.0.0" + } + } + }, + { + "message": { + "0": { + "attributeKey": "messageId", + "attributeValue": "" + }, + "1": { + "attributeKey": "First Name", + "attributeValue": "" + }, + "2": { + "attributeKey": "Last Name", + "attributeValue": "" + }, + "3": { + "attributeKey": "Birthday", + "attributeValue": "" + }, + "4": { + "attributeKey": "City", + "attributeValue": "" + }, + "5": { + "attributeKey": "Country", + "attributeValue": "" + }, + "6": { + "attributeKey": "Revenue", + "attributeValue": 5.99 + }, + "7": { + "attributeKey": "Offer", + "attributeValue": "Discount" + }, + "8": { + "attributeKey": "Title Page", + "attributeValue": "" + }, + "9": { + "attributeKey": "Cart Value", + "attributeValue": "" + }, + "10": { + "attributeKey": "Revenue", + "attributeValue": 5.99 + }, + "11": { + "attributeKey": "App Build", + "attributeValue": "1" + }, + "12": { + "attributeKey": "App Name", + "attributeValue": "RudderAndroidClient" + }, + "13": { + "attributeKey": "Library Name", + "attributeValue": "com.rudderstack.android.sdk.core" + }, + "14": { + "attributeKey": "IP", + "attributeValue": "14.5.67.21" + } + } + } + ], + "spreadSheetId": "rudder_sheet_id", + "spreadSheet": "rudder_sheet" + }, + "metadata": [ + { + "jobId": 1 + }, + { + "jobId": 2 + } + ], + "batched": true, + "statusCode": 200, + "destination": { + "Config": { + "credentials": "{ sheets credentials }", + "eventKeyMap": [ + { + "from": "firstName", + "to": "First Name" + }, + { + "from": "lastName", + "to": "Last Name" + }, + { + "from": "birthday", + "to": "Birthday" + }, + { + "from": "address.city", + "to": "City" + }, + { + "from": "address.country", + "to": "Country" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "offer", + "to": "Offer" + }, + { + "from": "title", + "to": "Title Page" + }, + { + "from": "Cart Value", + "to": "Cart Value" + }, + { + "from": "revenue", + "to": "Revenue" + }, + { + "from": "context.app.build", + "to": "App Build" + }, + { + "from": "context.app.name", + "to": "App Name" + }, + { + "from": "context.library.name", + "to": "Library Name" + }, + { + "from": "context.ip", + "to": "IP" + } + ], + "sheetId": "rudder_sheet_id", + "sheetName": "rudder_sheet" + } + } + }, + ], + }, + }, + }, +}] \ No newline at end of file diff --git a/test/integrations/destinations/heap/processor/data.ts b/test/integrations/destinations/heap/processor/data.ts new file mode 100644 index 0000000000..be4f9c87bf --- /dev/null +++ b/test/integrations/destinations/heap/processor/data.ts @@ -0,0 +1,896 @@ +export const data = [ + { + name: 'heap', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + 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', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + messageId: 'fca2e71a-5d30-48e1-ba45-761c16e3820f', + originalTimestamp: '2020-01-16T13:21:59.076Z', + receivedAt: '2020-01-16T18:52:03.871+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:22:03.85Z', + timestamp: '2020-01-16T18:51:59.097+05:30', + type: 'identify', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/add_user_properties', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + properties: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + app_id: '', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'heap', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'Send Transactional Email', + integrations: { + All: true, + }, + messageId: 'c0c5b892-0d54-449f-b85f-ebb39ff04e67', + originalTimestamp: '2020-01-16T13:23:20.844Z', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + }, + receivedAt: '2020-01-16T18:53:23.804+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:23:23.782Z', + timestamp: '2020-01-16T18:53:20.866+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/track', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + event: 'Send Transactional Email', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + }, + app_id: '', + timestamp: '2020-01-16T18:53:20.866+05:30', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'heap', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + Config: { + cdkEnabled: false, + }, + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + 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', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + messageId: 'fca2e71a-5d30-48e1-ba45-761c16e3820f', + originalTimestamp: '2020-01-16T13:21:59.076Z', + receivedAt: '2020-01-16T18:52:03.871+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:22:03.85Z', + timestamp: '2020-01-16T18:51:59.097+05:30', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'invalid message type for heap', + statTags: { + destType: 'HEAP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'heap', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + Config: { + cdkEnabled: false, + }, + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'Send Transactional Email', + integrations: { + All: true, + }, + messageId: 'c0c5b892-0d54-449f-b85f-ebb39ff04e67', + originalTimestamp: '2020-01-16T13:23:20.844Z', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + }, + receivedAt: '2020-01-16T18:53:23.804+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:23:23.782Z', + timestamp: '2020-01-16T18:53:20.866+05:30', + type: 'page', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'message type page not supported for heap', + statTags: { + destType: 'HEAP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'heap', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'Send Transactional Email', + integrations: { + All: true, + }, + messageId: 'c0c5b892-0d54-449f-b85f-ebb39ff04e67', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + idempotencyKey: '1234', + }, + receivedAt: '2020-01-16T18:53:23.804+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:23:23.782Z', + timestamp: '2021-02-16T18:53:20.866+05:30', + originalTimestamp: '2021-02-16T18:53:20.866+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/track', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + event: 'Send Transactional Email', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + }, + timestamp: '2021-02-16T18:53:20.866+05:30', + idempotency_key: '1234', + app_id: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'heap', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'Send Transactional Email', + integrations: { + All: true, + }, + messageId: 'c0c5b892-0d54-449f-b85f-ebb39ff04e67', + originalTimestamp: '2020-01-17T13:23:20.844Z', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + idempotencyKey: '1234', + }, + receivedAt: '2020-01-16T18:53:23.804+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:23:23.782Z', + timestamp: '2020-01-16T18:53:20.866+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/track', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + event: 'Send Transactional Email', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + }, + timestamp: '2020-01-16T18:53:20.866+05:30', + idempotency_key: '1234', + app_id: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'heap', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'Send Transactional Email', + integrations: { + All: true, + }, + messageId: 'c0c5b892-0d54-449f-b85f-ebb39ff04e67', + originalTimestamp: '2020-01-17T13:23:20.844Z', + properties: { + Location: { + City: 'Los Angeles', + State: 'CA', + }, + hobbies: ['Music', 'Running'], + }, + receivedAt: '2020-01-16T18:53:23.804+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:23:23.782Z', + timestamp: '2020-01-16T18:53:20.866+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/track', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + event: 'Send Transactional Email', + properties: { + 'Location.City': 'Los Angeles', + 'Location.State': 'CA', + 'hobbies[0]': 'Music', + 'hobbies[1]': 'Running', + }, + timestamp: '2020-01-16T18:53:20.866+05:30', + app_id: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'heap', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'Send Transactional Email', + integrations: { + All: true, + }, + messageId: 'c0c5b892-0d54-449f-b85f-ebb39ff04e67', + originalTimestamp: '2020-01-17T13:23:20.844Z', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + }, + receivedAt: '2020-01-16T18:53:23.804+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:23:23.782Z', + timestamp: '2020-01-16T18:53:20.866+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/track', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + event: 'Send Transactional Email', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + }, + timestamp: '2020-01-16T18:53:20.866+05:30', + app_id: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/heap/router/data.ts b/test/integrations/destinations/heap/router/data.ts new file mode 100644 index 0000000000..7f997d5f0e --- /dev/null +++ b/test/integrations/destinations/heap/router/data.ts @@ -0,0 +1,805 @@ +export const data = [{ + name: 'heap', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + }, + "metadata": { + "jobId": 2 + }, + "message": { + "anonymousId": "sampath", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "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" + }, + "integrations": { + "All": true + }, + "traits": { + "anonymousId": "sampath", + "email": "sampath@gmail.com" + }, + "messageId": "fca2e71a-5d30-48e1-ba45-761c16e3820f", + "originalTimestamp": "2020-01-16T13:21:59.076Z", + "receivedAt": "2020-01-16T18:52:03.871+05:30", + "request_ip": "[::1]:62312", + "sentAt": "2020-01-16T13:22:03.85Z", + "timestamp": "2020-01-16T18:51:59.097+05:30", + "type": "identify", + "userId": "sampath" + } + }, + { + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + }, + "metadata": { + "jobId": 2 + }, + "message": { + "anonymousId": "sampath", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "anonymousId": "sampath", + "email": "sampath@gmail.com" + }, + "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" + }, + "event": "Send Transactional Email", + "integrations": { + "All": true + }, + "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", + "originalTimestamp": "2020-01-16T13:23:20.844Z", + "properties": { + "subject": "Welcome to My App!", + "variation": "A" + }, + "receivedAt": "2020-01-16T18:53:23.804+05:30", + "request_ip": "[::1]:62312", + "sentAt": "2020-01-16T13:23:23.782Z", + "timestamp": "2020-01-16T18:53:20.866+05:30", + "type": "track", + "userId": "sampath" + } + }, + { + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + }, + "metadata": { + "jobId": 2 + }, + "message": { + "anonymousId": "sampath", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "anonymousId": "sampath", + "email": "sampath@gmail.com" + }, + "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" + }, + "event": "Send Transactional Email", + "integrations": { + "All": true + }, + "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", + "originalTimestamp": "2020-01-16T13:23:20.844Z", + "properties": { + "subject": "Welcome to My App!", + "variation": "A", + "idempotencyKey": "1234" + }, + "receivedAt": "2020-01-16T18:53:23.804+05:30", + "request_ip": "[::1]:62312", + "sentAt": "2020-01-16T13:23:23.782Z", + "timestamp": "2020-01-16T18:53:20.866+05:30", + "type": "track", + "userId": "sampath" + } + }, + ], + destType: 'heap', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://heapanalytics.com/api/add_user_properties", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "identity": "sampath", + "properties": { + "anonymousId": "sampath", + "email": "sampath@gmail.com" + }, + "app_id": "" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "sampath" + }, + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + } + }, + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://heapanalytics.com/api/track", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "identity": "sampath", + "event": "Send Transactional Email", + "properties": { + "subject": "Welcome to My App!", + "variation": "A" + }, + "app_id": "", + "timestamp": "2020-01-16T18:53:20.866+05:30" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "sampath" + }, + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + } + }, + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://heapanalytics.com/api/track", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "identity": "sampath", + "event": "Send Transactional Email", + "properties": { + "subject": "Welcome to My App!", + "variation": "A" + }, + "app_id": "", + "timestamp": "2020-01-16T18:53:20.866+05:30", + "idempotency_key": "1234" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "sampath" + }, + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + } + }, + ], + }, + }, + }, +}, { + name: 'heap', + description: 'Test 1', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + }, + "metadata": { + "jobId": 2 + }, + "message": { + "anonymousId": "sampath", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "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" + }, + "integrations": { + "All": true + }, + "traits": { + "anonymousId": "sampath", + "email": "sampath@gmail.com" + }, + "messageId": "fca2e71a-5d30-48e1-ba45-761c16e3820f", + "originalTimestamp": "2020-01-16T13:21:59.076Z", + "receivedAt": "2020-01-16T18:52:03.871+05:30", + "request_ip": "[::1]:62312", + "sentAt": "2020-01-16T13:22:03.85Z", + "timestamp": "2020-01-16T18:51:59.097+05:30", + "type": "identify", + "userId": "sampath" + } + }, + { + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + }, + "metadata": { + "jobId": 2 + }, + "message": { + "anonymousId": "sampath", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "anonymousId": "sampath", + "email": "sampath@gmail.com" + }, + "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" + }, + "event": "Send Transactional Email", + "integrations": { + "All": true + }, + "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", + "originalTimestamp": "2020-01-16T13:23:20.844Z", + "properties": { + "subject": "Welcome to My App!", + "variation": "A" + }, + "receivedAt": "2020-01-16T18:53:23.804+05:30", + "request_ip": "[::1]:62312", + "sentAt": "2020-01-16T13:23:23.782Z", + "timestamp": "2020-01-16T18:53:20.866+05:30", + "type": "track", + "userId": "sampath" + } + }, + { + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + }, + "metadata": { + "jobId": 4 + }, + "message": { + "anonymousId": "sampath", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "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" + }, + "integrations": { + "All": true + }, + "traits": { + "anonymousId": "sampath", + "email": "sampath@gmail.com" + }, + "messageId": "fca2e71a-5d30-48e1-ba45-761c16e3820f", + "originalTimestamp": "2020-01-16T13:21:59.076Z", + "receivedAt": "2020-01-16T18:52:03.871+05:30", + "request_ip": "[::1]:62312", + "sentAt": "2020-01-16T13:22:03.85Z", + "timestamp": "2020-01-16T18:51:59.097+05:30", + "userId": "sampath" + } + }, + { + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + }, + "metadata": { + "jobId": 5 + }, + "message": { + "anonymousId": "sampath", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "anonymousId": "sampath", + "email": "sampath@gmail.com" + }, + "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" + }, + "event": "Send Transactional Email", + "integrations": { + "All": true + }, + "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", + "originalTimestamp": "2020-01-16T13:23:20.844Z", + "properties": { + "subject": "Welcome to My App!", + "variation": "A" + }, + "receivedAt": "2020-01-16T18:53:23.804+05:30", + "request_ip": "[::1]:62312", + "sentAt": "2020-01-16T13:23:23.782Z", + "timestamp": "2020-01-16T18:53:20.866+05:30", + "type": "page", + "userId": "sampath" + } + }, + ], + destType: 'heap', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://heapanalytics.com/api/add_user_properties", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "identity": "sampath", + "properties": { + "anonymousId": "sampath", + "email": "sampath@gmail.com" + }, + "app_id": "" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "sampath" + }, + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + } + }, + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://heapanalytics.com/api/track", + "headers": { + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "identity": "sampath", + "event": "Send Transactional Email", + "properties": { + "subject": "Welcome to My App!", + "variation": "A" + }, + "app_id": "", + "timestamp": "2020-01-16T18:53:20.866+05:30" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "sampath" + }, + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + } + }, + { + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + }, + "metadata": [ + { + "jobId": 4 + } + ], + "batched": false, + "statusCode": 400, + "error": "invalid message type for heap", + "statTags": { + "destType": "HEAP", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "router", + "implementation": "native", + "module": "destination" + } + }, + { + "destination": { + "Config": { + "appId": "" + }, + "DestinationDefinition": { + "DisplayName": "Heap.io", + "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", + "Name": "HEAP" + }, + "Enabled": true, + "ID": "1WTcDSEOE437e4ePH10BJNELXmE", + "Name": "heap test", + "Transformations": [] + }, + "metadata": [ + { + "jobId": 5 + } + ], + "batched": false, + "statusCode": 400, + "error": "message type page not supported for heap", + "statTags": { + "destType": "HEAP", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "router", + "implementation": "native", + "module": "destination" + } + }, + ], + }, + }, + }, +}] \ No newline at end of file diff --git a/test/integrations/destinations/impact/processor/data.ts b/test/integrations/destinations/impact/processor/data.ts new file mode 100644 index 0000000000..eb064e3a9c --- /dev/null +++ b/test/integrations/destinations/impact/processor/data.ts @@ -0,0 +1,2325 @@ +export const data = [ + { + "name": "impact", + "description": "Identify Call", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "type": "identify", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user123", + "channel": "web", + "context": { + "os": { + "name": "android", + "version": "1.12.3" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "email": "user123@email.com", + "phone": "+917836362334", + "userId": "user123" + }, + "locale": "en-US", + "device": { + "token": "token", + "id": "id", + "type": "ios" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.11" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "sku", + "to": "ItemSku" + } + ], + "enableIdentifyEvents": true, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppName": "RudderLabs JavaScript SDK", + "DeviceOs": "ios", + "AndroidId": "id", + "EventDate": "NOW", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "user123", + "PropertyId": "2323", + "DeviceOsVer": "1.12.3", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://trkapi.impact.com/PageLoad", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "impact", + "description": "Identify Call when enableIdentifyEvents is disabled from config", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "type": "identify", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user123", + "channel": "web", + "context": { + "os": { + "name": "android", + "version": "1.12.3" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "email": "user123@email.com", + "phone": "+917836362334", + "userId": "user123" + }, + "locale": "en-US", + "device": { + "token": "token", + "id": "id", + "type": "ios" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.11" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "sku", + "to": "ItemSku" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "identify events are disabled from Config", + "statTags": { + "destType": "IMPACT", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "impact", + "description": "Account SID is empty", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "type": "identify", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user123", + "channel": "web", + "context": { + "os": { + "name": "android", + "version": "1.12.3" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "email": "user123@email.com", + "phone": "+917836362334", + "userId": "user123" + }, + "locale": "en-US", + "device": { + "token": "token", + "id": "id", + "type": "ios" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.11" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "sku", + "to": "ItemSku" + } + ], + "enableIdentifyEvents": true, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "accountSID : are required fields", + "statTags": { + "destType": "IMPACT", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "impact", + "description": "API Key is empty", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "type": "identify", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user123", + "channel": "web", + "context": { + "os": { + "name": "android", + "version": "1.12.3" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "email": "user123@email.com", + "phone": "+917836362334", + "userId": "user123" + }, + "locale": "en-US", + "device": { + "token": "token", + "id": "id", + "type": "ios" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.11" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "jskafsdhgfbjcdsxzjhfnerscd", + "apiKey": "", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "sku", + "to": "ItemSku" + } + ], + "enableIdentifyEvents": true, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "apiKey : are required fields", + "statTags": { + "destType": "IMPACT", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "impact", + "description": "campaignId is empty", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "type": "identify", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user123", + "channel": "web", + "context": { + "os": { + "name": "android", + "version": "1.12.3" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "email": "user123@email.com", + "phone": "+917836362334", + "userId": "user123" + }, + "locale": "en-US", + "device": { + "token": "token", + "id": "id", + "type": "ios" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.11" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "jskafsdhgfbjcdsxzjhfnerscd", + "apiKey": "hjsfbnrrcldkbnfsjknfdkfjne", + "campaignId": "", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "sku", + "to": "ItemSku" + } + ], + "enableIdentifyEvents": true, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "campaignId : are required fields", + "statTags": { + "destType": "IMPACT", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "impact", + "description": "Track Call with products array to test conversion endpoint", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "Order Completed", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "products": [ + { + "brand": "zara", + "category": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + } + ] + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppName": "RudderLabs JavaScript SDK", + "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "OrderId": "9217374917471", + "ItemSku1": "G-32", + "EventDate": "NOW", + "ItemName1": "Monopoly", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "Ujjwalab", + "ItemBrand1": "zara", + "ItemPrice1": 332, + "EventTypeId": "56446", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "EventTypeCode": "Order Completed", + "ItemQuantity1": 1, + "OrderPromoCode": "10OFF-ROCKET", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "impact", + "description": "Track Call with products array without any custom products mapping", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "Product Purchased", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "products": [ + { + "brand": "zara", + "category": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + } + ] + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": "", + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppName": "RudderLabs JavaScript SDK", + "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "OrderId": "9217374917471", + "ItemSku1": "G-32", + "EventDate": "NOW", + "ItemName1": "Monopoly", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "Ujjwalab", + "ItemBrand1": "zara", + "ItemPrice1": 332, + "EventTypeId": "56446", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "EventTypeCode": "Product Purchased", + "ItemQuantity1": 1, + "ItemCategory1": "wearables", + "OrderPromoCode": "10OFF-ROCKET", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "impact", + "description": "Track Call with products array to test conversion endpoint with a custom products mapping", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "Order Completed", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "products": [ + { + "brand": "zara", + "variant": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + } + ] + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppName": "RudderLabs JavaScript SDK", + "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "OrderId": "9217374917471", + "ItemSku1": "G-32", + "EventDate": "NOW", + "ItemName1": "Monopoly", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "Ujjwalab", + "ItemBrand1": "zara", + "ItemCategory1": "wearables", + "ItemPrice1": 332, + "EventTypeId": "56446", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "EventTypeCode": "Order Completed", + "ItemQuantity1": 1, + "OrderPromoCode": "10OFF-ROCKET", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "impact", + "description": "Track Call with products array to test conversion endpoint with a custom products mapping and custom property mapping", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "Order Completed", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "profit": 434, + "products": [ + { + "brand": "zara", + "variant": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + } + ] + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppName": "RudderLabs JavaScript SDK", + "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "Money1": 434, + "OrderId": "9217374917471", + "ItemSku1": "G-32", + "EventDate": "NOW", + "ItemName1": "Monopoly", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "Ujjwalab", + "ItemBrand1": "zara", + "ItemCategory1": "wearables", + "ItemPrice1": 332, + "EventTypeId": "56446", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "EventTypeCode": "Order Completed", + "ItemQuantity1": 1, + "OrderPromoCode": "10OFF-ROCKET", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "impact", + "description": "Track Call with products array to test conversion endpoint with OS as android", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "Order Completed", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "profit": 434, + "products": [ + { + "brand": "zara", + "variant": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + } + ] + }, + "context": { + "os": { + "name": "Android", + "version": "9" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "device": { + "id": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "advertisingId": "435o4GRlm" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "Money1": 434, + "AppName": "RudderLabs JavaScript SDK", + "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "GoogAId": "435o4GRlm", + "OrderId": "9217374917471", + "DeviceOs": "Android", + "ItemSku1": "G-32", + "AndroidId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "EventDate": "NOW", + "ItemName1": "Monopoly", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "Ujjwalab", + "ItemBrand1": "zara", + "ItemPrice1": 332, + "DeviceOsVer": "9", + "EventTypeId": "56446", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "EventTypeCode": "Order Completed", + "ItemCategory1": "wearables", + "ItemQuantity1": 1, + "OrderPromoCode": "10OFF-ROCKET", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "impact", + "description": "Track Call with products array to test conversion endpoint with OS as ios", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "Order Completed", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "profit": 434, + "products": [ + { + "brand": "zara", + "variant": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + } + ] + }, + "context": { + "os": { + "name": "iOS", + "version": "15.2" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "device": { + "id": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "advertisingId": "435o4GRlm" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppleIfa": "435o4GRlm", + "AppleIfv": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "Money1": 434, + "AppName": "RudderLabs JavaScript SDK", + "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "OrderId": "9217374917471", + "DeviceOs": "iOS", + "ItemSku1": "G-32", + "EventDate": "NOW", + "ItemName1": "Monopoly", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "Ujjwalab", + "ItemBrand1": "zara", + "ItemPrice1": 332, + "DeviceOsVer": "15.2", + "EventTypeId": "56446", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "EventTypeCode": "Order Completed", + "ItemCategory1": "wearables", + "ItemQuantity1": 1, + "OrderPromoCode": "10OFF-ROCKET", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "impact", + "description": "Page Call", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "type": "page", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user123", + "channel": "web", + "context": { + "os": { + "name": "android", + "version": "1.12.3" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "email": "user123@email.com", + "phone": "+917836362334", + "userId": "user123" + }, + "locale": "en-US", + "device": { + "token": "token", + "id": "id", + "type": "ios" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.11" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "sku", + "to": "ItemSku" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": true, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppName": "RudderLabs JavaScript SDK", + "DeviceOs": "ios", + "AndroidId": "id", + "EventDate": "NOW", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "user123", + "PropertyId": "2323", + "DeviceOsVer": "1.12.3", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://trkapi.impact.com/PageLoad", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "impact", + "description": "Screen Call", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "type": "screen", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user123", + "channel": "web", + "context": { + "os": { + "name": "android", + "version": "1.12.3" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "email": "user123@email.com", + "phone": "+917836362334", + "userId": "user123" + }, + "locale": "en-US", + "device": { + "token": "token", + "id": "id", + "type": "ios" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.11" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "sku", + "to": "ItemSku" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": true, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppName": "RudderLabs JavaScript SDK", + "DeviceOs": "ios", + "AndroidId": "id", + "EventDate": "NOW", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "user123", + "PropertyId": "2323", + "DeviceOsVer": "1.12.3", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://trkapi.impact.com/PageLoad", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "impact", + "description": "Unsupported message type", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "Order Completed", + "type": "group", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "products": [ + { + "brand": "zara", + "category": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + } + ] + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "Event type group is not supported", + "statTags": { + "destType": "IMPACT", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "impact", + "description": "Event type is empty", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "Order Completed", + "type": "", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "products": [ + { + "brand": "zara", + "category": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + } + ] + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "Event type is required", + "statTags": { + "destType": "IMPACT", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "impact", + "description": "Track Call with products array to test conversion endpoint", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "Order Completed", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "brand": "zara", + "category": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppName": "RudderLabs JavaScript SDK", + "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "OrderId": "9217374917471", + "ItemSku1": "G-32", + "EventDate": "NOW", + "ItemName1": "Monopoly", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "Ujjwalab", + "ItemBrand1": "zara", + "ItemPrice1": 332, + "EventTypeId": "56446", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "EventTypeCode": "Order Completed", + "ItemCategory1": "wearables", + "ItemQuantity1": 1, + "ItemPromoCode1": "10OFF-ROCKET", + "OrderPromoCode": "10OFF-ROCKET", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "impact", + "description": "Track Call with products array to test conversion endpoint with event mapping", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "Product Ordered", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "profit": 434, + "products": [ + { + "brand": "zara", + "variant": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + } + ] + }, + "context": { + "os": { + "name": "iOS", + "version": "15.2" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "device": { + "id": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "advertisingId": "435o4GRlm" + }, + "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": "NOW" + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [ + { + "eventName": "Product Ordered" + } + ], + "installEventNames": [ + { + "eventName": "Product Ordered" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppleIfa": "435o4GRlm", + "AppleIfv": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "Money1": 434, + "AppName": "RudderLabs JavaScript SDK", + "OrderId": "9217374917471", + "DeviceOs": "iOS", + "ItemSku1": "G-32", + "EventDate": "NOW", + "ItemName1": "Monopoly", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "Ujjwalab", + "ItemBrand1": "zara", + "ItemPrice1": 332, + "DeviceOsVer": "15.2", + "EventTypeId": "56446", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "EventTypeCode": "Product Ordered", + "ItemCategory1": "wearables", + "ItemQuantity1": 1, + "OrderPromoCode": "10OFF-ROCKET", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", + "userId": "" + }, + "statusCode": 200 + }, { + "output": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppleIfa": "435o4GRlm", + "AppleIfv": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", + "Money1": 434, + "AppName": "RudderLabs JavaScript SDK", + "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "OrderId": "9217374917471", + "DeviceOs": "iOS", + "ItemSku1": "G-32", + "EventDate": "NOW", + "ItemName1": "Monopoly", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "Ujjwalab", + "ItemBrand1": "zara", + "ItemPrice1": 332, + "DeviceOsVer": "15.2", + "EventTypeId": "56446", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "EventTypeCode": "Product Ordered", + "ItemCategory1": "wearables", + "ItemQuantity1": 1, + "OrderPromoCode": "10OFF-ROCKET", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", + "userId": "" + }, + "statusCode": 200, + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/impact/router/data.ts b/test/integrations/destinations/impact/router/data.ts new file mode 100644 index 0000000000..5da4298d59 --- /dev/null +++ b/test/integrations/destinations/impact/router/data.ts @@ -0,0 +1,324 @@ +export const data = [ + { + name: 'fb', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "sku", + "to": "ItemSku" + } + ], + "enableIdentifyEvents": true, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] + } + }, + "metadata": { + "jobId": 1 + }, + "message": { + "type": "identify", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user123", + "channel": "web", + "context": { + "os": { + "name": "android", + "version": "1.12.3" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "email": "user123@email.com", + "phone": "+917836362334", + "userId": "user123" + }, + "locale": "en-US", + "device": { + "token": "token", + "id": "id", + "type": "ios" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.11" + }, + "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": "NOW" + } + }, + { + "message": { + "event": "Order Completed", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "Ujjwalab", + "channel": "web", + "properties": { + "orderId": "9217374917471", + "coupon": "10OFF-ROCKET", + "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "products": [ + { + "brand": "zara", + "category": "wearables", + "name": "Monopoly", + "price": 332, + "quantity": 1, + "sku": "G-32" + } + ] + }, + "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": "NOW" + }, + "metadata": { + "jobId": 2 + }, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] + } + } + }, + ], + destType: 'impact', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppName": "RudderLabs JavaScript SDK", + "DeviceOs": "ios", + "AndroidId": "id", + "EventDate": "NOW", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "user123", + "PropertyId": "2323", + "DeviceOsVer": "1.12.3", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://trkapi.impact.com/PageLoad" + }, + "metadata": [ + { + "jobId": 1 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "sku", + "to": "ItemSku" + } + ], + "enableIdentifyEvents": true, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] + } + } + }, + { + "batchedRequest": [ + { + "body": { + "XML": {}, + "FORM": { + "AppVer": "1.1.11", + "AppName": "RudderLabs JavaScript SDK", + "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", + "OrderId": "9217374917471", + "ItemSku1": "G-32", + "EventDate": "NOW", + "ItemName1": "Monopoly", + "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", + "AppPackage": "1.0.0", + "CampaignId": "23224", + "CustomerId": "Ujjwalab", + "ItemBrand1": "zara", + "ItemPrice1": 332, + "EventTypeId": "56446", + "ImpactAppId": "2323", + "DeviceLocale": "en-US", + "EventTypeCode": "Order Completed", + "ItemQuantity1": 1, + "OrderPromoCode": "10OFF-ROCKET", + "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "JSON": {}, + "JSON_ARRAY": {} + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/x-www-form-urlencoded", + "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" + }, + "version": "1", + "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" + } + ], + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "accountSID": "dfsgertrtff3erfc34rfwf", + "apiKey": "fghsdfgegvcergfvfdfsag", + "campaignId": "23224", + "impactAppId": "2323", + "eventTypeId": "56446", + "enableEmailHashing": true, + "rudderToImpactProperty": [ + { + "from": "properties.profit", + "to": "Money1" + } + ], + "productsMapping": [ + { + "from": "variant", + "to": "ItemCategory" + } + ], + "enableIdentifyEvents": false, + "enablePageEvents": false, + "enableScreenEvents": false, + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] + } + } + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/indicative/processor/data.ts b/test/integrations/destinations/indicative/processor/data.ts new file mode 100644 index 0000000000..d99bf8ecb9 --- /dev/null +++ b/test/integrations/destinations/indicative/processor/data.ts @@ -0,0 +1,3263 @@ +export const data = [ + { + "name": "indicative", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "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": "spin_result", + "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" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "test_user_id", + "eventName": "spin_result", + "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 + }, + "eventTime": 1567352811693, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "test_user_id" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "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", + "anonymousId": "anon_id", + "userId": "123456", + "type": "identify", + "traits": { + "anonymousId": "anon_id", + "email": "sayan@gmail.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/identify", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "uniqueId": "123456", + "properties": { + "email": "sayan@gmail.com", + "address.city": "kolkata", + "address.country": "India", + "address.postalCode": 712136, + "address.state": "WB", + "address.street": "", + "browser": "Chrome", + "browser_version": "77.0.3865.90", + "device": "Macintosh", + "os": "Mac OS" + }, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "123456" + }, + "statusCode": 200 + }, { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/alias", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "previousId": "anon_id", + "newId": "123456", + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "123456" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "123456", + "email": "sayan@gmail.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + }, + "ip": "0.0.0.0", + "age": 26 + }, + "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 + } + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/identify", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "uniqueId": "123456", + "properties": { + "email": "sayan@gmail.com", + "address.city": "kolkata", + "address.country": "India", + "address.postalCode": 712136, + "address.state": "WB", + "address.street": "", + "ip": "0.0.0.0", + "age": 26, + "browser": "Chrome", + "browser_version": "77.0.3865.90", + "device": "Macintosh", + "os": "Mac OS" + }, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "123456" + }, + "statusCode": 200 + }, { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/alias", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "previousId": "123456", + "newId": "123456", + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "123456" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "sayan@gmail.com", + "anonymousId": "12345" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "request_ip": "1.1.1.1", + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "12345", + "eventName": "Page View ApplicationLoaded", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com", + "browser": "Chrome", + "browser_version": "77.0.3865.90", + "device": "Macintosh", + "os": "Mac OS" + }, + "eventTime": 1571051718299, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "12345" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "sayan@gmail.com", + "anonymousId": "12345" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "request_ip": "1.1.1.1", + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "name": "ApplicationLoaded", + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "12345", + "eventName": "Page View ApplicationLoaded", + "properties": { + "name": "ApplicationLoaded", + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com", + "browser": "Chrome", + "browser_version": "77.0.3865.90", + "device": "Macintosh", + "os": "Mac OS" + }, + "eventTime": 1571051718299, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "12345" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "sayan@gmail.com", + "anonymousId": "12345" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "request_ip": "1.1.1.1", + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "12345", + "eventName": "Page View", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com", + "browser": "Chrome", + "browser_version": "77.0.3865.90", + "device": "Macintosh", + "os": "Mac OS" + }, + "eventTime": 1571051718299, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "12345" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "sayan@gmail.com", + "anonymousId": "12345" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "request_ip": "1.1.1.1", + "type": "screen", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "integrations": { + "All": true + }, + "name": "Home", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "12345", + "eventName": "Screen View Home", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com", + "browser": "Chrome", + "browser_version": "77.0.3865.90", + "device": "Macintosh", + "os": "Mac OS" + }, + "eventTime": 1571051718299, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "12345" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "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": "spin_result", + "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", + "originalTimestamp": "2019-09-01T15:46:51.693Z", + "type": "track" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "test_user_id", + "eventName": "spin_result", + "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 + }, + "eventTime": 1567352811693, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "test_user_id" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstname": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", + "originalTimestamp": "2020-01-24T06:29:02.366Z", + "previousId": "test_previous_id", + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53711", + "sentAt": "2020-01-24T06:29:02.366Z", + "timestamp": "2020-01-24T11:59:02.403+05:30", + "type": "alias", + "userId": "test_new_user_id" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/alias", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "previousId": "test_previous_id", + "newId": "test_new_user_id", + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "test_new_user_id" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstname": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", + "originalTimestamp": "2020-01-24T06:29:02.366Z", + "previousId": "test_previous_id", + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53711", + "sentAt": "2020-01-24T06:29:02.366Z", + "timestamp": "2020-01-24T11:59:02.403+05:30", + "userId": "test_new_user_id" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "Message Type is not present. Aborting message.", + "statTags": { + "destType": "INDICATIVE", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "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", + "anonymousId": "123456", + "userId": "123456", + "type": "group", + "traits": { + "anonymousId": "123456", + "email": "sayan@gmail.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "Message type group not supported", + "statTags": { + "destType": "INDICATIVE", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "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", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "test_anon_id", + "type": "identify", + "traits": { + "anonymousId": "test_anon_id", + "email": "sayan@gmail.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/identify", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "uniqueId": "test_anon_id", + "properties": { + "email": "sayan@gmail.com", + "address.city": "kolkata", + "address.country": "India", + "address.postalCode": 712136, + "address.state": "WB", + "address.street": "", + "browser": "Chrome", + "browser_version": "77.0.3865.90", + "device": "Macintosh", + "os": "Mac OS" + }, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "userId": "test_anon_id", + "files": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 12", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "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": "spin_result", + "integrations": { + "AM": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "searchResponse": { + "hits": [ + { + "Vrm": "026067", + "Make": "AUDI", + "Year": 2010, + "DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH", + "Model": "A5", + "Price": 13990, + "Mileage": 163000, + "DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69", + "Derivative": "A5 Cabrio 1.8 TFSI Cabrio" + }, + { + "Vrm": "4527", + "Make": "AUDI", + "Year": 2009, + "DName": "Stephan Walters - Autohaus Walters", + "Model": "A5", + "Price": 14450, + "Mileage": 99990, + "DealerId": "68c7b5ae-8cf0-6595-9fd2-8644b9682838", + "Derivative": "A5 Cabrio 40 TFSI S tronic S line Cabrio" + }, + { + "Vrm": "10007", + "Make": "AUDI", + "Year": 2017, + "DName": "ps kfz-vertrieb GmbH", + "Model": "A5", + "Price": 14580, + "Mileage": 151500, + "DealerId": "a107e9a8-ac3c-6790-bb84-052dd5eed5e8", + "Derivative": "A5 Sportback 2.0 TDI ultra S tronic Coupe" + }, + { + "Vrm": "031983", + "Make": "AUDI", + "Year": 2012, + "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", + "Model": "A5", + "Price": 10980, + "Mileage": 197335, + "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", + "Derivative": "A5 2.0 TDI Sportback DPF multitronic Coupe" + }, + { + "Vrm": "042012", + "Make": "AUDI", + "Year": 2015, + "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", + "Model": "A5", + "Price": 15980, + "Mileage": 144205, + "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", + "Derivative": "A5 Coupe 35 TDI S tronic S line Coupe" + }, + { + "Vrm": "002743", + "Make": "AUDI", + "Year": 2010, + "DName": "Auto Mayer e.K.Inh. Skelcim Imeri", + "Model": "A5", + "Price": 13980, + "Mileage": 121015, + "DealerId": "972258cb-132f-62a9-bd31-e02f9f70fa7b", + "Derivative": "A5 Cabrio 2.0 TDI DPF Cabrio" + }, + { + "Vrm": "205536_3895", + "Make": "AUDI", + "Year": 2011, + "DName": "Autohaus Löbau GmbH", + "Model": "A5", + "Price": 12790, + "Mileage": 89236, + "DealerId": "9e697219-293e-63a0-884a-2d03f77bbbef", + "Derivative": "A5 2.0 TDI Sportback DPF Coupe" + }, + { + "Vrm": "116265", + "Make": "AUDI", + "Year": 2016, + "DName": "Elspass Autoland GmbH & Co. KG", + "Model": "A1", + "Price": 14690, + "Mileage": 42800, + "DealerId": "00c1bf3f-b19d-6198-a509-c7f2ff73c29a", + "Derivative": "A1 1.0 TFSI ultra Limousine" + }, + { + "Vrm": "010159", + "Make": "AUDI", + "Year": 2013, + "DName": "Hermann Meyer GmbH & Co. KG", + "Model": "A1", + "Price": 9950, + "Mileage": 93996, + "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", + "Derivative": "A1 1.4 TFSI Ambition Limousine" + }, + { + "Vrm": "010178", + "Make": "AUDI", + "Year": 2016, + "DName": "Hermann Meyer GmbH & Co. KG", + "Model": "A1", + "Price": 12950, + "Mileage": 69454, + "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", + "Derivative": "A1 1.4 TFSI Sportback S tronic Attraction Limousine" + } + ], + "page": 0, + "merge": { + "nbHitsMax": 1000, + "nbHitslimit": 1000, + "nbSearchers": 2, + "nbHitsProcessed": 10, + "personalization": { + "impact": 100, + "enabled": true, + "profile": { + "time": 0, + "facets": {}, + "taskID": 0 + }, + "percentile": 0, + "nbPersoScanned": 0, + "nbPersoSkipped": 0, + "nbPersoReranked": 0, + "nbPersoReturned": 0, + "nbPersoSelected": 0, + "nbRelevanceBuckets": 8 + }, + "lastHitToDisplay": 10, + "nbHitsNumberingEnd": 10 + }, + "nbHits": 13, + "nbPages": 2, + "queryID": "c5a176f8493236fcbfe69c3298d41659", + "indexUsed": "Germany_prod_stock_Finance_0", + "serverUsed": "d85-de-1.algolia.net", + "hitsPerPage": 10, + "parsedQuery": "audi a5", + "timeoutHits": false, + "appliedRules": [ + { + "objectID": "1539345377254" + }, + { + "objectID": "1548767806494" + } + ], + "facets_stats": { + "Doors": { + "avg": 3, + "max": 5, + "min": 2, + "sum": 48 + }, + "Price": { + "avg": 13210, + "max": 15980, + "min": 9950, + "sum": 171730 + }, + "VrmYear": { + "avg": 2013, + "max": 2017, + "min": 2009, + "sum": 26171 + } + }, + "timeoutCounts": false + } + }, + "userId": "test_user_id", + "timestamp": "2019-09-01T15:46:51.693Z", + "type": "track" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "test_user_id", + "eventName": "spin_result", + "properties": { + "searchResponse.hits.Vrm": "026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178", + "searchResponse.hits.Make": "AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI", + "searchResponse.hits.Year": "2010,2009,2017,2012,2015,2010,2011,2016,2013,2016", + "searchResponse.hits.DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG", + "searchResponse.hits.Model": "A5,A5,A5,A5,A5,A5,A5,A1,A1,A1", + "searchResponse.hits.Price": "13990,14450,14580,10980,15980,13980,12790,14690,9950,12950", + "searchResponse.hits.Mileage": "163000,99990,151500,197335,144205,121015,89236,42800,93996,69454", + "searchResponse.hits.DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900", + "searchResponse.hits.Derivative": "A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine", + "searchResponse.page": 0, + "searchResponse.merge.nbHitsMax": 1000, + "searchResponse.merge.nbHitslimit": 1000, + "searchResponse.merge.nbSearchers": 2, + "searchResponse.merge.nbHitsProcessed": 10, + "searchResponse.merge.personalization.impact": 100, + "searchResponse.merge.personalization.enabled": true, + "searchResponse.merge.personalization.profile.time": 0, + "searchResponse.merge.personalization.profile.taskID": 0, + "searchResponse.merge.personalization.percentile": 0, + "searchResponse.merge.personalization.nbPersoScanned": 0, + "searchResponse.merge.personalization.nbPersoSkipped": 0, + "searchResponse.merge.personalization.nbPersoReranked": 0, + "searchResponse.merge.personalization.nbPersoReturned": 0, + "searchResponse.merge.personalization.nbPersoSelected": 0, + "searchResponse.merge.personalization.nbRelevanceBuckets": 8, + "searchResponse.merge.lastHitToDisplay": 10, + "searchResponse.merge.nbHitsNumberingEnd": 10, + "searchResponse.nbHits": 13, + "searchResponse.nbPages": 2, + "searchResponse.queryID": "c5a176f8493236fcbfe69c3298d41659", + "searchResponse.indexUsed": "Germany_prod_stock_Finance_0", + "searchResponse.serverUsed": "d85-de-1.algolia.net", + "searchResponse.hitsPerPage": 10, + "searchResponse.parsedQuery": "audi a5", + "searchResponse.timeoutHits": false, + "searchResponse.appliedRules.objectID": "1539345377254,1548767806494", + "searchResponse.facets_stats.Doors.avg": 3, + "searchResponse.facets_stats.Doors.max": 5, + "searchResponse.facets_stats.Doors.min": 2, + "searchResponse.facets_stats.Doors.sum": 48, + "searchResponse.facets_stats.Price.avg": 13210, + "searchResponse.facets_stats.Price.max": 15980, + "searchResponse.facets_stats.Price.min": 9950, + "searchResponse.facets_stats.Price.sum": 171730, + "searchResponse.facets_stats.VrmYear.avg": 2013, + "searchResponse.facets_stats.VrmYear.max": 2017, + "searchResponse.facets_stats.VrmYear.min": 2009, + "searchResponse.facets_stats.VrmYear.sum": 26171, + "searchResponse.timeoutCounts": false + }, + "eventTime": 1567352811693, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "test_user_id" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 13", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afmecIpsJm7D72aRTksxyODrwR", + "Name": "Segment", + "DestinationDefinition": { + "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", + "Name": "SEGMENT", + "DisplayName": "Segment", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "writeKey": "abcdefghijklmnopqrstuvwxyz" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "testmp@email.com", + "firstname": "Test Transformer" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "JuhuSearchResults", + "integrations": { + "All": true + }, + "messageId": "584fde02-901a-4964-a4a0-4078b999d5b2", + "originalTimestamp": "2020-04-17T14:55:31.372Z", + "traits": { + "searchResponse": { + "hits": [ + { + "Vrm": "026067", + "Make": "AUDI", + "Year": 2010, + "DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH", + "Model": "A5", + "Price": 13990, + "Mileage": 163000, + "DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69", + "Derivative": "A5 Cabrio 1.8 TFSI Cabrio" + }, + { + "Vrm": "4527", + "Make": "AUDI", + "Year": 2009, + "DName": "Stephan Walters - Autohaus Walters", + "Model": "A5", + "Price": 14450, + "Mileage": 99990, + "DealerId": "68c7b5ae-8cf0-6595-9fd2-8644b9682838", + "Derivative": "A5 Cabrio 40 TFSI S tronic S line Cabrio" + }, + { + "Vrm": "10007", + "Make": "AUDI", + "Year": 2017, + "DName": "ps kfz-vertrieb GmbH", + "Model": "A5", + "Price": 14580, + "Mileage": 151500, + "DealerId": "a107e9a8-ac3c-6790-bb84-052dd5eed5e8", + "Derivative": "A5 Sportback 2.0 TDI ultra S tronic Coupe" + }, + { + "Vrm": "031983", + "Make": "AUDI", + "Year": 2012, + "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", + "Model": "A5", + "Price": 10980, + "Mileage": 197335, + "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", + "Derivative": "A5 2.0 TDI Sportback DPF multitronic Coupe" + }, + { + "Vrm": "042012", + "Make": "AUDI", + "Year": 2015, + "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", + "Model": "A5", + "Price": 15980, + "Mileage": 144205, + "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", + "Derivative": "A5 Coupe 35 TDI S tronic S line Coupe" + }, + { + "Vrm": "002743", + "Make": "AUDI", + "Year": 2010, + "DName": "Auto Mayer e.K.Inh. Skelcim Imeri", + "Model": "A5", + "Price": 13980, + "Mileage": 121015, + "DealerId": "972258cb-132f-62a9-bd31-e02f9f70fa7b", + "Derivative": "A5 Cabrio 2.0 TDI DPF Cabrio" + }, + { + "Vrm": "205536_3895", + "Make": "AUDI", + "Year": 2011, + "DName": "Autohaus Löbau GmbH", + "Model": "A5", + "Price": 12790, + "Mileage": 89236, + "DealerId": "9e697219-293e-63a0-884a-2d03f77bbbef", + "Derivative": "A5 2.0 TDI Sportback DPF Coupe" + }, + { + "Vrm": "116265", + "Make": "AUDI", + "Year": 2016, + "DName": "Elspass Autoland GmbH & Co. KG", + "Model": "A1", + "Price": 14690, + "Mileage": 42800, + "DealerId": "00c1bf3f-b19d-6198-a509-c7f2ff73c29a", + "Derivative": "A1 1.0 TFSI ultra Limousine" + }, + { + "Vrm": "010159", + "Make": "AUDI", + "Year": 2013, + "DName": "Hermann Meyer GmbH & Co. KG", + "Model": "A1", + "Price": 9950, + "Mileage": 93996, + "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", + "Derivative": "A1 1.4 TFSI Ambition Limousine" + }, + { + "Vrm": "010178", + "Make": "AUDI", + "Year": 2016, + "DName": "Hermann Meyer GmbH & Co. KG", + "Model": "A1", + "Price": 12950, + "Mileage": 69454, + "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", + "Derivative": "A1 1.4 TFSI Sportback S tronic Attraction Limousine" + } + ], + "page": 0, + "merge": { + "nbHitsMax": 1000, + "nbHitslimit": 1000, + "nbSearchers": 2, + "nbHitsProcessed": 10, + "personalization": { + "impact": 100, + "enabled": true, + "profile": { + "time": 0, + "facets": {}, + "taskID": 0 + }, + "percentile": 0, + "nbPersoScanned": 0, + "nbPersoSkipped": 0, + "nbPersoReranked": 0, + "nbPersoReturned": 0, + "nbPersoSelected": 0, + "nbRelevanceBuckets": 8 + }, + "lastHitToDisplay": 10, + "nbHitsNumberingEnd": 10 + }, + "nbHits": 13, + "nbPages": 2, + "queryID": "c5a176f8493236fcbfe69c3298d41659", + "indexUsed": "Germany_prod_stock_Finance_0", + "serverUsed": "d85-de-1.algolia.net", + "hitsPerPage": 10, + "parsedQuery": "audi a5", + "timeoutHits": false, + "appliedRules": [ + { + "objectID": "1539345377254" + }, + { + "objectID": "1548767806494" + } + ], + "facets_stats": { + "Doors": { + "avg": 3, + "max": 5, + "min": 2, + "sum": 48 + }, + "Price": { + "avg": 13210, + "max": 15980, + "min": 9950, + "sum": 171730 + }, + "VrmYear": { + "avg": 2013, + "max": 2017, + "min": 2009, + "sum": 26171 + } + }, + "timeoutCounts": false + } + }, + "receivedAt": "2020-04-17T20:25:31.401+05:30", + "request_ip": "[::1]:57365", + "sentAt": "2020-04-17T14:55:31.372Z", + "timestamp": "2020-04-17T20:25:31.401+05:30", + "name": "test page", + "type": "identify", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/identify", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "uniqueId": "user12345", + "properties": { + "searchResponse.hits.Vrm": "026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178", + "searchResponse.hits.Make": "AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI", + "searchResponse.hits.Year": "2010,2009,2017,2012,2015,2010,2011,2016,2013,2016", + "searchResponse.hits.DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG", + "searchResponse.hits.Model": "A5,A5,A5,A5,A5,A5,A5,A1,A1,A1", + "searchResponse.hits.Price": "13990,14450,14580,10980,15980,13980,12790,14690,9950,12950", + "searchResponse.hits.Mileage": "163000,99990,151500,197335,144205,121015,89236,42800,93996,69454", + "searchResponse.hits.DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900", + "searchResponse.hits.Derivative": "A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine", + "searchResponse.page": 0, + "searchResponse.merge.nbHitsMax": 1000, + "searchResponse.merge.nbHitslimit": 1000, + "searchResponse.merge.nbSearchers": 2, + "searchResponse.merge.nbHitsProcessed": 10, + "searchResponse.merge.personalization.impact": 100, + "searchResponse.merge.personalization.enabled": true, + "searchResponse.merge.personalization.profile.time": 0, + "searchResponse.merge.personalization.profile.taskID": 0, + "searchResponse.merge.personalization.percentile": 0, + "searchResponse.merge.personalization.nbPersoScanned": 0, + "searchResponse.merge.personalization.nbPersoSkipped": 0, + "searchResponse.merge.personalization.nbPersoReranked": 0, + "searchResponse.merge.personalization.nbPersoReturned": 0, + "searchResponse.merge.personalization.nbPersoSelected": 0, + "searchResponse.merge.personalization.nbRelevanceBuckets": 8, + "searchResponse.merge.lastHitToDisplay": 10, + "searchResponse.merge.nbHitsNumberingEnd": 10, + "searchResponse.nbHits": 13, + "searchResponse.nbPages": 2, + "searchResponse.queryID": "c5a176f8493236fcbfe69c3298d41659", + "searchResponse.indexUsed": "Germany_prod_stock_Finance_0", + "searchResponse.serverUsed": "d85-de-1.algolia.net", + "searchResponse.hitsPerPage": 10, + "searchResponse.parsedQuery": "audi a5", + "searchResponse.timeoutHits": false, + "searchResponse.appliedRules.objectID": "1539345377254,1548767806494", + "searchResponse.facets_stats.Doors.avg": 3, + "searchResponse.facets_stats.Doors.max": 5, + "searchResponse.facets_stats.Doors.min": 2, + "searchResponse.facets_stats.Doors.sum": 48, + "searchResponse.facets_stats.Price.avg": 13210, + "searchResponse.facets_stats.Price.max": 15980, + "searchResponse.facets_stats.Price.min": 9950, + "searchResponse.facets_stats.Price.sum": 171730, + "searchResponse.facets_stats.VrmYear.avg": 2013, + "searchResponse.facets_stats.VrmYear.max": 2017, + "searchResponse.facets_stats.VrmYear.min": 2009, + "searchResponse.facets_stats.VrmYear.sum": 26171, + "searchResponse.timeoutCounts": false, + "browser": "Chrome", + "browser_version": "80.0.3987.163", + "device": "Macintosh", + "os": "Mac OS" + } + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "user12345" + }, + "statusCode": 200 + }, { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/alias", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "previousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "newId": "user12345" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "user12345" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 14", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "sayan@gmail.com", + "anonymousId": "12345" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "abc", + "title": "Test Page", + "url": "http://localhost/tests/html/index4.html" + } + }, + "request_ip": "1.1.1.1", + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "12345", + "eventName": "Page View ApplicationLoaded", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com", + "browser": "Chrome", + "browser_version": "77.0.3865.90", + "device": "Macintosh", + "os": "Mac OS" + }, + "eventTime": 1571051718299, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "12345" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 15", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "sayan@gmail.com", + "anonymousId": "12345" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "abc", + "title": "Test Page", + "url": "http://localhost/tests/html/index4.html" + } + }, + "request_ip": "1.1.1.1", + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "12345", + "eventName": "Page View ApplicationLoaded", + "properties": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "abc", + "title": "Test Page", + "url": "http://localhost/tests/html/index4.html", + "browser": "Chrome", + "browser_version": "77.0.3865.90", + "device": "Macintosh", + "os": "Mac OS" + }, + "eventTime": 1571051718299, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "12345" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 16", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "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" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "abc", + "title": "Test Page", + "url": "http://localhost/tests/html/index4.html" + } + }, + "event": "spin_result", + "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" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "test_user_id", + "eventName": "spin_result", + "properties": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "abc", + "title": "Test Page", + "url": "http://localhost/tests/html/index4.html", + "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 + }, + "eventTime": 1567352811693, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "test_user_id" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 17", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "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" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "abc", + "title": "Test Page", + "url": "http://localhost/tests/html/index4.html" + } + }, + "event": "spin_result", + "integrations": { + "AM": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "searchResponse": { + "hits": [ + { + "Vrm": "026067", + "Make": "AUDI", + "Year": 2010, + "DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH", + "Model": "A5", + "Price": 13990, + "Mileage": 163000, + "DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69", + "Derivative": "A5 Cabrio 1.8 TFSI Cabrio" + }, + { + "Vrm": "4527", + "Make": "AUDI", + "Year": 2009, + "DName": "Stephan Walters - Autohaus Walters", + "Model": "A5", + "Price": 14450, + "Mileage": 99990, + "DealerId": "68c7b5ae-8cf0-6595-9fd2-8644b9682838", + "Derivative": "A5 Cabrio 40 TFSI S tronic S line Cabrio" + }, + { + "Vrm": "10007", + "Make": "AUDI", + "Year": 2017, + "DName": "ps kfz-vertrieb GmbH", + "Model": "A5", + "Price": 14580, + "Mileage": 151500, + "DealerId": "a107e9a8-ac3c-6790-bb84-052dd5eed5e8", + "Derivative": "A5 Sportback 2.0 TDI ultra S tronic Coupe" + }, + { + "Vrm": "031983", + "Make": "AUDI", + "Year": 2012, + "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", + "Model": "A5", + "Price": 10980, + "Mileage": 197335, + "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", + "Derivative": "A5 2.0 TDI Sportback DPF multitronic Coupe" + }, + { + "Vrm": "042012", + "Make": "AUDI", + "Year": 2015, + "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", + "Model": "A5", + "Price": 15980, + "Mileage": 144205, + "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", + "Derivative": "A5 Coupe 35 TDI S tronic S line Coupe" + }, + { + "Vrm": "002743", + "Make": "AUDI", + "Year": 2010, + "DName": "Auto Mayer e.K.Inh. Skelcim Imeri", + "Model": "A5", + "Price": 13980, + "Mileage": 121015, + "DealerId": "972258cb-132f-62a9-bd31-e02f9f70fa7b", + "Derivative": "A5 Cabrio 2.0 TDI DPF Cabrio" + }, + { + "Vrm": "205536_3895", + "Make": "AUDI", + "Year": 2011, + "DName": "Autohaus Löbau GmbH", + "Model": "A5", + "Price": 12790, + "Mileage": 89236, + "DealerId": "9e697219-293e-63a0-884a-2d03f77bbbef", + "Derivative": "A5 2.0 TDI Sportback DPF Coupe" + }, + { + "Vrm": "116265", + "Make": "AUDI", + "Year": 2016, + "DName": "Elspass Autoland GmbH & Co. KG", + "Model": "A1", + "Price": 14690, + "Mileage": 42800, + "DealerId": "00c1bf3f-b19d-6198-a509-c7f2ff73c29a", + "Derivative": "A1 1.0 TFSI ultra Limousine" + }, + { + "Vrm": "010159", + "Make": "AUDI", + "Year": 2013, + "DName": "Hermann Meyer GmbH & Co. KG", + "Model": "A1", + "Price": 9950, + "Mileage": 93996, + "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", + "Derivative": "A1 1.4 TFSI Ambition Limousine" + }, + { + "Vrm": "010178", + "Make": "AUDI", + "Year": 2016, + "DName": "Hermann Meyer GmbH & Co. KG", + "Model": "A1", + "Price": 12950, + "Mileage": 69454, + "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", + "Derivative": "A1 1.4 TFSI Sportback S tronic Attraction Limousine" + } + ], + "page": 0, + "merge": { + "nbHitsMax": 1000, + "nbHitslimit": 1000, + "nbSearchers": 2, + "nbHitsProcessed": 10, + "personalization": { + "impact": 100, + "enabled": true, + "profile": { + "time": 0, + "facets": {}, + "taskID": 0 + }, + "percentile": 0, + "nbPersoScanned": 0, + "nbPersoSkipped": 0, + "nbPersoReranked": 0, + "nbPersoReturned": 0, + "nbPersoSelected": 0, + "nbRelevanceBuckets": 8 + }, + "lastHitToDisplay": 10, + "nbHitsNumberingEnd": 10 + }, + "nbHits": 13, + "nbPages": 2, + "queryID": "c5a176f8493236fcbfe69c3298d41659", + "indexUsed": "Germany_prod_stock_Finance_0", + "serverUsed": "d85-de-1.algolia.net", + "hitsPerPage": 10, + "parsedQuery": "audi a5", + "timeoutHits": false, + "appliedRules": [ + { + "objectID": "1539345377254" + }, + { + "objectID": "1548767806494" + } + ], + "facets_stats": { + "Doors": { + "avg": 3, + "max": 5, + "min": 2, + "sum": 48 + }, + "Price": { + "avg": 13210, + "max": 15980, + "min": 9950, + "sum": 171730 + }, + "VrmYear": { + "avg": 2013, + "max": 2017, + "min": 2009, + "sum": 26171 + } + }, + "timeoutCounts": false + } + }, + "userId": "test_user_id", + "timestamp": "2019-09-01T15:46:51.693Z", + "type": "track" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "test_user_id", + "eventName": "spin_result", + "properties": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "abc", + "title": "Test Page", + "url": "http://localhost/tests/html/index4.html", + "searchResponse.hits.Vrm": "026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178", + "searchResponse.hits.Make": "AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI", + "searchResponse.hits.Year": "2010,2009,2017,2012,2015,2010,2011,2016,2013,2016", + "searchResponse.hits.DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG", + "searchResponse.hits.Model": "A5,A5,A5,A5,A5,A5,A5,A1,A1,A1", + "searchResponse.hits.Price": "13990,14450,14580,10980,15980,13980,12790,14690,9950,12950", + "searchResponse.hits.Mileage": "163000,99990,151500,197335,144205,121015,89236,42800,93996,69454", + "searchResponse.hits.DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900", + "searchResponse.hits.Derivative": "A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine", + "searchResponse.page": 0, + "searchResponse.merge.nbHitsMax": 1000, + "searchResponse.merge.nbHitslimit": 1000, + "searchResponse.merge.nbSearchers": 2, + "searchResponse.merge.nbHitsProcessed": 10, + "searchResponse.merge.personalization.impact": 100, + "searchResponse.merge.personalization.enabled": true, + "searchResponse.merge.personalization.profile.time": 0, + "searchResponse.merge.personalization.profile.taskID": 0, + "searchResponse.merge.personalization.percentile": 0, + "searchResponse.merge.personalization.nbPersoScanned": 0, + "searchResponse.merge.personalization.nbPersoSkipped": 0, + "searchResponse.merge.personalization.nbPersoReranked": 0, + "searchResponse.merge.personalization.nbPersoReturned": 0, + "searchResponse.merge.personalization.nbPersoSelected": 0, + "searchResponse.merge.personalization.nbRelevanceBuckets": 8, + "searchResponse.merge.lastHitToDisplay": 10, + "searchResponse.merge.nbHitsNumberingEnd": 10, + "searchResponse.nbHits": 13, + "searchResponse.nbPages": 2, + "searchResponse.queryID": "c5a176f8493236fcbfe69c3298d41659", + "searchResponse.indexUsed": "Germany_prod_stock_Finance_0", + "searchResponse.serverUsed": "d85-de-1.algolia.net", + "searchResponse.hitsPerPage": 10, + "searchResponse.parsedQuery": "audi a5", + "searchResponse.timeoutHits": false, + "searchResponse.appliedRules.objectID": "1539345377254,1548767806494", + "searchResponse.facets_stats.Doors.avg": 3, + "searchResponse.facets_stats.Doors.max": 5, + "searchResponse.facets_stats.Doors.min": 2, + "searchResponse.facets_stats.Doors.sum": 48, + "searchResponse.facets_stats.Price.avg": 13210, + "searchResponse.facets_stats.Price.max": 15980, + "searchResponse.facets_stats.Price.min": 9950, + "searchResponse.facets_stats.Price.sum": 171730, + "searchResponse.facets_stats.VrmYear.avg": 2013, + "searchResponse.facets_stats.VrmYear.max": 2017, + "searchResponse.facets_stats.VrmYear.min": 2009, + "searchResponse.facets_stats.VrmYear.sum": 26171, + "searchResponse.timeoutCounts": false + }, + "eventTime": 1567352811693, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "test_user_id" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 18", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "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" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "abc", + "title": "Test Page", + "url": "http://localhost/tests/html/index4.html" + } + }, + "event": "spin_result", + "integrations": { + "AM": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "searchResponse": { + "primitiveArr1": [ + "abc", + "def" + ], + "primitiveArr2": [ + 1, + 2, + 3 + ], + "arrOfArr": [ + [ + "abc", + "def" + ], + [ + 1, + 2, + 3 + ] + ], + "emptyArr": [], + "complexArr1": [ + { + "crr1K1": { + "discardK1": "discardV1" + } + } + ] + } + }, + "userId": "test_user_id", + "timestamp": "2019-09-01T15:46:51.693Z", + "type": "track" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "test_user_id", + "eventName": "spin_result", + "properties": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "abc", + "title": "Test Page", + "url": "http://localhost/tests/html/index4.html", + "searchResponse.primitiveArr1": "abc,def", + "searchResponse.primitiveArr2": "1,2,3" + }, + "eventTime": 1567352811693, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "test_user_id" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 19", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "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" + }, + "campaign": {} + }, + "event": "spin_result", + "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" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "test_user_id", + "eventName": "spin_result", + "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 + }, + "eventTime": 1567352811693, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "test_user_id" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "indicative", + "description": "Test 20", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "message": { + "anonymousId": "8d872292709c6fbe", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "AMTestProject", + "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", + "version": "1.0" + }, + "device": { + "id": "8d872292709c6fbe", + "manufacturer": "Google", + "model": "AOSPonIAEmulator", + "name": "generic_x86_arm", + "type": "android" + }, + "library": { + "name": "com.rudderstack.android.sdk.core", + "version": "1.0.2" + }, + "locale": "en-US", + "network": { + "carrier": "Android", + "bluetooth": false, + "cellular": true, + "wifi": true + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Kolkata", + "traits": { + "address": { + "city": "kolkata", + "country": "India" + } + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" + }, + "event": "Product Clicked", + "integrations": { + "All": true + }, + "messageId": "1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06", + "properties": { + "revenue": "30", + "currency": "USD", + "quantity": "5", + "test_key_2": { + "test_child_key_1": "test_child_value_1" + }, + "price": "58.0" + }, + "originalTimestamp": "2020-05-25T18:37:10.917Z", + "type": "track", + "userId": "sample_user_id" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "sample_user_id", + "eventName": "Product Clicked", + "properties": { + "revenue": "30", + "currency": "USD", + "quantity": "5", + "test_key_2.test_child_key_1": "test_child_value_1", + "price": "58.0", + "device": "Android 9", + "os": "Android" + }, + "eventTime": 1590431830917, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "sample_user_id" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/indicative/router/data.ts b/test/integrations/destinations/indicative/router/data.ts new file mode 100644 index 0000000000..4791ecc369 --- /dev/null +++ b/test/integrations/destinations/indicative/router/data.ts @@ -0,0 +1,313 @@ +export const data = [ + { + name: 'fb', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "destination": { + "Config": { + "apiKey": "abcde" + } + }, + "metadata": { + "jobId": 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" + } + }, + "event": "spin_result", + "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": { + "apiKey": "abcde" + } + }, + "metadata": { + "jobId": 2 + }, + "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", + "anonymousId": "anon_id", + "userId": "123456", + "type": "identify", + "traits": { + "anonymousId": "anon_id", + "email": "sayan@gmail.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + }, + ], + destType: 'indicative', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/event", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "eventUniqueId": "test_user_id", + "eventName": "spin_result", + "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 + }, + "eventTime": 1567352811693, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "test_user_id" + } + ], + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "apiKey": "abcde" + } + } + }, + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/identify", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "uniqueId": "123456", + "properties": { + "email": "sayan@gmail.com", + "address.city": "kolkata", + "address.country": "India", + "address.postalCode": 712136, + "address.state": "WB", + "address.street": "", + "browser": "Chrome", + "browser_version": "77.0.3865.90", + "device": "Macintosh", + "os": "Mac OS" + }, + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "123456" + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.indicative.com/service/alias", + "headers": { + "Indicative-Client": "RudderStack", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "previousId": "anon_id", + "newId": "123456", + "apiKey": "abcde" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "123456" + } + ], + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "apiKey": "abcde" + } + } + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/iterable/processor/data.ts b/test/integrations/destinations/iterable/processor/data.ts new file mode 100644 index 0000000000..19b370b513 --- /dev/null +++ b/test/integrations/destinations/iterable/processor/data.ts @@ -0,0 +1,3784 @@ +export const data = [ + { + name: 'iterable', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + sentAt: '2020-08-28T16:26:16.473Z', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Invalid page call', + statTags: { + destType: 'ITERABLE', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + sentAt: '2020-08-28T16:26:06.466Z', + traits: { + city: 'Bangalore', + name: 'manashi', + email: 'manashi@website.com', + country: 'India', + }, + context: { + traits: { + city: 'Bangalore', + name: 'manashi', + email: 'manashi@website.com', + country: 'India', + preferUserId: false, + }, + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd', + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.462Z', + }, + destination: { + Config: { + preferUserId: false, + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + email: 'manashi@website.com', + userId: 'abcdeeeeeeeexxxx102', + dataFields: { + city: 'Bangalore', + name: 'manashi', + email: 'manashi@website.com', + country: 'India', + }, + preferUserId: false, + mergeNestedObjects: true, + }, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + api_key: '62d12498c37c4fd8a1a546c2d35c2f60', + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.iterable.com/api/users/update', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Email Opened', + sentAt: '2020-08-28T16:26:16.473Z', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453', + properties: { + subject: 'resume validate', + sendtime: '2020-01-01', + sendlocation: 'akashdeep@gmail.com', + }, + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + userId: 'abcdeeeeeeeexxxx102', + createdAt: 1598631966468, + eventName: 'Email Opened', + dataFields: { + subject: 'resume validate', + sendtime: '2020-01-01', + sendlocation: 'akashdeep@gmail.com', + }, + }, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + api_key: '62d12498c37c4fd8a1a546c2d35c2f60', + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.iterable.com/api/events/track', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + category: 'test-category', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/track', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'sayan@gmail.com', + dataFields: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + category: 'test-category', + }, + userId: '12345', + eventName: 'ApplicationLoaded page', + createdAt: 1571051718299, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + category: 'test-category', + campaignId: '123456', + templateId: '1213458', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: true, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/track', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'sayan@gmail.com', + dataFields: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + category: 'test-category', + campaignId: '123456', + templateId: '1213458', + }, + userId: '12345', + eventName: 'Loaded a Page', + createdAt: 1571051718299, + campaignId: 123456, + templateId: 1213458, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + name: 'test-name', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: false, + trackNamedPages: true, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/track', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'sayan@gmail.com', + dataFields: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + name: 'test-name', + }, + userId: '12345', + eventName: 'ApplicationLoaded page', + createdAt: 1571051718299, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/track', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'sayan@gmail.com', + dataFields: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + }, + userId: '12345', + eventName: 'ApplicationLoaded page', + createdAt: 1571051718299, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + type: 'screen', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + category: 'test-category', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/track', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'sayan@gmail.com', + dataFields: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + category: 'test-category', + }, + userId: '12345', + eventName: 'ApplicationLoaded screen', + createdAt: 1571051718299, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + type: 'screen', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + category: 'test-category', + campaignId: '123456', + templateId: '1213458', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: true, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/track', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'sayan@gmail.com', + dataFields: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + category: 'test-category', + campaignId: '123456', + templateId: '1213458', + }, + userId: '12345', + eventName: 'Loaded a Screen', + createdAt: 1571051718299, + campaignId: 123456, + templateId: 1213458, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + type: 'screen', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + name: 'test-name', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: false, + trackNamedPages: true, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/track', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'sayan@gmail.com', + dataFields: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + name: 'test-name', + }, + userId: '12345', + eventName: 'ApplicationLoaded screen', + createdAt: 1571051718299, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + type: 'screen', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/track', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'sayan@gmail.com', + dataFields: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + }, + userId: '12345', + eventName: 'ApplicationLoaded screen', + createdAt: 1571051718299, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'group', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Message type group not supported', + statTags: { + destType: 'ITERABLE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + mergeNestedObjects: false, + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/users/update', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'ruchira@rudderlabs.com', + dataFields: { + email: 'ruchira@rudderlabs.com', + }, + userId: '123456', + preferUserId: true, + mergeNestedObjects: false, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + token: 'sample_push_token', + name: 'sample_device_name', + model: 'sample_device_model', + manufacturer: 'sample_device_manufacturer', + type: 'ios', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/users/update', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'ruchira@rudderlabs.com', + dataFields: { + email: 'ruchira@rudderlabs.com', + }, + userId: '123456', + preferUserId: true, + mergeNestedObjects: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + token: 'sample_push_token', + name: 'sample_device_name', + model: 'sample_device_model', + manufacturer: 'sample_device_manufacturer', + type: 'android', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/users/update', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'ruchira@rudderlabs.com', + dataFields: { + email: 'ruchira@rudderlabs.com', + }, + userId: '123456', + preferUserId: true, + mergeNestedObjects: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + event: 'product added', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + campaignId: '1', + templateId: '0', + orderId: 10000, + total: 1000, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + quantity: '2', + }, + { + product_id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + price: '192', + quantity: 22, + position: '12', + category: 'Cars2', + url: 'https://www.example.com/product/path2', + image_url: 'https://www.example.com/product/path.jpg2', + }, + ], + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/commerce/updateCart', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + user: { + email: 'sayan@gmail.com', + dataFields: { + email: 'sayan@gmail.com', + }, + userId: '12345', + preferUserId: true, + mergeNestedObjects: true, + }, + items: [ + { + id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + categories: ['cars'], + price: 19, + quantity: 2, + imageUrl: 'https://www.example.com/product/path.jpg', + url: 'https://www.example.com/product/path', + }, + { + id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + categories: ['Cars2'], + price: 192, + quantity: 22, + imageUrl: 'https://www.example.com/product/path.jpg2', + url: 'https://www.example.com/product/path2', + }, + ], + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 16', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + event: 'order completed', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + orderId: 10000, + total: '1000', + campaignId: '123456', + templateId: '1213458', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + position: '1', + category: 'Cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + quantity: 2, + }, + { + product_id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + price: '192', + quantity: '22', + position: '12', + category: 'Cars2', + url: 'https://www.example.com/product/path2', + image_url: 'https://www.example.com/product/path.jpg2', + }, + ], + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/commerce/trackPurchase', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + dataFields: { + orderId: 10000, + total: '1000', + campaignId: '123456', + templateId: '1213458', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + position: '1', + category: 'Cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + quantity: 2, + }, + { + product_id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + price: '192', + quantity: '22', + position: '12', + category: 'Cars2', + url: 'https://www.example.com/product/path2', + image_url: 'https://www.example.com/product/path.jpg2', + }, + ], + }, + id: '10000', + createdAt: 1571051718299, + campaignId: 123456, + templateId: 1213458, + total: 1000, + user: { + email: 'sayan@gmail.com', + dataFields: { + email: 'sayan@gmail.com', + }, + userId: '12345', + preferUserId: true, + mergeNestedObjects: true, + }, + items: [ + { + id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + categories: ['Cars'], + price: 19, + quantity: 2, + imageUrl: 'https://www.example.com/product/path.jpg', + url: 'https://www.example.com/product/path', + }, + { + id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + categories: ['Cars2'], + price: 192, + quantity: 22, + imageUrl: 'https://www.example.com/product/path.jpg2', + url: 'https://www.example.com/product/path2', + }, + ], + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 17', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'test track event GA3', + properties: { + email: 'ruchira@rudderlabs.com', + campaignId: '1', + templateId: '0', + category: 'test-category', + user_actual_role: 'system_admin, system_user', + user_actual_id: 12345, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/track', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'ruchira@rudderlabs.com', + dataFields: { + campaignId: '1', + templateId: '0', + category: 'test-category', + user_actual_role: 'system_admin, system_user', + user_actual_id: 12345, + email: 'ruchira@rudderlabs.com', + }, + userId: '12345', + eventName: 'test track event GA3', + createdAt: 1571051718300, + campaignId: 1, + templateId: 0, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 18', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/users/update', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'ruchira@rudderlabs.com', + dataFields: { + email: 'ruchira@rudderlabs.com', + }, + userId: '123456', + preferUserId: true, + mergeNestedObjects: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 19', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'userId or email is mandatory for this request', + statTags: { + destType: 'ITERABLE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 20', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + sentAt: '2020-08-28T16:26:16.473Z', + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Invalid page call', + statTags: { + destType: 'ITERABLE', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 21', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Product Added', + sentAt: '2021-07-09T05:27:17.908Z', + userId: '8751', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.0.16', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'https://joybird.com/cabinets/vira-console-cabinet/', + path: '/cabinets/vira-console-cabinet/', + title: 'Vira Console Cabinet | Joybird', + search: '', + referrer: '$direct', + referring_domain: '', + }, + locale: 'en-us', + screen: { + density: 2, + }, + traits: { + email: 'jessica@jlpdesign.net', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.16', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15', + }, + rudderId: '1c42e104-97ec-4f54-a328-2379623583fe', + messageId: 'e58f6624-a1c3-48f4-a6af-610389602304', + timestamp: '2021-07-09T05:27:18.131Z', + properties: { + sku: 'JB24691400-W05', + name: 'Vira Console Cabinet', + price: 797, + cart_id: 'bd9b8dbf4ef8ee01d4206b04fe2ee6ae', + variant: 'Oak', + quantity: 1, + quickship: true, + full_price: 1328, + product_id: 10606, + non_interaction: 1, + }, + receivedAt: '2021-07-09T05:27:18.131Z', + request_ip: '162.224.233.114', + anonymousId: '8a7ff986-62d8-45ca-9a16-8895b3f9d341', + integrations: { + All: true, + }, + originalTimestamp: '2021-07-09T05:27:17.908Z', + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: 'projects/big-query-integration-poc/topics/test', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/commerce/updateCart', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + user: { + email: 'jessica@jlpdesign.net', + dataFields: { + email: 'jessica@jlpdesign.net', + }, + userId: '8751', + preferUserId: true, + mergeNestedObjects: true, + }, + items: [ + { + id: 10606, + sku: 'JB24691400-W05', + name: 'Vira Console Cabinet', + price: 797, + quantity: 1, + }, + ], + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 22', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'sources', + context: { + externalId: [ + { + id: 'lynnanderson@smith.net', + identifierType: 'email', + type: 'ITERABLE-users', + }, + ], + mappedToDestination: 'true', + sources: { + batch_id: 'f5f240d0-0acb-46e0-b043-57fb0aabbadd', + job_id: '1zAj94bEy8komdqnYtSoDp0VmGs/Syncher', + job_run_id: 'c5tar6cqgmgmcjvupdhg', + task_id: 'tt_10_rows_check', + task_run_id: 'c5tar6cqgmgmcjvupdi0', + version: 'release.v1.6.8', + }, + }, + messageId: '2f052f7c-f694-4849-a7ed-a432f7ffa0a4', + originalTimestamp: '2021-10-28T14:03:50.503Z', + receivedAt: '2021-10-28T14:03:46.567Z', + recordId: '8', + request_ip: '10.1.94.92', + rudderId: 'c0f6843e-e3d6-4946-9752-fa339fbadef2', + sentAt: '2021-10-28T14:03:50.503Z', + timestamp: '2021-10-28T14:03:46.566Z', + traits: { + administrative_unit: 'Minnesota', + am_pm: 'AM', + boolean: true, + firstname: 'Jacqueline', + pPower: 'AM', + userId: 'Jacqueline', + }, + type: 'identify', + userId: 'lynnanderson@smith.net', + }, + destination: { + ID: '1zia9wKshXt80YksLmUdJnr7IHI', + Name: 'test_iterable', + DestinationDefinition: { + ID: '1iVQvTRMsPPyJzwol0ifH93QTQ6', + Name: 'ITERABLE', + DisplayName: 'Iterable', + Config: { + destConfig: { + defaultConfig: [ + 'apiKey', + 'mapToSingleEvent', + 'trackAllPages', + 'trackCategorisedPages', + 'trackNamedPages', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + apiKey: '12345', + mapToSingleEvent: true, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: true, + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/users/update', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'lynnanderson@smith.net', + dataFields: { + administrative_unit: 'Minnesota', + am_pm: 'AM', + boolean: true, + firstname: 'Jacqueline', + pPower: 'AM', + userId: 'Jacqueline', + email: 'lynnanderson@smith.net', + }, + userId: 'lynnanderson@smith.net', + preferUserId: true, + mergeNestedObjects: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 23', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'sources', + context: { + externalId: [ + { + id: 'Matthew', + identifierType: 'userId', + type: 'ITERABLE-users', + }, + ], + mappedToDestination: 'true', + sources: { + batch_id: '230d7c79-a2c2-4b2a-90bb-06ba988d3bb4', + job_id: '1zjj9aF5UkmavBi4HtM3kWOGvy0/Syncher', + job_run_id: 'c5tb4gsqgmgmcjvuplhg', + task_id: 'tt_10_rows', + task_run_id: 'c5tb4gsqgmgmcjvupli0', + version: 'release.v1.6.8', + }, + }, + messageId: 'c4c97310-463b-4300-9215-5cfddcb2a769', + originalTimestamp: '2021-10-28T14:23:43.254Z', + receivedAt: '2021-10-28T14:23:38.300Z', + recordId: '3', + request_ip: '10.1.94.92', + rudderId: '7300f5e3-bdb5-489e-ac7e-47876e487de9', + sentAt: '2021-10-28T14:23:43.254Z', + timestamp: '2021-10-28T14:23:38.299Z', + traits: { + price: 'GB', + }, + type: 'identify', + userId: 'Matthew', + }, + destination: { + ID: '1zjjHN4RQ6t4DPj3HVpp0b6XW4A', + Name: 'test_userId_uniq', + DestinationDefinition: { + ID: '1iVQvTRMsPPyJzwol0ifH93QTQ6', + Name: 'ITERABLE', + DisplayName: 'Iterable', + Config: { + destConfig: { + defaultConfig: [ + 'apiKey', + 'mapToSingleEvent', + 'trackAllPages', + 'trackCategorisedPages', + 'trackNamedPages', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + apiKey: '12345', + mapToSingleEvent: true, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: true, + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/users/update', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + dataFields: { + price: 'GB', + userId: 'Matthew', + }, + userId: 'Matthew', + preferUserId: true, + mergeNestedObjects: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 24', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + token: 'sample_push_token', + name: 'sample_device_name', + model: 'sample_device_model', + manufacturer: 'sample_device_manufacturer', + type: 'watchos', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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', + screen: { + density: 2, + }, + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/users/update', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + email: 'ruchira@rudderlabs.com', + dataFields: { + email: 'ruchira@rudderlabs.com', + }, + userId: '123456', + preferUserId: true, + mergeNestedObjects: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 25', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'alias', + sentAt: '2020-08-28T16:26:16.473Z', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + userId: 'new@email.com', + previousId: 'old@email.com', + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + currentEmail: 'old@email.com', + newEmail: 'new@email.com', + }, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + api_key: '62d12498c37c4fd8a1a546c2d35c2f60', + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.iterable.com/api/users/updateEmail', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 26', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'alias', + sentAt: '2020-08-28T16:26:16.473Z', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + userId: 'new@email.com', + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Missing required value from "previousId"', + statTags: { + destType: 'ITERABLE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 27', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'alias', + sentAt: '2020-08-28T16:26:16.473Z', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + previousId: 'old@email.com', + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Missing required value from "userId"', + statTags: { + destType: 'ITERABLE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 28', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'john@gmail.com', + }, + 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, + }, + }, + event: 'product added', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + campaignId: '1', + templateId: '0', + orderId: 10000, + total: 1000, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + position: '1', + category: ['bikes', 'cars', 'motors'], + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + quantity: '2', + }, + { + product_id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + price: '192', + quantity: 22, + position: '12', + category: ['Bikes2', 'cars2', 'motors2'], + url: 'https://www.example.com/product/path2', + image_url: 'https://www.example.com/product/path.jpg2', + }, + ], + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/commerce/updateCart', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + user: { + email: 'john@gmail.com', + dataFields: { + email: 'john@gmail.com', + }, + userId: '12345', + preferUserId: true, + mergeNestedObjects: true, + }, + items: [ + { + id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + categories: ['bikes', 'cars', 'motors'], + price: 19, + quantity: 2, + imageUrl: 'https://www.example.com/product/path.jpg', + url: 'https://www.example.com/product/path', + }, + { + id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + categories: ['Bikes2', 'cars2', 'motors2'], + price: 192, + quantity: 22, + imageUrl: 'https://www.example.com/product/path.jpg2', + url: 'https://www.example.com/product/path2', + }, + ], + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 29', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + event: 'product added', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + campaignId: '1', + templateId: '0', + orderId: 10000, + total: 1000, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + position: '1', + category: 'shirts,pants,trousers', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + quantity: '2', + }, + { + product_id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + price: '192', + quantity: 22, + position: '12', + category: 'Cars2', + url: 'https://www.example.com/product/path2', + image_url: 'https://www.example.com/product/path.jpg2', + }, + ], + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/commerce/updateCart', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + user: { + email: 'sayan@gmail.com', + dataFields: { + email: 'sayan@gmail.com', + }, + userId: '12345', + preferUserId: true, + mergeNestedObjects: true, + }, + items: [ + { + id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + categories: ['shirts', 'pants', 'trousers'], + price: 19, + quantity: 2, + imageUrl: 'https://www.example.com/product/path.jpg', + url: 'https://www.example.com/product/path', + }, + { + id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + categories: ['Cars2'], + price: 192, + quantity: 22, + imageUrl: 'https://www.example.com/product/path.jpg2', + url: 'https://www.example.com/product/path2', + }, + ], + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 30', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + event: 'product added', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + campaignId: '1', + templateId: '0', + orderId: 10000, + total: 1000, + product_id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + price: '192', + quantity: 22, + position: '12', + category: 'Cars2', + url: 'https://www.example.com/product/path2', + image_url: 'https://www.example.com/product/path.jpg2', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/commerce/updateCart', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + user: { + email: 'sayan@gmail.com', + dataFields: { + email: 'sayan@gmail.com', + }, + userId: '12345', + preferUserId: true, + mergeNestedObjects: true, + }, + items: [ + { + id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + categories: ['Cars2'], + price: 192, + quantity: 22, + imageUrl: 'https://www.example.com/product/path.jpg2', + url: 'https://www.example.com/product/path2', + }, + ], + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 31', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + passcode: + 'fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1', + accountId: '476550467', + trackAnonymous: true, + enableObjectIdMapping: false, + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + event: 'order completed', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + product_id: 1234, + name: 'Shoes', + price: 45, + quantity: 1, + orderId: 10000, + total: '1000', + campaignId: '123456', + templateId: '1213458', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/commerce/trackPurchase', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + dataFields: { + product_id: 1234, + name: 'Shoes', + price: 45, + quantity: 1, + orderId: 10000, + total: '1000', + campaignId: '123456', + templateId: '1213458', + }, + id: '10000', + createdAt: 1571051718299, + campaignId: 123456, + templateId: 1213458, + total: 1000, + user: { + email: 'sayan@gmail.com', + dataFields: { + email: 'sayan@gmail.com', + }, + userId: '12345', + preferUserId: true, + mergeNestedObjects: true, + }, + items: [ + { + id: 1234, + name: 'Shoes', + price: 45, + quantity: 1, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 32', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + sentAt: '2020-08-28T16:26:16.473Z', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453', + properties: { + subject: 'resume validate', + sendtime: '2020-01-01', + sendlocation: 'akashdeep@gmail.com', + }, + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + userId: 'abcdeeeeeeeexxxx102', + createdAt: 1598631966468, + dataFields: { + subject: 'resume validate', + sendtime: '2020-01-01', + sendlocation: 'akashdeep@gmail.com', + }, + }, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + api_key: '62d12498c37c4fd8a1a546c2d35c2f60', + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.iterable.com/api/events/track', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'iterable', + description: 'Test 33', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: '', + sentAt: '2020-08-28T16:26:16.473Z', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453', + properties: { + subject: 'resume validate', + sendtime: '2020-01-01', + sendlocation: 'akashdeep@gmail.com', + }, + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + userId: 'abcdeeeeeeeexxxx102', + createdAt: 1598631966468, + dataFields: { + subject: 'resume validate', + sendtime: '2020-01-01', + sendlocation: 'akashdeep@gmail.com', + }, + }, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + api_key: '62d12498c37c4fd8a1a546c2d35c2f60', + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.iterable.com/api/events/track', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/iterable/router/data.ts b/test/integrations/destinations/iterable/router/data.ts new file mode 100644 index 0000000000..7cd19381d6 --- /dev/null +++ b/test/integrations/destinations/iterable/router/data.ts @@ -0,0 +1,1014 @@ +export const data = [ + { + name: 'iterable', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + receivedAt: '2022-09-27T11:12:59.080Z', + sentAt: '2022-09-27T11:13:03.777Z', + messageId: '9ad41366-8060-4c9f-b181-f6bea67d5469', + originalTimestamp: '2022-09-27T11:13:03.777Z', + traits: { + ruchira: 'donaldbaker@ellis.com', + new_field2: 'GB', + }, + channel: 'sources', + rudderId: '3d51640c-ab09-42c1-b7b2-db6ab433b35e', + context: { + sources: { + version: 'feat.SupportForTrack', + job_run_id: 'ccpdlajh6cfi19mr1vs0', + task_run_id: 'ccpdlajh6cfi19mr1vsg', + batch_id: '4917ad78-280b-40d2-a30d-119434152a0f', + job_id: '2FLKJDcTdjPHQpq7pUjB34dQ5w6/Syncher', + task_id: 'rows_100', + }, + mappedToDestination: 'true', + externalId: [ + { + id: 'Tiffany', + type: 'ITERABLE-test-ruchira', + identifierType: 'itemId', + }, + ], + }, + timestamp: '2022-09-27T11:12:59.079Z', + type: 'identify', + userId: 'Tiffany', + recordId: '10', + request_ip: '10.1.86.248', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + apiKey: '583af2f8-15ba-49c0-8511-76383e7de07e', + hubID: '22066036', + }, + Enabled: true, + }, + }, + { + message: { + receivedAt: '2022-09-27T11:12:59.080Z', + sentAt: '2022-09-27T11:13:03.777Z', + messageId: '9ad41366-8060-4c9f-b181-f6bea67d5469', + originalTimestamp: '2022-09-27T11:13:03.777Z', + traits: { + ruchira: 'abc@ellis.com', + new_field2: 'GB1', + }, + channel: 'sources', + rudderId: '3d51640c-ab09-42c1-b7b2-db6ab433b35e', + context: { + sources: { + version: 'feat.SupportForTrack', + job_run_id: 'ccpdlajh6cfi19mr1vs0', + task_run_id: 'ccpdlajh6cfi19mr1vsg', + batch_id: '4917ad78-280b-40d2-a30d-119434152a0f', + job_id: '2FLKJDcTdjPHQpq7pUjB34dQ5w6/Syncher', + task_id: 'rows_100', + }, + mappedToDestination: 'true', + externalId: [ + { + id: 'ABC', + type: 'ITERABLE-test-ruchira', + identifierType: 'itemId', + }, + ], + }, + timestamp: '2022-09-27T11:12:59.079Z', + type: 'identify', + userId: 'Tiffany', + recordId: '10', + request_ip: '10.1.86.248', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + apiKey: '583af2f8-15ba-49c0-8511-76383e7de07e', + hubID: '22066036', + }, + Enabled: true, + }, + }, + ], + destType: 'iterable', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/catalogs/test-ruchira/items', + headers: { + 'Content-Type': 'application/json', + api_key: '583af2f8-15ba-49c0-8511-76383e7de07e', + }, + params: {}, + body: { + JSON: { + documents: { + Tiffany: { + ruchira: 'donaldbaker@ellis.com', + new_field2: 'GB', + }, + ABC: { + ruchira: 'abc@ellis.com', + new_field2: 'GB1', + }, + }, + replaceUploadedFieldsOnly: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 2, + }, + { + jobId: 2, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + apiKey: '583af2f8-15ba-49c0-8511-76383e7de07e', + hubID: '22066036', + }, + Enabled: true, + }, + }, + ], + }, + }, + }, + }, + { + name: 'iterable', + description: 'routerTest 1', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + type: 'track', + event: 'Email Opened', + sentAt: '2020-08-28T16:26:16.473Z', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-570110489d3e99b234b18af9a9eca9d4-6009779e-82d7-469d-aaeb-5ccf162b0453', + properties: { + subject: 'resume validate', + sendtime: '2020-01-01', + sendlocation: 'akashdeep@gmail.com', + }, + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + message: { + type: 'identify', + event: 'Details', + sentAt: '2020-08-28T16:26:06.466Z', + traits: { + city: 'Bangalore', + name: 'manashi', + email: 'manashi@website.com', + country: 'India', + }, + context: { + traits: { + city: 'Bangalore', + name: 'manashi', + email: 'manashi@website.com', + country: 'India', + }, + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-cc3ef811f686139ee527b806ee0129ef-163a3a88-266f-447e-8cce-34a8f42f8dcd', + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.462Z', + }, + metadata: { + jobId: 3, + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + category: 'test-category', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + jobId: 4, + }, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + message: { + channel: 'sources', + context: { + externalId: [ + { + id: 'lynnanderson@smith.net', + identifierType: 'email', + type: 'ITERABLE-users', + }, + ], + mappedToDestination: 'true', + sources: { + batch_id: 'f5f240d0-0acb-46e0-b043-57fb0aabbadd', + job_id: '1zAj94bEy8komdqnYtSoDp0VmGs/Syncher', + job_run_id: 'c5tar6cqgmgmcjvupdhg', + task_id: 'tt_10_rows_check', + task_run_id: 'c5tar6cqgmgmcjvupdi0', + version: 'release.v1.6.8', + }, + device: { + token: 54321, + }, + }, + messageId: '2f052f7c-f694-4849-a7ed-a432f7ffa0a4', + originalTimestamp: '2021-10-28T14:03:50.503Z', + receivedAt: '2021-10-28T14:03:46.567Z', + recordId: '8', + request_ip: '10.1.94.92', + rudderId: 'c0f6843e-e3d6-4946-9752-fa339fbadef2', + sentAt: '2021-10-28T14:03:50.503Z', + timestamp: '2021-10-28T14:03:46.566Z', + traits: { + administrative_unit: 'Minnesota', + am_pm: 'AM', + boolean: true, + firstname: 'Jacqueline', + pPower: 'AM', + userId: 'Jacqueline', + }, + type: 'identify', + userId: 'lynnanderson@smith.net', + }, + metadata: { + jobId: 5, + }, + destination: { + ID: '1zia9wKshXt80YksLmUdJnr7IHI', + Name: 'test_iterable', + DestinationDefinition: { + ID: '1iVQvTRMsPPyJzwol0ifH93QTQ6', + Name: 'ITERABLE', + DisplayName: 'Iterable', + Config: { + destConfig: { + defaultConfig: [ + 'apiKey', + 'mapToSingleEvent', + 'trackAllPages', + 'trackCategorisedPages', + 'trackNamedPages', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + apiKey: '12345', + mapToSingleEvent: true, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: true, + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + }, + 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, + }, + }, + event: 'product added', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + campaignId: '1', + templateId: '0', + orderId: 10000, + total: 1000, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + quantity: '2', + }, + { + product_id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + price: '192', + quantity: 22, + position: '12', + category: 'Cars2', + url: 'https://www.example.com/product/path2', + image_url: 'https://www.example.com/product/path.jpg2', + }, + ], + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + jobId: 6, + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + message: { + type: 'page', + sentAt: '2020-08-28T16:26:16.473Z', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + metadata: { + jobId: 7, + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + message: { + type: 'alias', + sentAt: '2020-08-28T16:26:16.473Z', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + _metadata: { + nodeVersion: '10.22.0', + }, + messageId: + 'node-6f62b91e789a636929ca38aed01c5f6e-103c720d-81bd-4742-98d6-d45a65aed23e', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + userId: 'new@email.com', + previousId: 'old@email.com', + anonymousId: 'abcdeeeeeeeexxxx102', + originalTimestamp: '2020-08-28T16:26:06.468Z', + }, + metadata: { + jobId: 8, + }, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + ], + destType: 'iterable', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/trackBulk', + headers: { + 'Content-Type': 'application/json', + api_key: '62d12498c37c4fd8a1a546c2d35c2f60', + }, + params: {}, + body: { + JSON: { + events: [ + { + dataFields: { + subject: 'resume validate', + sendtime: '2020-01-01', + sendlocation: 'akashdeep@gmail.com', + }, + userId: 'abcdeeeeeeeexxxx102', + eventName: 'Email Opened', + createdAt: 1598631966468, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/users/bulkUpdate', + headers: { + 'Content-Type': 'application/json', + api_key: '62d12498c37c4fd8a1a546c2d35c2f60', + }, + params: {}, + body: { + JSON: { + users: [ + { + email: 'manashi@website.com', + dataFields: { + city: 'Bangalore', + name: 'manashi', + email: 'manashi@website.com', + country: 'India', + }, + userId: 'abcdeeeeeeeexxxx102', + preferUserId: true, + mergeNestedObjects: true, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 3, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/trackBulk', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + events: [ + { + email: 'sayan@gmail.com', + dataFields: { + path: '/abc', + referrer: '', + search: '', + title: '', + url: '', + category: 'test-category', + }, + userId: '12345', + eventName: 'ApplicationLoaded page', + createdAt: 1571051718299, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 4, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + apiKey: '12345', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/commerce/updateCart', + headers: { + 'Content-Type': 'application/json', + api_key: '62d12498c37c4fd8a1a546c2d35c2f60', + }, + params: {}, + body: { + JSON: { + user: { + email: 'sayan@gmail.com', + dataFields: { + email: 'sayan@gmail.com', + }, + userId: '12345', + preferUserId: true, + mergeNestedObjects: true, + }, + items: [ + { + id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + categories: ['cars'], + price: 19, + quantity: 2, + imageUrl: 'https://www.example.com/product/path.jpg', + url: 'https://www.example.com/product/path', + }, + { + id: '507f1f77bcf86cd7994390112', + sku: '45790-322', + name: 'Monopoly: 3rd Edition2', + categories: ['Cars2'], + price: 192, + quantity: 22, + imageUrl: 'https://www.example.com/product/path.jpg2', + url: 'https://www.example.com/product/path2', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 6, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/events/trackBulk', + headers: { + 'Content-Type': 'application/json', + api_key: '62d12498c37c4fd8a1a546c2d35c2f60', + }, + params: {}, + body: { + JSON: { + events: [ + { + dataFields: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + userId: 'abcdeeeeeeeexxxx102', + createdAt: 1598631966468, + eventName: 'undefined page', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 7, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: true, + trackCategorisedPages: false, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/users/updateEmail', + headers: { + 'Content-Type': 'application/json', + api_key: '62d12498c37c4fd8a1a546c2d35c2f60', + }, + params: {}, + body: { + JSON: { + currentEmail: 'old@email.com', + newEmail: 'new@email.com', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 8, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + apiKey: '62d12498c37c4fd8a1a546c2d35c2f60', + mapToSingleEvent: false, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: false, + }, + Enabled: true, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.iterable.com/api/users/bulkUpdate', + headers: { + 'Content-Type': 'application/json', + api_key: '12345', + }, + params: {}, + body: { + JSON: { + users: [ + { + email: 'lynnanderson@smith.net', + dataFields: { + administrative_unit: 'Minnesota', + am_pm: 'AM', + boolean: true, + firstname: 'Jacqueline', + pPower: 'AM', + userId: 'Jacqueline', + email: 'lynnanderson@smith.net', + }, + userId: 'lynnanderson@smith.net', + preferUserId: true, + mergeNestedObjects: true, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 5, + }, + ], + batched: true, + statusCode: 200, + destination: { + ID: '1zia9wKshXt80YksLmUdJnr7IHI', + Name: 'test_iterable', + DestinationDefinition: { + ID: '1iVQvTRMsPPyJzwol0ifH93QTQ6', + Name: 'ITERABLE', + DisplayName: 'Iterable', + Config: { + destConfig: { + defaultConfig: [ + 'apiKey', + 'mapToSingleEvent', + 'trackAllPages', + 'trackCategorisedPages', + 'trackNamedPages', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + apiKey: '12345', + mapToSingleEvent: true, + trackAllPages: false, + trackCategorisedPages: true, + trackNamedPages: true, + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/june/processor/data.ts b/test/integrations/destinations/june/processor/data.ts new file mode 100644 index 0000000000..dfe35ed0a3 --- /dev/null +++ b/test/integrations/destinations/june/processor/data.ts @@ -0,0 +1,755 @@ +export const data = [ + { + name: 'june', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + type: 'identify', + context: { + traits: { + name: 'John Doe', + email: 'johndoe@gmail.com', + age: 25, + }, + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Missing required value from "userIdOnly"', + statTags: { + destType: 'JUNE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'june', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + type: 'identify', + sentAt: '2022-01-20T13:39:21.033Z', + channel: 'web', + userId: '5136633649', + context: { + traits: { + name: 'John Doe', + email: 'johndoe@gmail.com', + age: 25, + }, + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.june.so/api/identify', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic 93EMyDLvfpbRxxYn', + }, + params: {}, + body: { + JSON: { + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + userId: '5136633649', + traits: { + name: 'John Doe', + email: 'johndoe@gmail.com', + age: 25, + }, + timestamp: '2022-01-20T13:39:21.032Z', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'june', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + type: 'track', + event: 'Product Reviewed', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + groupId: '91Yb32830', + }, + context: {}, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Missing required value from "userIdOnly"', + statTags: { + destType: 'JUNE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'june', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + type: 'track', + event: 'Product Reviewed', + userId: '5136633649', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + }, + context: {}, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.june.so/api/track', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic 93EMyDLvfpbRxxYn', + }, + params: {}, + body: { + JSON: { + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + userId: '5136633649', + event: 'Product Reviewed', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + }, + timestamp: '2022-01-20T13:39:21.032Z', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'june', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + type: 'track', + event: 'Product Reviewed', + userId: '5136633649', + context: {}, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.june.so/api/track', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic 93EMyDLvfpbRxxYn', + }, + params: {}, + body: { + JSON: { + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + userId: '5136633649', + event: 'Product Reviewed', + timestamp: '2022-01-20T13:39:21.032Z', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'june', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + type: 'track', + event: 'Product Reviewed', + userId: '5136633649', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + groupId: '91Yb32830', + }, + context: {}, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.june.so/api/track', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic 93EMyDLvfpbRxxYn', + }, + params: {}, + body: { + JSON: { + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + userId: '5136633649', + event: 'Product Reviewed', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + }, + timestamp: '2022-01-20T13:39:21.032Z', + context: { + groupId: '91Yb32830', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'june', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + type: 'track', + event: 'Product Reviewed', + userId: '5136633649', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + groupId: 'test-12345', + }, + context: { + externalId: [ + { + type: 'juneGroupId', + id: '91Yb32830', + }, + ], + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.june.so/api/track', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic 93EMyDLvfpbRxxYn', + }, + params: {}, + body: { + JSON: { + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + userId: '5136633649', + event: 'Product Reviewed', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + }, + timestamp: '2022-01-20T13:39:21.032Z', + context: { + groupId: '91Yb32830', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'june', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + type: 'group', + userId: '5136633649', + traits: { + name: 'Initech', + employees: 500, + headquarters: 'Redwood City, California, United States', + ceo: 'John Doe', + revenue: 70000000, + currency: 'USD', + groupId: '9230AUbd2138h', + }, + context: {}, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.june.so/api/group', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic 93EMyDLvfpbRxxYn', + }, + params: {}, + body: { + JSON: { + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + userId: '5136633649', + groupId: '9230AUbd2138h', + traits: { + name: 'Initech', + employees: 500, + headquarters: 'Redwood City, California, United States', + ceo: 'John Doe', + revenue: 70000000, + currency: 'USD', + }, + timestamp: '2022-01-20T13:39:21.032Z', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'june', + description: 'should fail with no message type', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + event: 'Product Reviewed', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + groupId: '91Yb32830', + }, + context: {}, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Event type is required', + statTags: { + destType: 'JUNE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'june', + description: 'should fail for alias message type', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + type: 'alias', + event: 'Product Reviewed', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + groupId: '91Yb32830', + }, + context: {}, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Event type "alias" is not supported', + statTags: { + destType: 'JUNE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'june', + description: 'should transform for page event with fully populated properties', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + message: { + type: 'page', + event: 'Product Reviewed', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + groupId: '91Yb32830', + }, + context: {}, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.june.so/api/page', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic 93EMyDLvfpbRxxYn', + }, + params: {}, + body: { + JSON: { + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + properties: { + review_id: '12345', + product_id: '123', + rating: 3, + review_body: 'Average product, expected much more.', + }, + timestamp: '2022-01-20T13:39:21.032Z', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/june/router/data.ts b/test/integrations/destinations/june/router/data.ts new file mode 100644 index 0000000000..cf8c4f0011 --- /dev/null +++ b/test/integrations/destinations/june/router/data.ts @@ -0,0 +1,146 @@ +export const data = [ + { + name: 'fb', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + metadata: { + jobId: 1, + }, + message: { + type: 'identify', + sentAt: '2022-01-20T13:39:21.033Z', + channel: 'web', + userId: '5136633649', + context: { + traits: { + name: 'John Doe', + email: 'johndoe@gmail.com', + age: 25, + }, + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + metadata: { + jobId: 2, + }, + message: { + type: 'track', + event: 'Product Reviewed', + properties: { + review_id: '12345', + product_id: '123', + rating: 3.0, + review_body: 'Average product, expected much more.', + groupId: '91Yb32830', + }, + context: {}, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + destType: 'june', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: { + body: { + FORM: {}, + JSON: { + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + timestamp: '2022-01-20T13:39:21.032Z', + traits: { + age: 25, + email: 'johndoe@gmail.com', + name: 'John Doe', + }, + userId: '5136633649', + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://api.june.so/api/identify', + files: {}, + headers: { + Authorization: 'Basic 93EMyDLvfpbRxxYn', + 'Content-Type': 'application/json', + }, + method: 'POST', + params: {}, + type: 'REST', + version: '1', + }, + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + metadata: [ + { + jobId: 1, + }, + ], + statusCode: 200, + }, + { + destination: { + Config: { + apiKey: '93EMyDLvfpbRxxYn', + }, + ID: 'june123', + }, + batched: false, + error: 'Missing required value from "userIdOnly"', + metadata: [ + { + jobId: 2, + }, + ], + statTags: { + destType: 'JUNE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/kafka/batch/data.ts b/test/integrations/destinations/kafka/batch/data.ts new file mode 100644 index 0000000000..0cc1d75c24 --- /dev/null +++ b/test/integrations/destinations/kafka/batch/data.ts @@ -0,0 +1,1492 @@ +export const data = [ + { + name: 'kafka', + description: 'Test 0', + feature: 'batch', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + destType: 'kafka', + input: [ + { + message: { + userId: 'user1', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user1', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + messageId: '6f27a4da-cefb-4800-acf1-f467e8aab91c', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'new-topic', + }, + metadata: { + rudderId: 'user1<<>>new-topic', + jobId: 1, + }, + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + userId: 'user2', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user2', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + messageId: 'fe182d9e-e86e-4db5-ae12-f4b399555fcc', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'new-topic', + }, + metadata: { + rudderId: 'user2<<>>new-topic', + jobId: 2, + }, + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + userId: 'user3', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user3', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + messageId: '2803e656-77ff-47ca-9606-90663f9aed38', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'new-topic', + }, + metadata: { + rudderId: 'user3<<>>new-topic', + jobId: 3, + }, + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + userId: 'user4', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user4', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'new-topic', + }, + metadata: { + rudderId: 'user4<<>>new-topic', + jobId: 4, + }, + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + userId: 'user5', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user5', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + schemaId: 'schema001', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + schemaId: 'schema001', + topic: 'new-topic', + }, + metadata: { + rudderId: 'user5<<>>new-topic', + jobId: 5, + }, + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + userId: 'user6', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user6', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + topic: 'topic-1', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'topic-1', + }, + metadata: { + rudderId: 'user6<<>>topic-1', + jobId: 6, + }, + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + userId: 'user7', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user7', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + topic: 'topic-1', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'topic-1', + }, + metadata: { + rudderId: 'user7<<>>topic-1', + jobId: 7, + }, + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + userId: 'user8', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user8', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + topic: 'topic-2', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'topic-2', + }, + metadata: { + rudderId: 'user8<<>>topic-2', + jobId: 8, + }, + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + userId: 'user8', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user8', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + topic: 'topic-2', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'topic-2', + }, + metadata: { + rudderId: 'user8<<>>topic-2', + jobId: 9, + }, + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + userId: 'user8', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user8', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + topic: 'topic-3', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'topic-3', + }, + metadata: { + rudderId: 'user8<<>>topic-3', + jobId: 10, + }, + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + }, + output: { + response: { + status: 200, + body: [ + { + batched: true, + statusCode: 200, + batchedRequest: [ + { + userId: 'user1', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user1', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + messageId: '6f27a4da-cefb-4800-acf1-f467e8aab91c', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'new-topic', + }, + { + userId: 'user2', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user2', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + messageId: 'fe182d9e-e86e-4db5-ae12-f4b399555fcc', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'new-topic', + }, + { + userId: 'user3', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user3', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + messageId: '2803e656-77ff-47ca-9606-90663f9aed38', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'new-topic', + }, + { + userId: 'user4', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user4', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'new-topic', + }, + { + userId: 'user5', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user5', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + schemaId: 'schema001', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + schemaId: 'schema001', + topic: 'new-topic', + }, + ], + metadata: [ + { rudderId: 'user1<<>>new-topic', jobId: 1 }, + { + rudderId: 'user2<<>>new-topic', + jobId: 2, + }, + { + rudderId: 'user3<<>>new-topic', + jobId: 3, + }, + { + rudderId: 'user4<<>>new-topic', + jobId: 4, + }, + { + rudderId: 'user5<<>>new-topic', + jobId: 5, + }, + ], + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + batched: true, + statusCode: 200, + batchedRequest: [ + { + userId: 'user6', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user6', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + topic: 'topic-1', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'topic-1', + }, + { + userId: 'user7', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user7', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + topic: 'topic-1', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'topic-1', + }, + ], + metadata: [ + { + rudderId: 'user6<<>>topic-1', + jobId: 6, + }, + { + rudderId: 'user7<<>>topic-1', + jobId: 7, + }, + ], + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + batched: true, + statusCode: 200, + batchedRequest: [ + { + userId: 'user8', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user8', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + topic: 'topic-2', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'topic-2', + }, + { + userId: 'user8', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user8', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + topic: 'topic-2', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'topic-2', + }, + ], + metadata: [ + { + rudderId: 'user8<<>>topic-2', + jobId: 8, + }, + { + rudderId: 'user8<<>>topic-2', + jobId: 9, + }, + ], + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + batched: true, + statusCode: 200, + batchedRequest: [ + { + userId: 'user8', + message: { + type: 'identify', + sentAt: '2021-07-08T02:45:11.329+05:30', + userId: 'user8', + context: { + ip: '14.5.67.21', + traits: { + trait1: 'new-val', + }, + library: { + name: 'http', + }, + }, + integrations: { + All: true, + KAFKA: { + topic: 'topic-3', + }, + }, + messageId: '87c98fc2-561b-4631-8cd6-1d02cdd1429f', + timestamp: '2020-02-02T00:23:09.544Z', + receivedAt: '2021-07-08T02:45:06.851+05:30', + request_ip: '[::1]', + anonymousId: 'anon-id-new', + originalTimestamp: '2021-07-08T02:45:11.329+05:30', + }, + topic: 'topic-3', + }, + ], + metadata: [ + { + rudderId: 'user8<<>>topic-3', + jobId: 10, + }, + ], + destination: { + ID: '1uzGR4rn915R6Xts9KRfWAzmgGL', + Name: 'local-kafka-test', + DestinationDefinition: { + ID: '1c81NzcId5roSqvQ1R57zhIsC01', + Name: 'KAFKA', + DisplayName: 'Apache Kafka', + Config: { + destConfig: { + defaultConfig: [ + 'hostName', + 'port', + 'topic', + 'sslEnabled', + 'caCertificate', + 'useSASL', + 'saslType', + 'username', + 'password', + ], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['password'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + ], + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: null, + }, + Config: { + caCertificate: 'caCertificate', + hostName: 'localhost', + password: 'password', + port: '29092', + saslType: 'sha256', + sslEnabled: true, + topic: 'new-topic', + useSASL: true, + username: 'username', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/kafka/processor/data.ts b/test/integrations/destinations/kafka/processor/data.ts new file mode 100644 index 0000000000..6284b88b84 --- /dev/null +++ b/test/integrations/destinations/kafka/processor/data.ts @@ -0,0 +1,795 @@ +export const data = [ + { + "name": "kafka", + "description": "Test case with null destination config", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "kafkadestinationid", + "Name": "Kafka", + "Config": null, + "Enabled": true, + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "event", + "integrations": { + "Kafka": true + }, + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "metadata": { + "jobId": "jobId 0", + "rudderId": "randomRudderId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "jobId": "jobId 0", + "rudderId": "randomRudderId" + }, + "output": { + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "event", + "integrations": { + "Kafka": true + }, + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "userId": "userId" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "kafka", + "description": "Test case without userId", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "kafkadestinationid", + "Name": "Kafka", + "Config": null, + "Enabled": true, + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "event", + "integrations": { + "Kafka": true + }, + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track" + }, + "metadata": { + "jobId": "jobId 1", + "rudderId": "randomRudderId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "jobId": "jobId 1", + "rudderId": "randomRudderId" + }, + "output": { + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "event", + "integrations": { + "Kafka": true + }, + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track" + }, + "userId": "anonymousId" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "kafka", + "description": "Test case with null dest config and avro schema", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "kafkadestinationid", + "Name": "Kafka", + "Config": null, + "Enabled": true, + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "event", + "integrations": { + "Kafka": { + "schemaId": "schema001" + } + }, + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "metadata": { + "jobId": "jobId 2", + "rudderId": "randomRudderId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "jobId": "jobId 2", + "rudderId": "randomRudderId" + }, + "output": { + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "event", + "integrations": { + "Kafka": { + "schemaId": "schema001" + } + }, + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "userId": "userId", + "schemaId": "schema001" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "kafka", + "description": "Test case with null dest config and integrations topic", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "kafkadestinationid", + "Name": "Kafka", + "Config": null, + "Enabled": true, + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "event", + "integrations": { + "Kafka": { + "topic": "specific-topic" + } + }, + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "metadata": { + "jobId": "jobId 3", + "rudderId": "randomRudderId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "jobId": "jobId 3", + "rudderId": "randomRudderId<<>>specific-topic" + }, + "output": { + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "event", + "integrations": { + "Kafka": { + "topic": "specific-topic" + } + }, + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "userId": "userId", + "topic": "specific-topic" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "kafka", + "description": "Test case with dest config with default topic", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "kafkadestinationid", + "Name": "Kafka", + "Config": { + "topic": "default-topic" + }, + "Enabled": true, + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "event", + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "metadata": { + "jobId": "jobId 4", + "rudderId": "randomRudderId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "jobId": "jobId 4", + "rudderId": "randomRudderId<<>>default-topic" + }, + "output": { + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "event", + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "userId": "userId", + "topic": "default-topic" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "kafka", + "description": "Test case with dest config with event type topic", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "kafkadestinationid", + "Name": "Kafka", + "Config": { + "topic": "default-topic", + "enableMultiTopic": true, + "eventTypeToTopicMap": [ + { + "from": "identify", + "to": "identify-topic" + }, + { + "from": "page", + "to": "page-topic" + }, + { + "from": "screen", + "to": "screen-topic" + }, + { + "from": "group", + "to": "group-topic" + }, + { + "from": "alias", + "to": "alias-topic" + } + ], + "eventToTopicMap": [ + { + "from": "Product Added", + "to": "product-added" + } + ] + }, + "Enabled": true, + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "identify", + "userId": "userId" + }, + "metadata": { + "jobId": "jobId 5", + "rudderId": "randomRudderId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "jobId": "jobId 5", + "rudderId": "randomRudderId<<>>identify-topic" + }, + "output": { + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "identify", + "userId": "userId" + }, + "userId": "userId", + "topic": "identify-topic" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "kafka", + "description": "Test case with dest config with event name topic", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "kafkadestinationid", + "Name": "Kafka", + "Config": { + "topic": "default-topic", + "enableMultiTopic": true, + "eventTypeToTopicMap": [ + { + "from": "identify", + "to": "identify-topic" + }, + { + "from": "page", + "to": "page-topic" + }, + { + "from": "screen", + "to": "screen-topic" + }, + { + "from": "group", + "to": "group-topic" + }, + { + "from": "alias", + "to": "alias-topic" + } + ], + "eventToTopicMap": [ + { + "from": "Product Added", + "to": "product-added" + } + ] + }, + "Enabled": true, + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "Product Added", + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "metadata": { + "jobId": "jobId 6", + "rudderId": "randomRudderId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "jobId": "jobId 6", + "rudderId": "randomRudderId<<>>product-added" + }, + "output": { + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "Product Added", + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "userId": "userId", + "topic": "product-added" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "kafka", + "description": "Test case with dest config with event name topic no match", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "kafkadestinationid", + "Name": "Kafka", + "Config": { + "topic": "default-topic", + "enableMultiTopic": true, + "eventTypeToTopicMap": [ + { + "from": "identify", + "to": "identify-topic" + }, + { + "from": "page", + "to": "page-topic" + }, + { + "from": "screen", + "to": "screen-topic" + }, + { + "from": "group", + "to": "group-topic" + }, + { + "from": "alias", + "to": "alias-topic" + } + ], + "eventToTopicMap": [ + { + "from": "Product Added", + "to": "product-added" + } + ] + }, + "Enabled": true, + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "Product Added No match", + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "metadata": { + "jobId": "jobId 7", + "rudderId": "randomRudderId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "jobId": "jobId 7", + "rudderId": "randomRudderId<<>>default-topic" + }, + "output": { + "message": { + "anonymousId": "anonymousId", + "context": { + "library": { + "name": "analytics-go", + "version": "3.0.0" + } + }, + "event": "Product Added No match", + "messageId": "messageId", + "originalTimestamp": "2019-07-18T15:00:00Z", + "properties": { + "key": "value" + }, + "receivedAt": "2019-07-18T15:00:00Z", + "sentAt": "2019-07-18T15:00:00Z", + "timestamp": "2019-07-18T15:00:00Z", + "type": "track", + "userId": "userId" + }, + "userId": "userId", + "topic": "default-topic" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/keen/processor/data.ts b/test/integrations/destinations/keen/processor/data.ts new file mode 100644 index 0000000000..9e4f164beb --- /dev/null +++ b/test/integrations/destinations/keen/processor/data.ts @@ -0,0 +1,482 @@ +export const data = [ + { + "name": "keen", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "type": "page", + "context": null, + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "traits": { + "email": "test@gmail.com", + "anonymousId": "anon-id" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "projectID": "abcde", + "writeKey": "xyz", + "ipAddon": true, + "uaAddon": true, + "urlAddon": true, + "referrerAddon": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com", + "userId": "12345", + "keen": { + "addons": [] + }, + "anonymousId": "00000000000000000000000000", + "user": { + "traits": { + "anonymousId": "anon-id", + "email": "test@gmail.com" + }, + "userId": "12345" + } + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page", + "userId": "12345", + "headers": { + "Content-Type": "application/json", + "Authorization": "xyz" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "keen", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "123456", + "email": "sayan@gmail.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + }, + "ip": "0.0.0.0", + "age": 26 + }, + "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 + } + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "userId": "123456", + "integrations": { + "All": true + }, + "traits": { + "anonymousId": "my-anon-id", + "email": "test@gmail.com", + "address": { + "city": "kolkata-1", + "country": "US", + "postalCode": 712136, + "state": "CA", + "street": "" + } + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "projectID": "abcde", + "writeKey": "xyz", + "ipAddon": true, + "uaAddon": true, + "urlAddon": true, + "referrerAddon": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "Event type identify is not supported", + "statTags": { + "destType": "KEEN", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "keen", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "sayan@gmail.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "traits": { + "email": "test@gmail.com", + "anonymousId": "anon-id" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "projectID": "abcde", + "writeKey": "xyz", + "ipAddon": true, + "uaAddon": true, + "urlAddon": true, + "referrerAddon": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "search": "abc", + "request_ip": "0.0.0.0", + "title": "Test Page", + "url": "www.rudderlabs.com", + "referrer": "Rudder", + "userId": "12345", + "keen": { + "addons": [ + { + "input": { + "ip": "request_ip" + }, + "name": "keen:ip_to_geo", + "output": "ip_geo_info" + }, + { + "input": { + "ua_string": "user_agent" + }, + "name": "keen:ua_parser", + "output": "parsed_user_agent" + } + ] + }, + "anonymousId": "00000000000000000000000000", + "user": { + "traits": { + "anonymousId": "anon-id", + "email": "test@gmail.com" + }, + "userId": "12345" + }, + "path": "/test", + "user_agent": "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" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page", + "userId": "12345", + "headers": { + "Content-Type": "application/json", + "Authorization": "xyz" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "keen", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "sayan@gmail.com", + "anonymousId": "12345" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "test track event", + "request_ip": "1.1.1.1", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "traits": { + "email": "test@gmail.com", + "anonymousId": "anon-id" + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "projectID": "abcde", + "writeKey": "xyz", + "ipAddon": true, + "uaAddon": true, + "urlAddon": true, + "referrerAddon": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "request_ip": "1.1.1.1", + "user_time_spent": 50000, + "userId": "12345", + "keen": { + "addons": [ + { + "input": { + "ip": "request_ip" + }, + "name": "keen:ip_to_geo", + "output": "ip_geo_info" + }, + { + "input": { + "ua_string": "user_agent" + }, + "name": "keen:ua_parser", + "output": "parsed_user_agent" + } + ] + }, + "anonymousId": "00000000000000000000000000", + "user": { + "traits": { + "anonymousId": "anon-id", + "email": "test@gmail.com" + }, + "userId": "12345" + }, + "user_agent": "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" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://api.keen.io/3.0/projects/abcde/events/test track event", + "userId": "12345", + "headers": { + "Content-Type": "application/json", + "Authorization": "xyz" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/keen/router/data.ts b/test/integrations/destinations/keen/router/data.ts new file mode 100644 index 0000000000..b9deb365d2 --- /dev/null +++ b/test/integrations/destinations/keen/router/data.ts @@ -0,0 +1,303 @@ +export const data = [ + { + name: 'fb', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "sayan@gmail.com", + "anonymousId": "12345" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "test track event", + "request_ip": "1.1.1.1", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "traits": { + "email": "test@gmail.com", + "anonymousId": "anon-id" + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "jobId": 2 + }, + "destination": { + "Config": { + "projectID": "abcde", + "writeKey": "xyz", + "ipAddon": true, + "uaAddon": true, + "urlAddon": true, + "referrerAddon": true + } + } + }, + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "sayan@gmail.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "traits": { + "email": "test@gmail.com", + "anonymousId": "anon-id" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "jobId": 2 + }, + "destination": { + "Config": { + "projectID": "abcde", + "writeKey": "xyz", + "ipAddon": true, + "uaAddon": true, + "urlAddon": true, + "referrerAddon": true + } + } + } + ], + destType: 'keen', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "request_ip": "1.1.1.1", + "user_time_spent": 50000, + "userId": "12345", + "keen": { + "addons": [ + { + "input": { + "ip": "request_ip" + }, + "name": "keen:ip_to_geo", + "output": "ip_geo_info" + }, + { + "input": { + "ua_string": "user_agent" + }, + "name": "keen:ua_parser", + "output": "parsed_user_agent" + } + ] + }, + "anonymousId": "00000000000000000000000000", + "user": { + "traits": { + "anonymousId": "anon-id", + "email": "test@gmail.com" + }, + "userId": "12345" + }, + "user_agent": "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" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://api.keen.io/3.0/projects/abcde/events/test track event", + "userId": "12345", + "headers": { + "Content-Type": "application/json", + "Authorization": "xyz" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "projectID": "abcde", + "writeKey": "xyz", + "ipAddon": true, + "uaAddon": true, + "urlAddon": true, + "referrerAddon": true + } + } + }, + { + "batchedRequest": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "search": "abc", + "request_ip": "0.0.0.0", + "title": "Test Page", + "url": "www.rudderlabs.com", + "referrer": "Rudder", + "userId": "12345", + "keen": { + "addons": [ + { + "input": { + "ip": "request_ip" + }, + "name": "keen:ip_to_geo", + "output": "ip_geo_info" + }, + { + "input": { + "ua_string": "user_agent" + }, + "name": "keen:ua_parser", + "output": "parsed_user_agent" + } + ] + }, + "anonymousId": "00000000000000000000000000", + "user": { + "traits": { + "anonymousId": "anon-id", + "email": "test@gmail.com" + }, + "userId": "12345" + }, + "path": "/test", + "user_agent": "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" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page", + "userId": "12345", + "headers": { + "Content-Type": "application/json", + "Authorization": "xyz" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "projectID": "abcde", + "writeKey": "xyz", + "ipAddon": true, + "uaAddon": true, + "urlAddon": true, + "referrerAddon": true + } + } + } + ], + }, + }, + }, + }, +]; \ No newline at end of file diff --git a/test/integrations/destinations/kissmetrics/processor/data.ts b/test/integrations/destinations/kissmetrics/processor/data.ts new file mode 100644 index 0000000000..5185e23c37 --- /dev/null +++ b/test/integrations/destinations/kissmetrics/processor/data.ts @@ -0,0 +1,888 @@ +export const data = [ + { + "name": "kissmetrics", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "prefixProperties": true, + "useNativeSDK": false + }, + "DestinationDefinition": { + "DisplayName": "Kiss Metrics", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "KISSMETRICS" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Kiss Metrics", + "Transformations": [] + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": {}, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", + "originalTimestamp": "2020-01-24T06:29:02.358Z", + "properties": { + "path": "/tests/html/index2.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index2.html" + }, + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53708", + "sentAt": "2020-01-24T06:29:02.359Z", + "timestamp": "2020-01-24T11:59:02.402+05:30", + "type": "page", + "userId": "" + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 1, + "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://trk.kissmetrics.com/e", + "headers": {}, + "params": { + "Page-path": "/tests/html/index2.html", + "Page-referrer": "", + "Page-search": "", + "Page-title": "", + "Page-url": "http://localhost/tests/html/index2.html", + "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "_n": "Loaded a Page", + "_t": "1579847342", + "_d": 1 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "statusCode": 200 + }, + "statusCode": 200, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 1, + "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + } + }, + { + "name": "kissmetrics", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "prefixProperties": true, + "useNativeSDK": false + }, + "DestinationDefinition": { + "DisplayName": "Kiss Metrics", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "KISSMETRICS" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Kiss Metrics", + "Transformations": [] + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstname": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "traits": { + "city": "Disney-1", + "country": "India", + "email": "sayan@disney.com", + "firstname": "Sayan" + }, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "originalTimestamp": "2020-01-24T06:29:02.362Z", + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53709", + "sentAt": "2020-01-24T06:29:02.363Z", + "timestamp": "2020-01-24T11:59:02.402+05:30", + "type": "identify", + "userId": "" + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 2, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://trk.kissmetrics.com/s", + "headers": {}, + "params": { + "city": "Disney-1", + "country": "India", + "email": "sayan@disney.com", + "firstname": "Sayan", + "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "_t": "1579847342", + "_d": 1 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "statusCode": 200 + }, + "statusCode": 200, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 2, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + } + }, + { + "name": "kissmetrics", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "prefixProperties": true, + "useNativeSDK": false + }, + "DestinationDefinition": { + "DisplayName": "Kiss Metrics", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "KISSMETRICS" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Kiss Metrics", + "Transformations": [] + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstname": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "originalTimestamp": "2020-01-24T06:29:02.362Z", + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53709", + "sentAt": "2020-01-24T06:29:02.363Z", + "timestamp": "2020-01-24T11:59:02.402+05:30", + "type": "identify", + "userId": "" + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 2, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://trk.kissmetrics.com/s", + "headers": {}, + "params": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstname": "Mickey", + "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "_t": "1579847342", + "_d": 1 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "statusCode": 200 + }, + "statusCode": 200, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 2, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + } + }, + { + "name": "kissmetrics", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "prefixProperties": true, + "useNativeSDK": false + }, + "DestinationDefinition": { + "DisplayName": "Kiss Metrics", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "KISSMETRICS" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Kiss Metrics", + "Transformations": [] + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstname": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "event": "test revenue kissmetrics", + "integrations": { + "All": true + }, + "messageId": "a6a0ad5a-bd26-4f19-8f75-38484e580fc7", + "originalTimestamp": "2020-01-24T06:29:02.364Z", + "properties": { + "currency": "USD", + "revenue": 50 + }, + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53710", + "sentAt": "2020-01-24T06:29:02.364Z", + "timestamp": "2020-01-24T11:59:02.403+05:30", + "type": "track", + "userId": "" + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 3, + "messageId": "a6a0ad5a-bd26-4f19-8f75-38484e580fc7", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://trk.kissmetrics.com/e", + "headers": {}, + "params": { + "test revenue kissmetrics-currency": "USD", + "test revenue kissmetrics - revenue": 50, + "Billing Amount": 50, + "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "_n": "test revenue kissmetrics", + "_t": "1579847342", + "_d": 1 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "statusCode": 200 + }, + "statusCode": 200, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 3, + "messageId": "a6a0ad5a-bd26-4f19-8f75-38484e580fc7", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + } + }, + { + "name": "kissmetrics", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "prefixProperties": true, + "useNativeSDK": false + }, + "DestinationDefinition": { + "DisplayName": "Kiss Metrics", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "KISSMETRICS" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Kiss Metrics", + "Transformations": [] + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstname": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", + "originalTimestamp": "2020-01-24T06:29:02.366Z", + "previousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53711", + "sentAt": "2020-01-24T06:29:02.366Z", + "timestamp": "2020-01-24T11:59:02.403+05:30", + "type": "alias", + "userId": "1234abc" + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 4, + "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://trk.kissmetrics.com/a", + "headers": {}, + "params": { + "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "_n": "1234abc" + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "1234abc", + "statusCode": 200 + }, + "statusCode": 200, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 4, + "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + } + }, + { + "name": "kissmetrics", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "prefixProperties": true, + "useNativeSDK": false + }, + "DestinationDefinition": { + "DisplayName": "Kiss Metrics", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "KISSMETRICS" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Kiss Metrics", + "Transformations": [] + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstname": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "event": "KM Order Completed", + "integrations": { + "All": true + }, + "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", + "originalTimestamp": "2020-01-24T06:29:02.367Z", + "properties": { + "affiliation": "Google Store", + "checkout_id": "fksdjfsdjfisjf9sdfjsd9f", + "coupon": "hasbros", + "currency": "USD", + "discount": 2.5, + "order_id": "50314b8e9bcf000000000000", + "products": [ + { + "category": "Games", + "image_url": "https:///www.example.com/product/path.jpg", + "name": "Monopoly: 3rd Edition", + "price": 19, + "product_id": "507f1f77bcf86cd799439011", + "quantity": 1, + "sku": "45790-32", + "url": "https://www.example.com/product/path" + }, + { + "category": "Games", + "name": "Uno Card Game", + "price": 3, + "product_id": "505bd76785ebb509fc183733", + "quantity": 2, + "sku": "46493-32" + } + ], + "revenue": 25, + "shipping": 3, + "subtotal": 22.5, + "tax": 2, + "total": 27.5 + }, + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53712", + "sentAt": "2020-01-24T06:29:02.368Z", + "timestamp": "2020-01-24T11:59:02.402+05:30", + "type": "track", + "userId": "" + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 5, + "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://trk.kissmetrics.com/e", + "headers": {}, + "params": { + "KM Order Completed-affiliation": "Google Store", + "KM Order Completed-checkout_id": "fksdjfsdjfisjf9sdfjsd9f", + "KM Order Completed-coupon": "hasbros", + "KM Order Completed-currency": "USD", + "KM Order Completed-discount": 2.5, + "KM Order Completed-order_id": "50314b8e9bcf000000000000", + "KM Order Completed - revenue": 25, + "Billing Amount": 25, + "KM Order Completed-shipping": 3, + "KM Order Completed-subtotal": 22.5, + "KM Order Completed-tax": 2, + "KM Order Completed-total": 27.5, + "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "_n": "KM Order Completed", + "_t": "1579847342", + "_d": 1 + }, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 5, + "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://trk.kissmetrics.com/s", + "headers": {}, + "params": { + "KM Order Completed-category": "Games", + "KM Order Completed-image_url": "https:///www.example.com/product/path.jpg", + "KM Order Completed-name": "Monopoly: 3rd Edition", + "KM Order Completed-price": 19, + "KM Order Completed-product_id": "507f1f77bcf86cd799439011", + "KM Order Completed-quantity": 1, + "KM Order Completed-sku": "45790-32", + "KM Order Completed-url": "https://www.example.com/product/path", + "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" + }, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 5, + "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://trk.kissmetrics.com/s", + "headers": {}, + "params": { + "KM Order Completed-category": "Games", + "KM Order Completed-name": "Uno Card Game", + "KM Order Completed-price": 3, + "KM Order Completed-product_id": "505bd76785ebb509fc183733", + "KM Order Completed-quantity": 2, + "KM Order Completed-sku": "46493-32", + "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" + }, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 5, + "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/kissmetrics/router/data.ts b/test/integrations/destinations/kissmetrics/router/data.ts new file mode 100644 index 0000000000..c1b5ea8649 --- /dev/null +++ b/test/integrations/destinations/kissmetrics/router/data.ts @@ -0,0 +1,291 @@ +export const data = [ + { + name: 'fb', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "destination": { + "Config": { + "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "prefixProperties": true, + "useNativeSDK": false + }, + "DestinationDefinition": { + "DisplayName": "Kiss Metrics", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "KISSMETRICS" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Kiss Metrics", + "Transformations": [] + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": {}, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", + "originalTimestamp": "2020-01-24T06:29:02.358Z", + "properties": { + "path": "/tests/html/index2.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index2.html" + }, + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53708", + "sentAt": "2020-01-24T06:29:02.359Z", + "timestamp": "2020-01-24T11:59:02.402+05:30", + "type": "page", + "userId": "" + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 1, + "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + }, + { + "destination": { + "Config": { + "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "prefixProperties": true, + "useNativeSDK": false + }, + "DestinationDefinition": { + "DisplayName": "Kiss Metrics", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "KISSMETRICS" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Kiss Metrics", + "Transformations": [] + }, + "message": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.5" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.5" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "city": "Disney", + "country": "USA", + "email": "mickey@disney.com", + "firstname": "Mickey" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" + }, + "integrations": { + "All": true + }, + "traits": { + "city": "Disney-1", + "country": "India", + "email": "sayan@disney.com", + "firstname": "Sayan" + }, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "originalTimestamp": "2020-01-24T06:29:02.362Z", + "receivedAt": "2020-01-24T11:59:02.403+05:30", + "request_ip": "[::1]:53709", + "sentAt": "2020-01-24T06:29:02.363Z", + "timestamp": "2020-01-24T11:59:02.402+05:30", + "type": "identify", + "userId": "" + }, + "metadata": { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 2, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + } + ], + destType: 'kissmetrics', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://trk.kissmetrics.com/e", + "headers": {}, + "params": { + "Page-path": "/tests/html/index2.html", + "Page-referrer": "", + "Page-search": "", + "Page-title": "", + "Page-url": "http://localhost/tests/html/index2.html", + "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "_n": "Loaded a Page", + "_t": "1579847342", + "_d": 1 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "statusCode": 200 + } + ], + "metadata": [ + { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 1, + "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "prefixProperties": true, + "useNativeSDK": false + }, + "DestinationDefinition": { + "DisplayName": "Kiss Metrics", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "KISSMETRICS" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Kiss Metrics", + "Transformations": [] + } + }, + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://trk.kissmetrics.com/s", + "headers": {}, + "params": { + "city": "Disney-1", + "country": "India", + "email": "sayan@disney.com", + "firstname": "Sayan", + "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "_t": "1579847342", + "_d": 1 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "statusCode": 200 + } + ], + "metadata": [ + { + "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", + "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", + "destinationType": "KISSMETRICS", + "jobId": 2, + "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", + "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", + "prefixProperties": true, + "useNativeSDK": false + }, + "DestinationDefinition": { + "DisplayName": "Kiss Metrics", + "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", + "Name": "KISSMETRICS" + }, + "Enabled": true, + "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", + "Name": "Kiss Metrics", + "Transformations": [] + } + } + ], + }, + }, + }, + }, +]; \ No newline at end of file diff --git a/test/integrations/destinations/leanplum/processor/data.ts b/test/integrations/destinations/leanplum/processor/data.ts index a866b035a8..207918a864 100644 --- a/test/integrations/destinations/leanplum/processor/data.ts +++ b/test/integrations/destinations/leanplum/processor/data.ts @@ -1,1708 +1,1708 @@ export const data = [ - { - name: 'leanplum', - description: 'Test 0', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'MainActivity', - integrations: { All: true }, - messageId: 'id1', - properties: { name: 'MainActivity', automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'screen', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + { + name: 'leanplum', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { All: true }, + messageId: 'id1', + properties: { name: 'MainActivity', automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + sentAt: '2020-03-12T09:05:13.042Z', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'advance' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - state: 'MainActivity', - deviceId: '5094f5704b9cf2b3', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, }, - }, + }, + ], + method: 'POST', + }, + pathSuffix: '', }, - { - name: 'leanplum', - description: 'Test 1', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'MainActivity', - integrations: { All: true }, - messageId: 'id2', - properties: { name: 'MainActivity', automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'screen', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key__', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key__', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'advance' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key__', - userId: '5094f5704b9cf2b3', - state: 'MainActivity', - deviceId: '5094f5704b9cf2b3', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'advance' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + state: 'MainActivity', + deviceId: '5094f5704b9cf2b3', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - }, + statusCode: 200, + }, + ], + }, }, - { - name: 'leanplum', - description: 'Test 2', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'MainActivity', - integrations: { All: true }, - messageId: 'id3', - properties: { name: 'MainActivity', automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'screen', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + }, + { + name: 'leanplum', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { All: true }, + messageId: 'id2', + properties: { name: 'MainActivity', automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + sentAt: '2020-03-12T09:05:13.042Z', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'advance' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - state: 'MainActivity', - deviceId: '5094f5704b9cf2b3', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key__', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, }, - }, + }, + ], + method: 'POST', + }, + pathSuffix: '', }, - { - name: 'leanplum', - description: 'Test 3', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'MainActivity', - integrations: { All: true }, - messageId: 'id3', - properties: { name: 'MainActivity', automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'page', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key__', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'advance' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - state: 'MainActivity', - deviceId: '5094f5704b9cf2b3', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'advance' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key__', + userId: '5094f5704b9cf2b3', + state: 'MainActivity', + deviceId: '5094f5704b9cf2b3', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - }, + statusCode: 200, + }, + ], + }, }, - { - name: 'leanplum', - description: 'Test 4', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - name: 'Test Page Name', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'MainActivity', - integrations: { All: true }, - messageId: 'id3', - properties: { name: 'MainActivity', automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'page', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + }, + { + name: 'leanplum', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { All: true }, + messageId: 'id3', + properties: { name: 'MainActivity', automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + sentAt: '2020-03-12T09:05:13.042Z', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'advance' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - state: 'Test Page Name', - deviceId: '5094f5704b9cf2b3', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, }, - }, + }, + ], + method: 'POST', + }, + pathSuffix: '', }, - { - name: 'leanplum', - description: 'Test 5', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'MainActivity', - integrations: { All: true }, - messageId: 'id4', - properties: { name: 'MainActivity', automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'screen', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'advance' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - state: 'MainActivity', - deviceId: '5094f5704b9cf2b3', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'advance' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + state: 'MainActivity', + deviceId: '5094f5704b9cf2b3', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - }, + statusCode: 200, + }, + ], + }, }, - { - name: 'leanplum', - description: 'Test 6', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'MainActivity', - integrations: { All: true }, - messageId: 'id5', - properties: { automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'screen', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + }, + { + name: 'leanplum', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { All: true }, + messageId: 'id3', + properties: { name: 'MainActivity', automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'page', + sentAt: '2020-03-12T09:05:13.042Z', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'advance' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - state: 'MainActivity', - deviceId: '5094f5704b9cf2b3', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, }, - }, + }, + ], + method: 'POST', + }, + pathSuffix: '', }, - { - name: 'leanplum', - description: 'Test 7', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - integrations: { All: true }, - messageId: 'id6', - properties: { automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'screen', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - error: "Missing required value from [\"properties.name\",\"event\"]", - statTags: { - destType: 'LEANPLUM', - errorCategory: 'dataValidation', - errorType: 'instrumentation', - feature: 'processor', - implementation: 'native', - module: 'destination', - }, - statusCode: 400, - }, - ], + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'advance' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + state: 'MainActivity', + deviceId: '5094f5704b9cf2b3', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - }, + statusCode: 200, + }, + ], + }, }, - { - name: 'leanplum', - description: 'Test 8', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - 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 }, - traits: { - id: 'some_developer_id', - createAt: '2019-10-14T09:03:17.562Z', - address: { country: 'USA', city: 'NY' }, - country: 'India', - city: 'Delhi', - }, - }, - type: 'identify', - messageId: '84e26acc-56a5-4835-8233-591137fca468', - originalTimestamp: '2019-10-14T09:03:17.562Z', - anonymousId: '00000000000000000000000000', - integrations: { All: true }, - sentAt: '2019-10-14T09:03:22.563Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + }, + { + name: 'leanplum', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + name: 'Test Page Name', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { All: true }, + messageId: 'id3', + properties: { name: 'MainActivity', automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'page', + sentAt: '2020-03-12T09:05:13.042Z', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'setUserAttributes' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '00000000000000000000000000', - newUserId: 'some_developer_id', - userAttributes: { - id: 'some_developer_id', - createAt: '2019-10-14T09:03:17.562Z', - address: { country: 'USA', city: 'NY' }, - country: 'India', - city: 'Delhi', - }, - created: 1571043798, - locale: 'en-US', - country: 'USA', - city: 'NY', - time: 1571043798, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '00000000000000000000000000', - }, - statusCode: 200, - }, - ], + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, }, - }, + }, + ], + method: 'POST', + }, + pathSuffix: '', }, - { - name: 'leanplum', - description: 'Test 9', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'MainActivity', - integrations: { All: true }, - messageId: 'id1', - properties: { name: 'MainActivity', automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'screen', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'advance' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - state: 'MainActivity', - deviceId: '5094f5704b9cf2b3', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'advance' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + state: 'Test Page Name', + deviceId: '5094f5704b9cf2b3', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - }, + statusCode: 200, + }, + ], + }, }, - { - name: 'leanplum', - description: 'Test 10', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'MainActivity', - integrations: { All: true }, - messageId: 'id1', - properties: { automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'screen', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + }, + { + name: 'leanplum', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { All: true }, + messageId: 'id4', + properties: { name: 'MainActivity', automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + sentAt: '2020-03-12T09:05:13.042Z', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'advance' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - state: 'MainActivity', - deviceId: '5094f5704b9cf2b3', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, }, - }, + }, + ], + method: 'POST', + }, + pathSuffix: '', }, - { - name: 'leanplum', - description: 'Test 11', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - integrations: { All: true }, - messageId: 'id1', - properties: { automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'screen', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - error: "Missing required value from [\"properties.name\",\"event\"]", - statTags: { - destType: 'LEANPLUM', - errorCategory: 'dataValidation', - errorType: 'instrumentation', - feature: 'processor', - implementation: 'native', - module: 'destination', - }, - statusCode: 400, - }, - ], + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'advance' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + state: 'MainActivity', + deviceId: '5094f5704b9cf2b3', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - }, + statusCode: 200, + }, + ], + }, }, - { - name: 'leanplum', - description: 'Test 12', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'account: logged out', - integrations: { All: true }, - messageId: 'id1', - properties: { name: 'MainActivity', automatic: true }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'track', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + }, + { + name: 'leanplum', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { All: true }, + messageId: 'id5', + properties: { automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + sentAt: '2020-03-12T09:05:13.042Z', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'track' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - event: 'account: logged out', - deviceId: '5094f5704b9cf2b3', - params: { name: 'MainActivity', automatic: true }, - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, }, - }, + }, + ], + method: 'POST', + }, + pathSuffix: '', }, - { - name: 'leanplum', - description: 'Test 13', - feature: 'processor', - module: 'destination', - version: 'v0', - input: { - request: { - body: [ - { - message: { - anonymousId: '5094f5704b9cf2b3', - channel: 'mobile', - context: { - app: { - build: '1', - name: 'LeanPlumIntegrationAndroid', - namespace: 'com.android.SampleLeanPlum', - version: '1.0', - }, - device: { - id: '5094f5704b9cf2b3', - manufacturer: 'Google', - model: 'Android SDK built for x86', - name: 'generic_x86', - type: 'android', - }, - library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, - locale: 'en-US', - network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, - os: { name: 'Android', version: '8.1.0' }, - screen: { density: 420, height: 1794, width: 1080 }, - timezone: 'Asia/Kolkata', - traits: { anonymousId: '5094f5704b9cf2b3' }, - userAgent: - 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', - }, - event: 'account: logged out', - integrations: { All: true }, - messageId: 'id1', - properties: { name: 'MainActivity', automatic: true, total: 2.45, currency: 'USD' }, - originalTimestamp: '2020-03-12T09:05:03.421Z', - type: 'track', - sentAt: '2020-03-12T09:05:13.042Z', - }, - destination: { - Config: { - applicationId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - isDevelop: true, - useNativeSDK: false, - sendEvents: false, - }, - }, - }, - ], - method: 'POST', + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - pathSuffix: '', - }, - output: { - response: { - status: 200, - body: [ - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'start' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - deviceId: '5094f5704b9cf2b3', - appVersion: '1.0', - systemName: 'Android', - systemVersion: '8.1.0', - deviceName: 'generic_x86', - deviceModel: 'Android SDK built for x86', - userAttributes: { anonymousId: '5094f5704b9cf2b3' }, - locale: 'en-US', - timezone: 'Asia/Kolkata', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - { - output: { - version: '1', - type: 'REST', - method: 'POST', - endpoint: 'https://api.leanplum.com/api', - headers: { 'Content-Type': 'application/json' }, - params: { action: 'track' }, - body: { - JSON: { - apiVersion: '1.0.6', - appId: 'leanplum_application_id', - clientKey: 'leanplum_client_key', - userId: '5094f5704b9cf2b3', - event: 'account: logged out', - deviceId: '5094f5704b9cf2b3', - params: { name: 'MainActivity', automatic: true, total: 2.45, currency: 'USD' }, - value: 2.45, - currencyCode: 'USD', - time: 1584003903, - devMode: true, - }, - XML: {}, - JSON_ARRAY: {}, - FORM: {}, - }, - files: {}, - userId: '5094f5704b9cf2b3', - }, - statusCode: 200, - }, - ], + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'advance' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + state: 'MainActivity', + deviceId: '5094f5704b9cf2b3', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', }, - }, + statusCode: 200, + }, + ], + }, }, + }, + { + name: 'leanplum', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + integrations: { All: true }, + messageId: 'id6', + properties: { automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + sentAt: '2020-03-12T09:05:13.042Z', + }, + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Missing required value from ["properties.name","event"]', + statTags: { + destType: 'LEANPLUM', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'leanplum', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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 }, + traits: { + id: 'some_developer_id', + createAt: '2019-10-14T09:03:17.562Z', + address: { country: 'USA', city: 'NY' }, + country: 'India', + city: 'Delhi', + }, + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + integrations: { All: true }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'setUserAttributes' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '00000000000000000000000000', + newUserId: 'some_developer_id', + userAttributes: { + id: 'some_developer_id', + createAt: '2019-10-14T09:03:17.562Z', + address: { country: 'USA', city: 'NY' }, + country: 'India', + city: 'Delhi', + }, + created: 1571043798, + locale: 'en-US', + country: 'USA', + city: 'NY', + time: 1571043798, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '00000000000000000000000000', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'leanplum', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { All: true }, + messageId: 'id1', + properties: { name: 'MainActivity', automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + sentAt: '2020-03-12T09:05:13.042Z', + }, + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'advance' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + state: 'MainActivity', + deviceId: '5094f5704b9cf2b3', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'leanplum', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { All: true }, + messageId: 'id1', + properties: { automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + sentAt: '2020-03-12T09:05:13.042Z', + }, + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'advance' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + state: 'MainActivity', + deviceId: '5094f5704b9cf2b3', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'leanplum', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + integrations: { All: true }, + messageId: 'id1', + properties: { automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + sentAt: '2020-03-12T09:05:13.042Z', + }, + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Missing required value from ["properties.name","event"]', + statTags: { + destType: 'LEANPLUM', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'leanplum', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'account: logged out', + integrations: { All: true }, + messageId: 'id1', + properties: { name: 'MainActivity', automatic: true }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'track', + sentAt: '2020-03-12T09:05:13.042Z', + }, + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'track' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + event: 'account: logged out', + deviceId: '5094f5704b9cf2b3', + params: { name: 'MainActivity', automatic: true }, + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'leanplum', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.0.1-beta.1' }, + locale: 'en-US', + network: { carrier: 'Android', bluetooth: false, cellular: true, wifi: true }, + os: { name: 'Android', version: '8.1.0' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { anonymousId: '5094f5704b9cf2b3' }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'account: logged out', + integrations: { All: true }, + messageId: 'id1', + properties: { name: 'MainActivity', automatic: true, total: 2.45, currency: 'USD' }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'track', + sentAt: '2020-03-12T09:05:13.042Z', + }, + destination: { + Config: { + applicationId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + isDevelop: true, + useNativeSDK: false, + sendEvents: false, + }, + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'start' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + deviceId: '5094f5704b9cf2b3', + appVersion: '1.0', + systemName: 'Android', + systemVersion: '8.1.0', + deviceName: 'generic_x86', + deviceModel: 'Android SDK built for x86', + userAttributes: { anonymousId: '5094f5704b9cf2b3' }, + locale: 'en-US', + timezone: 'Asia/Kolkata', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.leanplum.com/api', + headers: { 'Content-Type': 'application/json' }, + params: { action: 'track' }, + body: { + JSON: { + apiVersion: '1.0.6', + appId: 'leanplum_application_id', + clientKey: 'leanplum_client_key', + userId: '5094f5704b9cf2b3', + event: 'account: logged out', + deviceId: '5094f5704b9cf2b3', + params: { name: 'MainActivity', automatic: true, total: 2.45, currency: 'USD' }, + value: 2.45, + currencyCode: 'USD', + time: 1584003903, + devMode: true, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', + }, + statusCode: 200, + }, + ], + }, + }, + }, ]; diff --git a/test/integrations/destinations/mautic/processor/data.ts b/test/integrations/destinations/mautic/processor/data.ts index 630b42864f..fe1dc6c41a 100644 --- a/test/integrations/destinations/mautic/processor/data.ts +++ b/test/integrations/destinations/mautic/processor/data.ts @@ -43,7 +43,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -125,7 +124,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -206,7 +204,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -287,7 +284,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -354,7 +350,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -430,7 +425,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -534,7 +528,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -638,7 +631,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -699,7 +691,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -775,7 +766,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -835,7 +825,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -896,7 +885,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -953,7 +941,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1010,7 +997,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1071,7 +1057,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1128,7 +1113,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1189,7 +1173,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1238,7 +1221,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1299,7 +1281,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1356,7 +1337,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1435,7 +1415,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1508,7 +1487,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1572,7 +1550,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1624,7 +1601,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1681,7 +1657,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1736,7 +1711,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1787,7 +1761,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1839,7 +1812,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1895,7 +1867,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -1945,7 +1916,6 @@ export const data = [ ], method: 'POST', }, - pathSuffix: '', }, output: { response: { diff --git a/test/integrations/destinations/mautic/router/data.ts b/test/integrations/destinations/mautic/router/data.ts index b1dd0697c4..9ac6c8714f 100644 --- a/test/integrations/destinations/mautic/router/data.ts +++ b/test/integrations/destinations/mautic/router/data.ts @@ -61,7 +61,6 @@ export const data = [ }, method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -190,7 +189,6 @@ export const data = [ }, method: 'POST', }, - pathSuffix: '', }, output: { response: { @@ -273,7 +271,6 @@ export const data = [ }, method: 'POST', }, - pathSuffix: '', }, output: { response: { From 5f094bc60e9e3152e5ad2a0c6122b2cef8ab0775 Mon Sep 17 00:00:00 2001 From: Yashasvi Bajpai <33063622+yashasvibajpai@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:41:16 +0530 Subject: [PATCH 36/98] refactor: destination tests to component test case suite (#2698) * refactor: algolia, appcues, attentive to component tc * test: fix processor tc for branch,candu,customerio * test: add proc cases for autopilot,azure,criteo,facebookpixel * test: add proc cases for blueshift,cm,confluent,courier,fboc * test: add router cases for all destinations * fix: timestamp testcase in fb pixel * chore: cleanup old test and data files * refactor: revert formattings * refactor: revert formattingsx2 --------- Co-authored-by: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> --- test/__tests__/algolia-cdk.test.ts | 59 - test/__tests__/algolia.test.js | 58 - test/__tests__/appcues.test.js | 49 - test/__tests__/attentive_tag.test.js | 51 - test/__tests__/autopilot-cdk.test.ts | 33 - test/__tests__/autopilot.test.js | 7 - test/__tests__/azure_event_hub.test.js | 46 - test/__tests__/blueshift.test.js | 51 - test/__tests__/branch.test.js | 49 - test/__tests__/campaign_manager.test.js | 47 - test/__tests__/candu.test.js | 49 - test/__tests__/confluent_cloud.test.js | 47 - test/__tests__/courier.test.js | 46 - test/__tests__/criteo_audience.test.js | 79 - test/__tests__/customerio.test.js | 51 - test/__tests__/data/algolia_input.json | 804 -- test/__tests__/data/algolia_output.json | 121 - test/__tests__/data/algolia_router_input.json | 1902 ---- .../__tests__/data/algolia_router_output.json | 288 - test/__tests__/data/appcues_input.json | 750 -- test/__tests__/data/appcues_output.json | 320 - test/__tests__/data/appcues_router_input.json | 119 - .../__tests__/data/appcues_router_output.json | 75 - test/__tests__/data/attentive_tag_input.json | 1062 --- test/__tests__/data/attentive_tag_output.json | 368 - .../data/attentive_tag_router_input.json | 57 - .../data/attentive_tag_router_output.json | 40 - test/__tests__/data/autopilot_cdk_output.json | 108 - test/__tests__/data/autopilot_input.json | 796 -- test/__tests__/data/autopilot_output.json | 108 - .../data/autopilot_router_input.json | 165 - .../data/autopilot_router_output.json | 125 - .../__tests__/data/azure_event_hub_input.json | 396 - .../data/azure_event_hub_output.json | 276 - test/__tests__/data/blueshift_input.json | 1120 --- test/__tests__/data/blueshift_output.json | 438 - .../data/blueshift_router_input.json | 167 - .../data/blueshift_router_output.json | 156 - test/__tests__/data/branch_input.json | 806 -- test/__tests__/data/branch_output.json | 385 - test/__tests__/data/branch_router_input.json | 128 - test/__tests__/data/branch_router_output.json | 120 - test/__tests__/data/campaign_manager.json | 653 -- .../data/campaign_manager_router_input.json | 276 - .../data/campaign_manager_router_output.json | 156 - test/__tests__/data/candu_input.json | 938 -- test/__tests__/data/candu_output.json | 209 - test/__tests__/data/candu_router_input.json | 105 - test/__tests__/data/candu_router_output.json | 82 - .../__tests__/data/confluent_cloud_input.json | 396 - .../data/confluent_cloud_output.json | 276 - test/__tests__/data/courier.json | 218 - test/__tests__/data/courier_router.json | 136 - test/__tests__/data/criteo_audience.json | 1273 --- .../data/criteo_audience_router_input.json | 111 - .../data/criteo_audience_router_output.json | 135 - test/__tests__/data/customerio_input.json | 4964 ---------- test/__tests__/data/customerio_output.json | 1779 ---- .../data/customerio_router_input.json | 233 - .../data/customerio_router_output.json | 175 - .../data/facebook_offline_conversions.json | 1393 --- .../facebook_offline_conversions_router.json | 664 -- test/__tests__/data/facebook_pixel_input.json | 4092 -------- .../__tests__/data/facebook_pixel_output.json | 772 -- .../data/facebook_pixel_router_input.json | 164 - .../data/facebook_pixel_router_output.json | 122 - .../facebook_offline_conversions.test.js | 85 - test/__tests__/fbpixel.test.js | 53 - .../destinations/algolia/processor/data.ts | 1243 +++ .../destinations/algolia/router/data.ts | 2363 +++++ .../destinations/appcues/processor/data.ts | 1387 +++ .../destinations/appcues/router/data.ts | 221 + .../attentive_tag/processor/data.ts | 1682 ++++ .../destinations/attentive_tag/router/data.ts | 122 + .../destinations/autopilot/processor/data.ts | 1156 +++ .../destinations/autopilot/router/data.ts | 317 + .../azure_event_hub/processor/data.ts | 825 ++ .../destinations/blueshift/processor/data.ts | 1997 ++++ .../destinations/blueshift/router/data.ts | 348 + .../destinations/branch/processor/data.ts | 1493 +++ .../destinations/branch/router/data.ts | 276 + .../campaign_manager/processor/data.ts | 825 ++ .../campaign_manager/router/data.ts | 464 + .../destinations/candu/processor/data.ts | 1366 +++ .../destinations/candu/router/data.ts | 212 + .../confluent_cloud/processor/data.ts | 825 ++ .../destinations/courier/processor/data.ts | 333 + .../destinations/courier/router/data.ts | 160 + .../criteo_audience/processor/data.ts | 1638 ++++ .../criteo_audience/router/data.ts | 270 + .../destinations/customerio/processor/data.ts | 8483 +++++++++++++++++ .../destinations/customerio/router/data.ts | 436 + .../processor/data.ts | 1775 ++++ .../router/data.ts | 705 ++ .../facebook_pixel/processor/data.ts | 6061 ++++++++++++ .../facebook_pixel/router/data.ts | 316 + 96 files changed, 37299 insertions(+), 31382 deletions(-) delete mode 100644 test/__tests__/algolia-cdk.test.ts delete mode 100644 test/__tests__/algolia.test.js delete mode 100644 test/__tests__/appcues.test.js delete mode 100644 test/__tests__/attentive_tag.test.js delete mode 100644 test/__tests__/autopilot-cdk.test.ts delete mode 100644 test/__tests__/autopilot.test.js delete mode 100644 test/__tests__/azure_event_hub.test.js delete mode 100644 test/__tests__/blueshift.test.js delete mode 100644 test/__tests__/branch.test.js delete mode 100644 test/__tests__/campaign_manager.test.js delete mode 100644 test/__tests__/candu.test.js delete mode 100644 test/__tests__/confluent_cloud.test.js delete mode 100644 test/__tests__/courier.test.js delete mode 100644 test/__tests__/criteo_audience.test.js delete mode 100644 test/__tests__/customerio.test.js delete mode 100644 test/__tests__/data/algolia_input.json delete mode 100644 test/__tests__/data/algolia_output.json delete mode 100644 test/__tests__/data/algolia_router_input.json delete mode 100644 test/__tests__/data/algolia_router_output.json delete mode 100644 test/__tests__/data/appcues_input.json delete mode 100644 test/__tests__/data/appcues_output.json delete mode 100644 test/__tests__/data/appcues_router_input.json delete mode 100644 test/__tests__/data/appcues_router_output.json delete mode 100644 test/__tests__/data/attentive_tag_input.json delete mode 100644 test/__tests__/data/attentive_tag_output.json delete mode 100644 test/__tests__/data/attentive_tag_router_input.json delete mode 100644 test/__tests__/data/attentive_tag_router_output.json delete mode 100644 test/__tests__/data/autopilot_cdk_output.json delete mode 100644 test/__tests__/data/autopilot_input.json delete mode 100644 test/__tests__/data/autopilot_output.json delete mode 100644 test/__tests__/data/autopilot_router_input.json delete mode 100644 test/__tests__/data/autopilot_router_output.json delete mode 100644 test/__tests__/data/azure_event_hub_input.json delete mode 100644 test/__tests__/data/azure_event_hub_output.json delete mode 100644 test/__tests__/data/blueshift_input.json delete mode 100644 test/__tests__/data/blueshift_output.json delete mode 100644 test/__tests__/data/blueshift_router_input.json delete mode 100644 test/__tests__/data/blueshift_router_output.json delete mode 100644 test/__tests__/data/branch_input.json delete mode 100644 test/__tests__/data/branch_output.json delete mode 100644 test/__tests__/data/branch_router_input.json delete mode 100644 test/__tests__/data/branch_router_output.json delete mode 100644 test/__tests__/data/campaign_manager.json delete mode 100644 test/__tests__/data/campaign_manager_router_input.json delete mode 100644 test/__tests__/data/campaign_manager_router_output.json delete mode 100644 test/__tests__/data/candu_input.json delete mode 100644 test/__tests__/data/candu_output.json delete mode 100644 test/__tests__/data/candu_router_input.json delete mode 100644 test/__tests__/data/candu_router_output.json delete mode 100644 test/__tests__/data/confluent_cloud_input.json delete mode 100644 test/__tests__/data/confluent_cloud_output.json delete mode 100644 test/__tests__/data/courier.json delete mode 100644 test/__tests__/data/courier_router.json delete mode 100644 test/__tests__/data/criteo_audience.json delete mode 100644 test/__tests__/data/criteo_audience_router_input.json delete mode 100644 test/__tests__/data/criteo_audience_router_output.json delete mode 100644 test/__tests__/data/customerio_input.json delete mode 100644 test/__tests__/data/customerio_output.json delete mode 100644 test/__tests__/data/customerio_router_input.json delete mode 100644 test/__tests__/data/customerio_router_output.json delete mode 100644 test/__tests__/data/facebook_offline_conversions.json delete mode 100644 test/__tests__/data/facebook_offline_conversions_router.json delete mode 100644 test/__tests__/data/facebook_pixel_input.json delete mode 100644 test/__tests__/data/facebook_pixel_output.json delete mode 100644 test/__tests__/data/facebook_pixel_router_input.json delete mode 100644 test/__tests__/data/facebook_pixel_router_output.json delete mode 100644 test/__tests__/facebook_offline_conversions.test.js delete mode 100644 test/__tests__/fbpixel.test.js create mode 100644 test/integrations/destinations/algolia/processor/data.ts create mode 100644 test/integrations/destinations/algolia/router/data.ts create mode 100644 test/integrations/destinations/appcues/processor/data.ts create mode 100644 test/integrations/destinations/appcues/router/data.ts create mode 100644 test/integrations/destinations/attentive_tag/processor/data.ts create mode 100644 test/integrations/destinations/attentive_tag/router/data.ts create mode 100644 test/integrations/destinations/autopilot/processor/data.ts create mode 100644 test/integrations/destinations/autopilot/router/data.ts create mode 100644 test/integrations/destinations/azure_event_hub/processor/data.ts create mode 100644 test/integrations/destinations/blueshift/processor/data.ts create mode 100644 test/integrations/destinations/blueshift/router/data.ts create mode 100644 test/integrations/destinations/branch/processor/data.ts create mode 100644 test/integrations/destinations/branch/router/data.ts create mode 100644 test/integrations/destinations/campaign_manager/processor/data.ts create mode 100644 test/integrations/destinations/campaign_manager/router/data.ts create mode 100644 test/integrations/destinations/candu/processor/data.ts create mode 100644 test/integrations/destinations/candu/router/data.ts create mode 100644 test/integrations/destinations/confluent_cloud/processor/data.ts create mode 100644 test/integrations/destinations/courier/processor/data.ts create mode 100644 test/integrations/destinations/courier/router/data.ts create mode 100644 test/integrations/destinations/criteo_audience/processor/data.ts create mode 100644 test/integrations/destinations/criteo_audience/router/data.ts create mode 100644 test/integrations/destinations/customerio/processor/data.ts create mode 100644 test/integrations/destinations/customerio/router/data.ts create mode 100644 test/integrations/destinations/facebook_offline_conversions/processor/data.ts create mode 100644 test/integrations/destinations/facebook_offline_conversions/router/data.ts create mode 100644 test/integrations/destinations/facebook_pixel/processor/data.ts create mode 100644 test/integrations/destinations/facebook_pixel/router/data.ts diff --git a/test/__tests__/algolia-cdk.test.ts b/test/__tests__/algolia-cdk.test.ts deleted file mode 100644 index 0b6fae6741..0000000000 --- a/test/__tests__/algolia-cdk.test.ts +++ /dev/null @@ -1,59 +0,0 @@ -import fs from 'fs'; -import path from 'path'; -import { processCdkV2Workflow } from '../../src/cdk/v2/handler'; -import tags from '../../src/v0/util/tags'; - -const integration = 'algolia'; -const destName = 'Algolia'; - -const inputDataFile = fs.readFileSync(path.resolve(__dirname, `./data/${integration}_input.json`), { - encoding: 'utf8', -}); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`), - { encoding: 'utf8' }, -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -describe(`${destName} Tests`, () => { - describe('Processor Tests', () => { - inputData.forEach((input, index) => { - it(`${destName} - payload: ${index}`, async () => { - const expected = expectedData[index]; - try { - const output = await processCdkV2Workflow(integration, input, tags.FEATURES.PROCESSOR); - expect(output).toEqual(expected); - } catch (error: any) { - expect(error.message).toEqual(expected.message); - } - }); - }); - }); - - const inputRouterDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router_input.json`), - { encoding: 'utf8' }, - ); - const outputRouterDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router_output.json`), - { encoding: 'utf8' }, - ); - const inputRouterData = JSON.parse(inputRouterDataFile); - const expectedRouterData = JSON.parse(outputRouterDataFile); - - describe('Router Tests', () => { - inputRouterData.forEach((input, index) => { - it(`${destName} - payload: ${index}`, async () => { - const expected = expectedRouterData[index]; - try { - const output = await processCdkV2Workflow(integration, input, tags.FEATURES.ROUTER); - expect(output).toEqual(expected); - } catch (error: any) { - // console.log(error); - expect(error.message).toEqual(expected.message); - } - }); - }); - }); -}); diff --git a/test/__tests__/algolia.test.js b/test/__tests__/algolia.test.js deleted file mode 100644 index c958ff237b..0000000000 --- a/test/__tests__/algolia.test.js +++ /dev/null @@ -1,58 +0,0 @@ -const integration = "algolia"; -const name = "algolia"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -inputData.forEach((input, index) => { - it(`${name} Tests: payload - ${index}`, () => { - let output, expected; - try { - output = transformer.process(input); - expected = expectedData[index]; - } catch (error) { - output = error.message; - // console.log(output); - expected = expectedData[index].message; - } - expect(output).toEqual(expected); - }); -}); - -const routerInputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router_input.json`) -); -const routerInputData = JSON.parse(routerInputDataFile); -const routerOutputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router_output.json`) -); -const routerOutputData = JSON.parse(routerOutputDataFile); - -describe("Router Tests", () => { - routerInputData.forEach((input, index) => { - it(`${name} Tests: payload - ${index}`, async () => { - let output, expected; - try { - output = await transformer.processRouterDest(input); - expected = routerOutputData[index]; - } catch (error) { - output = error.message; - // console.log(output); - expected = routerOutputData[index].message; - } - expect(output).toEqual(expected); - }); - }); -}); diff --git a/test/__tests__/appcues.test.js b/test/__tests__/appcues.test.js deleted file mode 100644 index 077d2e580c..0000000000 --- a/test/__tests__/appcues.test.js +++ /dev/null @@ -1,49 +0,0 @@ -const integration = "appcues"; -const name = "Appcues"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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 () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/attentive_tag.test.js b/test/__tests__/attentive_tag.test.js deleted file mode 100644 index ff8e278ece..0000000000 --- a/test/__tests__/attentive_tag.test.js +++ /dev/null @@ -1,51 +0,0 @@ -const integration = "attentive_tag"; -const name = "Attentive Tag"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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); - -Date.now = jest.fn(() => new Date("2019-10-14T09:03:17.562Z")); - -describe(`${name} Tests`, () => { - describe("Processor Tests", () => { - inputData.forEach((input, index) => { - it(`${name} - payload: ${index}`, async () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/autopilot-cdk.test.ts b/test/__tests__/autopilot-cdk.test.ts deleted file mode 100644 index fcb0ad401b..0000000000 --- a/test/__tests__/autopilot-cdk.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -import fs from 'fs'; -import path from 'path'; -import { processCdkV2Workflow } from '../../src/cdk/v2/handler'; -import tags from '../../src/v0/util/tags'; - -const integration = 'autopilot'; -const destName = 'Autopilot'; - -const inputDataFile = fs.readFileSync(path.resolve(__dirname, `./data/${integration}_input.json`), { - encoding: 'utf8', -}); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_cdk_output.json`), - { encoding: 'utf8' }, -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -describe(`${destName} Tests`, () => { - describe('Processor Tests', () => { - inputData.forEach((input, index) => { - it(`${destName} - payload: ${index}`, async () => { - const expected = expectedData[index]; - try { - const output = await processCdkV2Workflow(integration, input, tags.FEATURES.PROCESSOR); - expect(output).toEqual(expected); - } catch (error: any) { - expect(error.message).toEqual(expected.error); - } - }); - }); - }); -}); diff --git a/test/__tests__/autopilot.test.js b/test/__tests__/autopilot.test.js deleted file mode 100644 index d2b226aea3..0000000000 --- a/test/__tests__/autopilot.test.js +++ /dev/null @@ -1,7 +0,0 @@ -const { - getDestFromTestFile, - executeTransformationTest -} = require("./utilities/test-utils"); - -executeTransformationTest(getDestFromTestFile(__filename), "processor"); -executeTransformationTest(getDestFromTestFile(__filename), "router"); diff --git a/test/__tests__/azure_event_hub.test.js b/test/__tests__/azure_event_hub.test.js deleted file mode 100644 index b76c7450cd..0000000000 --- a/test/__tests__/azure_event_hub.test.js +++ /dev/null @@ -1,46 +0,0 @@ -const integration = "azure_event_hub"; -const name = "Azure event Hub"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); - -const dataWithMetadata = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_with_metadata.json`) -); - -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -inputData.forEach((input, index) => { - it(`${name} Tests: payload: ${index}`, async () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].message); - } - }); -}); - -test(`${name} Metadata parse test`, done => { - const inputData = JSON.parse(dataWithMetadata); - inputData.forEach(async (data, _) => { - try { - const output = transformer.processMetadata(data.input); - expect(output).toEqual(data.output); - done(); - } catch (error) { - done(error); - } - }); -}); diff --git a/test/__tests__/blueshift.test.js b/test/__tests__/blueshift.test.js deleted file mode 100644 index 156552b54b..0000000000 --- a/test/__tests__/blueshift.test.js +++ /dev/null @@ -1,51 +0,0 @@ -const integration = "blueshift"; -const name = "blueshift"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test Data -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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 () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/branch.test.js b/test/__tests__/branch.test.js deleted file mode 100644 index 74af08b18a..0000000000 --- a/test/__tests__/branch.test.js +++ /dev/null @@ -1,49 +0,0 @@ -const integration = "branch"; -const name = "Branch"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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 () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/campaign_manager.test.js b/test/__tests__/campaign_manager.test.js deleted file mode 100644 index 4f3a40d520..0000000000 --- a/test/__tests__/campaign_manager.test.js +++ /dev/null @@ -1,47 +0,0 @@ -const integration = "campaign_manager"; -const name = "campaign_manager"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test Data -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -// Router Test files -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", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - let output = await transformer.process(dataPoint.input); - delete output.body.JSON.idempotency; - expect(output).toEqual(dataPoint.output); - } catch (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__/candu.test.js b/test/__tests__/candu.test.js deleted file mode 100644 index 6a2fcadb23..0000000000 --- a/test/__tests__/candu.test.js +++ /dev/null @@ -1,49 +0,0 @@ -const integration = "candu"; -const name = "Candu"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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 () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/confluent_cloud.test.js b/test/__tests__/confluent_cloud.test.js deleted file mode 100644 index 3c57ebccbe..0000000000 --- a/test/__tests__/confluent_cloud.test.js +++ /dev/null @@ -1,47 +0,0 @@ -const integration = "confluent_cloud"; -const name = "Confluent Cloud"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); - -const dataWithMetadata = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_with_metadata.json`) -); - -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -inputData.forEach((input, index) => { - it(`${name} Tests: payload: ${index}`, async () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].message); - } - }); -}); - -test(`${name} Metadata parse test`, done => { - const inputData = JSON.parse(dataWithMetadata); - inputData.forEach(async (data, _) => { - try { - const output = transformer.processMetadata(data.input); - expect(output).toEqual(data.output); - done(); - } catch (error) { - done(error); - } - }); -}); diff --git a/test/__tests__/courier.test.js b/test/__tests__/courier.test.js deleted file mode 100644 index 30c99a424c..0000000000 --- a/test/__tests__/courier.test.js +++ /dev/null @@ -1,46 +0,0 @@ -const integration = "courier"; -const name = "Courier"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test files -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -// Router Test files -const routerTestDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router.json`) - ); -const routerTestData = JSON.parse(routerTestDataFile); - -describe(`${name} Tests`, () => { - describe("Processor", () => { - testData.forEach(async (dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - const output = await transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (error) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - }); - - describe("Router Tests", () => { - routerTestData.forEach(dataPoint => { - it("Payload", async () => { - const output = await transformer.processRouterDest(dataPoint.input); - expect(output).toEqual(dataPoint.output); - }); - }); - }); - -}); diff --git a/test/__tests__/criteo_audience.test.js b/test/__tests__/criteo_audience.test.js deleted file mode 100644 index 099fbd0a18..0000000000 --- a/test/__tests__/criteo_audience.test.js +++ /dev/null @@ -1,79 +0,0 @@ -const fs = require("fs"); -const path = require("path"); - -const integration = "criteo_audience"; -const name = "Criteo_Audience"; -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Mocking the config module to change the value of MAX_IDENTIFIERS -jest.mock(`../../src/${version}/destinations/${integration}/config`, () => { - const originalConfig= jest.requireActual(`../../src/${version}/destinations/${integration}/config`); - return { - ...originalConfig, - MAX_IDENTIFIERS: 5, - } -}); -jest.mock('ioredis', () => require('../../../test/__mocks__/redis')); -// Processor Test Data -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -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", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - const output = await transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (error) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); - -describe("Router Tests for rETL sources", () => { - it("should send events to dest", async () => { - const input = JSON.parse( - fs.readFileSync( - path.resolve( - __dirname, - `data/${integration}_router_rETL_input.json` - ) - ) - ); - const output = JSON.parse( - fs.readFileSync( - path.resolve( - __dirname, - `data/${integration}_router_rETL_output.json` - ) - ) - ); - const actualOutput = await transformer.processRouterDest(input); - console.log(JSON.stringify(actualOutput)) - expect(actualOutput).toEqual(output); - }); -}); diff --git a/test/__tests__/customerio.test.js b/test/__tests__/customerio.test.js deleted file mode 100644 index 7170c0dc30..0000000000 --- a/test/__tests__/customerio.test.js +++ /dev/null @@ -1,51 +0,0 @@ -const integration = "customerio"; -const name = "CustomerIO"; - -const fs = require("fs"); -const path = require("path"); -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/customerio/transform`); - -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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); - -for (let index = 0; index < inputData.length; index++) { - it(`${name} Tests - payload: ${index}`, () => { - let output, expected; - try { - output = transformer.process(inputData[index]); - expected = expectedData[index]; - } catch (error) { - output = error.message; - expected = expectedData[index].message; - } - - expect(output).toEqual(expected); - }); -} - -describe(`${name} Tests`, () => { - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/data/algolia_input.json b/test/__tests__/data/algolia_input.json deleted file mode 100644 index ee55f465bb..0000000000 --- a/test/__tests__/data/algolia_input.json +++ /dev/null @@ -1,804 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product clicked", - "userId": "testuserId1", - "properties": { - "index": "products", - "filters": ["field1:hello", "val1:val2"] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "cLick " - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": 7 - }, - { - "objectId": "9780439784542", - "position": 8 - } - ], - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product list viewed", - "to": "click" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product clicked", - "userId": "testuserId1", - "properties": { - "eventType": "click", - "index": "products", - "queryId": "43b15df305339e827f0ac0bdc5ebcaa8" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "testuserId1", - "event": "product clicked", - "properties": { - "index": "products", - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": 7 - }, - { - "objectId": "9780439784542", - "position": 8 - } - ], - "queryId": "" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product list viewed", - "to": "click" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": 7 - }, - { - "objectId": "9780439784542", - "position": 8 - } - ], - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product list viewed", - "to": "view" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": "7" - }, - { - "objectId": "9780439784542", - "position": "a" - } - ], - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product list viewed", - "to": "click" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": "7" - }, - { - "objectId": "9780439784542", - "position": "a" - } - ], - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product list viewed", - "to": "check" - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": "7" - }, - { - "objectId": "9780439784542", - "position": "a" - } - ], - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product clicked", - "userId": "testuserId1", - "properties": { - "filters": ["field1:hello", "val1:val2"] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "cLick " - } - ] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": ["abc", "def"], - "userId": "testuserId1", - "properties": { - "filters": ["field1:hello", "val1:val2"] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "cLick " - } - ] - } - } - } -] diff --git a/test/__tests__/data/algolia_output.json b/test/__tests__/data/algolia_output.json deleted file mode 100644 index 04cdb6ca9d..0000000000 --- a/test/__tests__/data/algolia_output.json +++ /dev/null @@ -1,121 +0,0 @@ -[ - { - "body": { - "FORM": {}, - "JSON_ARRAY": {}, - "JSON": { - "events": [ - { - "eventName": "product clicked", - "eventType": "click", - "filters": ["field1:hello", "val1:val2"], - "index": "products", - "userToken": "testuserId1" - } - ] - }, - "XML": {} - }, - "endpoint": "https://insights.algolia.io/1/events", - "files": {}, - "headers": { - "X-Algolia-API-Key": "dummyApiKey", - "X-Algolia-Application-Id": "O2YARRI15I" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - }, - { - "body": { - "FORM": {}, - "JSON_ARRAY": {}, - "JSON": { - "events": [ - { - "eventName": "product list viewed", - "eventType": "click", - "objectIDs": ["ecommerce-sample-data-919", "9780439784542"], - "positions": [7, 8], - "index": "products", - "userToken": "testuserId1", - "queryID": "43b15df305339e827f0ac0bdc5ebcaa7" - } - ] - }, - "XML": {} - }, - "endpoint": "https://insights.algolia.io/1/events", - "files": {}, - "headers": { - "X-Algolia-API-Key": "dummyApiKey", - "X-Algolia-Application-Id": "O2YARRI15I" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - }, - { - "statusCode": "400", - "message": "Either filters or objectIds is required." - }, - { - "statusCode": "400", - "message": "eventType is mandatory for track call" - }, - { - "statusCode": "400", - "message": "for click eventType either both positions and queryId should be present or none" - }, - { - "body": { - "FORM": {}, - "JSON_ARRAY": {}, - "JSON": { - "events": [ - { - "eventName": "product list viewed", - "eventType": "view", - "index": "products", - "objectIDs": ["ecommerce-sample-data-919", "9780439784542"], - "userToken": "testuserId1", - "queryID": "43b15df305339e827f0ac0bdc5ebcaa7" - } - ] - }, - "XML": {} - }, - "endpoint": "https://insights.algolia.io/1/events", - "files": {}, - "headers": { - "X-Algolia-API-Key": "dummyApiKey", - "X-Algolia-Application-Id": "O2YARRI15I" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - }, - { - "statusCode": "400", - "message": "for click eventType either both positions and queryId should be present or none" - }, - { - "statusCode": "400", - "message": "eventType can be either click, view or conversion" - }, - { - "statusCode": "400", - "message": "eventType is mandatory for track call" - }, - { - "statusCode": "400", - "message": "Missing required value from \"properties.index\"" - }, - { - "statusCode": "400", - "message": "event name should be a string" - } -] diff --git a/test/__tests__/data/algolia_router_input.json b/test/__tests__/data/algolia_router_input.json deleted file mode 100644 index c56e8d2a64..0000000000 --- a/test/__tests__/data/algolia_router_input.json +++ /dev/null @@ -1,1902 +0,0 @@ -[ - [ - { - "message": { - "type": "track", - "event": "product list viewed", - "sentAt": "2021-10-25T09:40:08.880Z", - "userId": "test-user-id1", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.1", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:5500/index.html", - "path": "/index.html", - "title": "Test", - "search": "", - "tab_url": "http://127.0.0.1:5500/index.html", - "referrer": "http://127.0.0.1:5500/index.html", - "initial_referrer": "http://127.0.0.1:5500/index.html", - "referring_domain": "127.0.0.1:5500", - "initial_referring_domain": "127.0.0.1:5500" - }, - "locale": "en-GB", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 1440, - "innerHeight": 335 - }, - "traits": { - "city": "Brussels", - "email": "testemail@email.com", - "phone": "1234567890", - "country": "Belgium", - "firstName": "Tintin", - "custom_date": 1574769933368, - "custom_date1": "2019-10-14T11:15:53.296Z", - "custom_flavor": "chocolate" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.1" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36" - }, - "rudderId": "e3e907f1-f79a-444b-b91d-da47488f8273", - "messageId": "8cdd3d2e-5e07-42ec-abdc-9b6bd4333840", - "timestamp": "2021-10-25T15:10:08.888+05:30", - "properties": { - "index": "products", - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": 7 - }, - { - "objectId": "9780439784542", - "position": 8 - } - ] - }, - "receivedAt": "2021-10-25T15:10:08.889+05:30", - "request_ip": "[::1]", - "anonymousId": "7138f7d9-5dd2-4337-805d-ca17be59dc8e", - "integrations": { - "All": true - }, - "originalTimestamp": "2021-10-25T09:40:08.879Z" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "ID": "1zzHtStW2ZPlullmz6L7DGnmk9V", - "Name": "algolia-dev", - "DestinationDefinition": { - "ID": "1zgVZhcj1Tij4qlKg7B1Jp16IrH", - "Name": "ALGOLIA", - "DisplayName": "Algolia", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "applicationId", "eventTypeSettings"] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["apiKey", "applicationId"], - "supportedMessageTypes": ["track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "apiKey", - "applicationId": "appId", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "click" - }, - { - "from": "product list viewed", - "to": "view" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "type": "track", - "event": "product clicked", - "sentAt": "2021-10-25T09:40:08.886Z", - "userId": "test-user-id1", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.1", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:5500/index.html", - "path": "/index.html", - "title": "Test", - "search": "", - "tab_url": "http://127.0.0.1:5500/index.html", - "referrer": "http://127.0.0.1:5500/index.html", - "initial_referrer": "http://127.0.0.1:5500/index.html", - "referring_domain": "127.0.0.1:5500", - "initial_referring_domain": "127.0.0.1:5500" - }, - "locale": "en-GB", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 1440, - "innerHeight": 335 - }, - "traits": { - "city": "Brussels", - "email": "testemail@email.com", - "phone": "1234567890", - "country": "Belgium", - "firstName": "Tintin", - "custom_date": 1574769933368, - "custom_date1": "2019-10-14T11:15:53.296Z", - "custom_flavor": "chocolate" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.1" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36" - }, - "rudderId": "e3e907f1-f79a-444b-b91d-da47488f8273", - "messageId": "7b58e140-b66b-4e88-a5ec-bd6811fc3836", - "timestamp": "2021-10-25T15:10:08.943+05:30", - "properties": { - "index": "products", - "filters": ["field1:hello", "val1:val2"] - }, - "receivedAt": "2021-10-25T15:10:08.943+05:30", - "request_ip": "[::1]", - "anonymousId": "7138f7d9-5dd2-4337-805d-ca17be59dc8e", - "integrations": { - "All": true - }, - "originalTimestamp": "2021-10-25T09:40:08.886Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "ID": "1zzHtStW2ZPlullmz6L7DGnmk9V", - "Name": "algolia-dev", - "DestinationDefinition": { - "ID": "1zgVZhcj1Tij4qlKg7B1Jp16IrH", - "Name": "ALGOLIA", - "DisplayName": "Algolia", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "applicationId", "eventTypeSettings"] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["apiKey", "applicationId"], - "supportedMessageTypes": ["track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "apiKey-2", - "applicationId": "appId-2", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "click" - }, - { - "from": "product list viewed", - "to": "view" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product clicked", - "userId": "testuserId1", - "properties": { - "filters": ["field1:hello", "val1:val2"] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 3 - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "cLick " - } - ] - } - } - } - ], - [], - {}, - [ - { - "message": { - "type": "track", - "event": "Product List Viewed", - "sentAt": "2023-06-19T22:22:34.928Z", - "userId": "anonymous", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "version": "2.35.0", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "https://m2-staging.ecmdi.com/supplies/air-distribution/grilles", - "path": "/supplies/air-distribution/grilles/", - "title": "Grilles - Air Distribution - Supplies | East Coast Metal Distributors", - "search": "", - "tab_url": "https://m2-staging.ecmdi.com/supplies/air-distribution/grilles", - "referrer": "https://m2-staging.ecmdi.com/", - "initial_referrer": "https://m2-staging.ecmdi.com/", - "referring_domain": "m2-staging.ecmdi.com", - "initial_referring_domain": "m2-staging.ecmdi.com" - }, - "locale": "en", - "screen": { - "width": 2560, - "height": 1440, - "density": 1, - "innerWidth": 2514, - "innerHeight": 567 - }, - "traits": { - "loggedIn": false, - "customerId": "anonymous" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "2.35.0" - }, - "campaign": {}, - "sessionId": 1687204412379, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0", - "trackingPlanId": "tp_2P3vmVzstHPms8hwcqHYwgBjIC7", - "violationErrors": [ - { - "meta": { - "schemaPath": "#/properties/properties/properties/list_id/type", - "instacePath": "/properties/list_id" - }, - "type": "Datatype-Mismatch", - "message": "must be string" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/0" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/0" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/0" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/0" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/0" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/0" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/0" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/1" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/1" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/1" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/1" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/1" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/1" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/1" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/2" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/2" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/2" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/2" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/2" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/2" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/2" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/3" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/3" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/3" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/3" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/3" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/3" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/3" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/4" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/4" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/4" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/4" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/4" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/4" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/4" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/5" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/5" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/5" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/5" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/5" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/5" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/5" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/6" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/6" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/6" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/6" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/6" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/6" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/6" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/7" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/7" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/7" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/7" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/7" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/7" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/7" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/8" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/8" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/8" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/8" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/8" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/8" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/8" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/9" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/9" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/9" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/9" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/9" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/9" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/9" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/10" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/10" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/10" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/10" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/10" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/10" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/10" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/11" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/11" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/11" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/11" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/11" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/11" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/11" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/12" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/12" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/12" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/12" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/12" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/12" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/12" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/13" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/13" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/13" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/13" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/13" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/13" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/13" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/14" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/14" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/14" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/14" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/14" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/14" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/14" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/15" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/15" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/15" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/15" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/15" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/15" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/15" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/16" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/16" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/16" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/16" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/16" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/16" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/16" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/17" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/17" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/17" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/17" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/17" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/17" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/17" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/18" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'bu_product_num'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/18" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'erp_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/18" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/18" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'list_name'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/18" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'location_id'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/18" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'mpn'" - }, - { - "meta": { - "schemaPath": "#/properties/properties/properties/products/items/additionalProperties", - "instacePath": "/properties/products/18" - }, - "type": "Additional-Properties", - "message": "must NOT have additional properties 'pim_id'" - } - ], - "trackingPlanVersion": 2 - }, - "rudderId": "0d1f77df-5882-402a-a69f-d2dfe3175ebc", - "timestamp": "2023-06-19T19:54:39.188Z", - "properties": { - "index": "ecm_stg_product", - "list_id": 1100000063100, - "queryId": "eafb6ef1081263626abce46671147dc0", - "products": [ - { - "mpn": "190RF14X20", - "sku": "1367585787601", - "name": "14\" x 20\" Stamped Face Return Air Filter Grille with Removable Face - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168782", - "pim_id": "1367585787601", - "list_id": 1100000063100, - "category": "Grilles", - "position": 1, - "list_name": "Grilles", - "product_id": "49765", - "location_id": 1, - "bu_product_num": "49765" - }, - { - "mpn": "190RF20X20", - "sku": "1367585788656", - "name": "20\" x 20\" Stamped Face Return Air Filter Grille with Removable Face - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168790", - "pim_id": "1367585788656", - "list_id": 1100000063100, - "category": "Grilles", - "position": 2, - "list_name": "Grilles", - "product_id": "49773", - "location_id": 1, - "bu_product_num": "49773" - }, - { - "mpn": "210VM10X04", - "sku": "1367585790735", - "name": "10\" x 4\" Bar Type Supply Sidewall/Ceiling Register - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "300529", - "pim_id": "1367585790735", - "list_id": 1100000063100, - "category": "Grilles", - "position": 3, - "list_name": "Grilles", - "product_id": "300529A", - "location_id": 1, - "bu_product_num": "300529A" - }, - { - "mpn": "17014X06", - "sku": "1367585782036", - "name": "14\" x 6\" Stamped Face Return Air Grille - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168752", - "pim_id": "1367585782036", - "list_id": 1100000063100, - "category": "Grilles", - "position": 4, - "list_name": "Grilles", - "product_id": "49741", - "location_id": 1, - "bu_product_num": "49741" - }, - { - "mpn": "17014X04", - "sku": "1367585782285", - "name": "14\" x 4\" Stamped Face Return Air Grille - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168751", - "pim_id": "1367585782285", - "list_id": 1100000063100, - "category": "Grilles", - "position": 5, - "list_name": "Grilles", - "product_id": "49740", - "location_id": 1, - "bu_product_num": "49740" - }, - { - "mpn": "190RF14X14", - "sku": "1367585790111", - "name": "14\" x 14\" Stamped Face Return Air Filter Grille with Removable Face - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168781", - "pim_id": "1367585790111", - "list_id": 1100000063100, - "category": "Grilles", - "position": 6, - "list_name": "Grilles", - "product_id": "49764", - "location_id": 1, - "bu_product_num": "49764" - }, - { - "mpn": "17014X10", - "sku": "1367585783304", - "name": "14\" x 10\" Stamped Face Return Air Grille - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168755", - "pim_id": "1367585783304", - "list_id": 1100000063100, - "category": "Grilles", - "position": 7, - "list_name": "Grilles", - "product_id": "49743", - "location_id": 1, - "bu_product_num": "49743" - }, - { - "mpn": "210VM12X04", - "sku": "1367585791531", - "name": "12\" x 4\" Bar Type Supply Sidewall/Ceiling Register - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "240862", - "pim_id": "1367585791531", - "list_id": 1100000063100, - "category": "Grilles", - "position": 8, - "list_name": "Grilles", - "product_id": "49934", - "location_id": 1, - "bu_product_num": "49934" - }, - { - "mpn": "190RF20X25", - "sku": "1367585788307", - "name": "20\" x 25\" Stamped Face Return Air Filter Grille with Removable Face - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168791", - "pim_id": "1367585788307", - "list_id": 1100000063100, - "category": "Grilles", - "position": 9, - "list_name": "Grilles", - "product_id": "49774", - "location_id": 1, - "bu_product_num": "49774" - }, - { - "mpn": "190RF20X14", - "sku": "1367585789457", - "name": "20\" x 14\" Stamped Face Return Air Filter Grille with Removable Face - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168788", - "pim_id": "1367585789457", - "list_id": 1100000063100, - "category": "Grilles", - "position": 10, - "list_name": "Grilles", - "product_id": "49771", - "location_id": 1, - "bu_product_num": "49771" - }, - { - "mpn": "401M10X04", - "sku": "1367585800344", - "name": "10\" x 4\" Stamped Curved Blade Supply Sidewall/Ceiling Register", - "brand": "TRUaire", - "price": 0, - "erp_id": "300734", - "pim_id": "1367585800344", - "list_id": 1100000063100, - "category": "Grilles", - "position": 11, - "list_name": "Grilles", - "product_id": "300734A", - "location_id": 1, - "bu_product_num": "300734A" - }, - { - "mpn": "190RF14X25", - "sku": "1367585787467", - "name": "14\" x 25\" Stamped Face Return Air Filter Grille with Removable Face - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168783", - "pim_id": "1367585787467", - "list_id": 1100000063100, - "category": "Grilles", - "position": 12, - "list_name": "Grilles", - "product_id": "49766", - "location_id": 1, - "bu_product_num": "49766" - }, - { - "mpn": "17020X10", - "sku": "1367585783058", - "name": "20\" x 10\" Stamped Face Return Air Grille - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "219506", - "pim_id": "1367585783058", - "list_id": 1100000063100, - "category": "Grilles", - "position": 13, - "list_name": "Grilles", - "product_id": "49881", - "location_id": 1, - "bu_product_num": "49881" - }, - { - "mpn": "17020X08", - "sku": "1367585783494", - "name": "20\" x 8\" Stamped Face Return Air Grille - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "210374", - "pim_id": "1367585783494", - "list_id": 1100000063100, - "category": "Grilles", - "position": 14, - "list_name": "Grilles", - "product_id": "210374A", - "location_id": 1, - "bu_product_num": "210374A" - }, - { - "mpn": "190RF12X12", - "sku": "1367585787042", - "name": "12\" x 12\" Stamped Face Return Air Filter Grille with Removable Face - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168777", - "pim_id": "1367585787042", - "list_id": 1100000063100, - "category": "Grilles", - "position": 15, - "list_name": "Grilles", - "product_id": "49761", - "location_id": 1, - "bu_product_num": "49761" - }, - { - "mpn": "210VM14X04", - "sku": "1367585793228", - "name": "14\" x 4\" Bar Type Supply Sidewall/Ceiling Register - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "232771", - "pim_id": "1367585793228", - "list_id": 1100000063100, - "category": "Grilles", - "position": 16, - "list_name": "Grilles", - "product_id": "49907", - "location_id": 1, - "bu_product_num": "49907" - }, - { - "mpn": "17014X144", - "sku": "1367585783124", - "name": "14\" x 14\" Stamped Face Return Air Grille - White - 4 Holes", - "brand": "TRUaire", - "price": 0, - "erp_id": "168757", - "pim_id": "1367585783124", - "list_id": 1100000063100, - "category": "Grilles", - "position": 17, - "list_name": "Grilles", - "product_id": "49744", - "location_id": 1, - "bu_product_num": "49744" - }, - { - "mpn": "190RF20X30", - "sku": "1367585788366", - "name": "20\" x 30\" Stamped Face Return Air Filter Grille with Removable Face - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168792", - "pim_id": "1367585788366", - "list_id": 1100000063100, - "category": "Grilles", - "position": 18, - "list_name": "Grilles", - "product_id": "49775", - "location_id": 1, - "bu_product_num": "49775" - }, - { - "mpn": "190RF16X25", - "sku": "1367585788996", - "name": "16\" x 25\" Stamped Face Return Air Filter Grille with Removable Face - White", - "brand": "TRUaire", - "price": 0, - "erp_id": "168786", - "pim_id": "1367585788996", - "list_id": 1100000063100, - "category": "Grilles", - "position": 19, - "list_name": "Grilles", - "product_id": "49769", - "location_id": 1, - "bu_product_num": "49769" - } - ], - "eventName": "productListView", - "eventType": "view", - "list_name": "Grilles", - "objectIds": [ - "1367585787601", - "1367585788656", - "1367585790735", - "1367585782036", - "1367585782285", - "1367585790111", - "1367585783304", - "1367585791531", - "1367585788307", - "1367585789457", - "1367585800344", - "1367585787467", - "1367585783058", - "1367585783494", - "1367585787042", - "1367585793228", - "1367585783124", - "1367585788366", - "1367585788996" - ], - "positions": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], - "userToken": "anonymous" - }, - "receivedAt": "2023-06-19T22:22:32.431Z", - "request_ip": "104.205.211.60", - "anonymousId": "7b701174-5998-480e-a4df-b322d0ec9d1c", - "integrations": { - "All": true - }, - "originalTimestamp": "2023-06-19T19:54:41.686Z" - }, - "destination": { - "secretConfig": {}, - "Config": { - "apiKey": "apiKey", - "applicationId": "appId", - "eventTypeSettings": [ - { - "from": "productClicked", - "to": "click" - }, - { - "from": "product list filtered", - "to": "click" - }, - { - "from": "Product List Viewed", - "to": "view" - }, - { - "from": "Order Completed", - "to": "conversion" - }, - { - "from": "Product Added", - "to": "click" - } - ], - "oneTrustCookieCategories": [], - "eventDelivery": false, - "eventDeliveryTS": 1687213909459 - }, - "liveEventsConfig": { - "eventDelivery": false, - "eventDeliveryTS": 1687213909459 - }, - "id": "destId", - "workspaceId": "wspId", - "DestinationDefinition": { - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "applicationId", - "eventTypeSettings", - "oneTrustCookieCategories" - ] - }, - "secretKeys": ["apiKey", "applicationId"], - "excludeKeys": [], - "includeKeys": ["oneTrustCookieCategories"], - "transformAt": "router", - "cdkV2Enabled": true, - "transformAtV1": "router", - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova", - "warehouse" - ], - "supportedMessageTypes": ["track"], - "saveDestinationResponse": true - }, - "configSchema": {}, - "responseRules": {}, - "options": null, - "id": "1xrHTzX8VrnvL6FTGOrBBgT687S", - "name": "ALGOLIA", - "displayName": "Algolia", - "category": null, - "createdAt": "2021-09-08T13:04:58.041Z", - "updatedAt": "2023-06-13T13:18:08.335Z" - }, - "transformations": [], - "isConnectionEnabled": true, - "isProcessorEnabled": true, - "name": "my_algolia", - "enabled": true, - "deleted": false, - "createdAt": "2023-05-26T14:18:01.205Z", - "updatedAt": "2023-06-19T22:31:49.460Z", - "revisionId": "revisionId1", - "secretVersion": 7 - }, - "metadata": { - "sourceId": "srcId", - "workspaceId": "wspId", - "destinationId": "destId", - "jobId": 12 - } - } - ] -] diff --git a/test/__tests__/data/algolia_router_output.json b/test/__tests__/data/algolia_router_output.json deleted file mode 100644 index 95f0bcb8f9..0000000000 --- a/test/__tests__/data/algolia_router_output.json +++ /dev/null @@ -1,288 +0,0 @@ -[ - [ - { - "metadata": [ - { - "jobId": 3 - } - ], - "batched": false, - "statusCode": 400, - "error": "Missing required value from \"properties.index\"", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "cLick " - } - ] - } - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://insights.algolia.io/1/events", - "headers": { - "X-Algolia-Application-Id": "appId", - "X-Algolia-API-Key": "apiKey" - }, - "params": {}, - "body": { - "JSON": { - "events": [ - { - "index": "products", - "userToken": "test-user-id1", - "queryID": "43b15df305339e827f0ac0bdc5ebcaa7", - "eventName": "product list viewed", - "eventType": "view", - "objectIDs": ["ecommerce-sample-data-919", "9780439784542"] - }, - { - "index": "products", - "userToken": "test-user-id1", - "filters": ["field1:hello", "val1:val2"], - "eventName": "product clicked", - "eventType": "click" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 1 - }, - { - "jobId": 2 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "ID": "1zzHtStW2ZPlullmz6L7DGnmk9V", - "Name": "algolia-dev", - "DestinationDefinition": { - "ID": "1zgVZhcj1Tij4qlKg7B1Jp16IrH", - "Name": "ALGOLIA", - "DisplayName": "Algolia", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "applicationId", "eventTypeSettings"] - }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["apiKey", "applicationId"], - "supportedMessageTypes": ["track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "apiKey", - "applicationId": "appId", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "click" - }, - { - "from": "product list viewed", - "to": "view" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ], - { - "message": "Invalid event array", - "statusCode": 400 - }, - { - "message": "Invalid event array", - "statusCode": 400 - }, - [ - { - "batched": true, - "batchedRequest": { - "body": { - "FORM": {}, - "JSON": { - "events": [ - { - "eventName": "product list viewed", - "eventType": "view", - "index": "ecm_stg_product", - "objectIDs": [ - "1367585787601", - "1367585788656", - "1367585790735", - "1367585782036", - "1367585782285", - "1367585790111", - "1367585783304", - "1367585791531", - "1367585788307", - "1367585789457", - "1367585800344", - "1367585787467", - "1367585783058", - "1367585783494", - "1367585787042", - "1367585793228", - "1367585783124", - "1367585788366", - "1367585788996" - ], - "queryID": "eafb6ef1081263626abce46671147dc0", - "userToken": "anonymous" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "endpoint": "https://insights.algolia.io/1/events", - "files": {}, - "headers": { - "X-Algolia-API-Key": "apiKey", - "X-Algolia-Application-Id": "appId" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - }, - "destination": { - "Config": { - "apiKey": "apiKey", - "applicationId": "appId", - "eventDelivery": false, - "eventDeliveryTS": 1687213909459, - "eventTypeSettings": [ - { - "from": "productClicked", - "to": "click" - }, - { - "from": "product list filtered", - "to": "click" - }, - { - "from": "Product List Viewed", - "to": "view" - }, - { - "from": "Order Completed", - "to": "conversion" - }, - { - "from": "Product Added", - "to": "click" - } - ], - "oneTrustCookieCategories": [] - }, - "DestinationDefinition": { - "Config": { - "cdkV2Enabled": true, - "destConfig": { - "defaultConfig": [ - "apiKey", - "applicationId", - "eventTypeSettings", - "oneTrustCookieCategories" - ] - }, - "excludeKeys": [], - "includeKeys": ["oneTrustCookieCategories"], - "saveDestinationResponse": true, - "secretKeys": ["apiKey", "applicationId"], - "supportedMessageTypes": ["track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova", - "warehouse" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "category": null, - "configSchema": {}, - "createdAt": "2021-09-08T13:04:58.041Z", - "displayName": "Algolia", - "id": "1xrHTzX8VrnvL6FTGOrBBgT687S", - "name": "ALGOLIA", - "options": null, - "responseRules": {}, - "updatedAt": "2023-06-13T13:18:08.335Z" - }, - "createdAt": "2023-05-26T14:18:01.205Z", - "deleted": false, - "enabled": true, - "id": "destId", - "isConnectionEnabled": true, - "isProcessorEnabled": true, - "liveEventsConfig": { - "eventDelivery": false, - "eventDeliveryTS": 1687213909459 - }, - "name": "my_algolia", - "revisionId": "revisionId1", - "secretConfig": {}, - "secretVersion": 7, - "transformations": [], - "updatedAt": "2023-06-19T22:31:49.460Z", - "workspaceId": "wspId" - }, - "metadata": [ - { - "sourceId": "srcId", - "workspaceId": "wspId", - "destinationId": "destId", - "jobId": 12 - } - ], - "statusCode": 200 - } - ] -] diff --git a/test/__tests__/data/appcues_input.json b/test/__tests__/data/appcues_input.json deleted file mode 100644 index 0ea31075e4..0000000000 --- a/test/__tests__/data/appcues_input.json +++ /dev/null @@ -1,750 +0,0 @@ -[ - { - "message": { - "anonymousId": "33787665-4168-4acc-8df7-17ba79325332", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.9" - }, - "campaign": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.9" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/rudder-sdk-js/tests/html/script-test.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "6a5f38c0-4e75-4268-a066-2b73fbcad01f", - "originalTimestamp": "2021-01-04T08:25:04.780Z", - "receivedAt": "2021-01-04T13:55:04.799+05:30", - "request_ip": "[::1]", - "rudderId": "79881a62-980a-4d76-89ca-7099440f8c13", - "sentAt": "2021-01-04T08:25:04.781Z", - "timestamp": "2021-01-04T13:55:04.798+05:30", - "type": "identify", - "userId": "onlyUserId" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "33787665-4168-4acc-8df7-17ba79325332", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.9" - }, - "campaign": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.9" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/rudder-sdk-js/tests/html/script-test.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "first name": "John", - "last name": "Abraham" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "57494c6a-3c62-4b30-83aa-6e821d37ac75", - "originalTimestamp": "2021-01-04T08:25:04.786Z", - "receivedAt": "2021-01-04T13:55:04.799+05:30", - "request_ip": "[::1]", - "rudderId": "ed2ed08a-3cd9-4b2c-9b04-7e3d3501fab7", - "sentAt": "2021-01-04T08:25:04.787Z", - "timestamp": "2021-01-04T13:55:04.798+05:30", - "type": "identify", - "userId": "userIdWithProperties" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "59f2911c-f050-497d-9f80-e1696a3c56aa", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.9" - }, - "campaign": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.9" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/rudder-sdk-js/tests/html/script-test.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" - }, - "event": "eventWithoutProperties", - "integrations": { - "All": true - }, - "messageId": "045f5107-6036-4557-ae17-6ddf5ee57eb6", - "originalTimestamp": "2021-01-04T08:33:07.004Z", - "properties": {}, - "receivedAt": "2021-01-04T14:03:07.009+05:30", - "request_ip": "[::1]", - "rudderId": "9b6b8204-292c-493b-9c08-2c3ec0ade688", - "sentAt": "2021-01-04T08:33:07.005Z", - "timestamp": "2021-01-04T14:03:07.008+05:30", - "type": "track", - "userId": "sampleId" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "59f2911c-f050-497d-9f80-e1696a3c56aa", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.9" - }, - "campaign": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.9" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/rudder-sdk-js/tests/html/script-test.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" - }, - "event": "eventWithProperties", - "integrations": { - "All": true - }, - "messageId": "4b99c45d-8591-473c-b79d-abd466f6f4d5", - "originalTimestamp": "2021-01-04T08:33:07.006Z", - "properties": { - "category": "blah" - }, - "receivedAt": "2021-01-04T14:03:07.026+05:30", - "request_ip": "[::1]", - "rudderId": "9b6b8204-292c-493b-9c08-2c3ec0ade688", - "sentAt": "2021-01-04T08:33:07.006Z", - "timestamp": "2021-01-04T14:03:07.026+05:30", - "type": "track", - "userId": "sampleId" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "a4a6304a-df41-4ca9-b2b7-4b0009dfddaa", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.9" - }, - "campaign": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.9" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/rudder-sdk-js/tests/html/script-test.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "75a9e08b-955a-4dc7-8a39-3f6fba9d7497", - "originalTimestamp": "2021-01-04T08:43:05.783Z", - "properties": { - "path": "/rudder-sdk-js/tests/html/script-test.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html" - }, - "receivedAt": "2021-01-04T14:13:05.800+05:30", - "request_ip": "[::1]", - "rudderId": "2d03081c-8053-4cce-9abf-bb024f747900", - "sentAt": "2021-01-04T08:43:05.783Z", - "timestamp": "2021-01-04T14:13:05.799+05:30", - "type": "page", - "userId": "sampleId" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "a4a6304a-df41-4ca9-b2b7-4b0009dfddaa", - "category": "page category", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.9" - }, - "campaign": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.9" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/testing", - "referrer": "", - "search": "", - "title": "", - "url": "https://pagecall.com/testing" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "397fdf96-daee-46c8-ac38-5d717cd8cabd", - "name": "page name", - "originalTimestamp": "2021-01-04T08:43:05.784Z", - "properties": { - "category": "page category", - "name": "page name", - "path": "/testing", - "referrer": "", - "search": "", - "title": "", - "url": "https://pagecall.com/testing" - }, - "receivedAt": "2021-01-04T14:13:05.801+05:30", - "request_ip": "[::1]", - "rudderId": "2d03081c-8053-4cce-9abf-bb024f747900", - "sentAt": "2021-01-04T08:43:05.784Z", - "timestamp": "2021-01-04T14:13:05.801+05:30", - "type": "page", - "userId": "sampleId" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "a4a6304a-df41-4ca9-b2b7-4b0009dfddaa", - "category": "page category", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.9" - }, - "campaign": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.9" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/testing", - "referrer": "", - "search": "" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "397fdf96-daee-46c8-ac38-5d717cd8cabd", - "name": "page name", - "originalTimestamp": "2021-01-04T08:43:05.784Z", - "properties": { - "category": "page category", - "name": "page name", - "path": "/testing", - "referrer": "", - "search": "", - "title": "properties title", - "url": "https://pagecall.com/properties_url" - }, - "receivedAt": "2021-01-04T14:13:05.801+05:30", - "request_ip": "[::1]", - "rudderId": "2d03081c-8053-4cce-9abf-bb024f747900", - "sentAt": "2021-01-04T08:43:05.784Z", - "timestamp": "2021-01-04T14:13:05.801+05:30", - "type": "page", - "userId": "sampleId" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "a4a6304a-df41-4ca9-b2b7-4b0009dfddaa", - "category": "page category", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.9" - }, - "campaign": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.9" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/testing", - "referrer": "", - "search": "", - "title": "context title", - "url": "https://pagecall.com/context_url" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "397fdf96-daee-46c8-ac38-5d717cd8cabd", - "name": "page name", - "originalTimestamp": "2021-01-04T08:43:05.784Z", - "properties": { - "category": "page category", - "name": "page name", - "path": "/testing", - "referrer": "", - "search": "" - }, - "receivedAt": "2021-01-04T14:13:05.801+05:30", - "request_ip": "[::1]", - "rudderId": "2d03081c-8053-4cce-9abf-bb024f747900", - "sentAt": "2021-01-04T08:43:05.784Z", - "timestamp": "2021-01-04T14:13:05.801+05:30", - "type": "page", - "userId": "sampleId" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "5094f5704b9cf2b3", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AppcuesIntegration", - "namespace": "com.Appcues", - "version": "1.0" - }, - "device": { - "id": "5094f5704b9cf2b3", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.1-beta.1" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "8.1.0" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5094f5704b9cf2b3" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)" - }, - "event": "MainActivity", - "integrations": { - "All": true - }, - "messageId": "id1", - "properties": { - "name": "MainActivity", - "automatic": true - }, - "originalTimestamp": "2020-03-12T09:05:03.421Z", - "type": "screen", - "userId": "sampleId", - "sentAt": "2020-03-12T09:05:13.042Z" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "5094f5704b9cf2b3", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AppcuesIntegration", - "namespace": "com.Appcues", - "version": "1.0" - }, - "device": { - "id": "5094f5704b9cf2b3", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.1-beta.1" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "8.1.0" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5094f5704b9cf2b3" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)" - }, - "event": "MainActivity", - "integrations": { - "All": true - }, - "messageId": "id1", - "properties": { - "name": "MainActivity", - "automatic": true - }, - "originalTimestamp": "2020-03-12T09:05:03.421Z", - "type": "screen", - "sentAt": "2020-03-12T09:05:13.042Z" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "5094f5704b9cf2b3", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AppcuesIntegration", - "namespace": "com.Appcues", - "version": "1.0" - }, - "device": { - "id": "5094f5704b9cf2b3", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.1-beta.1" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "8.1.0" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5094f5704b9cf2b3" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)" - }, - "event": "MainActivity", - "integrations": { - "All": true - }, - "messageId": "id1", - "properties": { - "name": "MainActivity", - "automatic": true - }, - "originalTimestamp": "2020-03-12T09:05:03.421Z", - "type": "", - "userId": "sampleId", - "sentAt": "2020-03-12T09:05:13.042Z" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.5" - }, - "traits": { - "name": "Shehan Study", - "category": "SampleIdentify", - "email": "test@rudderstack.com", - "plan": "Open source", - "logins": 5, - "createdAt": 1599264000 - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.5" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 0.8999999761581421 - }, - "campaign": { - "source": "google", - "medium": "medium", - "term": "keyword", - "content": "some content", - "name": "some campaign", - "test": "other value" - }, - "page": { - "path": "/html/sajal.html", - "referrer": "", - "search": "?utm_source=google&utm_medium=medium&utm_term=keyword&utm_content=some%20content&utm_campaign=some%20campaign&utm_test=other%20value", - "title": "", - "url": "http://localhost:9116/html/sajal.html?utm_source=google&utm_medium=medium&utm_term=keyword&utm_content=some%20content&utm_campaign=some%20campaign&utm_test=other%20value" - } - }, - "type": "group", - "messageId": "e5034df0-a404-47b4-a463-76df99934fea", - "originalTimestamp": "2020-10-20T07:54:58.983Z", - "anonymousId": "my-anonymous-id-new", - "userId": "sampleusrRudder3", - "integrations": { - "All": true - }, - "groupId": "Sample_groupId23", - "traits": { - "KEY_3": { - "CHILD_KEY_92": "value_95", - "CHILD_KEY_102": "value_103" - }, - "KEY_2": { - "CHILD_KEY_92": "value_95", - "CHILD_KEY_102": "value_103" - }, - "name_trait": "Company", - "value_trait": "Comapny-ABC" - }, - "sentAt": "2020-10-20T07:54:58.983Z" - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - } -] diff --git a/test/__tests__/data/appcues_output.json b/test/__tests__/data/appcues_output.json deleted file mode 100644 index c8356726a2..0000000000 --- a/test/__tests__/data/appcues_output.json +++ /dev/null @@ -1,320 +0,0 @@ -[ - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "request_id": "6a5f38c0-4e75-4268-a066-2b73fbcad01f", - "profile_update": {} - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/onlyUserId/activity" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "request_id": "57494c6a-3c62-4b30-83aa-6e821d37ac75", - "profile_update": { - "last name": "Abraham", - "first name": "John" - } - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/userIdWithProperties/activity" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "events": [ - { - "name": "eventWithoutProperties", - "timestamp": 1609749187, - "attributes": {} - } - ], - "request_id": "045f5107-6036-4557-ae17-6ddf5ee57eb6" - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/sampleId/activity" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "events": [ - { - "name": "eventWithProperties", - "timestamp": 1609749187, - "attributes": { - "category": "blah" - } - } - ], - "request_id": "4b99c45d-8591-473c-b79d-abd466f6f4d5" - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/sampleId/activity" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "events": [ - { - "name": "Visited a Page", - "context": { - "url": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html" - }, - "timestamp": 1609749785, - "attributes": { - "url": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html", - "path": "/rudder-sdk-js/tests/html/script-test.html", - "_identity": { - "userId": "sampleId" - } - } - } - ], - "request_id": "75a9e08b-955a-4dc7-8a39-3f6fba9d7497", - "profile_update": { - "_appcuesId": "86086", - "_updatedAt": "2021-01-04T14:13:05.799+05:30", - "_userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36", - "_currentPageUrl": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html", - "_lastBrowserLanguage": "en-GB", - "userId": "sampleId" - } - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/sampleId/activity" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "events": [ - { - "name": "Visited a Page", - "context": { - "url": "https://pagecall.com/testing" - }, - "timestamp": 1609749785, - "attributes": { - "url": "https://pagecall.com/testing", - "name": "page name", - "path": "/testing", - "category": "page category", - "_identity": { - "userId": "sampleId" - } - } - } - ], - "request_id": "397fdf96-daee-46c8-ac38-5d717cd8cabd", - "profile_update": { - "_appcuesId": "86086", - "_updatedAt": "2021-01-04T14:13:05.801+05:30", - "_userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36", - "_currentPageUrl": "https://pagecall.com/testing", - "_lastBrowserLanguage": "en-GB", - "userId": "sampleId" - } - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/sampleId/activity" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/sampleId/activity", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "request_id": "397fdf96-daee-46c8-ac38-5d717cd8cabd", - "profile_update": { - "userId": "sampleId", - "_lastBrowserLanguage": "en-GB", - "_updatedAt": "2021-01-04T14:13:05.801+05:30", - "_userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36", - "_currentPageTitle": "properties title", - "_currentPageUrl": "https://pagecall.com/properties_url", - "_appcuesId": "86086" - }, - "events": [ - { - "timestamp": 1609749785, - "attributes": { - "category": "page category", - "name": "page name", - "path": "/testing", - "title": "properties title", - "url": "https://pagecall.com/properties_url", - "_identity": { - "userId": "sampleId" - } - }, - "name": "Visited a Page", - "context": { - "url": "https://pagecall.com/properties_url" - } - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/sampleId/activity", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "request_id": "397fdf96-daee-46c8-ac38-5d717cd8cabd", - "profile_update": { - "userId": "sampleId", - "_lastBrowserLanguage": "en-GB", - "_updatedAt": "2021-01-04T14:13:05.801+05:30", - "_userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36", - "_currentPageTitle": "context title", - "_currentPageUrl": "https://pagecall.com/context_url", - "_appcuesId": "86086" - }, - "events": [ - { - "timestamp": 1609749785, - "attributes": { - "category": "page category", - "name": "page name", - "path": "/testing", - "_identity": { - "userId": "sampleId" - } - }, - "name": "Visited a Page", - "context": { - "url": "https://pagecall.com/context_url" - } - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/sampleId/activity", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "request_id": "id1", - "events": [ - { - "name": "Viewed a Screen", - "timestamp": 1584003903, - "attributes": { - "name": "MainActivity", - "automatic": true - } - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "statusCode": 400, - "error": "User id is absent. Aborting event as userId is mandatory for Appcues" - }, - { - "statusCode": 400, - "error": "Message Type is not present. Aborting message." - }, - { - "statusCode": 400, - "error": "Message type is not supported" - } -] diff --git a/test/__tests__/data/appcues_router_input.json b/test/__tests__/data/appcues_router_input.json deleted file mode 100644 index 345266defe..0000000000 --- a/test/__tests__/data/appcues_router_input.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "message": { - "anonymousId": "33787665-4168-4acc-8df7-17ba79325332", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.9" - }, - "campaign": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.9" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/rudder-sdk-js/tests/html/script-test.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "6a5f38c0-4e75-4268-a066-2b73fbcad01f", - "originalTimestamp": "2021-01-04T08:25:04.780Z", - "receivedAt": "2021-01-04T13:55:04.799+05:30", - "request_ip": "[::1]", - "rudderId": "79881a62-980a-4d76-89ca-7099440f8c13", - "sentAt": "2021-01-04T08:25:04.781Z", - "timestamp": "2021-01-04T13:55:04.798+05:30", - "type": "identify", - "userId": "onlyUserId" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "message": { - "anonymousId": "33787665-4168-4acc-8df7-17ba79325332", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.9" - }, - "campaign": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.9" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/rudder-sdk-js/tests/html/script-test.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost:4321/rudder-sdk-js/tests/html/script-test.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "first name": "John", - "last name": "Abraham" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "57494c6a-3c62-4b30-83aa-6e821d37ac75", - "originalTimestamp": "2021-01-04T08:25:04.786Z", - "receivedAt": "2021-01-04T13:55:04.799+05:30", - "request_ip": "[::1]", - "rudderId": "ed2ed08a-3cd9-4b2c-9b04-7e3d3501fab7", - "sentAt": "2021-01-04T08:25:04.787Z", - "timestamp": "2021-01-04T13:55:04.798+05:30", - "type": "identify", - "userId": "userIdWithProperties" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - } -] diff --git a/test/__tests__/data/appcues_router_output.json b/test/__tests__/data/appcues_router_output.json deleted file mode 100644 index b6e853d493..0000000000 --- a/test/__tests__/data/appcues_router_output.json +++ /dev/null @@ -1,75 +0,0 @@ -[ - { - "batchedRequest": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "request_id": "6a5f38c0-4e75-4268-a066-2b73fbcad01f", - "profile_update": {} - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/onlyUserId/activity" - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - }, - { - "batchedRequest": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {}, - "JSON": { - "request_id": "57494c6a-3c62-4b30-83aa-6e821d37ac75", - "profile_update": { - "last name": "Abraham", - "first name": "John" - } - } - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://api.appcues.com/v1/accounts/86086/users/userIdWithProperties/activity" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accountId": "86086", - "useNativeSDK": false - } - } - } -] diff --git a/test/__tests__/data/attentive_tag_input.json b/test/__tests__/data/attentive_tag_input.json deleted file mode 100644 index 3ed57d1445..0000000000 --- a/test/__tests__/data/attentive_tag_input.json +++ /dev/null @@ -1,1062 +0,0 @@ -[ - { - "message": { - "anonymousId": "4eb021e9-a2af-4926-ae82-fe996d12f3c5", - "channel": "web", - "context": { - "locale": "en-GB", - "traits": { - "email": "a@gmail.com", - "phone": "+16405273911", - "customIdentifiers": [ - { - "name": "string", - "value": "string" - } - ] - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "e108eb05-f6cd-4624-ba8c-568f2e2b3f92", - "receivedAt": "2019-10-14T09:03:17.562Z", - "type": "identify" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "241654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "phone": "+16465053911" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": "144" - }, - { - "type": "shopifyId", - "id": "224" - }, - { - "type": "klaviyoId", - "id": "132" - } - ] - }, - "type": "track", - "properties": { - "price": "12", - "currency": "USD", - "product,id": "r494", - "quantity": "34", - "variant": "f" - }, - "event": "Order Shipped", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:17.562Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "anonymousId": "4eb021e9-a2af-4926-ae82-fe996d12f3c5", - "channel": "web", - "context": { - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "traits": { - "company": { - "id": "abc123" - }, - "createdAt": "Thu Mar 24 2016 17:46:45 GMT+0000 (UTC)", - "phone": "+16465453911" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36" - }, - "integrations": { - "All": true, - "attentive_tag": { - "signUpSourceId": "241654", - "identifyOperation": "unsubscribe" - } - }, - "messageId": "e108eb05-f6cd-4624-ba8c-568f2e2b3f92", - "receivedAt": "2020-10-16T13:56:14.945+05:30", - "type": "identify" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "241654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": "144" - }, - { - "type": "shopifyId", - "id": "143" - }, - { - "type": "klaviyoId", - "id": "142" - } - ] - }, - "type": "track", - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "variant": "green", - "price": "19", - "quantity": "2", - "currency": "USD" - } - ] - }, - "event": "Order Completed", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "phone": "+16465053911" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": 1 - }, - { - "type": "shopifyId", - "id": 1 - }, - { - "type": "klaviyoId", - "id": 1 - } - ] - }, - "type": "track", - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "variant": "green", - "price": "19", - "quantity": "2", - "currency": "USD" - } - ] - }, - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "phone": "+16465053911" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": "144" - }, - { - "type": "shopifyId", - "id": "143" - }, - { - "type": "klaviyoId", - "id": "142" - } - ] - }, - "type": "track", - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "variant": "green", - "price": "19", - "quantity": "2", - "currency": "USD" - } - ] - }, - "event": "Product List Viewed", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "phone": "+16465053911" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": "144" - }, - { - "type": "shopifyId", - "id": "143" - }, - { - "type": "klaviyoId", - "id": "142" - } - ] - }, - "type": "track", - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "variant": "green", - "price": "19", - "quantity": "2", - "currency": "USD" - } - ] - }, - "event": "Product Viewed", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "phone": "+16465053911" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": "144" - }, - { - "type": "shopifyId", - "id": "224" - }, - { - "type": "klaviyoId", - "id": "132" - } - ] - }, - "type": "track", - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34" - }, - "event": "Order Shipped", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "phone": "+16465053911" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": 1 - }, - { - "type": "shopifyId", - "id": 1 - }, - { - "type": "klaviyoId", - "id": 1 - } - ] - }, - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "variant": "green", - "price": "19", - "quantity": "2", - "currency": "USD" - } - ] - }, - "event": "Order Completed", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "anonymousId": "4eb021e9-a2af-4926-ae82-fe996d12f3c5", - "channel": "web", - "context": { - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "traits": { - "company": { - "id": "abc123" - }, - "createdAt": "Thu Mar 24 2016 17:46:45 GMT+0000 (UTC)", - "email": "test0@gmail.com", - "phone": "+16465453911" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36" - }, - "integrations": { - "All": true, - "attentive_tag": { - "signUpSourceId": "241654", - "identifyOperation": "subscribe" - } - }, - "messageId": "e108eb05-f6cd-4624-ba8c-568f2e2b3f92", - "receivedAt": "2020-10-16T13:56:14.945+05:30", - "type": "identify" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "241654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": {}, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": "144" - }, - { - "type": "shopifyId", - "id": "143" - }, - { - "type": "klaviyoId", - "id": "142" - } - ] - }, - "type": "track", - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "variant": "green", - "price": "19", - "quantity": "2", - "currency": "USD" - } - ] - }, - "event": "Product Viewed", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "phone": "+16465053911" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": "144" - }, - { - "type": "shopifyId", - "id": "143" - }, - { - "type": "klaviyoId", - "id": "142" - } - ] - }, - "type": "track", - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34", - "products": [ - { - "name": "MOBILE", - "variant": "green", - "price": "19", - "quantity": "2", - "currency": "USD" - } - ] - }, - "event": "Product Viewed", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "phone": "+16465053911" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": "144" - }, - { - "type": "shopifyId", - "id": "143" - }, - { - "type": "klaviyoId", - "id": "142" - } - ] - }, - "type": "track", - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "price": "19", - "quantity": "2", - "currency": "USD" - } - ] - }, - "event": "Product Viewed", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "phone": "+16465053911" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "clientUserId", - "id": "144" - }, - { - "type": "shopifyId", - "id": "143" - }, - { - "type": "klaviyoId", - "id": "142" - } - ] - }, - "type": "track", - "properties": { - "price": "12", - "curre,ncy": "USD", - "product_id": "r494", - "quantity": "34", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "variant": "green", - "price": "19", - "quantity": "2", - "currency": "USD" - } - ] - }, - "event": "Order Shipped", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - }, - { - "message": { - "anonymousId": "4eb021e9-a2af-4926-ae82-fe996d12f3c5", - "channel": "web", - "context": { - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "traits": { - "company": { - "id": "abc123" - }, - "createdAt": "Thu Mar 24 2016 17:46:45 GMT+0000 (UTC)", - "email": "test0@gmail.com", - "phone": "+16465453911" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36" - }, - "integrations": { - "All": true, - "attentive_tag": { - "signUpSourceId": "241654" - } - }, - "messageId": "e108eb05-f6cd-4624-ba8c-568f2e2b3f92", - "receivedAt": "2020-10-16T13:56:14.945+05:30", - "type": "identify" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "241654" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": {}, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34", - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "variant": "green", - "price": "19", - "quantity": "2", - "currency": "USD" - } - ] - }, - "event": "Product Viewed", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "240654" - } - } - } -] diff --git a/test/__tests__/data/attentive_tag_output.json b/test/__tests__/data/attentive_tag_output.json deleted file mode 100644 index 83f0d4f101..0000000000 --- a/test/__tests__/data/attentive_tag_output.json +++ /dev/null @@ -1,368 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/subscriptions", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "phone": "+16405273911", - "email": "a@gmail.com" - }, - "signUpSourceId": "241654", - "externalIdentifiers": { - "customIdentifiers": [ - { - "name": "string", - "value": "string" - } - ] - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "statusCode": 400, - "error": "[Attentive Tag]:The event name contains characters which is not allowed" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/subscriptions/unsubscribe", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "phone": "+16465453911" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/events/ecommerce/purchase", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "email": "test@rudderstack.com", - "externalIdentifiers": { - "clientUserId": "144", - "shopifyId": "143", - "klaviyoId": "142" - } - }, - "occuredAt": "2019-10-14T09:03:17.562Z", - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "productVariantId": "green", - "quantity": "2", - "price": [ - { - "value": 19, - "currency": "USD" - } - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "statusCode": 400, - "error": "[Attentive Tag] :: Event name is not present" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/events/ecommerce/product-view", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "phone": "+16465053911", - "email": "test@rudderstack.com", - "externalIdentifiers": { - "clientUserId": "144", - "shopifyId": "143", - "klaviyoId": "142" - } - }, - "occuredAt": "2019-10-14T09:03:17.562Z", - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "productVariantId": "green", - "quantity": "2", - "price": [ - { - "value": 19, - "currency": "USD" - } - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/events/ecommerce/product-view", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "phone": "+16465053911", - "email": "test@rudderstack.com", - "externalIdentifiers": { - "clientUserId": "144", - "shopifyId": "143", - "klaviyoId": "142" - } - }, - "occuredAt": "2019-10-14T09:03:17.562Z", - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "productVariantId": "green", - "quantity": "2", - "price": [ - { - "value": 19, - "currency": "USD" - } - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/events/custom", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "phone": "+16465053911", - "email": "test@rudderstack.com", - "externalIdentifiers": { - "clientUserId": "144", - "shopifyId": "224", - "klaviyoId": "132" - } - }, - "occuredAt": "2019-10-14T09:03:17.562Z", - "properties": { - "price": "12", - "currency": "USD", - "product_id": "r494", - "quantity": "34" - }, - "type": "Order Shipped" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "statusCode": 400, - "error": "Message Type is not present. Aborting message." - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/subscriptions", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "phone": "+16465453911", - "email": "test0@gmail.com" - }, - "signUpSourceId": "241654" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/events/ecommerce/product-view", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "externalIdentifiers": { - "clientUserId": "144", - "shopifyId": "143", - "klaviyoId": "142" - } - }, - "occuredAt": "2019-10-14T09:03:17.562Z", - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "productVariantId": "green", - "quantity": "2", - "price": [ - { - "value": 19, - "currency": "USD" - } - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "statusCode": 400, - "error": "Missing required value from \"product_id\"" - }, - { - "statusCode": 400, - "error": "Missing required value from \"variant\"" - }, - { - "statusCode": 400, - "error": "[Attentive Tag]:The event name contains characters which is not allowed" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/subscriptions", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "phone": "+16465453911", - "email": "test0@gmail.com" - }, - "signUpSourceId": "241654" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/events/ecommerce/product-view", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": {}, - "occuredAt": "2019-10-14T09:03:17.562Z", - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "name": "MOBILE", - "productVariantId": "green", - "quantity": "2", - "price": [ - { - "value": 19, - "currency": "USD" - } - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } -] diff --git a/test/__tests__/data/attentive_tag_router_input.json b/test/__tests__/data/attentive_tag_router_input.json deleted file mode 100644 index 6c5567b79b..0000000000 --- a/test/__tests__/data/attentive_tag_router_input.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "241654" - } - }, - "metadata": { - "jobId": 1 - }, - "message": { - "anonymousId": "4eb021e9-a2af-4926-ae82-fe996d12f3c5", - "channel": "web", - "context": { - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "traits": { - "company": { - "id": "abc123" - }, - "createdAt": "Thu Mar 24 2016 17:46:45 GMT+0000 (UTC)", - "email": "test0@gmail.com", - "phone": "+16465453911" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36", - "externalId": [ - { - "type": "clientUsrId", - "id": 1 - }, - { - "type": "shopifyId", - "id": 1 - }, - { - "type": "klaviyoId", - "id": 1 - } - ] - }, - "integrations": { - "All": true, - "attentive_tag": { - "signUpSourceId": "241654", - "identifyOperation": "unsubscribe" - } - }, - "messageId": "e108eb05-f6cd-4624-ba8c-568f2e2b3f92", - "receivedAt": "2020-10-16T13:56:14.945+05:30", - "type": "identify" - } - } -] diff --git a/test/__tests__/data/attentive_tag_router_output.json b/test/__tests__/data/attentive_tag_router_output.json deleted file mode 100644 index 0c853e82bf..0000000000 --- a/test/__tests__/data/attentive_tag_router_output.json +++ /dev/null @@ -1,40 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.attentivemobile.com/v1/subscriptions/unsubscribe", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user": { - "phone": "+16465453911", - "email": "test0@gmail.com" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "signUpSourceId": "241654" - } - } - } -] diff --git a/test/__tests__/data/autopilot_cdk_output.json b/test/__tests__/data/autopilot_cdk_output.json deleted file mode 100644 index 302872c18a..0000000000 --- a/test/__tests__/data/autopilot_cdk_output.json +++ /dev/null @@ -1,108 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/contact", - "headers": { - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "contact": { - "Email": "testmp@rudderstack.com", - "FirstName": "Test Kafka", - "custom": { - "age": 23 - } - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/trigger/00XX/contact/testmp@rudderstack.com", - "headers": { - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "property": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - { - "statusCode": 400, - "error": "message type page is not supported" - }, - { - "statusCode": 400, - "error": "Email is required for track calls" - }, - { - "statusCode": 400, - "error": "message Type is not present. Aborting message." - }, - { - "statusCode": 400, - "error": "message type group is not supported" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/contact", - "headers": { - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "contact": { - "Email": "abc@rudderstack.com", - "FirstName": "Anuraj" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - { - "statusCode": 400, - "error": "message Type is not present. Aborting message." - }, - { - "statusCode": 400, - "error": "message type group is not supported" - }, - { - "statusCode": 400, - "error": "message type Tals is not supported" - } -] diff --git a/test/__tests__/data/autopilot_input.json b/test/__tests__/data/autopilot_input.json deleted file mode 100644 index d442de2e6d..0000000000 --- a/test/__tests__/data/autopilot_input.json +++ /dev/null @@ -1,796 +0,0 @@ -[ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "fad9b3fb-5778-4db3-9fb6-7168b554191f", - "originalTimestamp": "2020-04-17T14:42:44.722Z", - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53513", - "sentAt": "2020-04-17T14:42:44.722Z", - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "timestamp": "2020-04-17T20:12:44.758+05:30", - "type": "identify", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "type": "track", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "type": "page", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "type": "track", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "type": "group", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "abc@rudderstack.com", - "firstname": "Anuraj" - }, - - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "originalTimestamp": "2020-04-17T14:42:44.722Z", - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53513", - "sentAt": "2020-04-17T14:42:44.722Z", - "timestamp": "2020-04-17T20:12:44.758+05:30", - "type": "identify", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "abc@rudderstack.com", - "firstname": "Anuraj" - }, - - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "originalTimestamp": "2020-04-17T14:42:44.722Z", - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53513", - "sentAt": "2020-04-17T14:42:44.722Z", - "timestamp": "2020-04-17T20:12:44.758+05:30", - "type": "group", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "abc@rudderstack.com", - "firstname": "Anuraj" - }, - - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "originalTimestamp": "2020-04-17T14:42:44.722Z", - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53513", - "sentAt": "2020-04-17T14:42:44.722Z", - "timestamp": "2020-04-17T20:12:44.758+05:30", - "type": "Tals", - "userId": "user12345" - } - } -] diff --git a/test/__tests__/data/autopilot_output.json b/test/__tests__/data/autopilot_output.json deleted file mode 100644 index 62d3ae6509..0000000000 --- a/test/__tests__/data/autopilot_output.json +++ /dev/null @@ -1,108 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/contact", - "headers": { - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "contact": { - "Email": "testmp@rudderstack.com", - "FirstName": "Test Kafka", - "custom": { - "age": 23 - } - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/trigger/00XX/contact/testmp@rudderstack.com", - "headers": { - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "property": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - { - "statusCode": 400, - "error": "message type \"page\" not supported for \"autopilot\"" - }, - { - "statusCode": 400, - "error": "Email is required for track calls" - }, - { - "statusCode": 400, - "error": "\"type\" is a required field and it must be a string" - }, - { - "statusCode": 400, - "error": "message type \"group\" not supported for \"autopilot\"" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/contact", - "headers": { - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "contact": { - "Email": "abc@rudderstack.com", - "FirstName": "Anuraj" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - { - "statusCode": 400, - "error": "\"type\" is a required field and it must be a string" - }, - { - "statusCode": 400, - "error": "message type \"group\" not supported for \"autopilot\"" - }, - { - "statusCode": 400, - "error": "message type \"Tals\" not supported for \"autopilot\"" - } -] diff --git a/test/__tests__/data/autopilot_router_input.json b/test/__tests__/data/autopilot_router_input.json deleted file mode 100644 index 9a05da11a6..0000000000 --- a/test/__tests__/data/autopilot_router_input.json +++ /dev/null @@ -1,165 +0,0 @@ -[ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "metadata": { - "jobId": 1 - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "fad9b3fb-5778-4db3-9fb6-7168b554191f", - "originalTimestamp": "2020-04-17T14:42:44.722Z", - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53513", - "sentAt": "2020-04-17T14:42:44.722Z", - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "timestamp": "2020-04-17T20:12:44.758+05:30", - "type": "identify", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "metadata": { - "jobId": 2 - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "type": "track", - "userId": "user12345" - } - } -] diff --git a/test/__tests__/data/autopilot_router_output.json b/test/__tests__/data/autopilot_router_output.json deleted file mode 100644 index 2c33131d08..0000000000 --- a/test/__tests__/data/autopilot_router_output.json +++ /dev/null @@ -1,125 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/contact", - "headers": { - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "contact": { - "Email": "testmp@rudderstack.com", - "FirstName": "Test Kafka", - "custom": { - "age": 23 - } - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/trigger/00XX/contact/testmp@rudderstack.com", - "headers": { - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "property": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } -] diff --git a/test/__tests__/data/azure_event_hub_input.json b/test/__tests__/data/azure_event_hub_input.json deleted file mode 100644 index cc2ae736d6..0000000000 --- a/test/__tests__/data/azure_event_hub_input.json +++ /dev/null @@ -1,396 +0,0 @@ -[ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "Purchase", - "integrations": { - "All": true - }, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "originalTimestamp": "2020-05-21T10:23:15.984Z", - "properties": { - "currency": "USD", - "revenue": 100 - }, - "receivedAt": "2020-05-21T15:53:16.013+05:30", - "request_ip": "[::1]:59371", - "sentAt": "2020-05-21T10:23:15.985Z", - "timestamp": "2020-05-21T15:53:16.012+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 46, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - }, - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "originalTimestamp": "2020-05-21T10:23:15.975Z", - "properties": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:58616", - "sentAt": "2020-05-21T10:23:15.975Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "page", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 47, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - }, - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "originalTimestamp": "2020-05-21T10:23:15.979Z", - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59372", - "sentAt": "2020-05-21T10:23:15.979Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "identify", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 48, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - }, - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track without property", - "integrations": { - "All": true - }, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "originalTimestamp": "2020-05-21T10:23:15.981Z", - "properties": {}, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59374", - "sentAt": "2020-05-21T10:23:15.981Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 49, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - }, - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "originalTimestamp": "2020-05-21T10:23:15.982Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59373", - "sentAt": "2020-05-21T10:23:15.983Z", - "timestamp": "2020-05-21T15:53:16.013+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 50, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } -] diff --git a/test/__tests__/data/azure_event_hub_output.json b/test/__tests__/data/azure_event_hub_output.json deleted file mode 100644 index 7bac8eca74..0000000000 --- a/test/__tests__/data/azure_event_hub_output.json +++ /dev/null @@ -1,276 +0,0 @@ -[ - { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "Purchase", - "integrations": { - "All": true - }, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "originalTimestamp": "2020-05-21T10:23:15.984Z", - "properties": { - "currency": "USD", - "revenue": 100 - }, - "receivedAt": "2020-05-21T15:53:16.013+05:30", - "request_ip": "[::1]:59371", - "sentAt": "2020-05-21T10:23:15.985Z", - "timestamp": "2020-05-21T15:53:16.012+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "originalTimestamp": "2020-05-21T10:23:15.975Z", - "properties": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:58616", - "sentAt": "2020-05-21T10:23:15.975Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "page", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "originalTimestamp": "2020-05-21T10:23:15.979Z", - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59372", - "sentAt": "2020-05-21T10:23:15.979Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "identify", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track without property", - "integrations": { - "All": true - }, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "originalTimestamp": "2020-05-21T10:23:15.981Z", - "properties": {}, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59374", - "sentAt": "2020-05-21T10:23:15.981Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "originalTimestamp": "2020-05-21T10:23:15.982Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59373", - "sentAt": "2020-05-21T10:23:15.983Z", - "timestamp": "2020-05-21T15:53:16.013+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - } -] diff --git a/test/__tests__/data/blueshift_input.json b/test/__tests__/data/blueshift_input.json deleted file mode 100644 index 25b643cf53..0000000000 --- a/test/__tests__/data/blueshift_input.json +++ /dev/null @@ -1,1120 +0,0 @@ -[ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "dataCenter": "standard" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.5" - }, - "traits": { - "name": "hardik", - "email": "hardik@rudderstack.com", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830 - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.5" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36", - "locale": "en-US", - "os": { - "name": "", - "version": "" - } - }, - "type": "group", - "messageId": "e5034df0-a404-47b4-a463-76df99934fea", - "anonymousId": "my-anonymous-id-new", - "userId": "sampleusrRudder7", - "traits": { - "groupType": "company", - "name_trait": "Company", - "value_trait": "Comapny-ABC" - } - } - }, - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.5" - }, - "traits": { - "name": "hardik", - "email": "hardik@rudderstack.com", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830 - } - }, - "type": "group", - "userId": "rudderstack8", - "groupId": "35838" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "context": { - "ip": "14.5.67.21", - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 3 - }, - "os": { - "name": "Android", - "version": "9" - }, - "network": { - "bluetooth": false, - "carrier": "Android", - "cellular": true, - "wifi": true - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "latitude": "37.7672319", - "longitude": "-122.4021353", - "state": "WB", - "street": "rajnagar" - } - }, - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "messageId": "34abcd-efghijkj-1234kf", - "type": "track", - "event": "identify", - "userId": "sampleusrRudder7" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "type": "track", - "event": "Product Viewed", - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123", - "checkout_id": "C324532", - "order_id": "T1230", - "value": 15.98, - "revenue": 16.98, - "shipping": 3.0, - "coupon": "FY21", - "currency": "INR", - "products": [ - { - "product_id": "product-mixedfruit-jam", - "sku": "sku-1", - "category": "Food", - "name": "Food/Drink", - "brand": "Sample", - "variant": "None", - "price": 10.0, - "quantity": 2, - "currency": "INR", - "position": 1, - "value": 6.0, - "typeOfProduct": "Food", - "url": "https://www.example.com/product/bacon-jam", - "image_url": "https://www.example.com/product/bacon-jam.jpg" - } - ] - }, - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - } - }, - "messageId": "34abcd-efghijkj-1234kf", - "userId": "sampleRudderstack9" - }, - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "type": "track", - "event": "Products Searched", - "properties": { - "description": "Sneaker purchase", - "brand": "Victory Sneakers", - "colors": ["red", "blue"], - "items": [ - { - "text": "New Line Sneakers", - "price": "$ 79.95" - }, - { - "text": "Old Line Sneakers", - "price": "$ 79.95" - }, - { - "text": "Blue Line Sneakers", - "price": "$ 79.95" - } - ], - "name": "Hugh Manbeing", - "userLocation": { - "state": "CO", - "zip": "80202" - } - }, - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - } - }, - "messageId": "34abcd-efghijkj-1234kf", - "userId": "sampleRudderstack9" - }, - { - "destination": { - "Config": { - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "type": "track", - "event": "Product_purchased", - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "messageId": "34abcd-efghijkj-1234kf", - "context": { - "ip": "14.5.67.21", - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 3 - }, - "os": { - "name": "Android", - "version": "9" - }, - "network": { - "bluetooth": false, - "carrier": "Android", - "cellular": true, - "wifi": true - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "latitude": "37.7672319", - "longitude": "-122.4021353", - "state": "WB", - "street": "rajnagar" - } - }, - "userId": "sampleRudderstack9" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "type": "identify", - "event": "Product_purchased", - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "messageId": "34abcd-efghijkj-1234kf", - "context": { - "ip": "14.5.67.21", - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 3 - }, - "os": { - "name": "Android", - "version": "9" - }, - "network": { - "bluetooth": false, - "carrier": "Android", - "cellular": true, - "wifi": true - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "latitude": "37.7672319", - "longitude": "-122.4021353", - "state": "WB", - "street": "rajnagar" - } - }, - "userId": "sampleRudderstack9" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "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", - "anonymousId": "anon_id", - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe", - "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": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "dataCenter": "eu" - } - }, - "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", - "anonymousId": "anon_id", - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe", - "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": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "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" - }, - "locale": "en-US", - "ip": "0.0.0.0" - }, - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe" - } - } - }, - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "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" - }, - "locale": "en-US", - "ip": "0.0.0.0" - }, - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe" - } - } - }, - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "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" - }, - "locale": "en-US", - "ip": "0.0.0.0" - }, - "type": "page", - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe" - } - } - }, - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "type": "track", - "event": "Order Completed", - "properties": { - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - }, - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "quantity": "2", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ] - }, - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "userId": "sampleRudderstack11" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "context": { - "ip": "14.5.67.21", - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 3 - }, - "os": { - "name": "Android", - "version": "9" - }, - "network": { - "bluetooth": false, - "carrier": "Android", - "cellular": true, - "wifi": true - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "latitude": "37.7672319", - "longitude": "-122.4021353", - "state": "WB", - "street": "rajnagar" - } - }, - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "messageId": "34abcd-efghijkj-1234kf", - "type": "track", - "event": "Custom Events", - "userId": "sampleusrRudder7" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "type": "track", - "event": "Order 9Completed", - "properties": { - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - }, - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "quantity": "2", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ] - }, - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "userId": "sampleRudderstack11" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "type": "track", - "event": "Order.Completed", - "properties": { - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - }, - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "quantity": "2", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ] - }, - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "userId": "sampleRudderstack11" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "type": "group", - "messageId": "e5034jh0-a404-47b4-a463-76df99934kl2", - "userId": "sampleusrRudder1", - "groupId": "group22222", - "traits": { - "name": "hardik", - "email": "hardik@rudderstack.com", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830, - "gender": "male" - } - } - }, - { - "destination": { - "Config": { - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "type": "group", - "messageId": "e5034jh0-a404-47b4-a463-76df99934kl2", - "userId": "sampleusrRudder1", - "groupId": "group22222", - "traits": { - "name": "hardik", - "email": "hardik@rudderstack.com", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830, - "gender": "male" - } - } - } -] diff --git a/test/__tests__/data/blueshift_output.json b/test/__tests__/data/blueshift_output.json deleted file mode 100644 index 189ad02aa3..0000000000 --- a/test/__tests__/data/blueshift_output.json +++ /dev/null @@ -1,438 +0,0 @@ -[ - { - "statusCode": 400, - "error": "Missing required value from \"groupId\"", - "statTags": { - "destination": "blueshift", - "stage": "transform", - "scope": "exception" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "group_id": "35838", - "customer_id": "rudderstack8", - "email": "hardik@rudderstack.com", - "event": "identify" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "ip": "14.5.67.21", - "event": "identify", - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123", - "os_name": "Android", - "latitude": "37.7672319", - "device_id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "longitude": "-122.4021353", - "event_uuid": "34abcd-efghijkj-1234kf", - "customer_id": "sampleusrRudder7", - "device_idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_type": "Android", - "network_carrier": "Android", - "device_manufacturer": "Google" - }, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=" - }, - "version": "1", - "endpoint": "https://api.getblueshift.com/api/v1/event" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event": "view", - "device_type": "android", - "device_id": "7e32188a4dab669f", - "device_idfv": "7e32188a4dab669f", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123", - "checkout_id": "C324532", - "order_id": "T1230", - "value": 15.98, - "revenue": 16.98, - "shipping": 3, - "coupon": "FY21", - "currency": "INR", - "products": [ - { - "product_id": "product-mixedfruit-jam", - "sku": "sku-1", - "category": "Food", - "name": "Food/Drink", - "brand": "Sample", - "variant": "None", - "price": 10, - "quantity": 2, - "currency": "INR", - "position": 1, - "value": 6, - "typeOfProduct": "Food", - "url": "https://www.example.com/product/bacon-jam", - "image_url": "https://www.example.com/product/bacon-jam.jpg" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.eu.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event": "search", - "device_type": "android", - "device_id": "7e32188a4dab669f", - "device_idfv": "7e32188a4dab669f", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "description": "Sneaker purchase", - "brand": "Victory Sneakers", - "colors": ["red", "blue"], - "items": [ - { - "text": "New Line Sneakers", - "price": "$ 79.95" - }, - { - "text": "Old Line Sneakers", - "price": "$ 79.95" - }, - { - "text": "Blue Line Sneakers", - "price": "$ 79.95" - } - ], - "name": "Hugh Manbeing", - "userLocation": { - "state": "CO", - "zip": "80202" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "statusCode": 400, - "error": "[BLUESHIFT] event Api Keys required for Authentication.", - "statTags": { - "destination": "blueshift", - "stage": "transform", - "scope": "exception" - } - }, - { - "statusCode": 400, - "error": "Missing required value from \"email\"", - "statTags": { - "destination": "blueshift", - "stage": "transform", - "scope": "exception" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getblueshift.com/api/v1/customers", - "headers": { - "Authorization": "Basic YjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q5MjBlYzFlMmU=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "email": "chandan@companyname.com", - "customer_id": "rudder123", - "phone_number": "92374162212", - "firstname": "James", - "lastname": "Doe", - "gender": "M", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "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": "" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "statusCode": 400, - "error": "[BLUESHIFT] User API Key required for Authentication.", - "statTags": { - "destination": "blueshift", - "stage": "transform", - "scope": "exception" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.eu.getblueshift.com/api/v1/customers", - "headers": { - "Authorization": "Basic YjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q5MjBlYzFlMmU=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "email": "chandan@companyname.com", - "customer_id": "rudder123", - "phone_number": "92374162212", - "firstname": "James", - "lastname": "Doe", - "gender": "M", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "statusCode": 400, - "error": "Message Type is not present. Aborting message.", - "statTags": { - "destination": "blueshift", - "stage": "transform", - "scope": "exception" - } - }, - { - "statusCode": 400, - "error": "Message type page not supported", - "statTags": { - "destination": "blueshift", - "stage": "transform", - "scope": "exception" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.eu.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "customer_id": "sampleRudderstack11", - "event": "purchase", - "device_type": "android", - "device_id": "7e32188a4dab669f", - "device_idfv": "7e32188a4dab669f", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - }, - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "quantity": "2", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.eu.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "customer_id": "sampleusrRudder7", - "event": "Custom_Events", - "device_type": "Android", - "device_id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "ip": "14.5.67.21", - "latitude": "37.7672319", - "longitude": "-122.4021353", - "event_uuid": "34abcd-efghijkj-1234kf", - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "statusCode": 400, - "error": "[Blueshift] Event shouldn't contain period(.), numeric value and contains not more than 64 characters", - "statTags": { - "destination": "blueshift", - "stage": "transform", - "scope": "exception" - } - }, - { - "statusCode": 400, - "error": "[Blueshift] Event shouldn't contain period(.), numeric value and contains not more than 64 characters", - "statTags": { - "destination": "blueshift", - "stage": "transform", - "scope": "exception" - } - }, - { - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "group_id": "group22222", - "customer_id": "sampleusrRudder1", - "email": "hardik@rudderstack.com", - "device_type": "android", - "device_id": "7e32188a4dab669f", - "device_idfv": "7e32188a4dab669f", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "event_uuid": "e5034jh0-a404-47b4-a463-76df99934kl2", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "event": "identify", - "name": "hardik", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830, - "gender": "male" - }, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=" - }, - "version": "1", - "endpoint": "https://api.getblueshift.com/api/v1/event" - }, - { - "statusCode": 400, - "error": "[BLUESHIFT] event API Key required for Authentication.", - "statTags": { - "destination": "blueshift", - "stage": "transform", - "scope": "exception" - } - } -] diff --git a/test/__tests__/data/blueshift_router_input.json b/test/__tests__/data/blueshift_router_input.json deleted file mode 100644 index 5401275771..0000000000 --- a/test/__tests__/data/blueshift_router_input.json +++ /dev/null @@ -1,167 +0,0 @@ -[ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "datacenterEU": false - } - }, - "metadata": { - "jobId": 1 - }, - "message": { - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.5" - }, - "traits": { - "name": "hardik", - "email": "hardik@rudderstack.com", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830 - } - }, - "type": "group", - "userId": "rudderstack8", - "groupId": "35838" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "datacenterEU": false - } - }, - "metadata": { - "jobId": 2 - }, - "message": { - "context": { - "ip": "14.5.67.21", - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 3 - }, - "os": { - "name": "Android", - "version": "9" - }, - "network": { - "bluetooth": false, - "carrier": "Android", - "cellular": true, - "wifi": true - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "latitude": "37.7672319", - "longitude": "-122.4021353", - "state": "WB", - "street": "rajnagar" - } - }, - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "messageId": "34abcd-efghijkj-1234kf", - "type": "track", - "event": "identify", - "userId": "sampleusrRudder7" - } - }, - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "datacenterEU": false - } - }, - "metadata": { - "jobId": 3 - }, - "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", - "anonymousId": "anon_id", - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe", - "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": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } -] diff --git a/test/__tests__/data/blueshift_router_output.json b/test/__tests__/data/blueshift_router_output.json deleted file mode 100644 index 669f5014a5..0000000000 --- a/test/__tests__/data/blueshift_router_output.json +++ /dev/null @@ -1,156 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "group_id": "35838", - "customer_id": "rudderstack8", - "email": "hardik@rudderstack.com", - "event": "identify" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "datacenterEU": false - } - } - }, - { - "batchedRequest": { - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "ip": "14.5.67.21", - "event": "identify", - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123", - "os_name": "Android", - "latitude": "37.7672319", - "device_id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "longitude": "-122.4021353", - "event_uuid": "34abcd-efghijkj-1234kf", - "customer_id": "sampleusrRudder7", - "device_idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_type": "Android", - "network_carrier": "Android", - "device_manufacturer": "Google" - }, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=" - }, - "version": "1", - "endpoint": "https://api.getblueshift.com/api/v1/event" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "datacenterEU": false - } - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getblueshift.com/api/v1/customers", - "headers": { - "Authorization": "Basic YjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q5MjBlYzFlMmU=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "email": "chandan@companyname.com", - "customer_id": "rudder123", - "phone_number": "92374162212", - "firstname": "James", - "lastname": "Doe", - "gender": "M", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "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": "" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 3 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "datacenterEU": false - } - } - } -] diff --git a/test/__tests__/data/branch_input.json b/test/__tests__/data/branch_input.json deleted file mode 100644 index 8e8d2bba5f..0000000000 --- a/test/__tests__/data/branch_input.json +++ /dev/null @@ -1,806 +0,0 @@ -[ - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-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 - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "iOS", - "version": "14.4.1" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "product added", - "integrations": { - "All": true - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "properties": { - "name": "sampath" - }, - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 2 - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 2 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "identify", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "page", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "attTrackingStatus": 3 - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "watchos" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "product added", - "integrations": { - "All": true - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "properties": { - "name": "sampath" - }, - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "attTrackingStatus": 3 - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "ipados" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "product added", - "integrations": { - "All": true - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "properties": { - "name": "sampath" - }, - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "attTrackingStatus": 3 - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "tvos" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "product added", - "integrations": { - "All": true - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "properties": { - "name": "sampath" - }, - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-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 - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "iOS", - "version": "14.4.1" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "product added", - "integrations": { - "All": true - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-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 - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "product added", - "integrations": { - "All": true - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-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 - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "iOS", - "version": "14.4.1" - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "product added", - "integrations": { - "All": true - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-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 - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "iOS", - "version": "14.4.1" - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "integrations": { - "All": true - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 2, - "brand": "testBrand" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 2, - "height": 1794, - "width": 1080 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "identify", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "ios", - "attTrackingStatus": 2, - "brand": "testBrand" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "iOS", - "version": "14.4.1" - }, - "screen": { - "density": 2, - "height": 1794, - "width": 1080 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "identify", - "userId": "sampath" - } - } -] diff --git a/test/__tests__/data/branch_output.json b/test/__tests__/data/branch_output.json deleted file mode 100644 index 8a57bf99d5..0000000000 --- a/test/__tests__/data/branch_output.json +++ /dev/null @@ -1,385 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/standard", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "branch_key": "", - "name": "ADD_TO_CART", - "content_items": [ - { - "$product_name": "sampath" - } - ], - "user_data": { - "os": "iOS", - "os_version": "14.4.1", - "app_version": "1.0.0", - "screen_dpi": 2, - "developer_identity": "sampath", - "idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "limit_ad_tracking": false, - "model": "AOSP on IA Emulator", - "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" - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/custom", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "branch_key": "", - "name": "sampath", - "custom_data": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "content_items": [{}], - "user_data": { - "os": "Android", - "os_version": "9", - "app_version": "1.0.0", - "screen_dpi": 2, - "developer_identity": "sampath", - "android_id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "aaid": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "limit_ad_tracking": true, - "model": "AOSP on IA Emulator", - "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" - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { "statusCode": 400, "error": "Message type is not supported" }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/standard", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "content_items": [ - { - "$product_name": "sampath" - } - ], - "user_data": { - "os": "watchos", - "app_version": "1.0.0", - "screen_dpi": 2, - "developer_identity": "sampath", - "idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "limit_ad_tracking": false, - "model": "AOSP on IA Emulator", - "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" - }, - "name": "ADD_TO_CART", - - "branch_key": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/standard", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "content_items": [ - { - "$product_name": "sampath" - } - ], - "user_data": { - "os": "ipados", - "app_version": "1.0.0", - "screen_dpi": 2, - "developer_identity": "sampath", - "idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "limit_ad_tracking": false, - "model": "AOSP on IA Emulator", - "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" - }, - "name": "ADD_TO_CART", - "branch_key": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/standard", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "content_items": [ - { - "$product_name": "sampath" - } - ], - "user_data": { - "os": "tvos", - "app_version": "1.0.0", - "screen_dpi": 2, - "developer_identity": "sampath", - "idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "limit_ad_tracking": false, - "model": "AOSP on IA Emulator", - "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" - }, - "name": "ADD_TO_CART", - "branch_key": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/standard", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user_data": { - "os": "iOS", - "os_version": "14.4.1", - "app_version": "1.0.0", - "screen_dpi": 2, - "developer_identity": "sampath", - "idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "limit_ad_tracking": false, - "model": "AOSP on IA Emulator", - "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" - }, - "name": "ADD_TO_CART", - "branch_key": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/standard", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user_data": { - "app_version": "1.0.0", - "screen_dpi": 2, - "developer_identity": "sampath", - "limit_ad_tracking": false, - "model": "AOSP on IA Emulator", - "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" - }, - "name": "ADD_TO_CART", - "branch_key": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/standard", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "user_data": { - "os": "iOS", - "os_version": "14.4.1", - "developer_identity": "sampath", - "idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "limit_ad_tracking": false, - "model": "AOSP on IA Emulator", - "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" - }, - "name": "ADD_TO_CART", - "branch_key": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "statusCode": 400, - "error": "Event name is required", - "statTags": { - "destination": "branch", - "stage": "transform", - "scope": "exception" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/custom", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "custom_data": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "content_items": [{}], - "user_data": { - "os": "Android", - "os_version": "9", - "app_version": "1.0.0", - "model": "AOSP on IA Emulator", - "brand": "testBrand", - "screen_dpi": 2, - "screen_height": 1794, - "screen_width": 1080, - "developer_identity": "sampath", - "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", - "android_id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "aaid": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "limit_ad_tracking": true - }, - "name": "sampath", - "branch_key": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/custom", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "custom_data": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "content_items": [{}], - "user_data": { - "os": "iOS", - "os_version": "14.4.1", - "app_version": "1.0.0", - "model": "AOSP on IA Emulator", - "brand": "testBrand", - "screen_dpi": 2, - "screen_height": 1794, - "screen_width": 1080, - "developer_identity": "sampath", - "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", - "idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "limit_ad_tracking": true - }, - "name": "sampath", - "branch_key": "" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - } -] diff --git a/test/__tests__/data/branch_router_input.json b/test/__tests__/data/branch_router_input.json deleted file mode 100644 index 85991e0843..0000000000 --- a/test/__tests__/data/branch_router_input.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "metadata": { - "jobId": 1 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "iOS", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "product added", - "integrations": { - "All": true - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "properties": { - "name": "sampath" - }, - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - }, - "metadata": { - "jobId": 2 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "iOS", - "version": "" - }, - "screen": { - "density": 2 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "identify", - "userId": "sampath" - } - } -] diff --git a/test/__tests__/data/branch_router_output.json b/test/__tests__/data/branch_router_output.json deleted file mode 100644 index a792b17d05..0000000000 --- a/test/__tests__/data/branch_router_output.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/standard", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "branch_key": "", - "name": "ADD_TO_CART", - "content_items": [ - { - "$product_name": "sampath" - } - ], - "user_data": { - "os": "iOS", - "os_version": "", - "app_version": "1.0.0", - "screen_dpi": 2, - "developer_identity": "sampath", - "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" - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.branch.io/v2/event/custom", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "branch_key": "", - "name": "sampath", - "custom_data": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "content_items": [{}], - "user_data": { - "os": "iOS", - "os_version": "", - "app_version": "1.0.0", - "screen_dpi": 2, - "developer_identity": "sampath", - "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" - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "branchKey": "", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Branch Metrics", - "ID": "1WTpBSTiL3iAUHUdW7rHT4sawgU", - "Name": "BRANCH" - }, - "Enabled": true, - "ID": "1WTpIHpH7NTBgjeiUPW1kCUgZGI", - "Name": "branch test", - "Transformations": [] - } - } -] diff --git a/test/__tests__/data/campaign_manager.json b/test/__tests__/data/campaign_manager.json deleted file mode 100644 index a16cbada81..0000000000 --- a/test/__tests__/data/campaign_manager.json +++ /dev/null @@ -1,653 +0,0 @@ -[ - { - "description": "Track - batch insert Call", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "profileId": "34245", - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "floodlightActivityId": "456543345245", - "value": "756", - "encryptedUserIdCandidates": ["dfghjbnm"], - "quantity": "455678", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT", - "requestType": "batchinsert" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", - "headers": { - "Authorization": "Bearer dummyApiToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "kind": "dfareporting#conversionsBatchInsertRequest", - "encryptionInfo": { - "kind": "dfareporting#encryptionInfo", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT" - }, - "conversions": [ - { - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "timestampMicros": "1668624722903000", - "floodlightActivityId": "456543345245", - "quantity": "455678", - "value": 756, - "encryptedUserIdCandidates": ["dfghjbnm"], - "limitAdTracking": false, - "childDirectedTreatment": false, - "treatmentForUnderage": false, - "nonPersonalizedAd": false - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track - batch update Call", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "originalTimestamp": "2021-01-04T08:25:04.780Z", - "properties": { - "profileId": "34245", - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "floodlightActivityId": "456543345245", - "value": "756", - "quantity": "455678", - "gclid": "string", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT", - "requestType": "batchupdate" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchupdate", - "headers": { - "Authorization": "Bearer dummyApiToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "kind": "dfareporting#conversionsBatchUpdateRequest", - "conversions": [ - { - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "timestampMicros": "1609748704780000", - "floodlightActivityId": "456543345245", - "quantity": "455678", - "value": 756, - "gclid": "string", - "treatmentForUnderage": false, - "nonPersonalizedAd": false - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track - batch insert Call failure", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "profileId": "34245", - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "floodlightActivityId": "456543345245", - "mobileDeviceId": "string", - "value": "756", - "encryptedUserIdCandidates": ["dfghjbnm"], - "quantity": "455678", - "gclid": "string", - "matchId": "string", - "dclid": "string", - "impressionId": "string", - "requestType": "batchinsert" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "statusCode": 400, - "error": "[CAMPAIGN MANAGER (DCM)]: If encryptedUserId or encryptedUserIdCandidates is used, provide proper values for properties.encryptionEntityType , properties.encryptionSource and properties.encryptionEntityId", - "statTags": { - "destination": "campaign_manager", - "stage": "transform", - "scope": "exception" - } - } - }, - { - "description": "Track - batch insert Call failure none of gclid, matcId are present", - "input": { - "message": { - "channel": "sources", - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "floodlightActivityId": "456543345245", - "value": "756", - "quantity": "455678", - "requestType": "batchinsert" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "statusCode": 400, - "error": "[CAMPAIGN MANAGER (DCM)]: Atleast one of encryptedUserId,encryptedUserIdCandidates, matchId, mobileDeviceId, gclid, dclid, impressionId.", - "statTags": { - "destination": "campaign_manager", - "stage": "transform", - "scope": "exception" - } - } - }, - { - "description": "Track - batch insert Call with only matchId", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "profileId": "34245", - "floodlightConfigurationId": "213123123", - "ordinal": "1", - "floodlightActivityId": "456543345245", - "value": "756", - "quantity": "455678", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT", - "requestType": "batchinsert", - "matchId": "123" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", - "headers": { - "Authorization": "Bearer dummyApiToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "kind": "dfareporting#conversionsBatchInsertRequest", - "conversions": [ - { - "floodlightConfigurationId": "213123123", - "ordinal": "1", - "timestampMicros": "1668624722903000", - "floodlightActivityId": "456543345245", - "quantity": "455678", - "value": 756, - "limitAdTracking": false, - "childDirectedTreatment": false, - "treatmentForUnderage": false, - "nonPersonalizedAd": false, - "matchId": "123" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track - batch insert Call timestamp in unix", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "originalTimestamp": "1668624722903333", - "properties": { - "profileId": "34245", - "floodlightConfigurationId": "213123123", - "ordinal": "1", - "floodlightActivityId": "456543345245", - "value": "756", - "quantity": "455678", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT", - "requestType": "batchinsert", - "matchId": "123" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", - "headers": { - "Authorization": "Bearer dummyApiToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "kind": "dfareporting#conversionsBatchInsertRequest", - "conversions": [ - { - "floodlightConfigurationId": "213123123", - "ordinal": "1", - "timestampMicros": "1668624722903333", - "floodlightActivityId": "456543345245", - "quantity": "455678", - "value": 756, - "limitAdTracking": false, - "childDirectedTreatment": false, - "treatmentForUnderage": false, - "nonPersonalizedAd": false, - "matchId": "123" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } -] diff --git a/test/__tests__/data/campaign_manager_router_input.json b/test/__tests__/data/campaign_manager_router_input.json deleted file mode 100644 index 83f2289431..0000000000 --- a/test/__tests__/data/campaign_manager_router_input.json +++ /dev/null @@ -1,276 +0,0 @@ -[ - { - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 1 - }, - "destination": { - "Config": { - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "track", - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "profileId": 437689, - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "quantity": "455678", - "floodlightActivityId": "456543345245", - "value": 7, - "encryptedUserIdCandidates": ["dfghjbnm"], - "limitAdTracking": true, - "childDirectedTreatment": true, - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT", - "requestType": "batchinsert" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2022-11-17T00:22:02.903+05:30" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 2 - }, - "destination": { - "Config": { - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "track", - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "profileId": 437689, - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "floodlightActivityId": "456543345245", - "quantity": "455678", - "value": 7, - "encryptedUserIdCandidates": ["dfghjbnm"], - "limitAdTracking": true, - "childDirectedTreatment": true, - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT", - "requestType": "batchupdate" - }, - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2022-11-17T00:22:02.903+05:30" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 3 - }, - "destination": { - "Config": { - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "track", - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "profileId": 437689, - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "floodlightActivityId": "456543345245", - "mobileDeviceId": "string", - "value": 7, - "encryptedUserIdCandidates": ["dfghjbnm"], - "gclid": "string", - "matchId": "string", - "dclid": "string", - "quantity": "455678", - "impressionId": "string", - "limitAdTracking": true, - "childDirectedTreatment": true, - "encryptionInfo": { - "kind": "dfareporting#encryptionInfo", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT" - }, - "requestType": "randomValue" - }, - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2022-11-17T00:22:02.903+05:30" - } - } -] diff --git a/test/__tests__/data/campaign_manager_router_output.json b/test/__tests__/data/campaign_manager_router_output.json deleted file mode 100644 index 61c3438ab6..0000000000 --- a/test/__tests__/data/campaign_manager_router_output.json +++ /dev/null @@ -1,156 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/437689/conversions/batchinsert", - "headers": { - "Authorization": "Bearer dummyApiToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "kind": "dfareporting#conversionsBatchInsertRequest", - "encryptionInfo": { - "kind": "dfareporting#encryptionInfo", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT" - }, - "conversions": [ - { - "nonPersonalizedAd": false, - "treatmentForUnderage": false, - "timestampMicros": "1668624722903000", - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "quantity": "455678", - "floodlightActivityId": "456543345245", - "value": 7, - "encryptedUserIdCandidates": ["dfghjbnm"], - "limitAdTracking": true, - "childDirectedTreatment": true - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "secret": { - "access_token": "dummyApiToken", - "developer_token": "ijkl91011", - "refresh_token": "efgh5678" - }, - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "childDirectedTreatment": false, - "limitAdTracking": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK", - "treatmentForUnderage": false - } - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/437689/conversions/batchupdate", - "headers": { - "Authorization": "Bearer dummyApiToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "kind": "dfareporting#conversionsBatchUpdateRequest", - "encryptionInfo": { - "kind": "dfareporting#encryptionInfo", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT" - }, - "conversions": [ - { - "nonPersonalizedAd": false, - "treatmentForUnderage": false, - "timestampMicros": "1668624722903000", - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "quantity": "455678", - "floodlightActivityId": "456543345245", - "value": 7, - "encryptedUserIdCandidates": ["dfghjbnm"] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "secret": { - "access_token": "dummyApiToken", - "developer_token": "ijkl91011", - "refresh_token": "efgh5678" - }, - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "childDirectedTreatment": false, - "limitAdTracking": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK", - "treatmentForUnderage": false - } - } - }, - { - "destination": { - "Config": { - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - }, - "batched": false, - "error": "[CAMPAIGN MANAGER (DCM)]: properties.requestType must be one of batchinsert or batchupdate.", - "metadata": [ - { - "secret": { - "access_token": "dummyApiToken", - "developer_token": "ijkl91011", - "refresh_token": "efgh5678" - }, - "jobId": 3 - } - ], - "statusCode": 400, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - } -] diff --git a/test/__tests__/data/candu_input.json b/test/__tests__/data/candu_input.json deleted file mode 100644 index cafe4bbb17..0000000000 --- a/test/__tests__/data/candu_input.json +++ /dev/null @@ -1,938 +0,0 @@ -[ - { - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "FXLkLUEhGJyvmY4" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "type": "identify", - "sentAt": "2022-01-20T13:39:21.033Z", - "userId": "user123456001", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "path": "/Testing/App_for_LaunchDarkly/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 689 - }, - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "messageId": "831f1fa5-de84-4f22-880a-4c3f23fc3f04", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - { - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "FXLkLUEhGJyvmY4" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "type": "track", - "event": "testEventWithoutProp", - "sentAt": "2022-01-20T14:32:51.506Z", - "userId": "user123456001", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "path": "/Testing/App_for_LaunchDarkly/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 689 - }, - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "messageId": "e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e", - "properties": {}, - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-01-20T14:32:51.506Z" - } - }, - { - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "FXLkLUEhGJyvmY4" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "type": "track", - "sentAt": "2022-01-20T14:42:59.775Z", - "userId": "", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "path": "/Testing/App_for_LaunchDarkly/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "initial_referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "127.0.0.1:7307" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 689 - }, - "traits": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "rudderId": "1877191c-3537-46dc-a35a-e2a4d13ed3f7", - "messageId": "fea245ef-6150-42c4-84e0-51fa68e71a88", - "properties": {}, - "anonymousId": "d18df757-34aa-4f71-91a8-7f9ef2940963", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-01-20T14:42:25.343Z" - } - }, - { - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "FXLkLUEhGJyvmY4" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "type": "page", - "sentAt": "2022-01-20T15:30:57.470Z", - "userId": "testUser1234", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "path": "/Testing/App_for_LaunchDarkly/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "initial_referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "127.0.0.1:7307" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 632 - }, - "traits": {}, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "rudderId": "aa193f3b-6d42-466f-a781-6a666cfe17c3", - "messageId": "bf869c14-5f96-4cbc-94b2-3de9252c216b", - "properties": { - "url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "path": "/Testing/App_for_LaunchDarkly/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "initial_referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "127.0.0.1:7307" - }, - "anonymousId": "d18df757-34aa-4f71-91a8-7f9ef2940963", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-01-20T15:30:57.470Z" - } - }, - { - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": " " - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "type": "track", - "event": "testEventWithoutProp", - "sentAt": "2022-01-20T14:32:51.506Z", - "userId": "user123456001", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "path": "/Testing/App_for_LaunchDarkly/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 689 - }, - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "messageId": "e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e", - "properties": {}, - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-01-20T14:32:51.506Z" - } - }, - { - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "FXLkLUEhGJyvmY4" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "event": "testEventWithoutProp", - "sentAt": "2022-01-20T14:32:51.506Z", - "userId": "user123456001", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "path": "/Testing/App_for_LaunchDarkly/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 689 - }, - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "messageId": "e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e", - "properties": {}, - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-01-20T14:32:51.506Z" - } - }, - { - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "FXLkLUEhGJyvmY4" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "type": "identify", - "sentAt": "2022-01-20T13:39:21.033Z", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "path": "/Testing/App_for_LaunchDarkly/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 689 - }, - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female", - "userId": 2399229 - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "messageId": "831f1fa5-de84-4f22-880a-4c3f23fc3f04", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-01-20T13:39:21.032Z" - } - }, - { - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "FXLkLUEhGJyvmY4" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "type": "track", - "event": "testEventWithoutProp", - "sentAt": "2022-01-20T14:32:51.506Z", - "userId": "user123456001", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "path": "/Testing/App_for_LaunchDarkly/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 689 - }, - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "messageId": "e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e", - "properties": ["1234", "5678", "91011"], - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-01-20T14:32:51.506Z" - } - }, - { - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "FXLkLUEhGJyvmY4" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "type": "track", - "event": "testEventWithoutProp", - "sentAt": "2022-01-20T14:32:51.506Z", - "userId": "", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "path": "/Testing/App_for_LaunchDarkly/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 689 - }, - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "messageId": "e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e", - "properties": [], - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-01-20T14:32:51.506Z" - } - } -] diff --git a/test/__tests__/data/candu_output.json b/test/__tests__/data/candu_output.json deleted file mode 100644 index 5f6ee58825..0000000000 --- a/test/__tests__/data/candu_output.json +++ /dev/null @@ -1,209 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.candu.ai/api/eventWebhook", - "headers": { - "Authorization": "Basic RlhMa0xVRWhHSnl2bVk0", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female" - }, - "type": "identify", - "userId": "user123456001", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "messageId": "831f1fa5-de84-4f22-880a-4c3f23fc3f04", - "context": { - "source": "RudderStack" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.candu.ai/api/eventWebhook", - "headers": { - "Authorization": "Basic RlhMa0xVRWhHSnl2bVk0", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "type": "track", - "event": "testEventWithoutProp", - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female" - }, - "properties": {}, - "userId": "user123456001", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "messageId": "e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e", - "context": { - "source": "RudderStack" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "statusCode": 400, - "error": "Missing required value from \"event\"", - "statTags": { - "destination": "candu", - "stage": "transform", - "scope": "exception" - } - }, - { - "statusCode": 400, - "error": "[CANDU]:: Message type page not supported.", - "statTags": { - "destination": "candu", - "stage": "transform", - "scope": "exception" - } - }, - { - "statusCode": 400, - "error": "[CANDU]:: apiKey cannot be empty.", - "statTags": { - "destination": "candu", - "stage": "transform", - "scope": "exception" - } - }, - { - "statusCode": 400, - "error": "[CANDU]:: Message Type is not present. Aborting message.", - "statTags": { - "destination": "candu", - "stage": "transform", - "scope": "exception" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.candu.ai/api/eventWebhook", - "headers": { - "Authorization": "Basic RlhMa0xVRWhHSnl2bVk0", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female", - "userId": 2399229 - }, - "userId": "2399229", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "messageId": "831f1fa5-de84-4f22-880a-4c3f23fc3f04", - "type": "identify", - "context": { - "source": "RudderStack" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.candu.ai/api/eventWebhook", - "headers": { - "Authorization": "Basic RlhMa0xVRWhHSnl2bVk0", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event": "testEventWithoutProp", - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female" - }, - "properties": ["1234", "5678", "91011"], - "userId": "user123456001", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "messageId": "e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e", - "type": "track", - "context": { - "source": "RudderStack" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.candu.ai/api/eventWebhook", - "headers": { - "Authorization": "Basic RlhMa0xVRWhHSnl2bVk0", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event": "testEventWithoutProp", - "traits": { - "city": "Pune", - "name": "First User", - "email": "firstUser@testmail.com", - "title": "VP", - "gender": "female" - }, - "properties": [], - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "messageId": "e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e", - "type": "track", - "context": { - "source": "RudderStack" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } -] diff --git a/test/__tests__/data/candu_router_input.json b/test/__tests__/data/candu_router_input.json deleted file mode 100644 index 04eb516327..0000000000 --- a/test/__tests__/data/candu_router_input.json +++ /dev/null @@ -1,105 +0,0 @@ -[ - { - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "FXLkLUEhGJyvmY4" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "metadata": { - "jobId": 1 - }, - "message": { - "anonymousId": "a1b2c3d4e5f6g7h8i9j10", - "channel": "mobile", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "adTrackingEnabled": true, - "advertisingId": "", - "id": "", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "attTrackingStatus": 3 - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "watchos" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "sampath@gmail.com", - "name": "Joker", - "Gender": "male", - "foo": { - "foo": "bar" - } - }, - "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" - }, - "event": "product added", - "integrations": { - "All": true - }, - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "originalTimestamp": "2020-01-17T04:53:51.185Z", - "receivedAt": "2020-01-17T10:23:52.688+05:30", - "request_ip": "[::1]:64059", - "sentAt": "2020-01-17T04:53:52.667Z", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "type": "identify", - "userId": "sampath" - } - } -] diff --git a/test/__tests__/data/candu_router_output.json b/test/__tests__/data/candu_router_output.json deleted file mode 100644 index ecabcbfa9a..0000000000 --- a/test/__tests__/data/candu_router_output.json +++ /dev/null @@ -1,82 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.candu.ai/api/eventWebhook", - "headers": { - "Authorization": "Basic RlhMa0xVRWhHSnl2bVk0", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "traits": { - "email": "sampath@gmail.com", - "name": "Joker", - "Gender": "male", - "foo": { "foo": "bar" } - }, - "type": "identify", - "userId": "sampath", - "anonymousId": "a1b2c3d4e5f6g7h8i9j10", - "timestamp": "2020-01-17T10:23:51.206+05:30", - "messageId": "ea5cfab2-3961-4d8a-8187-3d1858c90a9f", - "context": { "source": "RudderStack" } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "ID": "23uZJcllEOBx8GbZ31qYzoML8Up", - "Name": "Candu local", - "DestinationDefinition": { - "ID": "23uYPwdkxT7pUNDAiCVNK3aU0sT", - "Name": "CANDU", - "DisplayName": "Candu", - "Config": { - "destConfig": { "defaultConfig": ["apiKey"] }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "blackListedEvents", - "whiteListedEvents", - "oneTrustCookieCategories" - ], - "saveDestinationResponse": true, - "secretKeys": ["apiKey"], - "supportedMessageTypes": ["identify", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative", - "flutter", - "cordova" - ], - "transformAt": "router", - "transformAtV1": "router" - }, - "ResponseRules": {} - }, - "Config": { "apiKey": "FXLkLUEhGJyvmY4" }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } -] diff --git a/test/__tests__/data/confluent_cloud_input.json b/test/__tests__/data/confluent_cloud_input.json deleted file mode 100644 index cc2ae736d6..0000000000 --- a/test/__tests__/data/confluent_cloud_input.json +++ /dev/null @@ -1,396 +0,0 @@ -[ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "Purchase", - "integrations": { - "All": true - }, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "originalTimestamp": "2020-05-21T10:23:15.984Z", - "properties": { - "currency": "USD", - "revenue": 100 - }, - "receivedAt": "2020-05-21T15:53:16.013+05:30", - "request_ip": "[::1]:59371", - "sentAt": "2020-05-21T10:23:15.985Z", - "timestamp": "2020-05-21T15:53:16.012+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 46, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - }, - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "originalTimestamp": "2020-05-21T10:23:15.975Z", - "properties": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:58616", - "sentAt": "2020-05-21T10:23:15.975Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "page", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 47, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - }, - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "originalTimestamp": "2020-05-21T10:23:15.979Z", - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59372", - "sentAt": "2020-05-21T10:23:15.979Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "identify", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 48, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - }, - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track without property", - "integrations": { - "All": true - }, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "originalTimestamp": "2020-05-21T10:23:15.981Z", - "properties": {}, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59374", - "sentAt": "2020-05-21T10:23:15.981Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 49, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - }, - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "originalTimestamp": "2020-05-21T10:23:15.982Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59373", - "sentAt": "2020-05-21T10:23:15.983Z", - "timestamp": "2020-05-21T15:53:16.013+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 50, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } -] diff --git a/test/__tests__/data/confluent_cloud_output.json b/test/__tests__/data/confluent_cloud_output.json deleted file mode 100644 index 7bac8eca74..0000000000 --- a/test/__tests__/data/confluent_cloud_output.json +++ /dev/null @@ -1,276 +0,0 @@ -[ - { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "Purchase", - "integrations": { - "All": true - }, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "originalTimestamp": "2020-05-21T10:23:15.984Z", - "properties": { - "currency": "USD", - "revenue": 100 - }, - "receivedAt": "2020-05-21T15:53:16.013+05:30", - "request_ip": "[::1]:59371", - "sentAt": "2020-05-21T10:23:15.985Z", - "timestamp": "2020-05-21T15:53:16.012+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "originalTimestamp": "2020-05-21T10:23:15.975Z", - "properties": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:58616", - "sentAt": "2020-05-21T10:23:15.975Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "page", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "originalTimestamp": "2020-05-21T10:23:15.979Z", - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59372", - "sentAt": "2020-05-21T10:23:15.979Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "identify", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track without property", - "integrations": { - "All": true - }, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "originalTimestamp": "2020-05-21T10:23:15.981Z", - "properties": {}, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59374", - "sentAt": "2020-05-21T10:23:15.981Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "originalTimestamp": "2020-05-21T10:23:15.982Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59373", - "sentAt": "2020-05-21T10:23:15.983Z", - "timestamp": "2020-05-21T15:53:16.013+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - } -] diff --git a/test/__tests__/data/courier.json b/test/__tests__/data/courier.json deleted file mode 100644 index 36b4567d03..0000000000 --- a/test/__tests__/data/courier.json +++ /dev/null @@ -1,218 +0,0 @@ -[ - { - "description": "Invalid Configuration (missing api key)", - "input": { - "message": { - "type": "track", - "channel": "web", - "event": "Product Added", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "destination": { - "Config": {} - } - }, - "output": { - "error": "apiKey is required" - } - }, - { - "description": "Identify call", - "input": { - "message": { - "context": { - "ip": "8.8.8.8" - }, - "traits": { - "name": "Joe Doe", - "email": "joe@example.com", - "plan": "basic", - "age": 27 - }, - "type": "identify", - "userId": "userIdTest", - "originalTimestamp": "2022-10-17T15:53:10.566+05:30", - "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - } - }, - "output": { - "body": { - "FORM": {}, - "JSON": { - "context": { - "ip": "8.8.8.8" - }, - "traits": { - "name": "Joe Doe", - "email": "joe@example.com", - "plan": "basic", - "age": 27 - }, - "type": "identify", - "userId": "userIdTest", - "originalTimestamp": "2022-10-17T15:53:10.566+05:30", - "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "endpoint": "https://api.courier.com/inbound/rudderstack", - "files": {}, - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - } - }, - { - "description": "Identify call with traits inside context but not at root level", - "input": { - "message": { - "context": { - "ip": "8.8.8.8", - "traits": { - "name": "Joe Doe", - "email": "joe@example.com", - "plan": "basic", - "age": 27 - } - }, - "type": "identify", - "userId": "userIdTest", - "originalTimestamp": "2022-10-17T15:53:10.566+05:30", - "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - } - }, - "output": { - "body": { - "FORM": {}, - "JSON": { - "context": { - "ip": "8.8.8.8", - "traits": { - "name": "Joe Doe", - "email": "joe@example.com", - "plan": "basic", - "age": 27 - } - }, - "traits": { - "name": "Joe Doe", - "email": "joe@example.com", - "plan": "basic", - "age": 27 - }, - "type": "identify", - "userId": "userIdTest", - "originalTimestamp": "2022-10-17T15:53:10.566+05:30", - "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "endpoint": "https://api.courier.com/inbound/rudderstack", - "files": {}, - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - } - }, - { - "description": "Identify call without traits", - "input": { - "message": { - "context": { - "ip": "8.8.8.8" - }, - "type": "identify", - "userId": "userIdTest", - "originalTimestamp": "2022-10-17T15:53:10.566+05:30", - "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - } - }, - "output": { - "error": "traits is a required field for identify call" - } - }, - { - "description": "Track call", - "input": { - "message": { - "context": { - "ip": "8.8.8.8" - }, - "event": "trackTest", - "properties": { - "activity": "checkout" - }, - "userId": "userIdTest", - "type": "track", - "messageId": "3c0abc14-96a2-4aed-9dfc-ee463832cc24", - "originalTimestamp": "2022-10-17T15:32:44.202+05:30" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - } - }, - "output": { - "body": { - "FORM": {}, - "JSON": { - "context": { - "ip": "8.8.8.8" - }, - "event": "trackTest", - "properties": { - "activity": "checkout" - }, - "userId": "userIdTest", - "type": "track", - "messageId": "3c0abc14-96a2-4aed-9dfc-ee463832cc24", - "originalTimestamp": "2022-10-17T15:32:44.202+05:30" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "endpoint": "https://api.courier.com/inbound/rudderstack", - "files": {}, - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - } - } -] diff --git a/test/__tests__/data/courier_router.json b/test/__tests__/data/courier_router.json deleted file mode 100644 index 882e9c92dd..0000000000 --- a/test/__tests__/data/courier_router.json +++ /dev/null @@ -1,136 +0,0 @@ -[ - { - "input": [ - { - "message": { - "type": "track", - "channel": "web", - "event": "Product Added", - "userId": "test123", - "properties": { - "price": 999, - "quantity": 1 - }, - "context": { - "traits": { - "firstName": "John", - "age": 27 - } - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - }, - "metadata": { - "jobId": 1 - } - }, - { - "message": { - "type": "track", - "channel": "web", - "event": "Product Added", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "destination": { - "Config": { - "sdkKey": "test-sdk-key", - "trackKnownUsers": false, - "nonInteraction": false, - "listen": false, - "trackCategorizedPages": true, - "trackNamedPages": true - } - }, - "metadata": { - "jobId": 2 - } - } - ], - "output": [ - { - "batched": false, - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.courier.com/inbound/rudderstack", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "type": "track", - "channel": "web", - "event": "Product Added", - "userId": "test123", - "properties": { - "price": 999, - "quantity": 1 - }, - "context": { - "traits": { - "firstName": "John", - "age": 27 - } - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - }, - "metadata": [ - { - "jobId": 1 - } - ], - "statusCode": 200 - }, - { - "batched": false, - "error": "apiKey is required", - "metadata": [ - { - "jobId": 2 - } - ], - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration" - }, - "statusCode": 400, - "destination": { - "Config": { - "sdkKey": "test-sdk-key", - "trackKnownUsers": false, - "nonInteraction": false, - "listen": false, - "trackCategorizedPages": true, - "trackNamedPages": true - } - } - } - ] - } -] diff --git a/test/__tests__/data/criteo_audience.json b/test/__tests__/data/criteo_audience.json deleted file mode 100644 index 22ba309d5f..0000000000 --- a/test/__tests__/data/criteo_audience.json +++ /dev/null @@ -1,1273 +0,0 @@ -[ - { - "description": "Adding email audienceType with batching", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com" - }, - { - "madid": "sample_madid", - "email": "alex@email.com" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34894", - "audienceType": "email" - }, - "ID": "sample_destinationId" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34894/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "email", - "identifiers": [ - "alex@email.com", - "amy@email.com", - "van@email.com", - "alex@email.com", - "amy@email.com" - ], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34894/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "email", - "identifiers": ["van@email.com"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Adding and removing madid audienceType with batching", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid" - }, - { - "madid": "sample_madid_1" - }, - { - "madid": "sample_madid_2" - }, - { - "madid": "sample_madid_10" - }, - { - "madid": "sample_madid_13" - }, - { - "madid": "sample_madid_11" - }, - { - "madid": "sample_madid_12" - } - ], - "remove": [ - { - "madid": "sample_madid_3" - }, - { - "madid": "sample_madid_4" - }, - { - "madid": "sample_madid_5" - }, - { - "madid": "sample_madid_6" - }, - { - "madid": "sample_madid_7" - }, - { - "madid": "sample_madid_8" - }, - { - "madid": "sample_madid_9" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "madid" - }, - "ID": "sample_destinationId" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "madid", - "identifiers": [ - "sample_madid", - "sample_madid_1", - "sample_madid_2", - "sample_madid_10", - "sample_madid_13" - ], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "madid", - "identifiers": ["sample_madid_11", "sample_madid_12"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "remove", - "identifierType": "madid", - "identifiers": [ - "sample_madid_3", - "sample_madid_4", - "sample_madid_5", - "sample_madid_6", - "sample_madid_7" - ], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "remove", - "identifierType": "madid", - "identifiers": ["sample_madid_8", "sample_madid_9"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Adding email audienceType", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34894", - "audienceType": "email" - }, - "ID": "sample_destinationId" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34894/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "email", - "identifiers": ["alex@email.com", "amy@email.com", "van@email.com"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Adding madid audienceType", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34895", - "audienceType": "madid" - }, - "ID": "sample_destinationId" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34895/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "madid", - "identifiers": ["sample_madid", "sample_madid_1", "sample_madid_2"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Adding and removing madid audienceType", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ], - "remove": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "madid" - }, - "ID": "sample_destinationId" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "madid", - "identifiers": ["sample_madid", "sample_madid_1", "sample_madid_2"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "remove", - "identifierType": "madid", - "identifiers": ["sample_madid"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Adding and removing identityLink audienceType", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ], - "remove": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "identityLink" - }, - "ID": "sample_destinationId" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "identityLink", - "identifiers": ["text.com", "yahoo.com", "abc.com"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "remove", - "identifierType": "identityLink", - "identifiers": ["text.com"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Adding and removing gum audienceType", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sample_gum1" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sample_gum2" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sample_gum3" - } - ], - "remove": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sample_gum3" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "gum", - "gumCallerId": "329739" - }, - "ID": "sample_destinationId" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "gum", - "identifiers": ["sample_gum1", "sample_gum2", "sample_gum3"], - "internalIdentifiers": false, - "gumCallerId": "329739" - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "remove", - "identifierType": "gum", - "identifiers": ["sample_gum3"], - "internalIdentifiers": false, - "gumCallerId": "329739" - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Unsupported message type", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "identify", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "sample_destinationId" - } - }, - "output": { - "error": "Event type identify is not supported" - } - }, - { - "description": "Properties is not present in the message", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "sample_destinationId" - }, - "message": { - "type": "audiencelist", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user@27", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "brand": "John Players", - "price": "15000", - "firstName": "Test", - "email": "test@rudderstack.com", - "userId": "user@27" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "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": "Message properties is not present. Aborting message." - } - }, - { - "description": "Payload without listData", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "sample_destinationId" - }, - "message": { - "event": "add_to_Cart", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user@27", - "channel": "web", - "properties": { - "brand": "Zara", - "price": "12000" - }, - "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": "listData is not present inside properties. Aborting message." - } - }, - { - "description": "Response is empty", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": {} - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "sample_destinationId" - } - }, - "output": { - "error": "Payload could not be populated" - } - }, - { - "description": "Message type not given", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "sample_destinationId" - }, - "message": { - "event": "add_to_Cart", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user@27", - "channel": "web", - "properties": { - "brand": "Zara", - "price": "12000" - }, - "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": "Message Type is not present. Aborting message." - } - }, - { - "description": "Gum caller ID is not present", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "destination": { - "Config": { - "audienceId": "34893", - "audienceType": "gum" - }, - "ID": "sample_destinationId" - }, - "message": { - "event": "add_to_Cart", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user@27", - "type": "audiencelist", - "channel": "web", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sample_gum1" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sample_gum2" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sample_gum3" - } - ] - }, - "brand": "Zara", - "price": "12000" - }, - "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": "gumCallerId is required for audience type gum" - } - }, - { - "description": "reuqired properties in listData are not present", - "input": { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34894", - "audienceType": "email" - }, - "ID": "sample_destinationId" - } - }, - "output": { - "error": "Required property for email type audience is not available in an object" - } - } -] diff --git a/test/__tests__/data/criteo_audience_router_input.json b/test/__tests__/data/criteo_audience_router_input.json deleted file mode 100644 index 25607ca936..0000000000 --- a/test/__tests__/data/criteo_audience_router_input.json +++ /dev/null @@ -1,111 +0,0 @@ -[ - { - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "iwehr83843" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - }, - "jobId": 1 - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "madid" - }, - "ID": "iwehr83843" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - }, - "jobId": 2 - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ], - "remove": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - } -] diff --git a/test/__tests__/data/criteo_audience_router_output.json b/test/__tests__/data/criteo_audience_router_output.json deleted file mode 100644 index 6c38b7460b..0000000000 --- a/test/__tests__/data/criteo_audience_router_output.json +++ /dev/null @@ -1,135 +0,0 @@ -[ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "email", - "identifiers": ["alex@email.com", "amy@email.com", "van@email.com"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 1, - "secret": { - "accessToken": "success_access_token" - } - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "iwehr83843" - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "madid", - "identifiers": ["sample_madid", "sample_madid_1", "sample_madid_2"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "remove", - "identifierType": "madid", - "identifiers": ["sample_madid"], - "internalIdentifiers": false - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 2, - "secret": { - "accessToken": "success_access_token" - } - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "madid" - }, - "ID": "iwehr83843" - } - } -] diff --git a/test/__tests__/data/customerio_input.json b/test/__tests__/data/customerio_input.json deleted file mode 100644 index f1f2774163..0000000000 --- a/test/__tests__/data/customerio_input.json +++ /dev/null @@ -1,4964 +0,0 @@ -[ - { - "message": { - "type": "track", - "event": { - "Phone": "123456677", - "Lead ID": "abc", - "Lead URL": "https://simplisafe.com/admin/store/leads/19635101/view", - "firstName": "david tenenbaum", - "Pro Install": "Yes", - "Property Type": "Home", - "Last Lead Source": "uyfasauya ", - "Saved System URL": "ihguwivkbjc" - }, - "userId": "", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "version": "x.x.x", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "path": "/rudderstack-sample-site/", - "title": "Keyboard Site", - "search": "", - "referrer": "$direct", - "initial_referrer": "$direct", - "referring_domain": "", - "initial_referring_domain": "" - }, - "locale": "en-US", - "screen": { - "width": 1512, - "height": 982, - "density": 2, - "innerWidth": 347, - "innerHeight": 778 - }, - "traits": { - "name": "john ", - "lead_id": "abc", - "firstName": "doe " - }, - "campaign": {}, - "sessionId": 123456 - }, - "rudderId": "rudder_id", - "timestamp": "2022-12-03T18:37:57.755Z", - "properties": {}, - "receivedAt": "2022-12-03T18:37:57.758Z", - "request_ip": "62.59.170.125", - "anonymousId": "149a7c9f-0778-45f6-b071-d92523cc8738", - "originalTimestamp": "2022-12-03T18:37:57.614Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "type": "identify", - "userId": "cio_1234", - "integrations": { - "All": true - }, - "traits": { - "email": "updated_email@example.com", - "id": "updated-id-value" - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com", - "dot.name": "Arnab Pal", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com", - "dot.name": "Arnab Pal", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "dot.name": "Arnab Pal", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com", - "dot.name": "Arnab Pal", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "anonymousId": "7e32188a4dab669f", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.torpedolabs.wynn.wscci.dev", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android", - "token": "abcxyz" - }, - "library": { - "name": "com.rudderlabs.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "event": "Application Installed", - "integrations": { - "All": true - }, - "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", - "properties": { - "review_id": "some_review_id", - "product_id": "some_product_id_a", - "rating": 2.0, - "review_body": "Some Review Body" - }, - "userId": "12345", - "originalTimestamp": "2020-01-09T10:01:53.558Z", - "type": "track", - "sentAt": "2020-01-09T10:02:03.257Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "anonymousId": "7e32188a4dab669f", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.torpedolabs.wynn.wscci.dev", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android", - "token": "abcxyz" - }, - "library": { - "name": "com.rudderlabs.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "event": "Application Uninstalled", - "integrations": { - "All": true - }, - "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", - "properties": { - "review_id": "some_review_id", - "product_id": "some_product_id_a", - "rating": 2.0, - "review_body": "Some Review Body" - }, - "userId": "12345", - "originalTimestamp": "2020-01-09T10:01:53.558Z", - "type": "track", - "sentAt": "2020-01-09T10:02:03.257Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "event": "Application Uninstalled", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Uninstalled", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Uninstalled", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Opened", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "sample_device_token" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Opened", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "sample_device_token" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Uninstalled", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "anonymousId": "7e32188a4dab669f", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.torpedolabs.wynn.wscci.dev", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android", - "token": "abcxyz" - }, - "library": { - "name": "com.rudderlabs.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "event": "Application Installed", - "integrations": { - "All": true - }, - "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", - "properties": { - "review_id": "some_review_id", - "product_id": "some_product_id_a", - "rating": 2.0, - "review_body": "Some Review Body" - }, - "userId": "12345", - "originalTimestamp": "2020-01-09T10:01:53.558Z", - "type": "track", - "sentAt": "2020-01-09T10:02:03.257Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "anonymousId": "7e32188a4dab669f", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.torpedolabs.wynn.wscci.dev", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android", - "token": "abcxyz" - }, - "library": { - "name": "com.rudderlabs.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "event": "Application Uninstalled", - "integrations": { - "All": true - }, - "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", - "properties": { - "review_id": "some_review_id", - "product_id": "some_product_id_a", - "rating": 2.0, - "review_body": "Some Review Body" - }, - "userId": "12345", - "originalTimestamp": "2020-01-09T10:01:53.558Z", - "type": "track", - "sentAt": "2020-01-09T10:02:03.257Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "event": "Application Uninstalled", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Uninstalled", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Opened", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "sample_device_token" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Opened", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "sample_device_token" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Uninstalled", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "screen", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "screen", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "anonymousId": "dummy-100-anon", - "channel": "mobile", - "context": { - "app": { - "build": "173", - "name": "MyWallSt Debug", - "namespace": "com.rubicoin.Invest", - "version": "6.2" - }, - "device": { - "attTrackingStatus": 0, - "id": "6fdb629d-4f18-4f3e-943a-3f6f482b331e", - "manufacturer": "Apple", - "model": "iPhone", - "name": "Ales' iPhone", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.0.19" - }, - "locale": "en-DE", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "14.8" - }, - "screen": { - "density": 3, - "height": 375, - "width": 812 - }, - "timezone": "Europe/Prague", - "traits": { - "anonymousId": "6fdb629d-4f18-4f3e-943a-3f6f482b331e", - "userId": "6a540d50-c4dc-4694-beca-d16de113a1c4-1618384106.8700438" - } - }, - "event": "Home: Viewed", - "integrations": { - "All": true - }, - "messageId": "1632314412-e724167f-13bd-455b-943d-dd765a7810fe", - "originalTimestamp": "2021-09-22T12:40:12.220Z", - "properties": {}, - "rudderId": "782cdb50-e2b9-45fc-9d22-07fe792dcfba", - "sentAt": "2021-09-22T12:40:14.453Z", - "type": "track", - "userId": "dummy-user-id-100" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "abc", - "apiKey": "xyz" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "dummy-100-anon", - "userId": "dummy-user-id-100", - "integrations": { - "All": true - }, - "traits": { - "email": "test@gmail.com", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "sources", - "context": { - "externalId": [ - { - "id": "xaviercharles@hotmail.com", - "identifierType": "email", - "type": "CUSTOMERIO-customers" - } - ], - "mappedToDestination": "true", - "sources": { - "batch_id": "3d6f7aa8-9b70-4759-970d-212e6714ad22", - "job_id": "1zDgnw7ZmHWR7gtY4niHYysL3zS/Syncher", - "job_run_id": "c5shebbh9jqg10k8d21g", - "task_id": "tt_10_rows", - "task_run_id": "c5shebbh9jqg10k8d220", - "version": "release.v1.6.8" - } - }, - "messageId": "d82a45e1-5a27-4c1d-af89-83bdbc6139d0", - "originalTimestamp": "2021-10-27T09:09:56.673Z", - "receivedAt": "2021-10-27T09:09:56.187Z", - "recordId": "3", - "request_ip": "10.1.85.177", - "rudderId": "5b19a81b-df60-4ccd-abf0-fcfe2b7db054", - "sentAt": "2021-10-27T09:09:56.673Z", - "timestamp": "2021-10-27T09:09:56.186Z", - "traits": { - "last_name": "xavier", - "first_name": "charles" - }, - "type": "identify", - "userId": "xaviercharles@hotmail.com" - }, - "destination": { - "ID": "1zgXcyv272oZA8HWqe7zInhJjPL", - "Name": "ere", - "DestinationDefinition": { - "ID": "1iVQr671C0E8MVpzvCEegsLM2J5", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU"], - "web": ["useNativeSDK"] - }, - "excludeKeys": [], - "includeKeys": ["apiKey", "siteID", "datacenterEU"], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative" - ], - "supportsVisualMapper": true, - "transformAt": "processor" - }, - "ResponseRules": null - }, - "Config": { - "apiKey": "a292d85ac36de15fc219", - "datacenter": "US", - "siteID": "eead090ab9e2e35004dc" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - { - "message": { - "channel": "sources", - "context": { - "externalId": [ - { - "id": "xaviercharles", - "identifierType": "id", - "type": "CUSTOMERIO-customers" - } - ], - "mappedToDestination": "true", - "sources": { - "batch_id": "3d6f7aa8-9b70-4759-970d-212e6714ad22", - "job_id": "1zDgnw7ZmHWR7gtY4niHYysL3zS/Syncher", - "job_run_id": "c5shebbh9jqg10k8d21g", - "task_id": "tt_10_rows", - "task_run_id": "c5shebbh9jqg10k8d220", - "version": "release.v1.6.8" - } - }, - "messageId": "d82a45e1-5a27-4c1d-af89-83bdbc6139d0", - "originalTimestamp": "2021-10-27T09:09:56.673Z", - "receivedAt": "2021-10-27T09:09:56.187Z", - "recordId": "3", - "request_ip": "10.1.85.177", - "rudderId": "5b19a81b-df60-4ccd-abf0-fcfe2b7db054", - "sentAt": "2021-10-27T09:09:56.673Z", - "traits": { - "last_name": "xavier", - "first_name": "charles" - }, - "type": "identify", - "userId": "xaviercharles" - }, - "destination": { - "ID": "1zgXcyv272oZA8HWqe7zInhJjPL", - "Name": "ere", - "DestinationDefinition": { - "ID": "1iVQr671C0E8MVpzvCEegsLM2J5", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU"], - "web": ["useNativeSDK"] - }, - "excludeKeys": [], - "includeKeys": ["apiKey", "siteID", "datacenterEU"], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative" - ], - "supportsVisualMapper": true, - "transformAt": "processor" - }, - "ResponseRules": null - }, - "Config": { - "apiKey": "a292d85ac36de15fc219", - "datacenter": "US", - "siteID": "eead090ab9e2e35004dc" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - }, - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "timestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:35:30.556+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:39:04.424+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "timestamp": "2022-01-10T20:39:03.955+05:30", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0 - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:41:30.970+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:44:52.784+05:30", - "request_ip": "[::1]", - "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "timestamp": "2022-01-10T10:00:26.513Z", - "receivedAt": "2022-01-10T20:47:36.180+05:30", - "request_ip": "[::1]", - "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "device_token_registered", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:49:05.795+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "device_token_registered", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:50:17.090+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "timestamp": "2022-01-10T20:50:16.621+05:30", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0 - } - }, - "event": "device_token_registered", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:52:19.147+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "timestamp": "2022-01-10T20:52:18.678+05:30", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "device_token_registered", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:53:43.680+05:30", - "request_ip": "[::1]", - "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "device_token_registered", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "receivedAt": "2022-01-10T20:55:03.845+05:30", - "request_ip": "[::1]", - "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "description": "check for ipados apple family and default it to ios", - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "ipados" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0 - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:41:30.970+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "description": "successful group call with identify action", - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.0-beta.2" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.0-beta.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "groupId": "group@1", - "integrations": { - "All": true - }, - "traits": { - "domainNames": "rudderstack.com", - "email": "help@rudderstack.com", - "name": "rudderstack", - "action": "identify" - }, - "type": "group", - "userId": "user@1" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "description": "successful group call with delete action", - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.0-beta.2" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.0-beta.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "groupId": "group@1", - "integrations": { - "All": true - }, - "traits": { - "domainNames": "rudderstack.com", - "email": "help@rudderstack.com", - "name": "rudderstack", - "action": "delete" - }, - "type": "group", - "userId": "user@1" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "description": "successful group call with add_relationships action", - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.0-beta.2" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.0-beta.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "test@rudderstack.com" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "groupId": "group@1", - "integrations": { - "All": true - }, - "traits": { - "domainNames": "rudderstack.com", - "email": "help@rudderstack.com", - "name": "rudderstack", - "action": "add_relationships" - }, - "type": "group", - "userId": "user@1" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "description": "successful group call with delete_relationships action", - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.0-beta.2" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.0-beta.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "test@rudderstack.com" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "groupId": "group@1", - "integrations": { - "All": true - }, - "traits": { - "domainNames": "rudderstack.com", - "email": "help@rudderstack.com", - "name": "rudderstack", - "action": "delete_relationships" - }, - "type": "group", - "userId": "user@1" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "description": "successful group call with userId and groupId as an integer", - "message": { - "type": "group", - "header": { - "content-type": "application/json; charset=utf-8" - }, - "sentAt": "2023-03-28T09:36:49.882Z", - "traits": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "userId": 432, - "channel": "server", - "context": { - "library": { - "name": "rudder-analytics-php", - "version": "2.0.1", - "consumer": "LibCurl" - } - }, - "groupId": 306, - "rudderId": "f5b46a12-2dab-4e24-a127-7316eed414fc", - "messageId": "7032394c-e813-4737-bf52-622dbcefe849", - "receivedAt": "2023-03-28T09:36:48.296Z", - "request_ip": "18.195.235.225", - "originalTimestamp": "2023-03-28T09:36:49.882Z" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "description": "successful group call with userId in email format ", - "message": { - "type": "group", - "header": { - "content-type": "application/json; charset=utf-8" - }, - "sentAt": "2023-03-28T09:36:49.882Z", - "traits": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "userId": "abc@xyz.com", - "channel": "server", - "context": { - "library": { - "name": "rudder-analytics-php", - "version": "2.0.1", - "consumer": "LibCurl" - } - }, - "groupId": 306, - "rudderId": "f5b46a12-2dab-4e24-a127-7316eed414fc", - "messageId": "7032394c-e813-4737-bf52-622dbcefe849", - "receivedAt": "2023-03-28T09:36:48.296Z", - "request_ip": "18.195.235.225", - "originalTimestamp": "2023-03-28T09:36:49.882Z" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "description": "successful group call with eu as data center", - "message": { - "type": "group", - "header": { - "content-type": "application/json; charset=utf-8" - }, - "sentAt": "2023-03-28T09:36:49.882Z", - "traits": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "userId": 432, - "channel": "server", - "context": { - "library": { - "name": "rudder-analytics-php", - "version": "2.0.1", - "consumer": "LibCurl" - } - }, - "groupId": 306, - "rudderId": "f5b46a12-2dab-4e24-a127-7316eed414fc", - "messageId": "7032394c-e813-4737-bf52-622dbcefe849", - "receivedAt": "2023-03-28T09:36:48.296Z", - "request_ip": "18.195.235.225", - "originalTimestamp": "2023-03-28T09:36:49.882Z" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], - "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": ["identify", "page", "screen", "track"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "EU", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } -] diff --git a/test/__tests__/data/customerio_output.json b/test/__tests__/data/customerio_output.json deleted file mode 100644 index 3a0b45ebb6..0000000000 --- a/test/__tests__/data/customerio_output.json +++ /dev/null @@ -1,1779 +0,0 @@ -[ - { - "message": "Event is a required field and should be a string" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "email": "updated_email@example.com", - "id": "updated-id-value" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/cio_1234", - "userId": "cio_1234", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "message": "apiKey not found in Configs" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "_timestamp": 1571043797, - "anonymous_id": "123456", - "city": "NY", - "state": "CA", - "street": "", - "prop1": "val1", - "prop2": "val2", - "country": "USA", - "postalCode": 712136, - "email": "test@gmail.com", - "dot.name": "Arnab Pal" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/123456", - "userId": "123456", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "message": "userId or email is not present", - "statusCode": 400 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "_timestamp": 1571043797, - "anonymous_id": "123456", - "city": "NY", - "country": "USA", - "dot.name": "Arnab Pal", - "email": "test@gmail.com", - "postalCode": 712136, - "prop1": "val1", - "prop2": "val2", - "state": "CA", - "street": "" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/test@gmail.com", - "userId": "123456", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "page", - "data": { - "url": "www.rudderlabs.com", - "path": "/test", - "search": "abc", - "referrer": "Rudder", - "title": "Test Page" - }, - "timestamp": 1571051718, - "name": "ApplicationLoaded" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "review_body": "Some Review Body", - "rating": 2, - "review_id": "some_review_id", - "last_used": 1578564113, - "platform": "android", - "id": "abcxyz", - "product_id": "some_product_id_a" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices/abcxyz", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices/somel", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/devices/somel", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - { - "message": "userId/email or device_token not present", - "statusCode": 400 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "id": "somel", - "last_used": 1571051718, - "platform": "mobile", - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/devices", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "name": "Application Installed", - "timestamp": 1571051718, - "type": "event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "last_used": 1571051718, - "user_time_spent": 50000, - "platform": "mobile", - "id": "somel" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "Application Installed" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "Application Opened" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "last_used": 1571051718, - "user_time_spent": 50000, - "platform": "mobile", - "id": "sample_device_token" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices/sample_device_token", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "_timestamp": 1571043797, - "anonymous_id": "123456", - "city": "NY", - "state": "CA", - "street": "", - "prop1": "val1", - "prop2": "val2", - "country": "USA", - "postalCode": 712136, - "email": "test@gmail.com" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/123456", - "userId": "123456", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "page", - "data": { - "url": "www.rudderlabs.com", - "path": "/test", - "search": "abc", - "referrer": "Rudder", - "title": "Test Page" - }, - "timestamp": 1571051718, - "name": "ApplicationLoaded" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/test@rudderstack.com/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "review_body": "Some Review Body", - "rating": 2, - "review_id": "some_review_id", - "last_used": 1578564113, - "platform": "android", - "id": "abcxyz", - "product_id": "some_product_id_a" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices/abcxyz", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices/somel", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - { - "message": "userId/email or device_token not present", - "statusCode": 400 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "id": "somel", - "last_used": 1571051718, - "platform": "mobile", - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/test@rudderstack.com/devices", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "data": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "name": "Application Installed", - "timestamp": 1571051718, - "type": "event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "last_used": 1571051718, - "user_time_spent": 50000, - "platform": "mobile", - "id": "somel" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "Application Installed" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "Application Opened" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "last_used": 1571051718, - "user_time_spent": 50000, - "platform": "mobile", - "id": "sample_device_token" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices/sample_device_token", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/events", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50 - }, - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "name": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-s", - "type": "event", - "timestamp": 1571051718 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/events", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50 - }, - "name": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", - "type": "event", - "timestamp": 1571051718 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/events", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "name": "Viewed https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-q Screen", - "type": "event", - "timestamp": 1571051718 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/events", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "name": "Viewed https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/ Screen", - "type": "event", - "timestamp": 1571051718 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/dummy-user-id-100/events", - "headers": { - "Authorization": "Basic YWJjOnh5eg==" - }, - "params": {}, - "body": { - "JSON": { - "data": {}, - "name": "Home: Viewed", - "type": "event", - "timestamp": 1632314412 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "dummy-user-id-100", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track-eu.customer.io/api/v1/customers/dummy-user-id-100", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "", - "email": "test@gmail.com", - "_timestamp": 1571043797, - "anonymous_id": "dummy-100-anon" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "dummy-user-id-100", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/xaviercharles@hotmail.com", - "headers": { - "Authorization": "Basic ZWVhZDA5MGFiOWUyZTM1MDA0ZGM6YTI5MmQ4NWFjMzZkZTE1ZmMyMTk=" - }, - "params": {}, - "body": { - "JSON": { - "last_name": "xavier", - "first_name": "charles", - "email": "xaviercharles@hotmail.com", - "_timestamp": 1635325796 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "xaviercharles@hotmail.com", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/xaviercharles", - "headers": { - "Authorization": "Basic ZWVhZDA5MGFiOWUyZTM1MDA0ZGM6YTI5MmQ4NWFjMzZkZTE1ZmMyMTk=" - }, - "params": {}, - "body": { - "JSON": { - "last_name": "xavier", - "first_name": "charles", - "id": "xaviercharles", - "_timestamp": 1635325796 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "xaviercharles", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/events", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "from_background": false - }, - "name": "Application Opened", - "type": "event", - "timestamp": 1641827343 - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/events", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "from_background": false - }, - "name": "device_token_registered", - "type": "event", - "timestamp": 1641828016 - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641828138 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "identify", - "attributes": { - "name": "rudderstack", - "email": "help@rudderstack.com", - "domainNames": "rudderstack.com" - }, - "identifiers": { - "object_id": "group@1", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "user@1" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "user@1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "delete", - "attributes": { - "name": "rudderstack", - "email": "help@rudderstack.com", - "domainNames": "rudderstack.com" - }, - "identifiers": { - "object_id": "group@1", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "user@1" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "user@1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "add_relationships", - "attributes": { - "name": "rudderstack", - "email": "help@rudderstack.com", - "domainNames": "rudderstack.com" - }, - "identifiers": { - "object_id": "group@1", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "user@1" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "user@1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "delete_relationships", - "attributes": { - "name": "rudderstack", - "email": "help@rudderstack.com", - "domainNames": "rudderstack.com" - }, - "identifiers": { - "object_id": "group@1", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "user@1" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "user@1", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "identify", - "attributes": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "identifiers": { - "object_id": "306", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "432" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": 432, - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "identify", - "attributes": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "identifiers": { - "object_id": "306", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "email": "abc@xyz.com" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "abc@xyz.com", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track-eu.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "identify", - "attributes": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "identifiers": { - "object_id": "306", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "432" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": 432, - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "page", - "data": { - "url": "www.rudderlabs.com", - "path": "/test", - "search": "abc", - "referrer": "Rudder", - "title": "Test Page" - }, - "timestamp": 1571051718, - "name": "www.rudderlabs.com" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "page", - "data": { - "path": "/test", - "search": "abc", - "referrer": "Rudder", - "title": "Test Page" - }, - "timestamp": 1571051718 - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "page", - "timestamp": 1571051718 - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - } -] diff --git a/test/__tests__/data/customerio_router_input.json b/test/__tests__/data/customerio_router_input.json deleted file mode 100644 index 68861a1fa0..0000000000 --- a/test/__tests__/data/customerio_router_input.json +++ /dev/null @@ -1,233 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com", - "dot.name": "Arnab Pal", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "datacenterEU": false, - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "datacenterEU": false, - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.0-beta.2" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.0-beta.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "groupId": "group@1", - "integrations": { - "All": true - }, - "traits": { - "domainNames": "rudderstack.com", - "email": "help@rudderstack.com", - "name": "rudderstack", - "action": "identify" - }, - "type": "group", - "userId": "user@1" - }, - "metadata": { - "jobId": 3 - }, - "destination": { - "Config": { - "datacenterEU": false, - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.0-beta.2" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.0-beta.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "groupId": "group@1", - "integrations": { - "All": true - }, - "traits": { - "domainNames": "rudderstack.com", - "email": "help@rudderstack.com", - "name": "rudderstack", - "action": "delete" - }, - "type": "group", - "userId": "user@1" - }, - "metadata": { - "jobId": 4 - }, - "destination": { - "Config": { - "datacenterEU": false, - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } -] diff --git a/test/__tests__/data/customerio_router_output.json b/test/__tests__/data/customerio_router_output.json deleted file mode 100644 index 7208e64cbd..0000000000 --- a/test/__tests__/data/customerio_router_output.json +++ /dev/null @@ -1,175 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/123456", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "anonymous_id": "123456", - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "", - "email": "test@gmail.com", - "dot.name": "Arnab Pal", - "prop1": "val1", - "prop2": "val2", - "_timestamp": 1571043797 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456", - "statusCode": 200 - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "datacenterEU": false, - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "name": "ApplicationLoaded", - "type": "page", - "timestamp": 1571051718 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345", - "statusCode": 200 - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "datacenterEU": false, - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "FORM": {}, - "XML": {}, - "JSON": { - "batch": [ - { - "type": "object", - "action": "identify", - "attributes": { - "name": "rudderstack", - "email": "help@rudderstack.com", - "domainNames": "rudderstack.com" - }, - "identifiers": { - "object_id": "group@1", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "user@1" - } - } - ] - }, - { - "type": "object", - "action": "delete", - "attributes": { - "name": "rudderstack", - "email": "help@rudderstack.com", - "domainNames": "rudderstack.com" - }, - "identifiers": { - "object_id": "group@1", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "user@1" - } - } - ] - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 3 - }, - { - "jobId": 4 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "datacenterEU": false, - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } -] diff --git a/test/__tests__/data/facebook_offline_conversions.json b/test/__tests__/data/facebook_offline_conversions.json deleted file mode 100644 index 2e205bc185..0000000000 --- a/test/__tests__/data/facebook_offline_conversions.json +++ /dev/null @@ -1,1393 +0,0 @@ -[ - { - "description": "No Message type", - "input": { - "message": { - "channel": "web", - "context": { - "traits": { - "age": 23, - "email": "adc@test.com", - "firstname": "Test", - "birthday": "2022-05-13T12:51:01.470Z" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "Product Searched", - "originalTimestamp": "2020-09-22T14:42:44.724Z", - "timestamp": "2022-09-22T20:12:44.757+05:30", - "userId": "user@1" - }, - "destination": { - "Config": { - "accessToken": "ABC..." - } - }, - "metadata": { - "secret": { - "access_token": "ABC" - } - } - }, - "output": { - "error": "Message Type is not present. Aborting message." - } - }, - { - "description": "Unsupported Event type", - "input": { - "message": { - "channel": "web", - "context": { - "traits": { - "age": 23, - "email": "adc@test.com", - "firstname": "Test", - "birthday": "2022-05-13T12:51:01.470Z" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "Product Searched", - "type": "identify", - "originalTimestamp": "2020-09-22T14:42:44.724Z", - "timestamp": "2022-09-22T20:12:44.757+05:30", - "userId": "user@1" - }, - "destination": { - "Config": { - "accessToken": "ABC..." - } - } - }, - "output": { - "error": "Message type identify not supported." - } - }, - { - "description": "Event is not mapped with standard event", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "abc": "1234" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "product searched", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - }, - { - "from": "AddToWishlist", - "to": "506289934669334" - } - ] - } - } - }, - "output": { - "error": "Please Map Your Standard Events With Event Set Ids" - } - }, - { - "description": "Standard event is not mapped with event set id", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "abc": "1234" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Button Clicked", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ] - } - } - }, - "output": { - "error": "Please Map Your Standard Events With Event Set Ids" - } - }, - { - "description": "Track Call With 1:1 Mapping", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Product Viewed", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - }, - "output": [ - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"},\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"order_id\":\"5241735\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Product Viewed\",\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"5241735\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"ViewContent\",\"content_type\":\"product\"}]", - "upload_tag": "rudderstack" - } - ] - }, - { - "description": "Track Call With 1:M Mapping", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Product Searched", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - }, - "output": [ - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"},\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"order_id\":\"5241735\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Product Searched\",\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"5241735\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"Search\",\"content_type\":\"product\"}]", - "upload_tag": "rudderstack" - }, - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"},\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"order_id\":\"5241735\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Product Searched\",\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"5241735\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"Search\",\"content_type\":\"product\"}]", - "upload_tag": "rudderstack" - } - ] - }, - { - "description": "Track Call With Multiplexing", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Product Searched", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - }, - "output": [ - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"},\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"order_id\":\"5241735\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Product Searched\",\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"5241735\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"ViewContent\",\"content_type\":\"product\"}]", - "upload_tag": "rudderstack" - }, - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"},\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"order_id\":\"5241735\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Product Searched\",\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"5241735\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"ViewContent\",\"content_type\":\"product\"}]", - "upload_tag": "rudderstack" - }, - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"},\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"order_id\":\"5241735\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Product Searched\",\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"5241735\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"ViewContent\",\"content_type\":\"product\"}]", - "upload_tag": "rudderstack" - } - ] - }, - { - "description": "Track Call With Different Upload Tag And Multiplexing", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Product Searched", - "properties": { - "upload_tag": "test campaign", - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - }, - "output": [ - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"},\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"order_id\":\"5241735\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Product Searched\",\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"5241735\",\"upload_tag\":\"test campaign\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"ViewContent\",\"content_type\":\"product\"}]", - "upload_tag": "test campaign" - }, - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"},\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"order_id\":\"5241735\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Product Searched\",\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"5241735\",\"upload_tag\":\"test campaign\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"ViewContent\",\"content_type\":\"product\"}]", - "upload_tag": "test campaign" - }, - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"},\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"order_id\":\"5241735\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Product Searched\",\"event_time\":1663761919,\"currency\":\"GBP\",\"value\":31.98,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"5241735\",\"upload_tag\":\"test campaign\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"ViewContent\",\"content_type\":\"product\"}]", - "upload_tag": "test campaign" - } - ] - }, - { - "description": "Track Call With All Possible Traits", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com", - "birthday": "2005-01-01T23:28:56.782Z", - "firstName": "test", - "name": "test rudderlabs", - "address": { - "city": "kalkata", - "state": "west bangal", - "country": "india", - "zip": "123456" - }, - "phone": "9886775586", - "gender": "male" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - }, - "device": { - "advertisingId": "apple@123" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Cart Checkout", - "properties": { - "upload_tag": "test campaign", - "order_id": "485893487985894998", - "value": 100, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "IND", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - }, - "output": [ - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"doby\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"dobm\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"dobd\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"phone\":[\"74a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615\"],\"gen\":\"0d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf\",\"fn\":\"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08\",\"ct\":\"375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0\",\"zip\":[\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\"],\"madid\":\"c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"ln\":\"dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251\"},\"event_time\":1663761919,\"currency\":\"IND\",\"value\":100,\"order_id\":\"485893487985894998\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Cart Checkout\",\"event_time\":1663761919,\"currency\":\"IND\",\"value\":100,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"phone\":\"74a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615\",\"gen\":\"0d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf\",\"fn\":\"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08\",\"ct\":\"375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0\",\"zip\":\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\",\"madid\":\"c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"485893487985894998\",\"upload_tag\":\"test campaign\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"ln\":\"dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"AddToCart\",\"content_type\":\"product\"}]", - "upload_tag": "test campaign" - } - ] - }, - { - "description": "Track Call with hashing is disabled", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com", - "birthday": "2005-01-01T23:28:56.782Z", - "firstName": "test", - "name": "test rudderlabs", - "address": { - "city": "kalkata", - "state": "west bangal", - "country": "india", - "zip": "123456" - }, - "phone": "9886775586", - "gender": "male" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - }, - "device": { - "advertisingId": "apple@123" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Cart Checkout", - "properties": { - "upload_tag": "test campaign", - "order_id": "485893487985894998", - "value": 100, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "IND", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": false - } - } - }, - "output": [ - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"doby\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"dobm\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"dobd\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"extern_id\":\"user@1\",\"email\":[\"test@rudderstack.com\"],\"phone\":[\"9886775586\"],\"gen\":\"male\",\"fn\":\"test\",\"ct\":\"kalkata\",\"zip\":[\"123456\"],\"madid\":\"apple@123\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"ln\":\"rudderlabs\"},\"event_time\":1663761919,\"currency\":\"IND\",\"value\":100,\"order_id\":\"485893487985894998\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Cart Checkout\",\"event_time\":1663761919,\"currency\":\"IND\",\"value\":100,\"email\":\"test@rudderstack.com\",\"phone\":\"9886775586\",\"gen\":\"male\",\"fn\":\"test\",\"ct\":\"kalkata\",\"zip\":\"123456\",\"madid\":\"apple@123\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"485893487985894998\",\"upload_tag\":\"test campaign\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"ln\":\"rudderlabs\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"AddToCart\",\"content_type\":\"product\"}]", - "upload_tag": "test campaign" - } - ] - }, - { - "description": "Track Call with custom content type", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com", - "birthday": "2005-01-01T23:28:56.782Z", - "firstName": "test", - "name": "test rudderlabs", - "address": { - "city": "kalkata", - "state": "west bangal", - "country": "india", - "zip": "123456" - }, - "phone": "9886775586", - "gender": "male" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - }, - "device": { - "advertisingId": "apple@123" - } - }, - "integrations": { - "FacebookOfflineConversions": { - "contentType": "e-commerce" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Cart Checkout", - "properties": { - "upload_tag": "test campaign", - "order_id": "485893487985894998", - "value": 100, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "IND", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "categoryToContent": [ - { - "from": "", - "to": "" - } - ], - "isHashRequired": true - } - } - }, - "output": [ - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"doby\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"dobm\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"dobd\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"phone\":[\"74a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615\"],\"gen\":\"0d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf\",\"fn\":\"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08\",\"ct\":\"375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0\",\"zip\":[\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\"],\"madid\":\"c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"ln\":\"dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251\"},\"event_time\":1663761919,\"currency\":\"IND\",\"value\":100,\"order_id\":\"485893487985894998\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Cart Checkout\",\"event_time\":1663761919,\"currency\":\"IND\",\"value\":100,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"phone\":\"74a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615\",\"gen\":\"0d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf\",\"fn\":\"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08\",\"ct\":\"375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0\",\"zip\":\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\",\"madid\":\"c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"485893487985894998\",\"upload_tag\":\"test campaign\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"ln\":\"dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"AddToCart\",\"content_type\":\"e-commerce\"}]", - "upload_tag": "test campaign" - } - ] - } -] diff --git a/test/__tests__/data/facebook_offline_conversions_router.json b/test/__tests__/data/facebook_offline_conversions_router.json deleted file mode 100644 index e3cbd17951..0000000000 --- a/test/__tests__/data/facebook_offline_conversions_router.json +++ /dev/null @@ -1,664 +0,0 @@ -[ - { - "description": "Router Test Case 1", - "input": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "abc": "1234" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "product searched", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - }, - { - "from": "AddToWishlist", - "to": "506289934669334" - } - ], - "isHashRequired": true - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "abc": "1234" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Button Clicked", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com", - "birthday": "2005-01-01T23:28:56.782Z", - "firstName": "test", - "lastName": "rudderstack", - "initial": { - "firstName": "rudderlabs" - }, - "address": { - "city": "kalkata", - "state": "west bangal", - "country": "india", - "zip": "123456" - }, - "phone": "9886775586", - "gender": "male" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - }, - "device": { - "advertisingId": "apple@123" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Cart Checkout", - "properties": { - "upload_tag": "test campaign", - "order_id": "485893487985894998", - "value": 100, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "IND", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "metadata": { - "jobId": 3 - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - } - ], - "output": [ - { - "error": "Please Map Your Standard Events With Event Set Ids", - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration" - }, - "statusCode": 400, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - }, - { - "from": "AddToWishlist", - "to": "506289934669334" - } - ], - "isHashRequired": true - } - } - }, - { - "error": "Please Map Your Standard Events With Event Set Ids", - "metadata": [ - { - "jobId": 2 - } - ], - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration" - }, - "batched": false, - "statusCode": 400, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - }, - { - "metadata": [ - { - "jobId": 3 - } - ], - "data": [ - { - "access_token": "ABC...", - "data": "[{\"match_keys\":{\"doby\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"dobm\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"dobd\":\"f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6\",\"extern_id\":\"user@1\",\"email\":[\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\"],\"phone\":[\"74a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615\"],\"gen\":\"0d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf\",\"ln\":\"7fb35d4777487797615cfa7c57724a47ba99152485600ccdb98e3871a6d05b21\",\"fn\":\"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08\",\"ct\":\"375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0\",\"zip\":[\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\"],\"madid\":\"c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"},\"event_time\":1663761919,\"currency\":\"IND\",\"value\":100,\"order_id\":\"485893487985894998\",\"contents\":[{\"id\":\"product-bacon-jam\",\"quantity\":1,\"brand\":\"\",\"category\":\"Merch\"},{\"id\":\"product-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"},{\"id\":\"offer-t-shirt\",\"quantity\":1,\"brand\":\"Levis\",\"category\":\"Merch\"}],\"custom_data\":{\"extern_id\":\"user@1\",\"event_name\":\"Cart Checkout\",\"event_time\":1663761919,\"currency\":\"IND\",\"value\":100,\"email\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"phone\":\"74a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615\",\"gen\":\"0d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf\",\"ln\":\"7fb35d4777487797615cfa7c57724a47ba99152485600ccdb98e3871a6d05b21\",\"fn\":\"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08\",\"ct\":\"375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0\",\"zip\":\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\",\"madid\":\"c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67\",\"contents\":[{\"id\":\"product-bacon-jam\",\"category\":\"Merch\",\"brand\":\"\"},{\"id\":\"product-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"},{\"id\":\"offer-t-shirt\",\"category\":\"Merch\",\"brand\":\"Levis\"}],\"order_id\":\"485893487985894998\",\"upload_tag\":\"test campaign\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\",\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"shipping\":4,\"coupon\":\"APPARELSALE\"},\"event_source_url\":\"http://0.0.0.0:1112/tests/html/ecomm_test.html\",\"event_name\":\"AddToCart\",\"content_type\":\"product\"}]", - "upload_tag": "test campaign" - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - } - ] - } -] diff --git a/test/__tests__/data/facebook_pixel_input.json b/test/__tests__/data/facebook_pixel_input.json deleted file mode 100644 index 1c054f48f9..0000000000 --- a/test/__tests__/data/facebook_pixel_input.json +++ /dev/null @@ -1,4092 +0,0 @@ -[ - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "channel": "mobile", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": " aBc@gmail.com ", - "address": { - "zip": 1234 - }, - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "limitedDataUsage": true, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "removeExternalId": true, - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": " aBc@gmail.com ", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "group" - }, - "destination": { - "Config": { - "limitedDataUsage": true, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Rudder Test", - "email": "abc@gmail.com", - "firstname": "Rudder", - "lastname": "Test", - "phone": 9000000000, - "gender": 1 - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": true, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Rudder Test", - "email": "abc@gmail.com", - "phone": 9000000000, - "address": { - "postalCode": 1234 - }, - "gender": "female" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": true, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0, - "email": "abc@gmail.com" - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0, - "email": "abc@gmail.com" - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "email" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0, - "email": "abc@gmail.com", - "phone": 9000000000 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "phone", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "email" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0, - "email": "abc@gmail.com", - "phone": 9000000000 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "phone", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "email" - } - ] - }, - "Enabled": true - } - }, - { - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/abc", - "referrer": "xyz", - "search": "def", - "title": "ghi", - "url": "jkl" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "phone", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "email" - } - ] - }, - "Enabled": true - } - }, - { - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/abc", - "referrer": "xyz", - "search": "def", - "title": "ghi", - "url": "jkl" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "phone", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "email" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product list viewed", - "properties": { - "phone": 9000000000, - "email": "abc@gmail.com", - "category": "cat 1", - "list_id": "1234", - "filters": [ - { - "type": "department", - "value": "beauty" - }, - { - "type": "price", - "value": "under" - } - ], - "sorts": [ - { - "type": "price", - "value": "desc" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "phone", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "email" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product list viewed", - "properties": { - "phone": 9000000000, - "email": "abc@gmail.com", - "category": "cat 1", - "list_id": "1234", - "filters": [ - { - "type": "department", - "value": "beauty" - }, - { - "type": "price", - "value": "under" - } - ], - "sorts": [ - { - "type": "price", - "value": "desc" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product list viewed", - "properties": { - "email": "abc@gmail.com", - "quantity": 2, - "category": "cat 1", - "list_id": "1234", - "contentName": "nutrition", - "value": 18.9, - "filters": [ - { - "type": "department", - "value": "beauty" - }, - { - "type": "price", - "value": "under" - } - ], - "sorts": [ - { - "type": "price", - "value": "desc" - } - ], - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "productDimension": "My Product Dimension", - "productMetric": "My Product Metric", - "position": 10 - }, - { - "product_id": "507f1f77bcf86cdef799439011", - "productDimension": "My Product Dimension1", - "productMetric": "My Product Metric1", - "position": -10 - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "my product list", - "properties": { - "email": "abc@gmail.com", - "quantity": 2, - "category": "cat 1", - "list_id": "1234", - "filters": [ - { - "type": "department", - "value": "beauty" - }, - { - "type": "price", - "value": "under" - } - ], - "sorts": [ - { - "type": "price", - "value": "desc" - } - ], - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "productDimension": "My Product Dimension", - "productMetric": "My Product Metric", - "position": 10 - }, - { - "product_id": "507f1f77bcf86cdef799439011", - "productDimension": "My Product Dimension1", - "productMetric": "My Product Metric1", - "position": -10 - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "removeExternalId": false, - "eventsToEvents": [ - { - "from": "My product list", - "to": "ViewContent" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "list_id" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product viewed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "clothing", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "removeExternalId": true, - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product added", - "properties": { - "currency": "CAD", - "quantity": 1, - "value": 24.75, - "category": "cat 1", - "id": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "removeExternalId": false, - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.value", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order completed", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "revenue": 12.24, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "contentName": "all about nutrition", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "checkout started", - "properties": { - "currency": "CAD", - "category": "clothing", - "contentName": "abc", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 1, - "price": 24.75, - "name": "my product 2", - "sku": "p-299" - } - ], - "step": 1, - "paymentMethod": "Visa", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "contentName" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "dataProcessingOptions": [["LDU"], 1, 1000], - "fbc": "fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890", - "fbp": "fb.1.1554763741205.234567890", - "fb_login_id": "fb_id", - "lead_id": "lead_id", - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "limitedDataUSage": true, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "context": { - "dataProcessingOptions": [["LDU"], 1, 1000], - "fbc": "fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890", - "fbp": "fb.1.1554763741205.234567890", - "fb_login_id": "fb_id", - "lead_id": "lead_id", - "device": { - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "manufacturer": "Xiaomi", - "model": "Redmi 6", - "name": "xiaomi" - }, - "network": { - "carrier": "Banglalink" - }, - "os": { - "name": "android", - "version": "8.1.0" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "limitedDataUSage": false, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "products searched", - "properties": { - "product_id": "p-298", - "quantity": 2, - "price": 18.9, - "category": "health", - "value": 18.9, - "query": "HDMI cable" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "products searched", - "properties": { - "query": "HDMI cable" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "testDestination": true, - "testEventCode": "TEST1001", - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/abc", - "referrer": "xyz", - "search": "def", - "title": "ghi", - "url": "jkl" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "standardPageCall": true, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "phone", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "url" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "email" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "track page", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "limitedDataUsage": true, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "track page", - "to": "PageView" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "additional_bet_index" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "my product list", - "properties": { - "email": "abc@gmail.com", - "quantity": 2, - "category": "cat 1", - "list_id": "1234", - "filters": [ - { - "type": "department", - "value": "beauty" - }, - { - "type": "price", - "value": "under" - } - ], - "sorts": [ - { - "type": "price", - "value": "desc" - } - ], - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "productDimension": "My Product Dimension", - "productMetric": "My Product Metric", - "position": 10 - }, - { - "product_id": "507f1f77bcf86cdef799439011", - "productDimension": "My Product Dimension1", - "productMetric": "My Product Metric1", - "position": -10 - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "My product list", - "to": "Schedule" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "list_id" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "limitedDataUsage": true, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product added", - "properties": { - "currency": "CAD", - "quantity": 1, - "value": "35.753", - "category": "cat 1", - "id": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.value", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product added", - "properties": { - "currency": "CAD", - "quantity": 1, - "value": "35.7A3", - "category": "cat 1", - "id": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.value", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product added", - "properties": { - "currency": "CAD", - "quantity": 1, - "value": "ABC", - "category": "cat 1", - "id": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.value", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order completed", - "properties": { - "category": ["clothing", "fishing"], - "order_id": "rudderstackorder1", - "total": 99.99, - "revenue": 12.24, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order completed", - "properties": { - "category": 100, - "order_id": "rudderstackorder1", - "total": 99.99, - "revenue": 12.24, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order completed", - "properties": { - "category": { - "category1": "1" - }, - "order_id": "rudderstackorder1", - "total": 99.99, - "revenue": 12.24, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "limitedDataUsage": true, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "spin_result", - "to": "Schedule" - }, - { - "to": "Schedule" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0 - }, - "timestamp": "2019-08-24T15:46:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "limitedDataUsage": true, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "spin_result", - "to": "Schedule" - }, - { - "to": "Schedule" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0 - }, - "originalTimestamp": "2019-04-16T15:50:51.693229+05:30", - "type": "track" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "validToken", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": true, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "products searched", - "properties": { - "query": { - "key1": "HDMI cable" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "products searched", - "properties": { - "query": 50 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "url": "https://theminimstory.com/collections/summer-of-pearls?utm_source=facebook&utm_medium=paidsocial&utm_campaign=carousel&utm_content=ad1-jul&fbclid=IwAR2SsDcjzd_TLZN-e93kxOeGBYO4pQ3AiyeXSheHW5emDeLw8uTvo6lTMPI" - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "checkout started", - "properties": { - "currency": "CAD", - "category": "clothing", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 1, - "price": 24.75, - "name": "my product 2", - "sku": "p-299" - } - ], - "step": 1, - "paymentMethod": "Visa", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "url": "https://theminimstory.com/collections/summer-of-pearls?utm_source=facebook&utm_medium=paidsocial&utm_campaign=carousel&utm_content=ad1-jul&fbclid=IwAR2SsDcjzd_TLZN-e93kxOeGBYO4pQ3AiyeXSheHW5emDeLw8uTvo6lTMPI" - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": { - "name": "checkout started" - }, - "properties": { - "currency": "CAD", - "category": "clothing", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 1, - "price": 24.75, - "name": "my product 2", - "sku": "p-299" - } - ], - "step": 1, - "paymentMethod": "Visa", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "url": "url in wrong format" - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "checkout started", - "properties": { - "currency": "CAD", - "category": "clothing", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 1, - "price": 24.75, - "name": "my product 2", - "sku": "p-299" - } - ], - "step": 1, - "paymentMethod": "Visa", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product viewed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "clothing", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true, - "Facebook_Pixel": { - "contentType": "sending dedicated content type for this particular payload" - } - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "removeExternalId": true, - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product viewed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "value": 18.9, - "name": "my product 1", - "category": "clothing", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "removeExternalId": true, - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.value", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order completed", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "revenue": 12.24, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "contentName": "all about nutrition", - "products": { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "categoryToContent": [ - { - "from": "clothing", - "to": "product" - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product list viewed", - "properties": { - "email": "abc@gmail.com", - "quantity": 2, - "category": "cat 1", - "list_id": "1234", - "contentName": "nutrition", - "value": 18.9, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "productDimension": "My Product Dimension", - "productMetric": "My Product Metric", - "position": 10 - }, - [ - { - "product_id": "507f1f77bcf86cdef799439011", - "productDimension": "My Product Dimension1", - "productMetric": "My Product Metric1", - "position": -10 - } - ] - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "custom", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "pixelId": "dummyPixelId", - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "custom", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": true - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "metadata": { - "jobId": 12 - }, - "destination": { - "secretConfig": {}, - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "valueFieldIdentifier": "properties.price", - "advancedMapping": false, - "whitelistPiiProperties": [], - "limitedDataUSage": false, - "accessToken": "dummyAccessToken", - "testDestination": false, - "testEventCode": "", - "standardPageCall": false, - "blacklistedEvents": [], - "whitelistedEvents": [], - "eventFilteringOption": "disable", - "removeExternalId": false, - "useUpdatedMapping": false, - "oneTrustCookieCategories": [], - "useNativeSDK": false, - "eventDelivery": false, - "eventDeliveryTS": 1686748039135 - }, - "liveEventsConfig": { - "eventDelivery": false, - "eventDeliveryTS": 1686748039135 - }, - "id": "destId1", - "workspaceId": "wsp2", - "transformations": [], - "isConnectionEnabled": true, - "isProcessorEnabled": true, - "name": "san-fb_pixel", - "enabled": true, - "deleted": false, - "createdAt": "2023-06-06T13:36:08.579Z", - "updatedAt": "2023-06-14T13:07:19.136Z", - "revisionId": "revId2", - "secretVersion": 3 - }, - "message": { - "type": "page", - "sentAt": "2019-09-01T15:46:51.000Z", - "userId": "user@19", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "version": "dev-snapshot", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:8888/", - "path": "/", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:8888/", - "referrer": "http://127.0.0.1:8888/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:8888", - "initial_referring_domain": "" - }, - "locale": "en-GB", - "screen": { - "width": 1728, - "height": 1117, - "density": 2, - "innerWidth": 547, - "innerHeight": 915 - }, - "traits": { - "name": false, - "source": "rudderstack" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "dev-snapshot" - }, - "campaign": {}, - "sessionId": 1687769234506, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" - }, - "rudderId": "6bbfd003-c074-4ee9-8674-c132ded9ff04", - "timestamp": "2019-09-01T15:46:51.000Z", - "properties": { - "url": "http://127.0.0.1:8888/", - "path": "/", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:8888/", - "referrer": "http://127.0.0.1:8888/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:8888", - "initial_referring_domain": "" - }, - "receivedAt": "2019-09-01T15:46:51.000Z", - "request_ip": "49.206.54.243", - "anonymousId": "700ab220-faad-4cdf-8484-63e4c6bce6fe", - "integrations": { - "All": true - }, - "originalTimestamp": "2019-09-01T15:46:51.000Z" - } - } -] diff --git a/test/__tests__/data/facebook_pixel_output.json b/test/__tests__/data/facebook_pixel_output.json deleted file mode 100644 index 3f433434f1..0000000000 --- a/test/__tests__/data/facebook_pixel_output.json +++ /dev/null @@ -1,772 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"spin_result\",\"event_time\":1567333011,\"action_source\":\"app\",\"custom_data\":{\"additional_bet_index\":0,\"value\":400}}" - ] - } - }, - "files": {} - }, - { - "error": "Message type group not supported", - "statusCode": 400, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "error": "For identify events, \"Advanced Mapping\" configuration must be enabled on the RudderStack dashboard", - "statusCode": 400, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"ph\":\"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579\",\"ln\":\"532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25\",\"fn\":\"2c2ccf28d806f6f9a34b67aa874d2113b7ac1444f1a4092541b8b75b84771747\",\"client_ip_address\":\"0.0.0.0\",\"client_user_agent\":\"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\"},\"event_name\":\"identify\",\"event_time\":1567333011,\"event_id\":\"84e26acc-56a5-4835-8233-591137fca468\",\"action_source\":\"website\"}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"ph\":\"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579\",\"ge\":\"252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\",\"client_ip_address\":\"0.0.0.0\",\"client_user_agent\":\"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\",\"fn\":\"2c2ccf28d806f6f9a34b67aa874d2113b7ac1444f1a4092541b8b75b84771747\",\"ln\":\"532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25\"},\"event_name\":\"identify\",\"event_time\":1567333011,\"event_id\":\"84e26acc-56a5-4835-8233-591137fca468\",\"action_source\":\"website\"}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\"},\"event_name\":\"spin_result\",\"event_time\":1567333011,\"action_source\":\"other\",\"custom_data\":{\"additional_bet_index\":0,\"value\":400}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\"},\"event_name\":\"spin_result\",\"event_time\":1567333011,\"action_source\":\"other\",\"custom_data\":{\"additional_bet_index\":0,\"email\":\"abc@gmail.com\",\"value\":400}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\"},\"event_name\":\"spin_result\",\"event_time\":1567333011,\"action_source\":\"other\",\"custom_data\":{\"additional_bet_index\":0,\"email\":\"abc@gmail.com\",\"value\":400}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\"},\"event_name\":\"spin_result\",\"event_time\":1567333011,\"action_source\":\"other\",\"custom_data\":{\"additional_bet_index\":0,\"email\":\"abc@gmail.com\",\"phone\":\"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579\",\"value\":400}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_ip_address\":\"0.0.0.0\",\"client_user_agent\":\"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\"},\"event_name\":\"Viewed page ApplicationLoaded\",\"event_time\":1567333011,\"event_source_url\":\"jkl\",\"event_id\":\"5e10d13a-bf9a-44bf-b884-43a9e591ea71\",\"action_source\":\"website\",\"custom_data\":{\"path\":\"/abc\",\"referrer\":\"xyz\",\"search\":\"def\",\"title\":\"ghi\",\"url\":\"jkl\"}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_ip_address\":\"0.0.0.0\",\"client_user_agent\":\"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\"},\"event_name\":\"Viewed a page\",\"event_time\":1567333011,\"event_source_url\":\"jkl\",\"event_id\":\"5e10d13a-bf9a-44bf-b884-43a9e591ea71\",\"action_source\":\"website\",\"custom_data\":{\"path\":\"/abc\",\"referrer\":\"xyz\",\"search\":\"def\",\"title\":\"ghi\",\"url\":\"jkl\"}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_user_agent\":\"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\"},\"event_name\":\"ViewContent\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"phone\":\"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579\",\"email\":\"abc@gmail.com\",\"category\":\"cat 1\",\"list_id\":\"1234\",\"filters[0].type\":\"department\",\"filters[0].value\":\"beauty\",\"filters[1].type\":\"price\",\"filters[1].value\":\"under\",\"sorts[0].type\":\"price\",\"sorts[0].value\":\"desc\",\"testDimension\":true,\"testMetric\":true,\"content_ids\":[\"cat 1\"],\"content_type\":\"product_group\",\"contents\":[{\"id\":\"cat 1\",\"quantity\":1}],\"content_category\":\"cat 1\",\"value\":0,\"currency\":\"USD\"}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_user_agent\":\"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\"},\"event_name\":\"ViewContent\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"category\":\"cat 1\",\"list_id\":\"1234\",\"filters[0].type\":\"department\",\"filters[0].value\":\"beauty\",\"filters[1].type\":\"price\",\"filters[1].value\":\"under\",\"sorts[0].type\":\"price\",\"sorts[0].value\":\"desc\",\"testDimension\":true,\"testMetric\":true,\"content_ids\":[\"cat 1\"],\"content_type\":\"product_group\",\"contents\":[{\"id\":\"cat 1\",\"quantity\":1}],\"content_category\":\"cat 1\",\"value\":0,\"currency\":\"USD\"}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_user_agent\":\"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\"},\"event_name\":\"ViewContent\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"quantity\":2,\"category\":\"cat 1\",\"list_id\":\"1234\",\"contentName\":\"nutrition\",\"value\":18.9,\"filters[0].type\":\"department\",\"filters[0].value\":\"beauty\",\"filters[1].type\":\"price\",\"filters[1].value\":\"under\",\"sorts[0].type\":\"price\",\"sorts[0].value\":\"desc\",\"products[0].product_id\":\"507f1f77bcf86cd799439011\",\"products[0].productDimension\":\"My Product Dimension\",\"products[0].productMetric\":\"My Product Metric\",\"products[0].position\":10,\"products[1].product_id\":\"507f1f77bcf86cdef799439011\",\"products[1].productDimension\":\"My Product Dimension1\",\"products[1].productMetric\":\"My Product Metric1\",\"products[1].position\":-10,\"testDimension\":true,\"testMetric\":true,\"content_ids\":[\"507f1f77bcf86cd799439011\",\"507f1f77bcf86cdef799439011\"],\"content_type\":\"product\",\"contents\":[{\"id\":\"507f1f77bcf86cd799439011\",\"quantity\":2},{\"id\":\"507f1f77bcf86cdef799439011\",\"quantity\":2}],\"content_category\":\"cat 1\",\"content_name\":\"nutrition\",\"currency\":\"USD\"}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_user_agent\":\"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\"},\"event_name\":\"ViewContent\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"quantity\":2,\"category\":\"cat 1\",\"list_id\":\"1234\",\"filters[0].type\":\"department\",\"filters[0].value\":\"beauty\",\"filters[1].type\":\"price\",\"filters[1].value\":\"under\",\"sorts[0].type\":\"price\",\"sorts[0].value\":\"desc\",\"products[0].product_id\":\"507f1f77bcf86cd799439011\",\"products[0].productDimension\":\"My Product Dimension\",\"products[0].productMetric\":\"My Product Metric\",\"products[0].position\":10,\"products[1].product_id\":\"507f1f77bcf86cdef799439011\",\"products[1].productDimension\":\"My Product Dimension1\",\"products[1].productMetric\":\"My Product Metric1\",\"products[1].position\":-10,\"testDimension\":true,\"testMetric\":true,\"content_ids\":[\"507f1f77bcf86cd799439011\",\"507f1f77bcf86cdef799439011\"],\"content_type\":\"product\",\"contents\":[{\"id\":\"507f1f77bcf86cd799439011\",\"quantity\":2},{\"id\":\"507f1f77bcf86cdef799439011\",\"quantity\":2}],\"content_category\":\"cat 1\",\"value\":0,\"currency\":\"USD\"}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"client_user_agent\":\"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\"},\"event_name\":\"ViewContent\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"currency\":\"CAD\",\"quantity\":1,\"price\":24.75,\"name\":\"my product 1\",\"category\":\"clothing\",\"sku\":\"p-298\",\"testDimension\":true,\"testMetric\":true,\"position\":4.5,\"content_ids\":[\"p-298\"],\"content_type\":\"product\",\"content_name\":\"my product 1\",\"content_category\":\"clothing\",\"value\":24.75,\"contents\":[{\"id\":\"p-298\",\"quantity\":1,\"item_price\":24.75}]}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_user_agent\":\"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\"},\"event_name\":\"AddToCart\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"currency\":\"CAD\",\"quantity\":1,\"value\":24.75,\"category\":\"cat 1\",\"id\":\"p-298\",\"testDimension\":true,\"testMetric\":true,\"position\":4.5,\"content_ids\":[\"p-298\"],\"content_type\":\"product\",\"content_name\":\"\",\"content_category\":\"cat 1\",\"contents\":[{\"id\":\"p-298\",\"quantity\":1}]}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"em\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"client_user_agent\":\"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\"},\"event_name\":\"Purchase\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"order_id\":\"rudderstackorder1\",\"total\":99.99,\"revenue\":12.24,\"shipping\":13.99,\"tax\":20.99,\"currency\":\"INR\",\"contentName\":\"all about nutrition\",\"products[0].quantity\":1,\"products[0].price\":24.75,\"products[0].name\":\"my product\",\"products[0].sku\":\"p-298\",\"products[1].quantity\":3,\"products[1].price\":24.75,\"products[1].name\":\"other product\",\"products[1].sku\":\"p-299\",\"content_ids\":[\"p-298\",\"p-299\"],\"content_type\":\"product\",\"value\":12.24,\"contents\":[{\"id\":\"p-298\",\"quantity\":1,\"item_price\":24.75},{\"id\":\"p-299\",\"quantity\":3,\"item_price\":24.75}],\"num_items\":2,\"content_name\":\"all about nutrition\"}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"em\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"client_user_agent\":\"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\"},\"event_name\":\"InitiateCheckout\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"currency\":\"CAD\",\"category\":\"clothing\",\"contentName\":\"abc\",\"products[0].quantity\":1,\"products[0].price\":24.75,\"products[0].name\":\"my product\",\"products[0].sku\":\"p-298\",\"products[1].quantity\":1,\"products[1].price\":24.75,\"products[1].name\":\"my product 2\",\"products[1].sku\":\"p-299\",\"step\":1,\"paymentMethod\":\"Visa\",\"testDimension\":true,\"testMetric\":true,\"content_category\":\"clothing\",\"content_ids\":[\"p-298\",\"p-299\"],\"content_type\":\"product\",\"value\":0,\"contents\":[{\"id\":\"p-298\",\"quantity\":1,\"item_price\":24.75},{\"id\":\"p-299\",\"quantity\":1,\"item_price\":24.75}],\"num_items\":2}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"fbc\":\"fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890\",\"fbp\":\"fb.1.1554763741205.234567890\",\"lead_id\":\"lead_id\",\"fb_login_id\":\"fb_id\"},\"event_name\":\"spin_result\",\"event_time\":1567333011,\"action_source\":\"other\",\"data_processing_options\":[\"LDU\"],\"data_processing_options_country\":1,\"data_processing_options_state\":1000,\"custom_data\":{\"additional_bet_index\":0,\"value\":400}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"fbc\":\"fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890\",\"fbp\":\"fb.1.1554763741205.234567890\",\"lead_id\":\"lead_id\",\"fb_login_id\":\"fb_id\"},\"event_name\":\"spin_result\",\"event_time\":1567333011,\"action_source\":\"other\",\"custom_data\":{\"additional_bet_index\":0,\"value\":400}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"em\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"client_user_agent\":\"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\"},\"event_name\":\"Search\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"product_id\":\"p-298\",\"quantity\":2,\"price\":18.9,\"category\":\"health\",\"value\":18.9,\"query\":\"HDMI cable\",\"content_ids\":[\"p-298\"],\"content_category\":\"health\",\"contents\":[{\"id\":\"p-298\",\"quantity\":2,\"item_price\":18.9}],\"search_string\":\"HDMI cable\",\"currency\":\"USD\"}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"em\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"client_user_agent\":\"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\"},\"event_name\":\"Search\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"query\":\"HDMI cable\",\"content_ids\":[],\"content_category\":\"\",\"value\":0,\"contents\":[],\"search_string\":\"HDMI cable\",\"currency\":\"USD\"}}" - ], - "test_event_code": "TEST1001" - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_ip_address\":\"0.0.0.0\",\"client_user_agent\":\"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\"},\"event_name\":\"PageView\",\"event_time\":1567333011,\"event_source_url\":\"jkl\",\"event_id\":\"5e10d13a-bf9a-44bf-b884-43a9e591ea71\",\"action_source\":\"website\",\"custom_data\":{\"path\":\"/abc\",\"referrer\":\"xyz\",\"search\":\"def\",\"title\":\"ghi\",\"url\":\"jkl\"}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\"},\"event_name\":\"PageView\",\"event_time\":1567333011,\"action_source\":\"other\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_user_agent\":\"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\"},\"event_name\":\"Schedule\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"quantity\":2,\"category\":\"cat 1\",\"list_id\":\"1234\",\"filters[0].type\":\"department\",\"filters[0].value\":\"beauty\",\"filters[1].type\":\"price\",\"filters[1].value\":\"under\",\"sorts[0].type\":\"price\",\"sorts[0].value\":\"desc\",\"products[0].product_id\":\"507f1f77bcf86cd799439011\",\"products[0].productDimension\":\"My Product Dimension\",\"products[0].productMetric\":\"My Product Metric\",\"products[0].position\":10,\"products[1].product_id\":\"507f1f77bcf86cdef799439011\",\"products[1].productDimension\":\"My Product Dimension1\",\"products[1].productMetric\":\"My Product Metric1\",\"products[1].position\":-10,\"testDimension\":true,\"testMetric\":true}}" - ] - } - }, - "files": {} - }, - { - "statusCode": 400, - "error": "'event' is required", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_user_agent\":\"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\"},\"event_name\":\"AddToCart\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"currency\":\"CAD\",\"quantity\":1,\"value\":35.75,\"category\":\"cat 1\",\"id\":\"p-298\",\"testDimension\":true,\"testMetric\":true,\"position\":4.5,\"content_ids\":[\"p-298\"],\"content_type\":\"product\",\"content_name\":\"\",\"content_category\":\"cat 1\",\"contents\":[{\"id\":\"p-298\",\"quantity\":1}]}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"client_user_agent\":\"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\"},\"event_name\":\"AddToCart\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"currency\":\"CAD\",\"quantity\":1,\"value\":35.7,\"category\":\"cat 1\",\"id\":\"p-298\",\"testDimension\":true,\"testMetric\":true,\"position\":4.5,\"content_ids\":[\"p-298\"],\"content_type\":\"product\",\"content_name\":\"\",\"content_category\":\"cat 1\",\"contents\":[{\"id\":\"p-298\",\"quantity\":1}]}}" - ] - } - }, - "files": {} - }, - { - "statusCode": 400, - "error": "Revenue could not be converted to number", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"em\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"client_user_agent\":\"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\"},\"event_name\":\"Purchase\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"category[0]\":\"clothing\",\"category[1]\":\"fishing\",\"order_id\":\"rudderstackorder1\",\"total\":99.99,\"revenue\":12.24,\"shipping\":13.99,\"tax\":20.99,\"currency\":\"INR\",\"products[0].quantity\":1,\"products[0].price\":24.75,\"products[0].name\":\"my product\",\"products[0].sku\":\"p-298\",\"products[1].quantity\":3,\"products[1].price\":24.75,\"products[1].name\":\"other product\",\"products[1].sku\":\"p-299\",\"content_category\":\"clothing,fishing\",\"content_ids\":[\"p-298\",\"p-299\"],\"content_type\":\"product\",\"value\":12.24,\"contents\":[{\"id\":\"p-298\",\"quantity\":1,\"item_price\":24.75},{\"id\":\"p-299\",\"quantity\":3,\"item_price\":24.75}],\"num_items\":2}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"em\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"client_user_agent\":\"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\"},\"event_name\":\"Purchase\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"category\":100,\"order_id\":\"rudderstackorder1\",\"total\":99.99,\"revenue\":12.24,\"shipping\":13.99,\"tax\":20.99,\"currency\":\"INR\",\"products[0].quantity\":1,\"products[0].price\":24.75,\"products[0].name\":\"my product\",\"products[0].sku\":\"p-298\",\"products[1].quantity\":3,\"products[1].price\":24.75,\"products[1].name\":\"other product\",\"products[1].sku\":\"p-299\",\"content_category\":\"100\",\"content_ids\":[\"p-298\",\"p-299\"],\"content_type\":\"product\",\"value\":12.24,\"contents\":[{\"id\":\"p-298\",\"quantity\":1,\"item_price\":24.75},{\"id\":\"p-299\",\"quantity\":3,\"item_price\":24.75}],\"num_items\":2}}" - ] - } - }, - "files": {} - }, - { - "statusCode": 400, - "error": "'properties.category' must be either be a string or an array", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\"},\"event_name\":\"Schedule\",\"event_time\":1567333011,\"action_source\":\"other\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0}}" - ] - } - }, - "files": {} - }, - { - "statusCode": 400, - "error": "Events must be sent within seven days of their occurrence or up to one minute in the future.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "statusCode": 400, - "error": "Events must be sent within seven days of their occurrence or up to one minute in the future.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "statusCode": 400, - "error": "'query' should be in string format only", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"em\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"client_user_agent\":\"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\"},\"event_name\":\"Search\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"query\":50,\"content_ids\":[],\"content_category\":\"\",\"value\":0,\"contents\":[],\"search_string\":50,\"currency\":\"USD\"}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"em\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"client_user_agent\":\"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\",\"fbc\":\"fb.1.1567333011693.IwAR2SsDcjzd_TLZN-e93kxOeGBYO4pQ3AiyeXSheHW5emDeLw8uTvo6lTMPI\"},\"event_name\":\"InitiateCheckout\",\"event_time\":1567333011,\"event_source_url\":\"https://theminimstory.com/collections/summer-of-pearls?utm_source=facebook&utm_medium=paidsocial&utm_campaign=carousel&utm_content=ad1-jul&fbclid=IwAR2SsDcjzd_TLZN-e93kxOeGBYO4pQ3AiyeXSheHW5emDeLw8uTvo6lTMPI\",\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"currency\":\"CAD\",\"category\":\"clothing\",\"products[0].quantity\":1,\"products[0].price\":24.75,\"products[0].name\":\"my product\",\"products[0].sku\":\"p-298\",\"products[1].quantity\":1,\"products[1].price\":24.75,\"products[1].name\":\"my product 2\",\"products[1].sku\":\"p-299\",\"step\":1,\"paymentMethod\":\"Visa\",\"testDimension\":true,\"testMetric\":true,\"content_category\":\"clothing\",\"content_ids\":[\"p-298\",\"p-299\"],\"content_type\":\"product\",\"value\":0,\"contents\":[{\"id\":\"p-298\",\"quantity\":1,\"item_price\":24.75},{\"id\":\"p-299\",\"quantity\":1,\"item_price\":24.75}],\"num_items\":2}}" - ] - } - }, - "files": {} - }, - { - "statusCode": 400, - "error": "event name should be string", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5\",\"em\":\"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd\",\"client_user_agent\":\"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\"},\"event_name\":\"InitiateCheckout\",\"event_time\":1567333011,\"event_source_url\":\"url in wrong format\",\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"currency\":\"CAD\",\"category\":\"clothing\",\"products[0].quantity\":1,\"products[0].price\":24.75,\"products[0].name\":\"my product\",\"products[0].sku\":\"p-298\",\"products[1].quantity\":1,\"products[1].price\":24.75,\"products[1].name\":\"my product 2\",\"products[1].sku\":\"p-299\",\"step\":1,\"paymentMethod\":\"Visa\",\"testDimension\":true,\"testMetric\":true,\"content_category\":\"clothing\",\"content_ids\":[\"p-298\",\"p-299\"],\"content_type\":\"product\",\"value\":0,\"contents\":[{\"id\":\"p-298\",\"quantity\":1,\"item_price\":24.75},{\"id\":\"p-299\",\"quantity\":1,\"item_price\":24.75}],\"num_items\":2}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"client_user_agent\":\"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\"},\"event_name\":\"ViewContent\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"currency\":\"CAD\",\"quantity\":1,\"price\":24.75,\"name\":\"my product 1\",\"category\":\"clothing\",\"sku\":\"p-298\",\"testDimension\":true,\"testMetric\":true,\"position\":4.5,\"content_ids\":[\"p-298\"],\"content_type\":\"sending dedicated content type for this particular payload\",\"content_name\":\"my product 1\",\"content_category\":\"clothing\",\"value\":24.75,\"contents\":[{\"id\":\"p-298\",\"quantity\":1,\"item_price\":24.75}]}}" - ] - } - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"client_user_agent\":\"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\"},\"event_name\":\"ViewContent\",\"event_time\":1567333011,\"event_id\":\"ec5481b6-a926-4d2e-b293-0b3a77c4d3be\",\"action_source\":\"website\",\"custom_data\":{\"currency\":\"CAD\",\"quantity\":1,\"price\":24.75,\"value\":18.9,\"name\":\"my product 1\",\"category\":\"clothing\",\"sku\":\"p-298\",\"testDimension\":true,\"testMetric\":true,\"position\":4.5,\"content_ids\":[\"p-298\"],\"content_type\":\"product\",\"content_name\":\"my product 1\",\"content_category\":\"clothing\",\"contents\":[{\"id\":\"p-298\",\"quantity\":1,\"item_price\":24.75}]}}" - ] - } - }, - "files": {} - }, - { - "error": "'properties.products' is not sent as an Array", - "statusCode": 400, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "error": "'properties.products[1]' is not an object", - "statusCode": 400, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "error": "Access token not found. Aborting", - "statusCode": 400, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration" - } - }, - { - "error": "Pixel Id not found. Aborting", - "statusCode": 400, - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration" - } - }, - { - "body": { - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"72fd46c9ecb386f6747664a3e1d524294a3d7a2c8ae4aeb22b1e578b75093635\",\"client_ip_address\":\"49.206.54.243\",\"client_user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"},\"event_name\":\"PageView\",\"event_time\":1567352811,\"event_source_url\":\"http://127.0.0.1:8888/\",\"action_source\":\"website\",\"custom_data\":{\"url\":\"http://127.0.0.1:8888/\",\"path\":\"/\",\"title\":\"Document\",\"search\":\"\",\"tab_url\":\"http://127.0.0.1:8888/\",\"referrer\":\"http://127.0.0.1:8888/\",\"initial_referrer\":\"$direct\",\"referring_domain\":\"127.0.0.1:8888\",\"initial_referring_domain\":\"\"}}" - ] - }, - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {} - }, - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=dummyAccessToken", - "files": {}, - "headers": {}, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - } -] diff --git a/test/__tests__/data/facebook_pixel_router_input.json b/test/__tests__/data/facebook_pixel_router_input.json deleted file mode 100644 index 76af88e447..0000000000 --- a/test/__tests__/data/facebook_pixel_router_input.json +++ /dev/null @@ -1,164 +0,0 @@ -[ - { - "message": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "destination_props": { - "Fb": { - "app_id": "RudderFbApp" - } - }, - "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" - }, - "screen": { - "height": "100", - "density": 50 - }, - "traits": { - "email": "abc@gmail.com", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } - }, - "event": "spin_result", - "integrations": { - "All": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "revenue": 400, - "additional_bet_index": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "type": "track" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "limitedDataUsage": true, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "removeExternalId": true, - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Rudder Test", - "email": "abc@gmail.com", - "firstname": "Test", - "lastname": "Test", - "phone": 9000000000, - "gender": "female" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": true, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - } -] diff --git a/test/__tests__/data/facebook_pixel_router_output.json b/test/__tests__/data/facebook_pixel_router_output.json deleted file mode 100644 index d407cd521a..0000000000 --- a/test/__tests__/data/facebook_pixel_router_output.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\"},\"event_name\":\"spin_result\",\"event_time\":1567333011,\"action_source\":\"other\",\"custom_data\":{\"additional_bet_index\":0,\"value\":400}}" - ] - } - }, - "files": {} - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "limitedDataUsage": true, - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "removeExternalId": true, - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": false, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "data": [ - "{\"user_data\":{\"external_id\":\"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92\",\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"ph\":\"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579\",\"ge\":\"252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111\",\"ln\":\"532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25\",\"fn\":\"2c2ccf28d806f6f9a34b67aa874d2113b7ac1444f1a4092541b8b75b84771747\",\"client_ip_address\":\"0.0.0.0\",\"client_user_agent\":\"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\"},\"event_name\":\"identify\",\"event_time\":1567333011,\"event_id\":\"84e26acc-56a5-4835-8233-591137fca468\",\"action_source\":\"website\"}" - ] - } - }, - "files": {} - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "blacklistPiiProperties": [ - { - "blacklistPiiProperties": "", - "blacklistPiiHash": false - } - ], - "accessToken": "09876", - "pixelId": "dummyPixelId", - "eventsToEvents": [ - { - "from": "", - "to": "" - } - ], - "eventCustomProperties": [ - { - "eventCustomProperties": "" - } - ], - "valueFieldIdentifier": "", - "advancedMapping": true, - "whitelistPiiProperties": [ - { - "whitelistPiiProperties": "" - } - ] - }, - "Enabled": true - } - } -] diff --git a/test/__tests__/facebook_offline_conversions.test.js b/test/__tests__/facebook_offline_conversions.test.js deleted file mode 100644 index aafecc9f96..0000000000 --- a/test/__tests__/facebook_offline_conversions.test.js +++ /dev/null @@ -1,85 +0,0 @@ -const fs = require("fs"); -const path = require("path"); - -const integration = "facebook_offline_conversions"; -const name = "facebook_offline_conversions"; -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -// Router Test files -const routerTestDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router.json`) -); -const routerTestData = JSON.parse(routerTestDataFile); - -describe(`${name} Tests`, () => { - describe("Processor", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - let output = []; - let expected; - try { - const payload = transformer.process(dataPoint.input); - payload.forEach(eachPayload => { - const queryParams = eachPayload.endpoint.split("?")[1]; - const queryPramsArray = new URLSearchParams(queryParams); - const response = {}; - for (let pair of queryPramsArray.entries()) { - response[pair[0]] = pair[1]; - } - output.push(response); - }); - expected = dataPoint.output; - } catch (error) { - output = error.message; - expected = dataPoint.output.error; - } - expect(output).toEqual(expected); - }); - }); - }); - - describe("Router Tests", () => { - routerTestData.forEach(async dataPoint => { - it("Payload", async () => { - const batchedResponse = await transformer.processRouterDest( - dataPoint.input - ); - const output = []; - batchedResponse.forEach(response => { - const { statusCode } = response; - if (statusCode === 200) { - const data = []; - const { - batchedRequest, - destination, - batched, - metadata, - statusCode - } = response; - batchedRequest.forEach(request => { - const { endpoint } = request; - const queryParams = endpoint.split("?")[1]; - const queryPramsArray = new URLSearchParams(queryParams); - const batchResponse = {}; - for (let pair of queryPramsArray.entries()) { - batchResponse[pair[0]] = pair[1]; - } - data.push(batchResponse); - }); - output.push({ destination, batched, metadata, statusCode, data }); - } else { - output.push(response); - } - }); - expect(output).toEqual(dataPoint.output); - }); - }); - }); -}); diff --git a/test/__tests__/fbpixel.test.js b/test/__tests__/fbpixel.test.js deleted file mode 100644 index 6d593ddd1b..0000000000 --- a/test/__tests__/fbpixel.test.js +++ /dev/null @@ -1,53 +0,0 @@ -const integration = "facebook_pixel"; -const name = "Fbpixel"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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); - -Date.now = jest.fn(() => new Date("2019-09-01T15:46:51.000Z")); //2019-09-01T15:46:51.693229+05:30 - -describe(`${name} Tests`, () => { - describe("Processor Tests", () => { - inputData.forEach((input, index) => { - it(`${name} - payload: ${index}`, async () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - if (error.statTags) { - expect(error.statTags).toMatchObject(expectedData[index].statTags); - } - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/integrations/destinations/algolia/processor/data.ts b/test/integrations/destinations/algolia/processor/data.ts new file mode 100644 index 0000000000..fa76b6376e --- /dev/null +++ b/test/integrations/destinations/algolia/processor/data.ts @@ -0,0 +1,1243 @@ +export const data = [ + { + "name": "algolia", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "event": "product clicked", + "userId": "testuserId1", + "properties": { + "index": "products", + "filters": [ + "field1:hello", + "val1:val2" + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I", + "eventTypeSettings": [ + { + "from": "product clicked", + "to": "cLick " + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "FORM": {}, + "JSON_ARRAY": {}, + "JSON": { + "events": [ + { + "eventName": "product clicked", + "eventType": "click", + "filters": [ + "field1:hello", + "val1:val2" + ], + "index": "products", + "userToken": "testuserId1" + } + ] + }, + "XML": {} + }, + "endpoint": "https://insights.algolia.io/1/events", + "files": {}, + "headers": { + "X-Algolia-API-Key": "dummyApiKey", + "X-Algolia-Application-Id": "O2YARRI15I" + }, + "method": "POST", + "params": {}, + "type": "REST", + "userId": "", + "version": "1" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "algolia", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "event": "product list viewed", + "userId": "testuserId1", + "properties": { + "index": "products", + "products": [ + { + "objectId": "ecommerce-sample-data-919", + "position": 7 + }, + { + "objectId": "9780439784542", + "position": 8 + } + ], + "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I", + "eventTypeSettings": [ + { + "from": "product list viewed", + "to": "click" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "FORM": {}, + "JSON_ARRAY": {}, + "JSON": { + "events": [ + { + "eventName": "product list viewed", + "eventType": "click", + "objectIDs": [ + "ecommerce-sample-data-919", + "9780439784542" + ], + "positions": [ + 7, + 8 + ], + "index": "products", + "userToken": "testuserId1", + "queryID": "43b15df305339e827f0ac0bdc5ebcaa7" + } + ] + }, + "XML": {} + }, + "endpoint": "https://insights.algolia.io/1/events", + "files": {}, + "headers": { + "X-Algolia-API-Key": "dummyApiKey", + "X-Algolia-Application-Id": "O2YARRI15I" + }, + "method": "POST", + "params": {}, + "type": "REST", + "userId": "", + "version": "1" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "algolia", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "event": "product clicked", + "userId": "testuserId1", + "properties": { + "eventType": "click", + "index": "products", + "queryId": "43b15df305339e827f0ac0bdc5ebcaa8" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I", + "eventTypeSettings": [] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "Either filters or objectIds is required.", + "statTags": { + "destType": "ALGOLIA", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "algolia", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "userId": "testuserId1", + "event": "product clicked", + "properties": { + "index": "products", + "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I", + "eventTypeSettings": [] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "eventType is mandatory for track call", + "statTags": { + "destType": "ALGOLIA", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "algolia", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "event": "product list viewed", + "userId": "testuserId1", + "properties": { + "index": "products", + "products": [ + { + "objectId": "ecommerce-sample-data-919", + "position": 7 + }, + { + "objectId": "9780439784542", + "position": 8 + } + ], + "queryId": "" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I", + "eventTypeSettings": [ + { + "from": "product list viewed", + "to": "click" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "for click eventType either both positions and queryId should be present or none", + "statTags": { + "destType": "ALGOLIA", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "algolia", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "event": "product list viewed", + "userId": "testuserId1", + "properties": { + "index": "products", + "products": [ + { + "objectId": "ecommerce-sample-data-919", + "position": 7 + }, + { + "objectId": "9780439784542", + "position": 8 + } + ], + "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I", + "eventTypeSettings": [ + { + "from": "product list viewed", + "to": "view" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "FORM": {}, + "JSON_ARRAY": {}, + "JSON": { + "events": [ + { + "eventName": "product list viewed", + "eventType": "view", + "index": "products", + "objectIDs": [ + "ecommerce-sample-data-919", + "9780439784542" + ], + "userToken": "testuserId1", + "queryID": "43b15df305339e827f0ac0bdc5ebcaa7" + } + ] + }, + "XML": {} + }, + "endpoint": "https://insights.algolia.io/1/events", + "files": {}, + "headers": { + "X-Algolia-API-Key": "dummyApiKey", + "X-Algolia-Application-Id": "O2YARRI15I" + }, + "method": "POST", + "params": {}, + "type": "REST", + "userId": "", + "version": "1" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "algolia", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "event": "product list viewed", + "userId": "testuserId1", + "properties": { + "index": "products", + "products": [ + { + "objectId": "ecommerce-sample-data-919", + "position": "7" + }, + { + "objectId": "9780439784542", + "position": "a" + } + ], + "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I", + "eventTypeSettings": [ + { + "from": "product list viewed", + "to": "click" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "for click eventType either both positions and queryId should be present or none", + "statTags": { + "destType": "ALGOLIA", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "algolia", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "event": "product list viewed", + "userId": "testuserId1", + "properties": { + "index": "products", + "products": [ + { + "objectId": "ecommerce-sample-data-919", + "position": "7" + }, + { + "objectId": "9780439784542", + "position": "a" + } + ], + "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I", + "eventTypeSettings": [ + { + "from": "product list viewed", + "to": "check" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "eventType can be either click, view or conversion", + "statTags": { + "destType": "ALGOLIA", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "algolia", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "event": "product list viewed", + "userId": "testuserId1", + "properties": { + "index": "products", + "products": [ + { + "objectId": "ecommerce-sample-data-919", + "position": "7" + }, + { + "objectId": "9780439784542", + "position": "a" + } + ], + "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "eventType is mandatory for track call", + "statTags": { + "destType": "ALGOLIA", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "algolia", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "event": "product clicked", + "userId": "testuserId1", + "properties": { + "filters": [ + "field1:hello", + "val1:val2" + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I", + "eventTypeSettings": [ + { + "from": "product clicked", + "to": "cLick " + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "Missing required value from \"properties.index\"", + "statTags": { + "destType": "ALGOLIA", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "algolia", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "testone@gmail.com", + "firstName": "test", + "lastName": "one" + }, + "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 + }, + "page": { + "path": "/destinations/ometria", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/ometria", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "track", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "event": [ + "abc", + "def" + ], + "userId": "testuserId1", + "properties": { + "filters": [ + "field1:hello", + "val1:val2" + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "applicationId": "O2YARRI15I", + "eventTypeSettings": [ + { + "from": "product clicked", + "to": "cLick " + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "event name should be a string", + "statTags": { + "destType": "ALGOLIA", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/algolia/router/data.ts b/test/integrations/destinations/algolia/router/data.ts new file mode 100644 index 0000000000..aaf3e224e3 --- /dev/null +++ b/test/integrations/destinations/algolia/router/data.ts @@ -0,0 +1,2363 @@ +export const data = [ + { + name: 'algolia', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + type: 'track', + event: 'product list viewed', + sentAt: '2021-10-25T09:40:08.880Z', + userId: 'test-user-id1', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.1', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:5500/index.html', + path: '/index.html', + title: 'Test', + search: '', + tab_url: 'http://127.0.0.1:5500/index.html', + referrer: 'http://127.0.0.1:5500/index.html', + initial_referrer: 'http://127.0.0.1:5500/index.html', + referring_domain: '127.0.0.1:5500', + initial_referring_domain: '127.0.0.1:5500', + }, + locale: 'en-GB', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 1440, + innerHeight: 335, + }, + traits: { + city: 'Brussels', + email: 'testemail@email.com', + phone: '1234567890', + country: 'Belgium', + firstName: 'Tintin', + custom_date: 1574769933368, + custom_date1: '2019-10-14T11:15:53.296Z', + custom_flavor: 'chocolate', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.1', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36', + }, + rudderId: 'e3e907f1-f79a-444b-b91d-da47488f8273', + messageId: '8cdd3d2e-5e07-42ec-abdc-9b6bd4333840', + timestamp: '2021-10-25T15:10:08.888+05:30', + properties: { + index: 'products', + queryId: '43b15df305339e827f0ac0bdc5ebcaa7', + products: [ + { + objectId: 'ecommerce-sample-data-919', + position: 7, + }, + { + objectId: '9780439784542', + position: 8, + }, + ], + }, + receivedAt: '2021-10-25T15:10:08.889+05:30', + request_ip: '[::1]', + anonymousId: '7138f7d9-5dd2-4337-805d-ca17be59dc8e', + integrations: { + All: true, + }, + originalTimestamp: '2021-10-25T09:40:08.879Z', + }, + metadata: { + jobId: 1, + }, + destination: { + ID: '1zzHtStW2ZPlullmz6L7DGnmk9V', + Name: 'algolia-dev', + DestinationDefinition: { + ID: '1zgVZhcj1Tij4qlKg7B1Jp16IrH', + Name: 'ALGOLIA', + DisplayName: 'Algolia', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'applicationId', 'eventTypeSettings'], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['apiKey', 'applicationId'], + supportedMessageTypes: ['track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'apiKey', + applicationId: 'appId', + eventTypeSettings: [ + { + from: 'product clicked', + to: 'click', + }, + { + from: 'product list viewed', + to: 'view', + }, + ], + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + type: 'track', + event: 'product clicked', + sentAt: '2021-10-25T09:40:08.886Z', + userId: 'test-user-id1', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.1', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:5500/index.html', + path: '/index.html', + title: 'Test', + search: '', + tab_url: 'http://127.0.0.1:5500/index.html', + referrer: 'http://127.0.0.1:5500/index.html', + initial_referrer: 'http://127.0.0.1:5500/index.html', + referring_domain: '127.0.0.1:5500', + initial_referring_domain: '127.0.0.1:5500', + }, + locale: 'en-GB', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 1440, + innerHeight: 335, + }, + traits: { + city: 'Brussels', + email: 'testemail@email.com', + phone: '1234567890', + country: 'Belgium', + firstName: 'Tintin', + custom_date: 1574769933368, + custom_date1: '2019-10-14T11:15:53.296Z', + custom_flavor: 'chocolate', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.1', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36', + }, + rudderId: 'e3e907f1-f79a-444b-b91d-da47488f8273', + messageId: '7b58e140-b66b-4e88-a5ec-bd6811fc3836', + timestamp: '2021-10-25T15:10:08.943+05:30', + properties: { + index: 'products', + filters: ['field1:hello', 'val1:val2'], + }, + receivedAt: '2021-10-25T15:10:08.943+05:30', + request_ip: '[::1]', + anonymousId: '7138f7d9-5dd2-4337-805d-ca17be59dc8e', + integrations: { + All: true, + }, + originalTimestamp: '2021-10-25T09:40:08.886Z', + }, + metadata: { + jobId: 2, + }, + destination: { + ID: '1zzHtStW2ZPlullmz6L7DGnmk9V', + Name: 'algolia-dev', + DestinationDefinition: { + ID: '1zgVZhcj1Tij4qlKg7B1Jp16IrH', + Name: 'ALGOLIA', + DisplayName: 'Algolia', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'applicationId', 'eventTypeSettings'], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['apiKey', 'applicationId'], + supportedMessageTypes: ['track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'apiKey-2', + applicationId: 'appId-2', + eventTypeSettings: [ + { + from: 'product clicked', + to: 'click', + }, + { + from: 'product list viewed', + to: 'view', + }, + ], + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'product clicked', + userId: 'testuserId1', + properties: { + filters: ['field1:hello', 'val1:val2'], + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + jobId: 3, + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [ + { + from: 'product clicked', + to: 'cLick ', + }, + ], + }, + }, + }, + ], + destType: 'algolia', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://insights.algolia.io/1/events', + headers: { + 'X-Algolia-Application-Id': 'appId', + 'X-Algolia-API-Key': 'apiKey', + }, + params: {}, + body: { + JSON: { + events: [ + { + index: 'products', + userToken: 'test-user-id1', + queryID: '43b15df305339e827f0ac0bdc5ebcaa7', + eventName: 'product list viewed', + eventType: 'view', + objectIDs: ['ecommerce-sample-data-919', '9780439784542'], + }, + { + index: 'products', + userToken: 'test-user-id1', + filters: ['field1:hello', 'val1:val2'], + eventName: 'product clicked', + eventType: 'click', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 1, + }, + { + jobId: 2, + }, + ], + batched: true, + statusCode: 200, + destination: { + ID: '1zzHtStW2ZPlullmz6L7DGnmk9V', + Name: 'algolia-dev', + DestinationDefinition: { + ID: '1zgVZhcj1Tij4qlKg7B1Jp16IrH', + Name: 'ALGOLIA', + DisplayName: 'Algolia', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'applicationId', 'eventTypeSettings'], + }, + excludeKeys: [], + includeKeys: [], + saveDestinationResponse: true, + secretKeys: ['apiKey', 'applicationId'], + supportedMessageTypes: ['track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'apiKey', + applicationId: 'appId', + eventTypeSettings: [ + { + from: 'product clicked', + to: 'click', + }, + { + from: 'product list viewed', + to: 'view', + }, + ], + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + batched: false, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [ + { + from: 'product clicked', + to: 'cLick ', + }, + ], + }, + }, + error: 'Missing required value from "properties.index"', + metadata: [ + { + jobId: 3, + }, + ], + statTags: { + destType: 'ALGOLIA', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + }, + { + name: 'algolia', + description: 'Test 1', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + type: 'track', + event: 'Product List Viewed', + sentAt: '2023-06-19T22:22:34.928Z', + userId: 'anonymous', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + version: '2.35.0', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'https://m2-staging.ecmdi.com/supplies/air-distribution/grilles', + path: '/supplies/air-distribution/grilles/', + title: 'Grilles - Air Distribution - Supplies | East Coast Metal Distributors', + search: '', + tab_url: 'https://m2-staging.ecmdi.com/supplies/air-distribution/grilles', + referrer: 'https://m2-staging.ecmdi.com/', + initial_referrer: 'https://m2-staging.ecmdi.com/', + referring_domain: 'm2-staging.ecmdi.com', + initial_referring_domain: 'm2-staging.ecmdi.com', + }, + locale: 'en', + screen: { + width: 2560, + height: 1440, + density: 1, + innerWidth: 2514, + innerHeight: 567, + }, + traits: { + loggedIn: false, + customerId: 'anonymous', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '2.35.0', + }, + campaign: {}, + sessionId: 1687204412379, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0', + trackingPlanId: 'tp_2P3vmVzstHPms8hwcqHYwgBjIC7', + violationErrors: [ + { + meta: { + schemaPath: '#/properties/properties/properties/list_id/type', + instacePath: '/properties/list_id', + }, + type: 'Datatype-Mismatch', + message: 'must be string', + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/0', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/0', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/0', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/0', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/0', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/0', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/0', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/1', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/1', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/1', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/1', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/1', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/1', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/1', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/2', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/2', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/2', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/2', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/2', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/2', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/2', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/3', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/3', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/3', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/3', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/3', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/3', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/3', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/4', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/4', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/4', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/4', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/4', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/4', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/4', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/5', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/5', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/5', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/5', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/5', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/5', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/5', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/6', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/6', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/6', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/6', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/6', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/6', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/6', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/7', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/7', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/7', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/7', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/7', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/7', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/7', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/8', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/8', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/8', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/8', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/8', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/8', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/8', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/9', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/9', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/9', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/9', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/9', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/9', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/9', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/10', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/10', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/10', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/10', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/10', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/10', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/10', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/11', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/11', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/11', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/11', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/11', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/11', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/11', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/12', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/12', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/12', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/12', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/12', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/12', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/12', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/13', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/13', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/13', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/13', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/13', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/13', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/13', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/14', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/14', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/14', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/14', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/14', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/14', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/14', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/15', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/15', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/15', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/15', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/15', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/15', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/15', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/16', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/16', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/16', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/16', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/16', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/16', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/16', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/17', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/17', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/17', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/17', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/17', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/17', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/17', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/18', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'bu_product_num'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/18', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'erp_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/18', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/18', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'list_name'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/18', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'location_id'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/18', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'mpn'", + }, + { + meta: { + schemaPath: + '#/properties/properties/properties/products/items/additionalProperties', + instacePath: '/properties/products/18', + }, + type: 'Additional-Properties', + message: "must NOT have additional properties 'pim_id'", + }, + ], + trackingPlanVersion: 2, + }, + rudderId: '0d1f77df-5882-402a-a69f-d2dfe3175ebc', + timestamp: '2023-06-19T19:54:39.188Z', + properties: { + index: 'ecm_stg_product', + list_id: 1100000063100, + queryId: 'eafb6ef1081263626abce46671147dc0', + products: [ + { + mpn: '190RF14X20', + sku: '1367585787601', + name: '14" x 20" Stamped Face Return Air Filter Grille with Removable Face - White', + brand: 'TRUaire', + price: 0, + erp_id: '168782', + pim_id: '1367585787601', + list_id: 1100000063100, + category: 'Grilles', + position: 1, + list_name: 'Grilles', + product_id: '49765', + location_id: 1, + bu_product_num: '49765', + }, + { + mpn: '190RF20X20', + sku: '1367585788656', + name: '20" x 20" Stamped Face Return Air Filter Grille with Removable Face - White', + brand: 'TRUaire', + price: 0, + erp_id: '168790', + pim_id: '1367585788656', + list_id: 1100000063100, + category: 'Grilles', + position: 2, + list_name: 'Grilles', + product_id: '49773', + location_id: 1, + bu_product_num: '49773', + }, + { + mpn: '210VM10X04', + sku: '1367585790735', + name: '10" x 4" Bar Type Supply Sidewall/Ceiling Register - White', + brand: 'TRUaire', + price: 0, + erp_id: '300529', + pim_id: '1367585790735', + list_id: 1100000063100, + category: 'Grilles', + position: 3, + list_name: 'Grilles', + product_id: '300529A', + location_id: 1, + bu_product_num: '300529A', + }, + { + mpn: '17014X06', + sku: '1367585782036', + name: '14" x 6" Stamped Face Return Air Grille - White', + brand: 'TRUaire', + price: 0, + erp_id: '168752', + pim_id: '1367585782036', + list_id: 1100000063100, + category: 'Grilles', + position: 4, + list_name: 'Grilles', + product_id: '49741', + location_id: 1, + bu_product_num: '49741', + }, + { + mpn: '17014X04', + sku: '1367585782285', + name: '14" x 4" Stamped Face Return Air Grille - White', + brand: 'TRUaire', + price: 0, + erp_id: '168751', + pim_id: '1367585782285', + list_id: 1100000063100, + category: 'Grilles', + position: 5, + list_name: 'Grilles', + product_id: '49740', + location_id: 1, + bu_product_num: '49740', + }, + { + mpn: '190RF14X14', + sku: '1367585790111', + name: '14" x 14" Stamped Face Return Air Filter Grille with Removable Face - White', + brand: 'TRUaire', + price: 0, + erp_id: '168781', + pim_id: '1367585790111', + list_id: 1100000063100, + category: 'Grilles', + position: 6, + list_name: 'Grilles', + product_id: '49764', + location_id: 1, + bu_product_num: '49764', + }, + { + mpn: '17014X10', + sku: '1367585783304', + name: '14" x 10" Stamped Face Return Air Grille - White', + brand: 'TRUaire', + price: 0, + erp_id: '168755', + pim_id: '1367585783304', + list_id: 1100000063100, + category: 'Grilles', + position: 7, + list_name: 'Grilles', + product_id: '49743', + location_id: 1, + bu_product_num: '49743', + }, + { + mpn: '210VM12X04', + sku: '1367585791531', + name: '12" x 4" Bar Type Supply Sidewall/Ceiling Register - White', + brand: 'TRUaire', + price: 0, + erp_id: '240862', + pim_id: '1367585791531', + list_id: 1100000063100, + category: 'Grilles', + position: 8, + list_name: 'Grilles', + product_id: '49934', + location_id: 1, + bu_product_num: '49934', + }, + { + mpn: '190RF20X25', + sku: '1367585788307', + name: '20" x 25" Stamped Face Return Air Filter Grille with Removable Face - White', + brand: 'TRUaire', + price: 0, + erp_id: '168791', + pim_id: '1367585788307', + list_id: 1100000063100, + category: 'Grilles', + position: 9, + list_name: 'Grilles', + product_id: '49774', + location_id: 1, + bu_product_num: '49774', + }, + { + mpn: '190RF20X14', + sku: '1367585789457', + name: '20" x 14" Stamped Face Return Air Filter Grille with Removable Face - White', + brand: 'TRUaire', + price: 0, + erp_id: '168788', + pim_id: '1367585789457', + list_id: 1100000063100, + category: 'Grilles', + position: 10, + list_name: 'Grilles', + product_id: '49771', + location_id: 1, + bu_product_num: '49771', + }, + { + mpn: '401M10X04', + sku: '1367585800344', + name: '10" x 4" Stamped Curved Blade Supply Sidewall/Ceiling Register', + brand: 'TRUaire', + price: 0, + erp_id: '300734', + pim_id: '1367585800344', + list_id: 1100000063100, + category: 'Grilles', + position: 11, + list_name: 'Grilles', + product_id: '300734A', + location_id: 1, + bu_product_num: '300734A', + }, + { + mpn: '190RF14X25', + sku: '1367585787467', + name: '14" x 25" Stamped Face Return Air Filter Grille with Removable Face - White', + brand: 'TRUaire', + price: 0, + erp_id: '168783', + pim_id: '1367585787467', + list_id: 1100000063100, + category: 'Grilles', + position: 12, + list_name: 'Grilles', + product_id: '49766', + location_id: 1, + bu_product_num: '49766', + }, + { + mpn: '17020X10', + sku: '1367585783058', + name: '20" x 10" Stamped Face Return Air Grille - White', + brand: 'TRUaire', + price: 0, + erp_id: '219506', + pim_id: '1367585783058', + list_id: 1100000063100, + category: 'Grilles', + position: 13, + list_name: 'Grilles', + product_id: '49881', + location_id: 1, + bu_product_num: '49881', + }, + { + mpn: '17020X08', + sku: '1367585783494', + name: '20" x 8" Stamped Face Return Air Grille - White', + brand: 'TRUaire', + price: 0, + erp_id: '210374', + pim_id: '1367585783494', + list_id: 1100000063100, + category: 'Grilles', + position: 14, + list_name: 'Grilles', + product_id: '210374A', + location_id: 1, + bu_product_num: '210374A', + }, + { + mpn: '190RF12X12', + sku: '1367585787042', + name: '12" x 12" Stamped Face Return Air Filter Grille with Removable Face - White', + brand: 'TRUaire', + price: 0, + erp_id: '168777', + pim_id: '1367585787042', + list_id: 1100000063100, + category: 'Grilles', + position: 15, + list_name: 'Grilles', + product_id: '49761', + location_id: 1, + bu_product_num: '49761', + }, + { + mpn: '210VM14X04', + sku: '1367585793228', + name: '14" x 4" Bar Type Supply Sidewall/Ceiling Register - White', + brand: 'TRUaire', + price: 0, + erp_id: '232771', + pim_id: '1367585793228', + list_id: 1100000063100, + category: 'Grilles', + position: 16, + list_name: 'Grilles', + product_id: '49907', + location_id: 1, + bu_product_num: '49907', + }, + { + mpn: '17014X144', + sku: '1367585783124', + name: '14" x 14" Stamped Face Return Air Grille - White - 4 Holes', + brand: 'TRUaire', + price: 0, + erp_id: '168757', + pim_id: '1367585783124', + list_id: 1100000063100, + category: 'Grilles', + position: 17, + list_name: 'Grilles', + product_id: '49744', + location_id: 1, + bu_product_num: '49744', + }, + { + mpn: '190RF20X30', + sku: '1367585788366', + name: '20" x 30" Stamped Face Return Air Filter Grille with Removable Face - White', + brand: 'TRUaire', + price: 0, + erp_id: '168792', + pim_id: '1367585788366', + list_id: 1100000063100, + category: 'Grilles', + position: 18, + list_name: 'Grilles', + product_id: '49775', + location_id: 1, + bu_product_num: '49775', + }, + { + mpn: '190RF16X25', + sku: '1367585788996', + name: '16" x 25" Stamped Face Return Air Filter Grille with Removable Face - White', + brand: 'TRUaire', + price: 0, + erp_id: '168786', + pim_id: '1367585788996', + list_id: 1100000063100, + category: 'Grilles', + position: 19, + list_name: 'Grilles', + product_id: '49769', + location_id: 1, + bu_product_num: '49769', + }, + ], + eventName: 'productListView', + eventType: 'view', + list_name: 'Grilles', + objectIds: [ + '1367585787601', + '1367585788656', + '1367585790735', + '1367585782036', + '1367585782285', + '1367585790111', + '1367585783304', + '1367585791531', + '1367585788307', + '1367585789457', + '1367585800344', + '1367585787467', + '1367585783058', + '1367585783494', + '1367585787042', + '1367585793228', + '1367585783124', + '1367585788366', + '1367585788996', + ], + positions: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], + userToken: 'anonymous', + }, + receivedAt: '2023-06-19T22:22:32.431Z', + request_ip: '104.205.211.60', + anonymousId: '7b701174-5998-480e-a4df-b322d0ec9d1c', + integrations: { + All: true, + }, + originalTimestamp: '2023-06-19T19:54:41.686Z', + }, + destination: { + secretConfig: {}, + Config: { + apiKey: 'apiKey', + applicationId: 'appId', + eventTypeSettings: [ + { + from: 'productClicked', + to: 'click', + }, + { + from: 'product list filtered', + to: 'click', + }, + { + from: 'Product List Viewed', + to: 'view', + }, + { + from: 'Order Completed', + to: 'conversion', + }, + { + from: 'Product Added', + to: 'click', + }, + ], + oneTrustCookieCategories: [], + eventDelivery: false, + eventDeliveryTS: 1687213909459, + }, + liveEventsConfig: { + eventDelivery: false, + eventDeliveryTS: 1687213909459, + }, + id: 'destId', + workspaceId: 'wspId', + DestinationDefinition: { + Config: { + destConfig: { + defaultConfig: [ + 'apiKey', + 'applicationId', + 'eventTypeSettings', + 'oneTrustCookieCategories', + ], + }, + secretKeys: ['apiKey', 'applicationId'], + excludeKeys: [], + includeKeys: ['oneTrustCookieCategories'], + transformAt: 'router', + cdkV2Enabled: true, + transformAtV1: 'router', + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + 'warehouse', + ], + supportedMessageTypes: ['track'], + saveDestinationResponse: true, + }, + configSchema: {}, + responseRules: {}, + options: null, + id: '1xrHTzX8VrnvL6FTGOrBBgT687S', + name: 'ALGOLIA', + displayName: 'Algolia', + category: null, + createdAt: '2021-09-08T13:04:58.041Z', + updatedAt: '2023-06-13T13:18:08.335Z', + }, + transformations: [], + isConnectionEnabled: true, + isProcessorEnabled: true, + name: 'my_algolia', + enabled: true, + deleted: false, + createdAt: '2023-05-26T14:18:01.205Z', + updatedAt: '2023-06-19T22:31:49.460Z', + revisionId: 'revisionId1', + secretVersion: 7, + }, + metadata: { + sourceId: 'srcId', + workspaceId: 'wspId', + destinationId: 'destId', + jobId: 12, + }, + }, + ], + destType: 'algolia', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: true, + batchedRequest: { + body: { + FORM: {}, + JSON: { + events: [ + { + eventName: 'product list viewed', + eventType: 'view', + index: 'ecm_stg_product', + objectIDs: [ + '1367585787601', + '1367585788656', + '1367585790735', + '1367585782036', + '1367585782285', + '1367585790111', + '1367585783304', + '1367585791531', + '1367585788307', + '1367585789457', + '1367585800344', + '1367585787467', + '1367585783058', + '1367585783494', + '1367585787042', + '1367585793228', + '1367585783124', + '1367585788366', + '1367585788996', + ], + queryID: 'eafb6ef1081263626abce46671147dc0', + userToken: 'anonymous', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://insights.algolia.io/1/events', + files: {}, + headers: { + 'X-Algolia-API-Key': 'apiKey', + 'X-Algolia-Application-Id': 'appId', + }, + method: 'POST', + params: {}, + type: 'REST', + version: '1', + }, + destination: { + Config: { + apiKey: 'apiKey', + applicationId: 'appId', + eventDelivery: false, + eventDeliveryTS: 1687213909459, + eventTypeSettings: [ + { + from: 'productClicked', + to: 'click', + }, + { + from: 'product list filtered', + to: 'click', + }, + { + from: 'Product List Viewed', + to: 'view', + }, + { + from: 'Order Completed', + to: 'conversion', + }, + { + from: 'Product Added', + to: 'click', + }, + ], + oneTrustCookieCategories: [], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + destConfig: { + defaultConfig: [ + 'apiKey', + 'applicationId', + 'eventTypeSettings', + 'oneTrustCookieCategories', + ], + }, + excludeKeys: [], + includeKeys: ['oneTrustCookieCategories'], + saveDestinationResponse: true, + secretKeys: ['apiKey', 'applicationId'], + supportedMessageTypes: ['track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + 'warehouse', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + category: null, + configSchema: {}, + createdAt: '2021-09-08T13:04:58.041Z', + displayName: 'Algolia', + id: '1xrHTzX8VrnvL6FTGOrBBgT687S', + name: 'ALGOLIA', + options: null, + responseRules: {}, + updatedAt: '2023-06-13T13:18:08.335Z', + }, + createdAt: '2023-05-26T14:18:01.205Z', + deleted: false, + enabled: true, + id: 'destId', + isConnectionEnabled: true, + isProcessorEnabled: true, + liveEventsConfig: { + eventDelivery: false, + eventDeliveryTS: 1687213909459, + }, + name: 'my_algolia', + revisionId: 'revisionId1', + secretConfig: {}, + secretVersion: 7, + transformations: [], + updatedAt: '2023-06-19T22:31:49.460Z', + workspaceId: 'wspId', + }, + metadata: [ + { + sourceId: 'srcId', + workspaceId: 'wspId', + destinationId: 'destId', + jobId: 12, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/appcues/processor/data.ts b/test/integrations/destinations/appcues/processor/data.ts new file mode 100644 index 0000000000..c01abc241e --- /dev/null +++ b/test/integrations/destinations/appcues/processor/data.ts @@ -0,0 +1,1387 @@ +export const data = [ + { + name: 'appcues', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '33787665-4168-4acc-8df7-17ba79325332', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.9', + }, + campaign: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.9', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/rudder-sdk-js/tests/html/script-test.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '6a5f38c0-4e75-4268-a066-2b73fbcad01f', + originalTimestamp: '2021-01-04T08:25:04.780Z', + receivedAt: '2021-01-04T13:55:04.799+05:30', + request_ip: '[::1]', + rudderId: '79881a62-980a-4d76-89ca-7099440f8c13', + sentAt: '2021-01-04T08:25:04.781Z', + timestamp: '2021-01-04T13:55:04.798+05:30', + type: 'identify', + userId: 'onlyUserId', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + request_id: '6a5f38c0-4e75-4268-a066-2b73fbcad01f', + profile_update: {}, + }, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + params: {}, + headers: { + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.appcues.com/v1/accounts/86086/users/onlyUserId/activity', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '33787665-4168-4acc-8df7-17ba79325332', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.9', + }, + campaign: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.9', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/rudder-sdk-js/tests/html/script-test.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + }, + screen: { + density: 2, + }, + traits: { + 'first name': 'John', + 'last name': 'Abraham', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '57494c6a-3c62-4b30-83aa-6e821d37ac75', + originalTimestamp: '2021-01-04T08:25:04.786Z', + receivedAt: '2021-01-04T13:55:04.799+05:30', + request_ip: '[::1]', + rudderId: 'ed2ed08a-3cd9-4b2c-9b04-7e3d3501fab7', + sentAt: '2021-01-04T08:25:04.787Z', + timestamp: '2021-01-04T13:55:04.798+05:30', + type: 'identify', + userId: 'userIdWithProperties', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + request_id: '57494c6a-3c62-4b30-83aa-6e821d37ac75', + profile_update: { + 'last name': 'Abraham', + 'first name': 'John', + }, + }, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + params: {}, + headers: { + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: + 'https://api.appcues.com/v1/accounts/86086/users/userIdWithProperties/activity', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '59f2911c-f050-497d-9f80-e1696a3c56aa', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.9', + }, + campaign: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.9', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/rudder-sdk-js/tests/html/script-test.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + }, + event: 'eventWithoutProperties', + integrations: { + All: true, + }, + messageId: '045f5107-6036-4557-ae17-6ddf5ee57eb6', + originalTimestamp: '2021-01-04T08:33:07.004Z', + properties: {}, + receivedAt: '2021-01-04T14:03:07.009+05:30', + request_ip: '[::1]', + rudderId: '9b6b8204-292c-493b-9c08-2c3ec0ade688', + sentAt: '2021-01-04T08:33:07.005Z', + timestamp: '2021-01-04T14:03:07.008+05:30', + type: 'track', + userId: 'sampleId', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + events: [ + { + name: 'eventWithoutProperties', + timestamp: 1609749187, + attributes: {}, + }, + ], + request_id: '045f5107-6036-4557-ae17-6ddf5ee57eb6', + }, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + params: {}, + headers: { + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.appcues.com/v1/accounts/86086/users/sampleId/activity', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '59f2911c-f050-497d-9f80-e1696a3c56aa', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.9', + }, + campaign: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.9', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/rudder-sdk-js/tests/html/script-test.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + }, + event: 'eventWithProperties', + integrations: { + All: true, + }, + messageId: '4b99c45d-8591-473c-b79d-abd466f6f4d5', + originalTimestamp: '2021-01-04T08:33:07.006Z', + properties: { + category: 'blah', + }, + receivedAt: '2021-01-04T14:03:07.026+05:30', + request_ip: '[::1]', + rudderId: '9b6b8204-292c-493b-9c08-2c3ec0ade688', + sentAt: '2021-01-04T08:33:07.006Z', + timestamp: '2021-01-04T14:03:07.026+05:30', + type: 'track', + userId: 'sampleId', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + events: [ + { + name: 'eventWithProperties', + timestamp: 1609749187, + attributes: { + category: 'blah', + }, + }, + ], + request_id: '4b99c45d-8591-473c-b79d-abd466f6f4d5', + }, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + params: {}, + headers: { + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.appcues.com/v1/accounts/86086/users/sampleId/activity', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'a4a6304a-df41-4ca9-b2b7-4b0009dfddaa', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.9', + }, + campaign: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.9', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/rudder-sdk-js/tests/html/script-test.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '75a9e08b-955a-4dc7-8a39-3f6fba9d7497', + originalTimestamp: '2021-01-04T08:43:05.783Z', + properties: { + path: '/rudder-sdk-js/tests/html/script-test.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + }, + receivedAt: '2021-01-04T14:13:05.800+05:30', + request_ip: '[::1]', + rudderId: '2d03081c-8053-4cce-9abf-bb024f747900', + sentAt: '2021-01-04T08:43:05.783Z', + timestamp: '2021-01-04T14:13:05.799+05:30', + type: 'page', + userId: 'sampleId', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + events: [ + { + name: 'Visited a Page', + context: { + url: 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + }, + timestamp: 1609749785, + attributes: { + url: 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + path: '/rudder-sdk-js/tests/html/script-test.html', + _identity: { + userId: 'sampleId', + }, + }, + }, + ], + request_id: '75a9e08b-955a-4dc7-8a39-3f6fba9d7497', + profile_update: { + _appcuesId: '86086', + _updatedAt: '2021-01-04T14:13:05.799+05:30', + _userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + _currentPageUrl: + 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + _lastBrowserLanguage: 'en-GB', + userId: 'sampleId', + }, + }, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + params: {}, + headers: { + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.appcues.com/v1/accounts/86086/users/sampleId/activity', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'a4a6304a-df41-4ca9-b2b7-4b0009dfddaa', + category: 'page category', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.9', + }, + campaign: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.9', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/testing', + referrer: '', + search: '', + title: '', + url: 'https://pagecall.com/testing', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '397fdf96-daee-46c8-ac38-5d717cd8cabd', + name: 'page name', + originalTimestamp: '2021-01-04T08:43:05.784Z', + properties: { + category: 'page category', + name: 'page name', + path: '/testing', + referrer: '', + search: '', + title: '', + url: 'https://pagecall.com/testing', + }, + receivedAt: '2021-01-04T14:13:05.801+05:30', + request_ip: '[::1]', + rudderId: '2d03081c-8053-4cce-9abf-bb024f747900', + sentAt: '2021-01-04T08:43:05.784Z', + timestamp: '2021-01-04T14:13:05.801+05:30', + type: 'page', + userId: 'sampleId', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + events: [ + { + name: 'Visited a Page', + context: { + url: 'https://pagecall.com/testing', + }, + timestamp: 1609749785, + attributes: { + url: 'https://pagecall.com/testing', + name: 'page name', + path: '/testing', + category: 'page category', + _identity: { + userId: 'sampleId', + }, + }, + }, + ], + request_id: '397fdf96-daee-46c8-ac38-5d717cd8cabd', + profile_update: { + _appcuesId: '86086', + _updatedAt: '2021-01-04T14:13:05.801+05:30', + _userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + _currentPageUrl: 'https://pagecall.com/testing', + _lastBrowserLanguage: 'en-GB', + userId: 'sampleId', + }, + }, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + params: {}, + headers: { + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.appcues.com/v1/accounts/86086/users/sampleId/activity', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'a4a6304a-df41-4ca9-b2b7-4b0009dfddaa', + category: 'page category', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.9', + }, + campaign: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.9', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/testing', + referrer: '', + search: '', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '397fdf96-daee-46c8-ac38-5d717cd8cabd', + name: 'page name', + originalTimestamp: '2021-01-04T08:43:05.784Z', + properties: { + category: 'page category', + name: 'page name', + path: '/testing', + referrer: '', + search: '', + title: 'properties title', + url: 'https://pagecall.com/properties_url', + }, + receivedAt: '2021-01-04T14:13:05.801+05:30', + request_ip: '[::1]', + rudderId: '2d03081c-8053-4cce-9abf-bb024f747900', + sentAt: '2021-01-04T08:43:05.784Z', + timestamp: '2021-01-04T14:13:05.801+05:30', + type: 'page', + userId: 'sampleId', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + userId: '', + method: 'POST', + endpoint: 'https://api.appcues.com/v1/accounts/86086/users/sampleId/activity', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + request_id: '397fdf96-daee-46c8-ac38-5d717cd8cabd', + profile_update: { + userId: 'sampleId', + _lastBrowserLanguage: 'en-GB', + _updatedAt: '2021-01-04T14:13:05.801+05:30', + _userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + _currentPageTitle: 'properties title', + _currentPageUrl: 'https://pagecall.com/properties_url', + _appcuesId: '86086', + }, + events: [ + { + timestamp: 1609749785, + attributes: { + category: 'page category', + name: 'page name', + path: '/testing', + title: 'properties title', + url: 'https://pagecall.com/properties_url', + _identity: { + userId: 'sampleId', + }, + }, + name: 'Visited a Page', + context: { + url: 'https://pagecall.com/properties_url', + }, + }, + ], + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'a4a6304a-df41-4ca9-b2b7-4b0009dfddaa', + category: 'page category', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.9', + }, + campaign: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.9', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/testing', + referrer: '', + search: '', + title: 'context title', + url: 'https://pagecall.com/context_url', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '397fdf96-daee-46c8-ac38-5d717cd8cabd', + name: 'page name', + originalTimestamp: '2021-01-04T08:43:05.784Z', + properties: { + category: 'page category', + name: 'page name', + path: '/testing', + referrer: '', + search: '', + }, + receivedAt: '2021-01-04T14:13:05.801+05:30', + request_ip: '[::1]', + rudderId: '2d03081c-8053-4cce-9abf-bb024f747900', + sentAt: '2021-01-04T08:43:05.784Z', + timestamp: '2021-01-04T14:13:05.801+05:30', + type: 'page', + userId: 'sampleId', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + userId: '', + endpoint: 'https://api.appcues.com/v1/accounts/86086/users/sampleId/activity', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + request_id: '397fdf96-daee-46c8-ac38-5d717cd8cabd', + profile_update: { + userId: 'sampleId', + _lastBrowserLanguage: 'en-GB', + _updatedAt: '2021-01-04T14:13:05.801+05:30', + _userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + _currentPageTitle: 'context title', + _currentPageUrl: 'https://pagecall.com/context_url', + _appcuesId: '86086', + }, + events: [ + { + timestamp: 1609749785, + attributes: { + category: 'page category', + name: 'page name', + path: '/testing', + _identity: { + userId: 'sampleId', + }, + }, + name: 'Visited a Page', + context: { + url: 'https://pagecall.com/context_url', + }, + }, + ], + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AppcuesIntegration', + namespace: 'com.Appcues', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.1-beta.1', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '8.1.0', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5094f5704b9cf2b3', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { + All: true, + }, + messageId: 'id1', + properties: { + name: 'MainActivity', + automatic: true, + }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + userId: 'sampleId', + sentAt: '2020-03-12T09:05:13.042Z', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + userId: '', + endpoint: 'https://api.appcues.com/v1/accounts/86086/users/sampleId/activity', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + request_id: 'id1', + events: [ + { + name: 'Viewed a Screen', + timestamp: 1584003903, + attributes: { + name: 'MainActivity', + automatic: true, + }, + }, + ], + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AppcuesIntegration', + namespace: 'com.Appcues', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.1-beta.1', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '8.1.0', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5094f5704b9cf2b3', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { + All: true, + }, + messageId: 'id1', + properties: { + name: 'MainActivity', + automatic: true, + }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'screen', + sentAt: '2020-03-12T09:05:13.042Z', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: "User id is absent. Aborting event as userId is mandatory for Appcues", + statTags: { + destType: 'APPCUES', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AppcuesIntegration', + namespace: 'com.Appcues', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.1-beta.1', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '8.1.0', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5094f5704b9cf2b3', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { + All: true, + }, + messageId: 'id1', + properties: { + name: 'MainActivity', + automatic: true, + }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: '', + userId: 'sampleId', + sentAt: '2020-03-12T09:05:13.042Z', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Message Type is not present. Aborting message.', + statTags: { + destType: 'APPCUES', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'appcues', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.5', + }, + traits: { + name: 'Shehan Study', + category: 'SampleIdentify', + email: 'test@rudderstack.com', + plan: 'Open source', + logins: 5, + createdAt: 1599264000, + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.5', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 0.8999999761581421, + }, + campaign: { + source: 'google', + medium: 'medium', + term: 'keyword', + content: 'some content', + name: 'some campaign', + test: 'other value', + }, + page: { + path: '/html/sajal.html', + referrer: '', + search: + '?utm_source=google&utm_medium=medium&utm_term=keyword&utm_content=some%20content&utm_campaign=some%20campaign&utm_test=other%20value', + title: '', + url: 'http://localhost:9116/html/sajal.html?utm_source=google&utm_medium=medium&utm_term=keyword&utm_content=some%20content&utm_campaign=some%20campaign&utm_test=other%20value', + }, + }, + type: 'group', + messageId: 'e5034df0-a404-47b4-a463-76df99934fea', + originalTimestamp: '2020-10-20T07:54:58.983Z', + anonymousId: 'my-anonymous-id-new', + userId: 'sampleusrRudder3', + integrations: { + All: true, + }, + groupId: 'Sample_groupId23', + traits: { + KEY_3: { + CHILD_KEY_92: 'value_95', + CHILD_KEY_102: 'value_103', + }, + KEY_2: { + CHILD_KEY_92: 'value_95', + CHILD_KEY_102: 'value_103', + }, + name_trait: 'Company', + value_trait: 'Comapny-ABC', + }, + sentAt: '2020-10-20T07:54:58.983Z', + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Message type is not supported', + statTags: { + destType: 'APPCUES', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/appcues/router/data.ts b/test/integrations/destinations/appcues/router/data.ts new file mode 100644 index 0000000000..28a52c8bdc --- /dev/null +++ b/test/integrations/destinations/appcues/router/data.ts @@ -0,0 +1,221 @@ +export const data = [ + { + name: 'appcues', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + anonymousId: '33787665-4168-4acc-8df7-17ba79325332', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.9', + }, + campaign: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.9', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/rudder-sdk-js/tests/html/script-test.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '6a5f38c0-4e75-4268-a066-2b73fbcad01f', + originalTimestamp: '2021-01-04T08:25:04.780Z', + receivedAt: '2021-01-04T13:55:04.799+05:30', + request_ip: '[::1]', + rudderId: '79881a62-980a-4d76-89ca-7099440f8c13', + sentAt: '2021-01-04T08:25:04.781Z', + timestamp: '2021-01-04T13:55:04.798+05:30', + type: 'identify', + userId: 'onlyUserId', + }, + metadata: { + jobId: 1, + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + { + message: { + anonymousId: '33787665-4168-4acc-8df7-17ba79325332', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.9', + }, + campaign: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.9', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/rudder-sdk-js/tests/html/script-test.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost:4321/rudder-sdk-js/tests/html/script-test.html', + }, + screen: { + density: 2, + }, + traits: { + 'first name': 'John', + 'last name': 'Abraham', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '57494c6a-3c62-4b30-83aa-6e821d37ac75', + originalTimestamp: '2021-01-04T08:25:04.786Z', + receivedAt: '2021-01-04T13:55:04.799+05:30', + request_ip: '[::1]', + rudderId: 'ed2ed08a-3cd9-4b2c-9b04-7e3d3501fab7', + sentAt: '2021-01-04T08:25:04.787Z', + timestamp: '2021-01-04T13:55:04.798+05:30', + type: 'identify', + userId: 'userIdWithProperties', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + destType: 'appcues', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + request_id: '6a5f38c0-4e75-4268-a066-2b73fbcad01f', + profile_update: {}, + }, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: 'https://api.appcues.com/v1/accounts/86086/users/onlyUserId/activity', + }, + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + { + batchedRequest: { + body: { + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + JSON: { + request_id: '57494c6a-3c62-4b30-83aa-6e821d37ac75', + profile_update: { + 'last name': 'Abraham', + 'first name': 'John', + }, + }, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: + 'https://api.appcues.com/v1/accounts/86086/users/userIdWithProperties/activity', + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + accountId: '86086', + useNativeSDK: false, + }, + }, + }, + ], + }, + }, + }, + } +]; diff --git a/test/integrations/destinations/attentive_tag/processor/data.ts b/test/integrations/destinations/attentive_tag/processor/data.ts new file mode 100644 index 0000000000..42e6492d10 --- /dev/null +++ b/test/integrations/destinations/attentive_tag/processor/data.ts @@ -0,0 +1,1682 @@ +export const mockFns = (_) => { + // @ts-ignore + jest.useFakeTimers().setSystemTime(new Date('2023-10-14')); +}; + +export const data = [ + { + name: 'attentive_tag', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '4eb021e9-a2af-4926-ae82-fe996d12f3c5', + channel: 'web', + context: { + locale: 'en-GB', + traits: { + email: 'a@gmail.com', + phone: '+16405273911', + customIdentifiers: [ + { + name: 'string', + value: 'string', + }, + ], + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'e108eb05-f6cd-4624-ba8c-568f2e2b3f92', + receivedAt: '2023-10-14T09:03:17.562Z', + type: 'identify', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '241654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + userId: '', + method: 'POST', + endpoint: 'https://api.attentivemobile.com/v1/subscriptions', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + user: { + phone: '+16405273911', + email: 'a@gmail.com', + }, + signUpSourceId: '241654', + externalIdentifiers: { + customIdentifiers: [ + { + name: 'string', + value: 'string', + }, + ], + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + phone: '+16465053911', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: '144', + }, + { + type: 'shopifyId', + id: '224', + }, + { + type: 'klaviyoId', + id: '132', + }, + ], + }, + type: 'track', + properties: { + price: '12', + currency: 'USD', + 'product,id': 'r494', + quantity: '34', + variant: 'f', + }, + event: 'Order Shipped', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2023-10-14T09:03:17.562Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: '[Attentive_Tag]: Events must be sent within 12 hours of their occurrence.', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '4eb021e9-a2af-4926-ae82-fe996d12f3c5', + channel: 'web', + context: { + locale: 'en-GB', + os: { + name: '', + version: '', + }, + traits: { + company: { + id: 'abc123', + }, + createdAt: 'Thu Mar 24 2016 17:46:45 GMT+0000 (UTC)', + phone: '+16465453911', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36', + }, + integrations: { + All: true, + attentive_tag: { + signUpSourceId: '241654', + identifyOperation: 'unsubscribe', + }, + }, + messageId: 'e108eb05-f6cd-4624-ba8c-568f2e2b3f92', + receivedAt: '2020-10-16T13:56:14.945+05:30', + type: 'identify', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '241654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + userId: '', + method: 'POST', + endpoint: 'https://api.attentivemobile.com/v1/subscriptions/unsubscribe', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + user: { + phone: '+16465453911', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: '144', + }, + { + type: 'shopifyId', + id: '143', + }, + { + type: 'klaviyoId', + id: '142', + }, + ], + }, + type: 'track', + properties: { + price: '12', + currency: 'USD', + product_id: 'r494', + quantity: '34', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + name: 'MOBILE', + variant: 'green', + price: '19', + quantity: '2', + currency: 'USD', + }, + ], + }, + event: 'Order Completed', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: '[Attentive_Tag]: Events must be sent within 12 hours of their occurrence.', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + phone: '+16465053911', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: 1, + }, + { + type: 'shopifyId', + id: 1, + }, + { + type: 'klaviyoId', + id: 1, + }, + ], + }, + type: 'track', + properties: { + price: '12', + currency: 'USD', + product_id: 'r494', + quantity: '34', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + name: 'MOBILE', + variant: 'green', + price: '19', + quantity: '2', + currency: 'USD', + }, + ], + }, + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: '[Attentive Tag] :: Event name is not present', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + phone: '+16465053911', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: '144', + }, + { + type: 'shopifyId', + id: '143', + }, + { + type: 'klaviyoId', + id: '142', + }, + ], + }, + type: 'track', + properties: { + price: '12', + currency: 'USD', + product_id: 'r494', + quantity: '34', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + name: 'MOBILE', + variant: 'green', + price: '19', + quantity: '2', + currency: 'USD', + }, + ], + }, + event: 'Product List Viewed', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: '[Attentive_Tag]: Events must be sent within 12 hours of their occurrence.', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + phone: '+16465053911', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: '144', + }, + { + type: 'shopifyId', + id: '143', + }, + { + type: 'klaviyoId', + id: '142', + }, + ], + }, + type: 'track', + properties: { + price: '12', + currency: 'USD', + product_id: 'r494', + quantity: '34', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + name: 'MOBILE', + variant: 'green', + price: '19', + quantity: '2', + currency: 'USD', + }, + ], + }, + event: 'Product Viewed', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: '[Attentive_Tag]: Events must be sent within 12 hours of their occurrence.', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + phone: '+16465053911', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: '144', + }, + { + type: 'shopifyId', + id: '224', + }, + { + type: 'klaviyoId', + id: '132', + }, + ], + }, + type: 'track', + properties: { + price: '12', + currency: 'USD', + product_id: 'r494', + quantity: '34', + }, + event: 'Order Shipped', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: '[Attentive_Tag]: Events must be sent within 12 hours of their occurrence.', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + phone: '+16465053911', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: 1, + }, + { + type: 'shopifyId', + id: 1, + }, + { + type: 'klaviyoId', + id: 1, + }, + ], + }, + properties: { + price: '12', + currency: 'USD', + product_id: 'r494', + quantity: '34', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + name: 'MOBILE', + variant: 'green', + price: '19', + quantity: '2', + currency: 'USD', + }, + ], + }, + event: 'Order Completed', + originalTimestamp: '2023-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2023-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Message Type is not present. Aborting message.', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '4eb021e9-a2af-4926-ae82-fe996d12f3c5', + channel: 'web', + context: { + locale: 'en-GB', + os: { + name: '', + version: '', + }, + traits: { + company: { + id: 'abc123', + }, + createdAt: 'Thu Mar 24 2016 17:46:45 GMT+0000 (UTC)', + email: 'test0@gmail.com', + phone: '+16465453911', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36', + }, + integrations: { + All: true, + attentive_tag: { + signUpSourceId: '241654', + identifyOperation: 'subscribe', + }, + }, + messageId: 'e108eb05-f6cd-4624-ba8c-568f2e2b3f92', + receivedAt: '2023-10-14T13:56:14.945+05:30', + type: 'identify', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '241654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + userId: '', + method: 'POST', + endpoint: 'https://api.attentivemobile.com/v1/subscriptions', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + user: { + phone: '+16465453911', + email: 'test0@gmail.com', + }, + signUpSourceId: '241654', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: {}, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: '144', + }, + { + type: 'shopifyId', + id: '143', + }, + { + type: 'klaviyoId', + id: '142', + }, + ], + }, + type: 'track', + properties: { + price: '12', + currency: 'USD', + product_id: 'r494', + quantity: '34', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + name: 'MOBILE', + variant: 'green', + price: '19', + quantity: '2', + currency: 'USD', + }, + ], + }, + event: 'Product Viewed', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: '[Attentive_Tag]: Events must be sent within 12 hours of their occurrence.', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + phone: '+16465053911', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: '144', + }, + { + type: 'shopifyId', + id: '143', + }, + { + type: 'klaviyoId', + id: '142', + }, + ], + }, + type: 'track', + properties: { + price: '12', + currency: 'USD', + quantity: '34', + products: [ + { + name: 'MOBILE', + variant: 'green', + price: '19', + quantity: '2', + currency: 'USD', + }, + ], + }, + event: 'Product Viewed', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Missing required value from "product_id"', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + phone: '+16465053911', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: '144', + }, + { + type: 'shopifyId', + id: '143', + }, + { + type: 'klaviyoId', + id: '142', + }, + ], + }, + type: 'track', + properties: { + price: '12', + currency: 'USD', + product_id: 'r494', + quantity: '34', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + name: 'MOBILE', + price: '19', + quantity: '2', + currency: 'USD', + }, + ], + }, + event: 'Product Viewed', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Missing required value from "variant"', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + phone: '+16465053911', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'clientUserId', + id: '144', + }, + { + type: 'shopifyId', + id: '143', + }, + { + type: 'klaviyoId', + id: '142', + }, + ], + }, + type: 'track', + properties: { + price: '12', + 'curre,ncy': 'USD', + product_id: 'r494', + quantity: '34', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + name: 'MOBILE', + variant: 'green', + price: '19', + quantity: '2', + currency: 'USD', + }, + ], + }, + event: 'Order Shipped', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: '[Attentive Tag]:The event name contains characters which is not allowed', + statTags: { + destType: 'ATTENTIVE_TAG', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '4eb021e9-a2af-4926-ae82-fe996d12f3c5', + channel: 'web', + context: { + locale: 'en-GB', + os: { + name: '', + version: '', + }, + traits: { + company: { + id: 'abc123', + }, + createdAt: 'Thu Mar 24 2016 17:46:45 GMT+0000 (UTC)', + email: 'test0@gmail.com', + phone: '+16465453911', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36', + }, + integrations: { + All: true, + attentive_tag: { + signUpSourceId: '241654', + }, + }, + messageId: 'e108eb05-f6cd-4624-ba8c-568f2e2b3f92', + receivedAt: '2020-10-16T13:56:14.945+05:30', + type: 'identify', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '241654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + userId: '', + method: 'POST', + endpoint: 'https://api.attentivemobile.com/v1/subscriptions', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + user: { + phone: '+16465453911', + email: 'test0@gmail.com', + }, + signUpSourceId: '241654', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'attentive_tag', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: {}, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + properties: { + price: '12', + currency: 'USD', + product_id: 'r494', + quantity: '34', + products: [ + { + product_id: '507f1f77bcf86cd799439011', + name: 'MOBILE', + variant: 'green', + price: '19', + quantity: '2', + currency: 'USD', + }, + ], + }, + event: 'Product Viewed', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '240654', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + userId: '', + endpoint: 'https://api.attentivemobile.com/v1/events/ecommerce/product-view', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + user: {}, + items: [ + { + productId: '507f1f77bcf86cd799439011', + name: 'MOBILE', + productVariantId: 'green', + quantity: '2', + price: [ + { + value: 19, + currency: 'USD', + }, + ], + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/attentive_tag/router/data.ts b/test/integrations/destinations/attentive_tag/router/data.ts new file mode 100644 index 0000000000..c52a6ed2e3 --- /dev/null +++ b/test/integrations/destinations/attentive_tag/router/data.ts @@ -0,0 +1,122 @@ +export const data = [ + { + name: 'attentive_tag', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '241654', + }, + }, + metadata: { + jobId: 1, + }, + message: { + anonymousId: '4eb021e9-a2af-4926-ae82-fe996d12f3c5', + channel: 'web', + context: { + locale: 'en-GB', + os: { + name: '', + version: '', + }, + traits: { + company: { + id: 'abc123', + }, + createdAt: 'Thu Mar 24 2016 17:46:45 GMT+0000 (UTC)', + email: 'test0@gmail.com', + phone: '+16465453911', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36', + externalId: [ + { + type: 'clientUsrId', + id: 1, + }, + { + type: 'shopifyId', + id: 1, + }, + { + type: 'klaviyoId', + id: 1, + }, + ], + }, + integrations: { + All: true, + attentive_tag: { + signUpSourceId: '241654', + identifyOperation: 'unsubscribe', + }, + }, + messageId: 'e108eb05-f6cd-4624-ba8c-568f2e2b3f92', + receivedAt: '2020-10-16T13:56:14.945+05:30', + type: 'identify', + }, + }, + ], + destType: 'attentive_tag', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.attentivemobile.com/v1/subscriptions/unsubscribe', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + user: { + phone: '+16465453911', + email: 'test0@gmail.com', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + apiKey: 'dummyApiKey', + signUpSourceId: '241654', + }, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/autopilot/processor/data.ts b/test/integrations/destinations/autopilot/processor/data.ts new file mode 100644 index 0000000000..1fe7dfc97e --- /dev/null +++ b/test/integrations/destinations/autopilot/processor/data.ts @@ -0,0 +1,1156 @@ +export const data = [ + { + "name": "autopilot", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", + "Name": "Autopilot", + "DestinationDefinition": { + "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", + "Name": "AUTOPILOT", + "DisplayName": "Autopilot", + "Config": { + "cdkEnabled": true, + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "apiKey": "dummyApiKey", + "customMappings": [ + { + "from": "0001", + "to": "Signup" + } + ], + "triggerId": "00XX" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "fad9b3fb-5778-4db3-9fb6-7168b554191f", + "originalTimestamp": "2020-04-17T14:42:44.722Z", + "receivedAt": "2020-04-17T20:12:44.758+05:30", + "request_ip": "[::1]:53513", + "sentAt": "2020-04-17T14:42:44.722Z", + "traits": { + "age": 23, + "email": "testmp@rudderstack.com", + "firstname": "Test Kafka" + }, + "timestamp": "2020-04-17T20:12:44.758+05:30", + "type": "identify", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.autopilothq.com/v1/contact", + "headers": { + "Accept": "application/json", + "autopilotapikey": "dummyApiKey", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "contact": { + "Email": "testmp@rudderstack.com", + "FirstName": "Test Kafka", + "custom": { + "age": 23 + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "autopilot", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", + "Name": "Autopilot", + "DestinationDefinition": { + "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", + "Name": "AUTOPILOT", + "DisplayName": "Autopilot", + "Config": { + "cdkEnabled": true, + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "apiKey": "dummyApiKey", + "customMappings": [ + { + "from": "0001", + "to": "Signup" + } + ], + "triggerId": "00XX" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "testmp@rudderstack.com", + "firstname": "Test Kafka" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", + "originalTimestamp": "2020-04-17T14:42:44.724Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-04-17T20:12:44.758+05:30", + "request_ip": "[::1]:53512", + "sentAt": "2020-04-17T14:42:44.725Z", + "timestamp": "2020-04-17T20:12:44.757+05:30", + "type": "track", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.autopilothq.com/v1/trigger/00XX/contact/testmp@rudderstack.com", + "headers": { + "Accept": "application/json", + "autopilotapikey": "dummyApiKey", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "property": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "autopilot", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", + "Name": "Autopilot", + "DestinationDefinition": { + "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", + "Name": "AUTOPILOT", + "DisplayName": "Autopilot", + "Config": { + "cdkEnabled": true, + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "apiKey": "dummyApiKey", + "customMappings": [ + { + "from": "0001", + "to": "Signup" + } + ], + "triggerId": "00XX" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "testmp@rudderstack.com", + "firstname": "Test Kafka" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", + "originalTimestamp": "2020-04-17T14:42:44.724Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-04-17T20:12:44.758+05:30", + "request_ip": "[::1]:53512", + "sentAt": "2020-04-17T14:42:44.725Z", + "timestamp": "2020-04-17T20:12:44.757+05:30", + "type": "page", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 500, + "error": "Cannot read properties of undefined (reading 'destinationId')", + "statTags": { + "errorCategory": "transformation", + "destType": "AUTOPILOT", + "module": "destination", + "implementation": "cdkV1", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "autopilot", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", + "Name": "Autopilot", + "DestinationDefinition": { + "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", + "Name": "AUTOPILOT", + "DisplayName": "Autopilot", + "Config": { + "cdkEnabled": true, + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "apiKey": "dummyApiKey", + "customMappings": [ + { + "from": "0001", + "to": "Signup" + } + ], + "triggerId": "00XX" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "firstname": "Test Kafka" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", + "originalTimestamp": "2020-04-17T14:42:44.724Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-04-17T20:12:44.758+05:30", + "request_ip": "[::1]:53512", + "sentAt": "2020-04-17T14:42:44.725Z", + "timestamp": "2020-04-17T20:12:44.757+05:30", + "type": "track", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 500, + "error": "Cannot read properties of undefined (reading 'destinationId')", + "statTags": { + "errorCategory": "transformation", + "destType": "AUTOPILOT", + "module": "destination", + "implementation": "cdkV1", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "autopilot", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", + "Name": "Autopilot", + "DestinationDefinition": { + "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", + "Name": "AUTOPILOT", + "DisplayName": "Autopilot", + "Config": { + "cdkEnabled": true, + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "apiKey": "dummyApiKey", + "customMappings": [ + { + "from": "0001", + "to": "Signup" + } + ], + "triggerId": "00XX" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "firstname": "Test Kafka" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", + "originalTimestamp": "2020-04-17T14:42:44.724Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-04-17T20:12:44.758+05:30", + "request_ip": "[::1]:53512", + "sentAt": "2020-04-17T14:42:44.725Z", + "timestamp": "2020-04-17T20:12:44.757+05:30", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 500, + "error": "Cannot read properties of undefined (reading 'destinationId')", + "statTags": { + "errorCategory": "transformation", + "destType": "AUTOPILOT", + "module": "destination", + "implementation": "cdkV1", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "autopilot", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", + "Name": "Autopilot", + "DestinationDefinition": { + "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", + "Name": "AUTOPILOT", + "DisplayName": "Autopilot", + "Config": { + "cdkEnabled": true, + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "apiKey": "dummyApiKey", + "customMappings": [ + { + "from": "0001", + "to": "Signup" + } + ], + "triggerId": "00XX" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "testmp@rudderstack.com", + "firstname": "Test Kafka" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", + "originalTimestamp": "2020-04-17T14:42:44.724Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-04-17T20:12:44.758+05:30", + "request_ip": "[::1]:53512", + "sentAt": "2020-04-17T14:42:44.725Z", + "timestamp": "2020-04-17T20:12:44.757+05:30", + "type": "group", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 500, + "error": "Cannot read properties of undefined (reading 'destinationId')", + "statTags": { + "errorCategory": "transformation", + "destType": "AUTOPILOT", + "module": "destination", + "implementation": "cdkV1", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "autopilot", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", + "Name": "Autopilot", + "DestinationDefinition": { + "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", + "Name": "AUTOPILOT", + "DisplayName": "Autopilot", + "Config": { + "cdkEnabled": true, + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "apiKey": "dummyApiKey", + "customMappings": [ + { + "from": "0001", + "to": "Signup" + } + ], + "triggerId": "00XX" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "email": "abc@rudderstack.com", + "firstname": "Anuraj" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "integrations": { + "All": true + }, + "originalTimestamp": "2020-04-17T14:42:44.722Z", + "receivedAt": "2020-04-17T20:12:44.758+05:30", + "request_ip": "[::1]:53513", + "sentAt": "2020-04-17T14:42:44.722Z", + "timestamp": "2020-04-17T20:12:44.758+05:30", + "type": "identify", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.autopilothq.com/v1/contact", + "headers": { + "Accept": "application/json", + "autopilotapikey": "dummyApiKey", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "contact": { + "Email": "abc@rudderstack.com", + "FirstName": "Anuraj" + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "autopilot", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", + "Name": "Autopilot", + "DestinationDefinition": { + "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", + "Name": "AUTOPILOT", + "DisplayName": "Autopilot", + "Config": { + "cdkEnabled": true, + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "apiKey": "dummyApiKey", + "customMappings": [ + { + "from": "0001", + "to": "Signup" + } + ], + "triggerId": "00XX" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "testmp@rudderstack.com", + "firstname": "Test Kafka" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", + "originalTimestamp": "2020-04-17T14:42:44.724Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-04-17T20:12:44.758+05:30", + "request_ip": "[::1]:53512", + "sentAt": "2020-04-17T14:42:44.725Z", + "timestamp": "2020-04-17T20:12:44.757+05:30", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 500, + "error": "Cannot read properties of undefined (reading 'destinationId')", + "statTags": { + "errorCategory": "transformation", + "destType": "AUTOPILOT", + "module": "destination", + "implementation": "cdkV1", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "autopilot", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", + "Name": "Autopilot", + "DestinationDefinition": { + "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", + "Name": "AUTOPILOT", + "DisplayName": "Autopilot", + "Config": { + "cdkEnabled": true, + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "apiKey": "dummyApiKey", + "customMappings": [ + { + "from": "0001", + "to": "Signup" + } + ], + "triggerId": "00XX" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "email": "abc@rudderstack.com", + "firstname": "Anuraj" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "integrations": { + "All": true + }, + "originalTimestamp": "2020-04-17T14:42:44.722Z", + "receivedAt": "2020-04-17T20:12:44.758+05:30", + "request_ip": "[::1]:53513", + "sentAt": "2020-04-17T14:42:44.722Z", + "timestamp": "2020-04-17T20:12:44.758+05:30", + "type": "group", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 500, + "error": "Cannot read properties of undefined (reading 'destinationId')", + "statTags": { + "errorCategory": "transformation", + "destType": "AUTOPILOT", + "module": "destination", + "implementation": "cdkV1", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "autopilot", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", + "Name": "Autopilot", + "DestinationDefinition": { + "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", + "Name": "AUTOPILOT", + "DisplayName": "Autopilot", + "Config": { + "cdkEnabled": true, + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "apiKey": "dummyApiKey", + "customMappings": [ + { + "from": "0001", + "to": "Signup" + } + ], + "triggerId": "00XX" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "email": "abc@rudderstack.com", + "firstname": "Anuraj" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "integrations": { + "All": true + }, + "originalTimestamp": "2020-04-17T14:42:44.722Z", + "receivedAt": "2020-04-17T20:12:44.758+05:30", + "request_ip": "[::1]:53513", + "sentAt": "2020-04-17T14:42:44.722Z", + "timestamp": "2020-04-17T20:12:44.758+05:30", + "type": "Tals", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 500, + "error": "Cannot read properties of undefined (reading 'destinationId')", + "statTags": { + "errorCategory": "transformation", + "destType": "AUTOPILOT", + "module": "destination", + "implementation": "cdkV1", + "feature": "processor" + } + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/autopilot/router/data.ts b/test/integrations/destinations/autopilot/router/data.ts new file mode 100644 index 0000000000..cbfe0c4207 --- /dev/null +++ b/test/integrations/destinations/autopilot/router/data.ts @@ -0,0 +1,317 @@ +export const data = [ + { + name: 'autopilot', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + jobId: 1, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'fad9b3fb-5778-4db3-9fb6-7168b554191f', + originalTimestamp: '2020-04-17T14:42:44.722Z', + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53513', + sentAt: '2020-04-17T14:42:44.722Z', + traits: { + age: 23, + email: 'testmp@rudderstack.com', + firstname: 'Test Kafka', + }, + timestamp: '2020-04-17T20:12:44.758+05:30', + type: 'identify', + userId: 'user12345', + }, + }, + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + jobId: 2, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'testmp@rudderstack.com', + firstname: 'Test Kafka', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: '37b75e61-9bd2-4fb8-91ed-e3a064905f3a', + originalTimestamp: '2020-04-17T14:42:44.724Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53512', + sentAt: '2020-04-17T14:42:44.725Z', + timestamp: '2020-04-17T20:12:44.757+05:30', + type: 'track', + userId: 'user12345', + }, + }, + ], + destType: 'autopilot', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.autopilothq.com/v1/contact', + headers: { + autopilotapikey: 'dummyApiKey', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + contact: { + Email: 'testmp@rudderstack.com', + FirstName: 'Test Kafka', + custom: { + age: 23, + }, + }, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + }, + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://api2.autopilothq.com/v1/trigger/00XX/contact/testmp@rudderstack.com', + headers: { + autopilotapikey: 'dummyApiKey', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + property: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/azure_event_hub/processor/data.ts b/test/integrations/destinations/azure_event_hub/processor/data.ts new file mode 100644 index 0000000000..8784bf4d60 --- /dev/null +++ b/test/integrations/destinations/azure_event_hub/processor/data.ts @@ -0,0 +1,825 @@ +export const data = [ + { + "name": "azure_event_hub", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "Name": "Azure Event Hub", + "DestinationDefinition": { + "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", + "Name": "AZURE_EVENT_HUB", + "DisplayName": "Azure Event Hub", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": null, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "Purchase", + "integrations": { + "All": true + }, + "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", + "originalTimestamp": "2020-05-21T10:23:15.984Z", + "properties": { + "currency": "USD", + "revenue": 100 + }, + "receivedAt": "2020-05-21T15:53:16.013+05:30", + "request_ip": "[::1]:59371", + "sentAt": "2020-05-21T10:23:15.985Z", + "timestamp": "2020-05-21T15:53:16.012+05:30", + "type": "track", + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 46, + "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "Purchase", + "integrations": { + "All": true + }, + "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", + "originalTimestamp": "2020-05-21T10:23:15.984Z", + "properties": { + "currency": "USD", + "revenue": 100 + }, + "receivedAt": "2020-05-21T15:53:16.013+05:30", + "request_ip": "[::1]:59371", + "sentAt": "2020-05-21T10:23:15.985Z", + "timestamp": "2020-05-21T15:53:16.012+05:30", + "type": "track", + "userId": "user-12345" + }, + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 46, + "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "azure_event_hub", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "Name": "Azure Event Hub", + "DestinationDefinition": { + "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", + "Name": "AZURE_EVENT_HUB", + "DisplayName": "Azure Event Hub", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": null, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", + "originalTimestamp": "2020-05-21T10:23:15.975Z", + "properties": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:58616", + "sentAt": "2020-05-21T10:23:15.975Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "page", + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 47, + "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", + "originalTimestamp": "2020-05-21T10:23:15.975Z", + "properties": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:58616", + "sentAt": "2020-05-21T10:23:15.975Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "page", + "userId": "user-12345" + }, + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 47, + "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "azure_event_hub", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "Name": "Azure Event Hub", + "DestinationDefinition": { + "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", + "Name": "AZURE_EVENT_HUB", + "DisplayName": "Azure Event Hub", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": null, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", + "originalTimestamp": "2020-05-21T10:23:15.979Z", + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59372", + "sentAt": "2020-05-21T10:23:15.979Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "identify", + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 48, + "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", + "originalTimestamp": "2020-05-21T10:23:15.979Z", + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59372", + "sentAt": "2020-05-21T10:23:15.979Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "identify", + "userId": "user-12345" + }, + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 48, + "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "azure_event_hub", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "Name": "Azure Event Hub", + "DestinationDefinition": { + "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", + "Name": "AZURE_EVENT_HUB", + "DisplayName": "Azure Event Hub", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": null, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "test track without property", + "integrations": { + "All": true + }, + "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", + "originalTimestamp": "2020-05-21T10:23:15.981Z", + "properties": {}, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59374", + "sentAt": "2020-05-21T10:23:15.981Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "track", + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 49, + "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "test track without property", + "integrations": { + "All": true + }, + "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", + "originalTimestamp": "2020-05-21T10:23:15.981Z", + "properties": {}, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59374", + "sentAt": "2020-05-21T10:23:15.981Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "track", + "userId": "user-12345" + }, + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 49, + "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "azure_event_hub", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "Name": "Azure Event Hub", + "DestinationDefinition": { + "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", + "Name": "AZURE_EVENT_HUB", + "DisplayName": "Azure Event Hub", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": null, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", + "originalTimestamp": "2020-05-21T10:23:15.982Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59373", + "sentAt": "2020-05-21T10:23:15.983Z", + "timestamp": "2020-05-21T15:53:16.013+05:30", + "type": "track", + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 50, + "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", + "originalTimestamp": "2020-05-21T10:23:15.982Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59373", + "sentAt": "2020-05-21T10:23:15.983Z", + "timestamp": "2020-05-21T15:53:16.013+05:30", + "type": "track", + "userId": "user-12345" + }, + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 50, + "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/blueshift/processor/data.ts b/test/integrations/destinations/blueshift/processor/data.ts new file mode 100644 index 0000000000..990515f40a --- /dev/null +++ b/test/integrations/destinations/blueshift/processor/data.ts @@ -0,0 +1,1997 @@ +export const data = [ + { + "name": "blueshift", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", + "dataCenter": "standard" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.5" + }, + "traits": { + "name": "hardik", + "email": "hardik@rudderstack.com", + "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", + "industry": "Education", + "employees": 399, + "plan": "enterprise", + "total billed": 830 + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.5" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36", + "locale": "en-US", + "os": { + "name": "", + "version": "" + } + }, + "type": "group", + "messageId": "e5034df0-a404-47b4-a463-76df99934fea", + "anonymousId": "my-anonymous-id-new", + "userId": "sampleusrRudder7", + "traits": { + "groupType": "company", + "name_trait": "Company", + "value_trait": "Comapny-ABC" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Missing required value from \"groupId\"", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "BLUESHIFT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", + "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", + "dataCenter": "standard" + } + }, + "message": { + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.5" + }, + "traits": { + "name": "hardik", + "email": "hardik@rudderstack.com", + "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", + "industry": "Education", + "employees": 399, + "plan": "enterprise", + "total billed": 830 + } + }, + "type": "group", + "userId": "rudderstack8", + "groupId": "35838" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getblueshift.com/api/v1/event", + "headers": { + "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "group_id": "35838", + "customer_id": "rudderstack8", + "email": "hardik@rudderstack.com", + "event": "identify" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", + "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", + "dataCenter": "standard" + } + }, + "message": { + "context": { + "ip": "14.5.67.21", + "device": { + "adTrackingEnabled": true, + "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "manufacturer": "Google", + "model": "AOSP on IA Emulator", + "name": "generic_x86_arm", + "type": "Android", + "attTrackingStatus": 3 + }, + "os": { + "name": "Android", + "version": "9" + }, + "network": { + "bluetooth": false, + "carrier": "Android", + "cellular": true, + "wifi": true + }, + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 789223, + "latitude": "37.7672319", + "longitude": "-122.4021353", + "state": "WB", + "street": "rajnagar" + } + }, + "properties": { + "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" + }, + "messageId": "34abcd-efghijkj-1234kf", + "type": "track", + "event": "identify", + "userId": "sampleusrRudder7" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getblueshift.com/api/v1/event", + "headers": { + "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "customer_id": "sampleusrRudder7", + "event": "identify", + "device_type": "Android", + "device_id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "device_idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "device_idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "device_manufacturer": "Google", + "os_name": "Android", + "network_carrier": "Android", + "ip": "14.5.67.21", + "latitude": "37.7672319", + "longitude": "-122.4021353", + "event_uuid": "34abcd-efghijkj-1234kf", + "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", + "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", + "dataCenter": "standard" + } + }, + "message": { + "type": "track", + "event": "Product Viewed", + "properties": { + "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123", + "checkout_id": "C324532", + "order_id": "T1230", + "value": 15.98, + "revenue": 16.98, + "shipping": 3, + "coupon": "FY21", + "currency": "INR", + "products": [ + { + "product_id": "product-mixedfruit-jam", + "sku": "sku-1", + "category": "Food", + "name": "Food/Drink", + "brand": "Sample", + "variant": "None", + "price": 10, + "quantity": 2, + "currency": "INR", + "position": 1, + "value": 6, + "typeOfProduct": "Food", + "url": "https://www.example.com/product/bacon-jam", + "image_url": "https://www.example.com/product/bacon-jam.jpg" + } + ] + }, + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.rudderstack.demo.android", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android" + }, + "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", + "name": "some campaign" + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Mumbai", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + } + }, + "messageId": "34abcd-efghijkj-1234kf", + "userId": "sampleRudderstack9" + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getblueshift.com/api/v1/event", + "headers": { + "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event": "view", + "device_type": "android", + "device_id": "7e32188a4dab669f", + "device_idfv": "7e32188a4dab669f", + "device_manufacturer": "Google", + "os_name": "Android", + "network_carrier": "Android", + "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123", + "checkout_id": "C324532", + "order_id": "T1230", + "value": 15.98, + "revenue": 16.98, + "shipping": 3, + "coupon": "FY21", + "currency": "INR", + "products": [ + { + "product_id": "product-mixedfruit-jam", + "sku": "sku-1", + "category": "Food", + "name": "Food/Drink", + "brand": "Sample", + "variant": "None", + "price": 10, + "quantity": 2, + "currency": "INR", + "position": 1, + "value": 6, + "typeOfProduct": "Food", + "url": "https://www.example.com/product/bacon-jam", + "image_url": "https://www.example.com/product/bacon-jam.jpg" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", + "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", + "dataCenter": "eu" + } + }, + "message": { + "type": "track", + "event": "Products Searched", + "properties": { + "description": "Sneaker purchase", + "brand": "Victory Sneakers", + "colors": [ + "red", + "blue" + ], + "items": [ + { + "text": "New Line Sneakers", + "price": "$ 79.95" + }, + { + "text": "Old Line Sneakers", + "price": "$ 79.95" + }, + { + "text": "Blue Line Sneakers", + "price": "$ 79.95" + } + ], + "name": "Hugh Manbeing", + "userLocation": { + "state": "CO", + "zip": "80202" + } + }, + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.rudderstack.demo.android", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android" + }, + "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", + "name": "some campaign" + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Mumbai", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + } + }, + "messageId": "34abcd-efghijkj-1234kf", + "userId": "sampleRudderstack9" + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.eu.getblueshift.com/api/v1/event", + "headers": { + "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event": "search", + "device_type": "android", + "device_id": "7e32188a4dab669f", + "device_idfv": "7e32188a4dab669f", + "device_manufacturer": "Google", + "os_name": "Android", + "network_carrier": "Android", + "description": "Sneaker purchase", + "brand": "Victory Sneakers", + "colors": [ + "red", + "blue" + ], + "items": [ + { + "text": "New Line Sneakers", + "price": "$ 79.95" + }, + { + "text": "Old Line Sneakers", + "price": "$ 79.95" + }, + { + "text": "Blue Line Sneakers", + "price": "$ 79.95" + } + ], + "name": "Hugh Manbeing", + "userLocation": { + "state": "CO", + "zip": "80202" + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", + "dataCenter": "standard" + } + }, + "message": { + "type": "track", + "event": "Product_purchased", + "properties": { + "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" + }, + "messageId": "34abcd-efghijkj-1234kf", + "context": { + "ip": "14.5.67.21", + "device": { + "adTrackingEnabled": true, + "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "manufacturer": "Google", + "model": "AOSP on IA Emulator", + "name": "generic_x86_arm", + "type": "Android", + "attTrackingStatus": 3 + }, + "os": { + "name": "Android", + "version": "9" + }, + "network": { + "bluetooth": false, + "carrier": "Android", + "cellular": true, + "wifi": true + }, + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 789223, + "latitude": "37.7672319", + "longitude": "-122.4021353", + "state": "WB", + "street": "rajnagar" + } + }, + "userId": "sampleRudderstack9" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "[BLUESHIFT] event Api Keys required for Authentication.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "BLUESHIFT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", + "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", + "dataCenter": "standard" + } + }, + "message": { + "type": "identify", + "event": "Product_purchased", + "properties": { + "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" + }, + "messageId": "34abcd-efghijkj-1234kf", + "context": { + "ip": "14.5.67.21", + "device": { + "adTrackingEnabled": true, + "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "manufacturer": "Google", + "model": "AOSP on IA Emulator", + "name": "generic_x86_arm", + "type": "Android", + "attTrackingStatus": 3 + }, + "os": { + "name": "Android", + "version": "9" + }, + "network": { + "bluetooth": false, + "carrier": "Android", + "cellular": true, + "wifi": true + }, + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 789223, + "latitude": "37.7672319", + "longitude": "-122.4021353", + "state": "WB", + "street": "rajnagar" + } + }, + "userId": "sampleRudderstack9" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Missing required value from \"email\"", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "BLUESHIFT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", + "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", + "dataCenter": "standard" + } + }, + "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", + "anonymousId": "anon_id", + "type": "identify", + "traits": { + "email": "chandan@companyname.com", + "userId": "rudder123", + "anonymousId": "anon_id", + "name": "James Doe", + "phone": "92374162212", + "gender": "M", + "firstname": "James", + "lastname": "Doe", + "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": "" + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getblueshift.com/api/v1/customers", + "headers": { + "Authorization": "Basic YjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q5MjBlYzFlMmU=", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "email": "chandan@companyname.com", + "customer_id": "rudder123", + "phone_number": "92374162212", + "firstname": "James", + "lastname": "Doe", + "gender": "M", + "userId": "rudder123", + "anonymousId": "anon_id", + "name": "James Doe", + "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": "" + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", + "dataCenter": "eu" + } + }, + "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", + "anonymousId": "anon_id", + "type": "identify", + "traits": { + "email": "chandan@companyname.com", + "userId": "rudder123", + "anonymousId": "anon_id", + "name": "James Doe", + "phone": "92374162212", + "gender": "M", + "firstname": "James", + "lastname": "Doe", + "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": "" + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "[BLUESHIFT] User API Key required for Authentication.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "BLUESHIFT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", + "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", + "dataCenter": "eu" + } + }, + "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" + }, + "locale": "en-US", + "ip": "0.0.0.0" + }, + "type": "identify", + "traits": { + "email": "chandan@companyname.com", + "userId": "rudder123", + "anonymousId": "anon_id", + "name": "James Doe", + "phone": "92374162212", + "gender": "M", + "firstname": "James", + "lastname": "Doe" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.eu.getblueshift.com/api/v1/customers", + "headers": { + "Authorization": "Basic YjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q5MjBlYzFlMmU=", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "email": "chandan@companyname.com", + "customer_id": "rudder123", + "phone_number": "92374162212", + "firstname": "James", + "lastname": "Doe", + "gender": "M", + "userId": "rudder123", + "anonymousId": "anon_id", + "name": "James Doe" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", + "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", + "dataCenter": "eu" + } + }, + "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" + }, + "locale": "en-US", + "ip": "0.0.0.0" + }, + "traits": { + "email": "chandan@companyname.com", + "userId": "rudder123", + "anonymousId": "anon_id", + "name": "James Doe", + "phone": "92374162212", + "gender": "M", + "firstname": "James", + "lastname": "Doe" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Message Type is not present. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "BLUESHIFT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", + "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", + "dataCenter": "eu" + } + }, + "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" + }, + "locale": "en-US", + "ip": "0.0.0.0" + }, + "type": "page", + "traits": { + "email": "chandan@companyname.com", + "userId": "rudder123", + "anonymousId": "anon_id", + "name": "James Doe", + "phone": "92374162212", + "gender": "M", + "firstname": "James", + "lastname": "Doe" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Message type page not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "BLUESHIFT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 12", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", + "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", + "dataCenter": "eu" + } + }, + "message": { + "type": "track", + "event": "Order Completed", + "properties": { + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "Games,Gifts,Entertainment,Toys", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + }, + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "quantity": "2", + "position": "1", + "category": "Games,Gifts,Entertainment,Toys", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + } + ] + }, + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.rudderstack.demo.android", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android" + }, + "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", + "name": "some campaign" + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Mumbai", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "userId": "sampleRudderstack11" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.eu.getblueshift.com/api/v1/event", + "headers": { + "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "customer_id": "sampleRudderstack11", + "event": "purchase", + "device_type": "android", + "device_id": "7e32188a4dab669f", + "device_idfv": "7e32188a4dab669f", + "device_manufacturer": "Google", + "os_name": "Android", + "network_carrier": "Android", + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "Games,Gifts,Entertainment,Toys", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + }, + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "quantity": "2", + "position": "1", + "category": "Games,Gifts,Entertainment,Toys", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 13", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", + "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", + "dataCenter": "eu" + } + }, + "message": { + "context": { + "ip": "14.5.67.21", + "device": { + "adTrackingEnabled": true, + "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "manufacturer": "Google", + "model": "AOSP on IA Emulator", + "name": "generic_x86_arm", + "type": "Android", + "attTrackingStatus": 3 + }, + "os": { + "name": "Android", + "version": "9" + }, + "network": { + "bluetooth": false, + "carrier": "Android", + "cellular": true, + "wifi": true + }, + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 789223, + "latitude": "37.7672319", + "longitude": "-122.4021353", + "state": "WB", + "street": "rajnagar" + } + }, + "properties": { + "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" + }, + "messageId": "34abcd-efghijkj-1234kf", + "type": "track", + "event": "Custom Events", + "userId": "sampleusrRudder7" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.eu.getblueshift.com/api/v1/event", + "headers": { + "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "customer_id": "sampleusrRudder7", + "event": "Custom_Events", + "device_type": "Android", + "device_id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "device_idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "device_idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", + "device_manufacturer": "Google", + "os_name": "Android", + "network_carrier": "Android", + "ip": "14.5.67.21", + "latitude": "37.7672319", + "longitude": "-122.4021353", + "event_uuid": "34abcd-efghijkj-1234kf", + "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 14", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", + "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", + "dataCenter": "eu" + } + }, + "message": { + "type": "track", + "event": "Order 9Completed", + "properties": { + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "Games,Gifts,Entertainment,Toys", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + }, + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "quantity": "2", + "position": "1", + "category": "Games,Gifts,Entertainment,Toys", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + } + ] + }, + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.rudderstack.demo.android", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android" + }, + "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", + "name": "some campaign" + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Mumbai", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "userId": "sampleRudderstack11" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "[Blueshift] Event shouldn't contain period(.), numeric value and contains not more than 64 characters", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "BLUESHIFT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 15", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", + "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", + "dataCenter": "eu" + } + }, + "message": { + "type": "track", + "event": "Order.Completed", + "properties": { + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "Games,Gifts,Entertainment,Toys", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + }, + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "quantity": "2", + "position": "1", + "category": "Games,Gifts,Entertainment,Toys", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + } + ] + }, + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.rudderstack.demo.android", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android" + }, + "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", + "name": "some campaign" + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Mumbai", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "userId": "sampleRudderstack11" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "[Blueshift] Event shouldn't contain period(.), numeric value and contains not more than 64 characters", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "BLUESHIFT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 16", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", + "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", + "dataCenter": "standard" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.rudderstack.demo.android", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android" + }, + "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", + "name": "some campaign" + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Mumbai", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "type": "group", + "messageId": "e5034jh0-a404-47b4-a463-76df99934kl2", + "userId": "sampleusrRudder1", + "groupId": "group22222", + "traits": { + "name": "hardik", + "email": "hardik@rudderstack.com", + "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", + "industry": "Education", + "employees": 399, + "plan": "enterprise", + "total billed": 830, + "gender": "male" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getblueshift.com/api/v1/event", + "headers": { + "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "group_id": "group22222", + "customer_id": "sampleusrRudder1", + "email": "hardik@rudderstack.com", + "device_type": "android", + "device_id": "7e32188a4dab669f", + "device_idfv": "7e32188a4dab669f", + "device_manufacturer": "Google", + "os_name": "Android", + "network_carrier": "Android", + "event_uuid": "e5034jh0-a404-47b4-a463-76df99934kl2", + "event": "identify", + "name": "hardik", + "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", + "industry": "Education", + "employees": 399, + "plan": "enterprise", + "total billed": 830, + "gender": "male" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "blueshift", + "description": "Test 17", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", + "dataCenter": "eu" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.rudderstack.demo.android", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android" + }, + "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", + "name": "some campaign" + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Mumbai", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "type": "group", + "messageId": "e5034jh0-a404-47b4-a463-76df99934kl2", + "userId": "sampleusrRudder1", + "groupId": "group22222", + "traits": { + "name": "hardik", + "email": "hardik@rudderstack.com", + "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", + "industry": "Education", + "employees": 399, + "plan": "enterprise", + "total billed": 830, + "gender": "male" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "[BLUESHIFT] event API Key required for Authentication.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "BLUESHIFT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/blueshift/router/data.ts b/test/integrations/destinations/blueshift/router/data.ts new file mode 100644 index 0000000000..7c92ff1d74 --- /dev/null +++ b/test/integrations/destinations/blueshift/router/data.ts @@ -0,0 +1,348 @@ +export const data = [ + { + name: 'blueshift', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + datacenterEU: false, + }, + }, + metadata: { + jobId: 1, + }, + message: { + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.5', + }, + traits: { + name: 'hardik', + email: 'hardik@rudderstack.com', + cookie: '1234abcd-efghklkj-1234kfjadslk-34iu123', + industry: 'Education', + employees: 399, + plan: 'enterprise', + 'total billed': 830, + }, + }, + type: 'group', + userId: 'rudderstack8', + groupId: '35838', + }, + }, + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + datacenterEU: false, + }, + }, + metadata: { + jobId: 2, + }, + message: { + context: { + ip: '14.5.67.21', + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'Android', + attTrackingStatus: 3, + }, + os: { + name: 'Android', + version: '9', + }, + network: { + bluetooth: false, + carrier: 'Android', + cellular: true, + wifi: true, + }, + address: { + city: 'kolkata', + country: 'India', + postalCode: 789223, + latitude: '37.7672319', + longitude: '-122.4021353', + state: 'WB', + street: 'rajnagar', + }, + }, + properties: { + cookie: '1234abcd-efghijkj-1234kfjadslk-34iu123', + }, + messageId: '34abcd-efghijkj-1234kf', + type: 'track', + event: 'identify', + userId: 'sampleusrRudder7', + }, + }, + { + destination: { + Config: { + eventApiKey: 'a5e75d99c8a18acb4a29abd920ec1e2e', + usersApiKey: 'b4a29aba5e75d99c8a18acd920ec1e2e', + datacenterEU: false, + }, + }, + metadata: { + jobId: 3, + }, + 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', + anonymousId: 'anon_id', + type: 'identify', + traits: { + email: 'chandan@companyname.com', + userId: 'rudder123', + anonymousId: 'anon_id', + name: 'James Doe', + phone: '92374162212', + gender: 'M', + firstname: 'James', + lastname: 'Doe', + 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: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + destType: 'blueshift', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getblueshift.com/api/v1/event', + headers: { + Authorization: 'Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + group_id: '35838', + customer_id: 'rudderstack8', + email: 'hardik@rudderstack.com', + event: 'identify', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + datacenterEU: false, + }, + }, + }, + { + batchedRequest: { + body: { + XML: {}, + FORM: {}, + JSON: { + ip: '14.5.67.21', + event: 'identify', + cookie: '1234abcd-efghijkj-1234kfjadslk-34iu123', + os_name: 'Android', + latitude: '37.7672319', + device_id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + longitude: '-122.4021353', + event_uuid: '34abcd-efghijkj-1234kf', + customer_id: 'sampleusrRudder7', + device_idfa: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + device_idfv: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + device_type: 'Android', + network_carrier: 'Android', + device_manufacturer: 'Google', + }, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=', + }, + version: '1', + endpoint: 'https://api.getblueshift.com/api/v1/event', + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + datacenterEU: false, + }, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getblueshift.com/api/v1/customers', + headers: { + Authorization: 'Basic YjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q5MjBlYzFlMmU=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + email: 'chandan@companyname.com', + customer_id: 'rudder123', + phone_number: '92374162212', + firstname: 'James', + lastname: 'Doe', + gender: 'M', + userId: 'rudder123', + anonymousId: 'anon_id', + name: 'James Doe', + 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: '', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 3, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + eventApiKey: 'a5e75d99c8a18acb4a29abd920ec1e2e', + usersApiKey: 'b4a29aba5e75d99c8a18acd920ec1e2e', + datacenterEU: false, + }, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/branch/processor/data.ts b/test/integrations/destinations/branch/processor/data.ts new file mode 100644 index 0000000000..9fed354235 --- /dev/null +++ b/test/integrations/destinations/branch/processor/data.ts @@ -0,0 +1,1493 @@ +export const data = [ + { + name: 'branch', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'product added', + integrations: { + All: true, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + properties: { + name: 'sampath', + }, + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/standard', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + branch_key: '', + name: 'ADD_TO_CART', + content_items: [ + { + $product_name: 'sampath', + }, + ], + user_data: { + os: 'iOS', + os_version: '14.4.1', + app_version: '1.0.0', + screen_dpi: 2, + developer_identity: 'sampath', + idfa: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + idfv: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + limit_ad_tracking: false, + model: 'AOSP on IA Emulator', + 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', + }, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'Android', + attTrackingStatus: 2, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 2, + }, + 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', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'identify', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/custom', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + branch_key: '', + name: 'sampath', + custom_data: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + content_items: [{}], + user_data: { + os: 'Android', + os_version: '9', + app_version: '1.0.0', + screen_dpi: 2, + developer_identity: 'sampath', + android_id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + aaid: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + limit_ad_tracking: true, + model: 'AOSP on IA Emulator', + 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', + }, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + 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', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'page', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + statTags: { + destType: 'BRANCH', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + error: 'Message type is not supported', + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + attTrackingStatus: 3, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'watchos', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'product added', + integrations: { + All: true, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + properties: { + name: 'sampath', + }, + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/standard', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + content_items: [ + { + $product_name: 'sampath', + }, + ], + user_data: { + os: 'watchos', + app_version: '1.0.0', + screen_dpi: 2, + developer_identity: 'sampath', + idfa: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + idfv: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + limit_ad_tracking: false, + model: 'AOSP on IA Emulator', + 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', + }, + name: 'ADD_TO_CART', + branch_key: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + attTrackingStatus: 3, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'ipados', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'product added', + integrations: { + All: true, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + properties: { + name: 'sampath', + }, + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/standard', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + content_items: [ + { + $product_name: 'sampath', + }, + ], + user_data: { + os: 'ipados', + app_version: '1.0.0', + screen_dpi: 2, + developer_identity: 'sampath', + idfa: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + idfv: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + limit_ad_tracking: false, + model: 'AOSP on IA Emulator', + 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', + }, + name: 'ADD_TO_CART', + branch_key: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + attTrackingStatus: 3, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'tvos', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'product added', + integrations: { + All: true, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + properties: { + name: 'sampath', + }, + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/standard', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + content_items: [ + { + $product_name: 'sampath', + }, + ], + user_data: { + os: 'tvos', + app_version: '1.0.0', + screen_dpi: 2, + developer_identity: 'sampath', + idfa: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + idfv: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + limit_ad_tracking: false, + model: 'AOSP on IA Emulator', + 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', + }, + name: 'ADD_TO_CART', + branch_key: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'product added', + integrations: { + All: true, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/standard', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + user_data: { + os: 'iOS', + os_version: '14.4.1', + app_version: '1.0.0', + screen_dpi: 2, + developer_identity: 'sampath', + idfa: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + idfv: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + limit_ad_tracking: false, + model: 'AOSP on IA Emulator', + 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', + }, + name: 'ADD_TO_CART', + branch_key: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'product added', + integrations: { + All: true, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/standard', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + user_data: { + app_version: '1.0.0', + screen_dpi: 2, + developer_identity: 'sampath', + limit_ad_tracking: false, + model: 'AOSP on IA Emulator', + 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', + }, + name: 'ADD_TO_CART', + branch_key: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'product added', + integrations: { + All: true, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/standard', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + user_data: { + os: 'iOS', + os_version: '14.4.1', + developer_identity: 'sampath', + idfa: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + idfv: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + limit_ad_tracking: false, + model: 'AOSP on IA Emulator', + 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', + }, + name: 'ADD_TO_CART', + branch_key: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + integrations: { + All: true, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'track', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Event name is required', + statTags: { + destType: 'BRANCH', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'Android', + attTrackingStatus: 2, + brand: 'testBrand', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 2, + height: 1794, + width: 1080, + }, + 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', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'identify', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/custom', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + custom_data: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + content_items: [{}], + user_data: { + os: 'Android', + os_version: '9', + app_version: '1.0.0', + model: 'AOSP on IA Emulator', + brand: 'testBrand', + screen_dpi: 2, + screen_height: 1794, + screen_width: 1080, + developer_identity: 'sampath', + 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', + android_id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + aaid: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + limit_ad_tracking: true, + }, + name: 'sampath', + branch_key: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'branch', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'ios', + attTrackingStatus: 2, + brand: 'testBrand', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + height: 1794, + width: 1080, + }, + 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', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'identify', + userId: 'sampath', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/custom', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + custom_data: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + content_items: [{}], + user_data: { + os: 'iOS', + os_version: '14.4.1', + app_version: '1.0.0', + model: 'AOSP on IA Emulator', + brand: 'testBrand', + screen_dpi: 2, + screen_height: 1794, + screen_width: 1080, + developer_identity: 'sampath', + 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', + idfa: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + idfv: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + limit_ad_tracking: true, + }, + name: 'sampath', + branch_key: '', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/branch/router/data.ts b/test/integrations/destinations/branch/router/data.ts new file mode 100644 index 0000000000..4c87145b7e --- /dev/null +++ b/test/integrations/destinations/branch/router/data.ts @@ -0,0 +1,276 @@ +export const data = [ + { + name: 'branch', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + metadata: { + jobId: 1, + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'product added', + integrations: { + All: true, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + properties: { + name: 'sampath', + }, + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'track', + userId: 'sampath', + }, + }, + { + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + metadata: { + jobId: 2, + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '', + }, + screen: { + density: 2, + }, + 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', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'identify', + userId: 'sampath', + }, + }, + ], + destType: 'branch', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/standard', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + branch_key: '', + name: 'ADD_TO_CART', + content_items: [ + { + $product_name: 'sampath', + }, + ], + user_data: { + os: 'iOS', + os_version: '', + app_version: '1.0.0', + screen_dpi: 2, + developer_identity: 'sampath', + 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', + }, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.branch.io/v2/event/custom', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + branch_key: '', + name: 'sampath', + custom_data: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + content_items: [{}], + user_data: { + os: 'iOS', + os_version: '', + app_version: '1.0.0', + screen_dpi: 2, + developer_identity: 'sampath', + 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', + }, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + branchKey: '', + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Branch Metrics', + ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', + Name: 'BRANCH', + }, + Enabled: true, + ID: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + Name: 'branch test', + Transformations: [], + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/campaign_manager/processor/data.ts b/test/integrations/destinations/campaign_manager/processor/data.ts new file mode 100644 index 0000000000..6721cf2631 --- /dev/null +++ b/test/integrations/destinations/campaign_manager/processor/data.ts @@ -0,0 +1,825 @@ +export const data = [ + { + "name": "campaign_manager", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "device": { + "id": "0572f78fa49c648e", + "name": "generic_x86_arm", + "type": "Android", + "model": "AOSP on IA Emulator", + "manufacturer": "Google", + "adTrackingEnabled": true, + "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" + }, + "traits": { + "email": "alex@example.com", + "phone": "+1-202-555-0146", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "England", + "countryCode": "GB", + "postalCode": "EC3M", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "originalTimestamp": "2022-11-17T00:22:02.903+05:30", + "properties": { + "profileId": "34245", + "floodlightConfigurationId": "213123123", + "ordinal": "string", + "floodlightActivityId": "456543345245", + "value": "756", + "encryptedUserIdCandidates": [ + "dfghjbnm" + ], + "quantity": "455678", + "encryptionSource": "AD_SERVING", + "encryptionEntityId": "3564523", + "encryptionEntityType": "DCM_ACCOUNT", + "requestType": "batchinsert" + }, + "type": "track", + "event": "event test", + "anonymousId": "randomId", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "profileId": "5343234", + "treatmentForUnderage": false, + "limitAdTracking": false, + "childDirectedTreatment": false, + "nonPersonalizedAd": false, + "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", + "headers": { + "Authorization": "Bearer dummyApiToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "kind": "dfareporting#conversionsBatchInsertRequest", + "encryptionInfo": { + "encryptionEntityType": "DCM_ACCOUNT", + "encryptionSource": "AD_SERVING", + "encryptionEntityId": "3564523", + "kind": "dfareporting#encryptionInfo" + }, + "conversions": [ + { + "floodlightConfigurationId": "213123123", + "ordinal": "string", + "timestampMicros": "1668624722903000", + "floodlightActivityId": "456543345245", + "quantity": "455678", + "value": 756, + "encryptedUserIdCandidates": [ + "dfghjbnm" + ], + "nonPersonalizedAd": false, + "treatmentForUnderage": false, + "childDirectedTreatment": false, + "limitAdTracking": false + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "campaign_manager", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "device": { + "id": "0572f78fa49c648e", + "name": "generic_x86_arm", + "type": "Android", + "model": "AOSP on IA Emulator", + "manufacturer": "Google", + "adTrackingEnabled": true, + "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" + }, + "traits": { + "email": "alex@example.com", + "phone": "+1-202-555-0146", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "England", + "countryCode": "GB", + "postalCode": "EC3M", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "originalTimestamp": "2021-01-04T08:25:04.780Z", + "properties": { + "profileId": "34245", + "floodlightConfigurationId": "213123123", + "ordinal": "string", + "floodlightActivityId": "456543345245", + "value": "756", + "quantity": "455678", + "gclid": "string", + "encryptionSource": "AD_SERVING", + "encryptionEntityId": "3564523", + "encryptionEntityType": "DCM_ACCOUNT", + "requestType": "batchupdate" + }, + "type": "track", + "event": "event test", + "anonymousId": "randomId", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "profileId": "5343234", + "treatmentForUnderage": false, + "limitAdTracking": false, + "childDirectedTreatment": false, + "nonPersonalizedAd": false, + "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchupdate", + "headers": { + "Authorization": "Bearer dummyApiToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "kind": "dfareporting#conversionsBatchUpdateRequest", + "conversions": [ + { + "floodlightConfigurationId": "213123123", + "ordinal": "string", + "timestampMicros": "1609748704780000", + "floodlightActivityId": "456543345245", + "quantity": "455678", + "value": 756, + "gclid": "string", + "nonPersonalizedAd": false, + "treatmentForUnderage": false + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "campaign_manager", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "device": { + "id": "0572f78fa49c648e", + "name": "generic_x86_arm", + "type": "Android", + "model": "AOSP on IA Emulator", + "manufacturer": "Google", + "adTrackingEnabled": true, + "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" + }, + "traits": { + "email": "alex@example.com", + "phone": "+1-202-555-0146", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "England", + "countryCode": "GB", + "postalCode": "EC3M", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "originalTimestamp": "2022-11-17T00:22:02.903+05:30", + "properties": { + "profileId": "34245", + "floodlightConfigurationId": "213123123", + "ordinal": "string", + "floodlightActivityId": "456543345245", + "mobileDeviceId": "string", + "value": "756", + "encryptedUserIdCandidates": [ + "dfghjbnm" + ], + "quantity": "455678", + "gclid": "string", + "matchId": "string", + "dclid": "string", + "impressionId": "string", + "requestType": "batchinsert" + }, + "type": "track", + "event": "event test", + "anonymousId": "randomId", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "profileId": "5343234", + "treatmentForUnderage": false, + "limitAdTracking": false, + "childDirectedTreatment": false, + "nonPersonalizedAd": false, + "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 400, + "error": "[CAMPAIGN MANAGER (DCM)]: If encryptedUserId or encryptedUserIdCandidates is used, provide proper values for properties.encryptionEntityType , properties.encryptionSource and properties.encryptionEntityId", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "CAMPAIGN_MANAGER", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "campaign_manager", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "sources", + "originalTimestamp": "2022-11-17T00:22:02.903+05:30", + "properties": { + "floodlightConfigurationId": "213123123", + "ordinal": "string", + "floodlightActivityId": "456543345245", + "value": "756", + "quantity": "455678", + "requestType": "batchinsert" + }, + "type": "track", + "event": "event test", + "anonymousId": "randomId", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "profileId": "5343234", + "treatmentForUnderage": false, + "limitAdTracking": false, + "childDirectedTreatment": false, + "nonPersonalizedAd": false, + "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 400, + "error": "[CAMPAIGN MANAGER (DCM)]: Atleast one of encryptedUserId,encryptedUserIdCandidates, matchId, mobileDeviceId, gclid, dclid, impressionId.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "CAMPAIGN_MANAGER", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "campaign_manager", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "device": { + "id": "0572f78fa49c648e", + "name": "generic_x86_arm", + "type": "Android", + "model": "AOSP on IA Emulator", + "manufacturer": "Google", + "adTrackingEnabled": true, + "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" + }, + "traits": { + "email": "alex@example.com", + "phone": "+1-202-555-0146", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "England", + "countryCode": "GB", + "postalCode": "EC3M", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "originalTimestamp": "2022-11-17T00:22:02.903+05:30", + "properties": { + "profileId": "34245", + "floodlightConfigurationId": "213123123", + "ordinal": "1", + "floodlightActivityId": "456543345245", + "value": "756", + "quantity": "455678", + "encryptionSource": "AD_SERVING", + "encryptionEntityId": "3564523", + "encryptionEntityType": "DCM_ACCOUNT", + "requestType": "batchinsert", + "matchId": "123" + }, + "type": "track", + "event": "event test", + "anonymousId": "randomId", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "profileId": "5343234", + "treatmentForUnderage": false, + "limitAdTracking": false, + "childDirectedTreatment": false, + "nonPersonalizedAd": false, + "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", + "headers": { + "Authorization": "Bearer dummyApiToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "kind": "dfareporting#conversionsBatchInsertRequest", + "conversions": [ + { + "floodlightConfigurationId": "213123123", + "ordinal": "1", + "timestampMicros": "1668624722903000", + "floodlightActivityId": "456543345245", + "quantity": "455678", + "value": 756, + "matchId": "123", + "nonPersonalizedAd": false, + "treatmentForUnderage": false, + "childDirectedTreatment": false, + "limitAdTracking": false + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "campaign_manager", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "device": { + "id": "0572f78fa49c648e", + "name": "generic_x86_arm", + "type": "Android", + "model": "AOSP on IA Emulator", + "manufacturer": "Google", + "adTrackingEnabled": true, + "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" + }, + "traits": { + "email": "alex@example.com", + "phone": "+1-202-555-0146", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "England", + "countryCode": "GB", + "postalCode": "EC3M", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "originalTimestamp": "1668624722903333", + "properties": { + "profileId": "34245", + "floodlightConfigurationId": "213123123", + "ordinal": "1", + "floodlightActivityId": "456543345245", + "value": "756", + "quantity": "455678", + "encryptionSource": "AD_SERVING", + "encryptionEntityId": "3564523", + "encryptionEntityType": "DCM_ACCOUNT", + "requestType": "batchinsert", + "matchId": "123" + }, + "type": "track", + "event": "event test", + "anonymousId": "randomId", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "profileId": "5343234", + "treatmentForUnderage": false, + "limitAdTracking": false, + "childDirectedTreatment": false, + "nonPersonalizedAd": false, + "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", + "headers": { + "Authorization": "Bearer dummyApiToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "kind": "dfareporting#conversionsBatchInsertRequest", + "conversions": [ + { + "floodlightConfigurationId": "213123123", + "ordinal": "1", + "timestampMicros": "1668624722903333", + "floodlightActivityId": "456543345245", + "quantity": "455678", + "value": 756, + "matchId": "123", + "nonPersonalizedAd": false, + "treatmentForUnderage": false, + "childDirectedTreatment": false, + "limitAdTracking": false + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyApiToken", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/campaign_manager/router/data.ts b/test/integrations/destinations/campaign_manager/router/data.ts new file mode 100644 index 0000000000..95372e1925 --- /dev/null +++ b/test/integrations/destinations/campaign_manager/router/data.ts @@ -0,0 +1,464 @@ +export const data = [ + { + name: 'campaign_manager', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + jobId: 1, + }, + destination: { + Config: { + treatmentForUnderage: false, + limitAdTracking: false, + childDirectedTreatment: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Promotion Clicked', + originalTimestamp: '2022-11-17T00:22:02.903+05:30', + properties: { + profileId: 437689, + floodlightConfigurationId: '213123123', + ordinal: 'string', + quantity: '455678', + floodlightActivityId: '456543345245', + value: 7, + encryptedUserIdCandidates: ['dfghjbnm'], + limitAdTracking: true, + childDirectedTreatment: true, + encryptionSource: 'AD_SERVING', + encryptionEntityId: '3564523', + encryptionEntityType: 'DCM_ACCOUNT', + requestType: 'batchinsert', + }, + type: 'track', + anonymousId: 'randomId', + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2022-11-17T00:22:02.903+05:30', + }, + }, + { + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + jobId: 2, + }, + destination: { + Config: { + treatmentForUnderage: false, + limitAdTracking: false, + childDirectedTreatment: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Promotion Clicked', + type: 'track', + originalTimestamp: '2022-11-17T00:22:02.903+05:30', + properties: { + profileId: 437689, + floodlightConfigurationId: '213123123', + ordinal: 'string', + floodlightActivityId: '456543345245', + quantity: '455678', + value: 7, + encryptedUserIdCandidates: ['dfghjbnm'], + limitAdTracking: true, + childDirectedTreatment: true, + encryptionSource: 'AD_SERVING', + encryptionEntityId: '3564523', + encryptionEntityType: 'DCM_ACCOUNT', + requestType: 'batchupdate', + }, + anonymousId: 'randomId', + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2022-11-17T00:22:02.903+05:30', + }, + }, + { + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + jobId: 3, + }, + destination: { + Config: { + treatmentForUnderage: false, + limitAdTracking: false, + childDirectedTreatment: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Promotion Clicked', + type: 'track', + originalTimestamp: '2022-11-17T00:22:02.903+05:30', + properties: { + profileId: 437689, + floodlightConfigurationId: '213123123', + ordinal: 'string', + floodlightActivityId: '456543345245', + mobileDeviceId: 'string', + value: 7, + encryptedUserIdCandidates: ['dfghjbnm'], + gclid: 'string', + matchId: 'string', + dclid: 'string', + quantity: '455678', + impressionId: 'string', + limitAdTracking: true, + childDirectedTreatment: true, + encryptionInfo: { + kind: 'dfareporting#encryptionInfo', + encryptionSource: 'AD_SERVING', + encryptionEntityId: '3564523', + encryptionEntityType: 'DCM_ACCOUNT', + }, + requestType: 'randomValue', + }, + anonymousId: 'randomId', + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2022-11-17T00:22:02.903+05:30', + }, + }, + ], + destType: 'campaign_manager', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/437689/conversions/batchinsert', + headers: { + Authorization: 'Bearer dummyApiToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + kind: 'dfareporting#conversionsBatchInsertRequest', + encryptionInfo: { + kind: 'dfareporting#encryptionInfo', + encryptionSource: 'AD_SERVING', + encryptionEntityId: '3564523', + encryptionEntityType: 'DCM_ACCOUNT', + }, + conversions: [ + { + nonPersonalizedAd: false, + treatmentForUnderage: false, + timestampMicros: '1668624722903000', + floodlightConfigurationId: '213123123', + ordinal: 'string', + quantity: '455678', + floodlightActivityId: '456543345245', + value: 7, + encryptedUserIdCandidates: ['dfghjbnm'], + limitAdTracking: true, + childDirectedTreatment: true, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + secret: { + access_token: 'dummyApiToken', + developer_token: 'ijkl91011', + refresh_token: 'efgh5678', + }, + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + childDirectedTreatment: false, + limitAdTracking: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + treatmentForUnderage: false, + }, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/437689/conversions/batchupdate', + headers: { + Authorization: 'Bearer dummyApiToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + kind: 'dfareporting#conversionsBatchUpdateRequest', + encryptionInfo: { + kind: 'dfareporting#encryptionInfo', + encryptionSource: 'AD_SERVING', + encryptionEntityId: '3564523', + encryptionEntityType: 'DCM_ACCOUNT', + }, + conversions: [ + { + nonPersonalizedAd: false, + treatmentForUnderage: false, + timestampMicros: '1668624722903000', + floodlightConfigurationId: '213123123', + ordinal: 'string', + quantity: '455678', + floodlightActivityId: '456543345245', + value: 7, + encryptedUserIdCandidates: ['dfghjbnm'], + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + secret: { + access_token: 'dummyApiToken', + developer_token: 'ijkl91011', + refresh_token: 'efgh5678', + }, + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + childDirectedTreatment: false, + limitAdTracking: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + treatmentForUnderage: false, + }, + }, + }, + { + destination: { + Config: { + treatmentForUnderage: false, + limitAdTracking: false, + childDirectedTreatment: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + batched: false, + error: + '[CAMPAIGN MANAGER (DCM)]: properties.requestType must be one of batchinsert or batchupdate.', + metadata: [ + { + secret: { + access_token: 'dummyApiToken', + developer_token: 'ijkl91011', + refresh_token: 'efgh5678', + }, + jobId: 3, + }, + ], + statusCode: 400, + statTags: { + destType: 'CAMPAIGN_MANAGER', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/candu/processor/data.ts b/test/integrations/destinations/candu/processor/data.ts new file mode 100644 index 0000000000..83f0462538 --- /dev/null +++ b/test/integrations/destinations/candu/processor/data.ts @@ -0,0 +1,1366 @@ +export const data = [ + { + name: 'candu', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { + defaultConfig: ['apiKey'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'FXLkLUEhGJyvmY4', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + type: 'identify', + sentAt: '2022-01-20T13:39:21.033Z', + userId: 'user123456001', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + path: '/Testing/App_for_LaunchDarkly/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '', + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 689, + }, + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + messageId: '831f1fa5-de84-4f22-880a-4c3f23fc3f04', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + integrations: { + All: true, + }, + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + userId: '', + method: 'POST', + endpoint: 'https://api.candu.ai/api/eventWebhook', + headers: { + Authorization: 'Basic RlhMa0xVRWhHSnl2bVk0', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + }, + type: 'identify', + userId: 'user123456001', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + messageId: '831f1fa5-de84-4f22-880a-4c3f23fc3f04', + context: { + source: 'RudderStack', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'candu', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { + defaultConfig: ['apiKey'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'FXLkLUEhGJyvmY4', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + type: 'track', + event: 'testEventWithoutProp', + sentAt: '2022-01-20T14:32:51.506Z', + userId: 'user123456001', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + path: '/Testing/App_for_LaunchDarkly/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '', + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 689, + }, + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + messageId: 'e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e', + properties: {}, + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + integrations: { + All: true, + }, + originalTimestamp: '2022-01-20T14:32:51.506Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + userId: '', + method: 'POST', + endpoint: 'https://api.candu.ai/api/eventWebhook', + headers: { + Authorization: 'Basic RlhMa0xVRWhHSnl2bVk0', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + type: 'track', + event: 'testEventWithoutProp', + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + }, + properties: {}, + userId: 'user123456001', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + messageId: 'e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e', + context: { + source: 'RudderStack', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'candu', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { + defaultConfig: ['apiKey'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'FXLkLUEhGJyvmY4', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + type: 'track', + sentAt: '2022-01-20T14:42:59.775Z', + userId: '', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + path: '/Testing/App_for_LaunchDarkly/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + initial_referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '127.0.0.1:7307', + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 689, + }, + traits: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + rudderId: '1877191c-3537-46dc-a35a-e2a4d13ed3f7', + messageId: 'fea245ef-6150-42c4-84e0-51fa68e71a88', + properties: {}, + anonymousId: 'd18df757-34aa-4f71-91a8-7f9ef2940963', + integrations: { + All: true, + }, + originalTimestamp: '2022-01-20T14:42:25.343Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Missing required value from "event"', + statTags: { + destType: 'CANDU', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + }, + ], + }, + }, + }, + { + name: 'candu', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { + defaultConfig: ['apiKey'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'FXLkLUEhGJyvmY4', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + type: 'page', + sentAt: '2022-01-20T15:30:57.470Z', + userId: 'testUser1234', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + path: '/Testing/App_for_LaunchDarkly/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + initial_referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '127.0.0.1:7307', + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 632, + }, + traits: {}, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + rudderId: 'aa193f3b-6d42-466f-a781-6a666cfe17c3', + messageId: 'bf869c14-5f96-4cbc-94b2-3de9252c216b', + properties: { + url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + path: '/Testing/App_for_LaunchDarkly/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + initial_referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '127.0.0.1:7307', + }, + anonymousId: 'd18df757-34aa-4f71-91a8-7f9ef2940963', + integrations: { + All: true, + }, + originalTimestamp: '2022-01-20T15:30:57.470Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: '[CANDU]:: Message type page not supported.', + statTags: { + destType: 'CANDU', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + }, + ], + }, + }, + }, + { + name: 'candu', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { + defaultConfig: ['apiKey'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: ' ', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + type: 'track', + event: 'testEventWithoutProp', + sentAt: '2022-01-20T14:32:51.506Z', + userId: 'user123456001', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + path: '/Testing/App_for_LaunchDarkly/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '', + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 689, + }, + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + messageId: 'e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e', + properties: {}, + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + integrations: { + All: true, + }, + originalTimestamp: '2022-01-20T14:32:51.506Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: '[CANDU]:: apiKey cannot be empty.', + statTags: { + destType: 'CANDU', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + }, + ], + }, + }, + }, + { + name: 'candu', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { + defaultConfig: ['apiKey'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'FXLkLUEhGJyvmY4', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + event: 'testEventWithoutProp', + sentAt: '2022-01-20T14:32:51.506Z', + userId: 'user123456001', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + path: '/Testing/App_for_LaunchDarkly/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '', + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 689, + }, + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + messageId: 'e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e', + properties: {}, + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + integrations: { + All: true, + }, + originalTimestamp: '2022-01-20T14:32:51.506Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: '[CANDU]:: Message Type is not present. Aborting message.', + statTags: { + destType: 'CANDU', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + }, + ], + }, + }, + }, + { + name: 'candu', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { + defaultConfig: ['apiKey'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'FXLkLUEhGJyvmY4', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + type: 'identify', + sentAt: '2022-01-20T13:39:21.033Z', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + path: '/Testing/App_for_LaunchDarkly/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '', + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 689, + }, + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + userId: 2399229, + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + messageId: '831f1fa5-de84-4f22-880a-4c3f23fc3f04', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + integrations: { + All: true, + }, + originalTimestamp: '2022-01-20T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + userId: "", + method: 'POST', + endpoint: 'https://api.candu.ai/api/eventWebhook', + headers: { + Authorization: 'Basic RlhMa0xVRWhHSnl2bVk0', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + userId: 2399229, + }, + userId: '2399229', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + messageId: '831f1fa5-de84-4f22-880a-4c3f23fc3f04', + type: 'identify', + context: { + source: 'RudderStack', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'candu', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { + defaultConfig: ['apiKey'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'FXLkLUEhGJyvmY4', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + type: 'track', + event: 'testEventWithoutProp', + sentAt: '2022-01-20T14:32:51.506Z', + userId: 'user123456001', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + path: '/Testing/App_for_LaunchDarkly/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '', + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 689, + }, + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + messageId: 'e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e', + properties: ['1234', '5678', '91011'], + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + integrations: { + All: true, + }, + originalTimestamp: '2022-01-20T14:32:51.506Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + userId: "", + method: 'POST', + endpoint: 'https://api.candu.ai/api/eventWebhook', + headers: { + Authorization: 'Basic RlhMa0xVRWhHSnl2bVk0', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'testEventWithoutProp', + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + }, + properties: ['1234', '5678', '91011'], + userId: 'user123456001', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + messageId: 'e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e', + type: 'track', + context: { + source: 'RudderStack', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'candu', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { + defaultConfig: ['apiKey'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'FXLkLUEhGJyvmY4', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + type: 'track', + event: 'testEventWithoutProp', + sentAt: '2022-01-20T14:32:51.506Z', + userId: '', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + path: '/Testing/App_for_LaunchDarkly/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/App_for_LaunchDarkly/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '', + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 689, + }, + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + messageId: 'e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e', + properties: [], + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + integrations: { + All: true, + }, + originalTimestamp: '2022-01-20T14:32:51.506Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + userId: "", + method: 'POST', + endpoint: 'https://api.candu.ai/api/eventWebhook', + headers: { + Authorization: 'Basic RlhMa0xVRWhHSnl2bVk0', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'testEventWithoutProp', + traits: { + city: 'Pune', + name: 'First User', + email: 'firstUser@testmail.com', + title: 'VP', + gender: 'female', + }, + properties: [], + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + messageId: 'e9f3dfb4-562c-48f4-b0cf-85782dfc9b1e', + type: 'track', + context: { + source: 'RudderStack', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/candu/router/data.ts b/test/integrations/destinations/candu/router/data.ts new file mode 100644 index 0000000000..8aa6441881 --- /dev/null +++ b/test/integrations/destinations/candu/router/data.ts @@ -0,0 +1,212 @@ +export const data = [ + { + name: 'candu', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { + defaultConfig: ['apiKey'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'FXLkLUEhGJyvmY4', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + jobId: 1, + }, + message: { + anonymousId: 'a1b2c3d4e5f6g7h8i9j10', + channel: 'mobile', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + advertisingId: '', + id: '', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + attTrackingStatus: 3, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'watchos', + }, + screen: { + density: 2, + }, + traits: { + email: 'sampath@gmail.com', + name: 'Joker', + Gender: 'male', + foo: { + foo: 'bar', + }, + }, + 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', + }, + event: 'product added', + integrations: { + All: true, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + request_ip: '[::1]:64059', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + type: 'identify', + userId: 'sampath', + }, + }, + ], + destType: 'candu', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.candu.ai/api/eventWebhook', + headers: { + Authorization: 'Basic RlhMa0xVRWhHSnl2bVk0', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + traits: { + email: 'sampath@gmail.com', + name: 'Joker', + Gender: 'male', + foo: { foo: 'bar' }, + }, + type: 'identify', + userId: 'sampath', + anonymousId: 'a1b2c3d4e5f6g7h8i9j10', + timestamp: '2020-01-17T10:23:51.206+05:30', + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + context: { source: 'RudderStack' }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + ID: '23uZJcllEOBx8GbZ31qYzoML8Up', + Name: 'Candu local', + DestinationDefinition: { + ID: '23uYPwdkxT7pUNDAiCVNK3aU0sT', + Name: 'CANDU', + DisplayName: 'Candu', + Config: { + destConfig: { defaultConfig: ['apiKey'] }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'blackListedEvents', + 'whiteListedEvents', + 'oneTrustCookieCategories', + ], + saveDestinationResponse: true, + secretKeys: ['apiKey'], + supportedMessageTypes: ['identify', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'reactnative', + 'flutter', + 'cordova', + ], + transformAt: 'router', + transformAtV1: 'router', + }, + ResponseRules: {}, + }, + Config: { apiKey: 'FXLkLUEhGJyvmY4' }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/confluent_cloud/processor/data.ts b/test/integrations/destinations/confluent_cloud/processor/data.ts new file mode 100644 index 0000000000..0453d3dd8f --- /dev/null +++ b/test/integrations/destinations/confluent_cloud/processor/data.ts @@ -0,0 +1,825 @@ +export const data = [ + { + "name": "confluent_cloud", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "Name": "Azure Event Hub", + "DestinationDefinition": { + "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", + "Name": "AZURE_EVENT_HUB", + "DisplayName": "Azure Event Hub", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": null, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "Purchase", + "integrations": { + "All": true + }, + "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", + "originalTimestamp": "2020-05-21T10:23:15.984Z", + "properties": { + "currency": "USD", + "revenue": 100 + }, + "receivedAt": "2020-05-21T15:53:16.013+05:30", + "request_ip": "[::1]:59371", + "sentAt": "2020-05-21T10:23:15.985Z", + "timestamp": "2020-05-21T15:53:16.012+05:30", + "type": "track", + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 46, + "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "Purchase", + "integrations": { + "All": true + }, + "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", + "originalTimestamp": "2020-05-21T10:23:15.984Z", + "properties": { + "currency": "USD", + "revenue": 100 + }, + "receivedAt": "2020-05-21T15:53:16.013+05:30", + "request_ip": "[::1]:59371", + "sentAt": "2020-05-21T10:23:15.985Z", + "timestamp": "2020-05-21T15:53:16.012+05:30", + "type": "track", + "userId": "user-12345" + }, + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 46, + "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "confluent_cloud", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "Name": "Azure Event Hub", + "DestinationDefinition": { + "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", + "Name": "AZURE_EVENT_HUB", + "DisplayName": "Azure Event Hub", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": null, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", + "originalTimestamp": "2020-05-21T10:23:15.975Z", + "properties": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:58616", + "sentAt": "2020-05-21T10:23:15.975Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "page", + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 47, + "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", + "originalTimestamp": "2020-05-21T10:23:15.975Z", + "properties": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:58616", + "sentAt": "2020-05-21T10:23:15.975Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "page", + "userId": "user-12345" + }, + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 47, + "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "confluent_cloud", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "Name": "Azure Event Hub", + "DestinationDefinition": { + "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", + "Name": "AZURE_EVENT_HUB", + "DisplayName": "Azure Event Hub", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": null, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", + "originalTimestamp": "2020-05-21T10:23:15.979Z", + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59372", + "sentAt": "2020-05-21T10:23:15.979Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "identify", + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 48, + "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", + "originalTimestamp": "2020-05-21T10:23:15.979Z", + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59372", + "sentAt": "2020-05-21T10:23:15.979Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "identify", + "userId": "user-12345" + }, + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 48, + "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "confluent_cloud", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "Name": "Azure Event Hub", + "DestinationDefinition": { + "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", + "Name": "AZURE_EVENT_HUB", + "DisplayName": "Azure Event Hub", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": null, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "test track without property", + "integrations": { + "All": true + }, + "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", + "originalTimestamp": "2020-05-21T10:23:15.981Z", + "properties": {}, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59374", + "sentAt": "2020-05-21T10:23:15.981Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "track", + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 49, + "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "test track without property", + "integrations": { + "All": true + }, + "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", + "originalTimestamp": "2020-05-21T10:23:15.981Z", + "properties": {}, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59374", + "sentAt": "2020-05-21T10:23:15.981Z", + "timestamp": "2020-05-21T15:53:16.014+05:30", + "type": "track", + "userId": "user-12345" + }, + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 49, + "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "confluent_cloud", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "Name": "Azure Event Hub", + "DestinationDefinition": { + "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", + "Name": "AZURE_EVENT_HUB", + "DisplayName": "Azure Event Hub", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": null, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", + "originalTimestamp": "2020-05-21T10:23:15.982Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59373", + "sentAt": "2020-05-21T10:23:15.983Z", + "timestamp": "2020-05-21T15:53:16.013+05:30", + "type": "track", + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 50, + "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "message": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index7.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/index7.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "test@kinesis.com", + "firstname": "Test Kinesis" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", + "originalTimestamp": "2020-05-21T10:23:15.982Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-05-21T15:53:16.014+05:30", + "request_ip": "[::1]:59373", + "sentAt": "2020-05-21T10:23:15.983Z", + "timestamp": "2020-05-21T15:53:16.013+05:30", + "type": "track", + "userId": "user-12345" + }, + "userId": "user-12345" + }, + "metadata": { + "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", + "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", + "destinationType": "AZURE_EVENT_HUB", + "jobId": 50, + "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", + "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/courier/processor/data.ts b/test/integrations/destinations/courier/processor/data.ts new file mode 100644 index 0000000000..a1bcb930d7 --- /dev/null +++ b/test/integrations/destinations/courier/processor/data.ts @@ -0,0 +1,333 @@ +export const data = [ + { + "name": "courier", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "type": "track", + "channel": "web", + "event": "Product Added", + "properties": {}, + "context": {}, + "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", + "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", + "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35" + }, + "destination": { + "Config": {} + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "apiKey is required", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "COURIER", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "courier", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "context": { + "ip": "8.8.8.8" + }, + "traits": { + "name": "Joe Doe", + "email": "joe@example.com", + "plan": "basic", + "age": 27 + }, + "type": "identify", + "userId": "userIdTest", + "originalTimestamp": "2022-10-17T15:53:10.566+05:30", + "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.courier.com/inbound/rudderstack", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer dummyApiKey" + }, + "params": {}, + "body": { + "JSON": { + "context": { + "ip": "8.8.8.8" + }, + "traits": { + "name": "Joe Doe", + "email": "joe@example.com", + "plan": "basic", + "age": 27 + }, + "type": "identify", + "userId": "userIdTest", + "originalTimestamp": "2022-10-17T15:53:10.566+05:30", + "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "courier", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "context": { + "ip": "8.8.8.8", + "traits": { + "name": "Joe Doe", + "email": "joe@example.com", + "plan": "basic", + "age": 27 + } + }, + "type": "identify", + "userId": "userIdTest", + "originalTimestamp": "2022-10-17T15:53:10.566+05:30", + "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.courier.com/inbound/rudderstack", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer dummyApiKey" + }, + "params": {}, + "body": { + "JSON": { + "context": { + "ip": "8.8.8.8", + "traits": { + "name": "Joe Doe", + "email": "joe@example.com", + "plan": "basic", + "age": 27 + } + }, + "type": "identify", + "userId": "userIdTest", + "originalTimestamp": "2022-10-17T15:53:10.566+05:30", + "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82", + "traits": { + "name": "Joe Doe", + "email": "joe@example.com", + "plan": "basic", + "age": 27 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "courier", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "context": { + "ip": "8.8.8.8" + }, + "type": "identify", + "userId": "userIdTest", + "originalTimestamp": "2022-10-17T15:53:10.566+05:30", + "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "traits is a required field for identify call", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "COURIER", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "courier", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "context": { + "ip": "8.8.8.8" + }, + "event": "trackTest", + "properties": { + "activity": "checkout" + }, + "userId": "userIdTest", + "type": "track", + "messageId": "3c0abc14-96a2-4aed-9dfc-ee463832cc24", + "originalTimestamp": "2022-10-17T15:32:44.202+05:30" + }, + "destination": { + "Config": { + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.courier.com/inbound/rudderstack", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer dummyApiKey" + }, + "params": {}, + "body": { + "JSON": { + "context": { + "ip": "8.8.8.8" + }, + "event": "trackTest", + "properties": { + "activity": "checkout" + }, + "userId": "userIdTest", + "type": "track", + "messageId": "3c0abc14-96a2-4aed-9dfc-ee463832cc24", + "originalTimestamp": "2022-10-17T15:32:44.202+05:30" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/courier/router/data.ts b/test/integrations/destinations/courier/router/data.ts new file mode 100644 index 0000000000..a3a3237197 --- /dev/null +++ b/test/integrations/destinations/courier/router/data.ts @@ -0,0 +1,160 @@ +export const data = [ + { + name: 'courier', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + type: 'track', + channel: 'web', + event: 'Product Added', + userId: 'test123', + properties: { + price: 999, + quantity: 1, + }, + context: { + traits: { + firstName: 'John', + age: 27, + }, + }, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + }, + }, + metadata: { + jobId: 1, + }, + }, + { + message: { + type: 'track', + channel: 'web', + event: 'Product Added', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + destination: { + Config: { + sdkKey: 'test-sdk-key', + trackKnownUsers: false, + nonInteraction: false, + listen: false, + trackCategorizedPages: true, + trackNamedPages: true, + }, + }, + metadata: { + jobId: 2, + }, + }, + ], + destType: 'courier', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.courier.com/inbound/rudderstack', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + type: 'track', + channel: 'web', + event: 'Product Added', + userId: 'test123', + properties: { + price: 999, + quantity: 1, + }, + context: { + traits: { + firstName: 'John', + age: 27, + }, + }, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + }, + }, + metadata: [ + { + jobId: 1, + }, + ], + statusCode: 200, + }, + { + batched: false, + error: 'apiKey is required', + metadata: [ + { + jobId: 2, + }, + ], + statTags: { + destType: 'COURIER', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + destination: { + Config: { + sdkKey: 'test-sdk-key', + trackKnownUsers: false, + nonInteraction: false, + listen: false, + trackCategorizedPages: true, + trackNamedPages: true, + }, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/criteo_audience/processor/data.ts b/test/integrations/destinations/criteo_audience/processor/data.ts new file mode 100644 index 0000000000..e7fcbcad9c --- /dev/null +++ b/test/integrations/destinations/criteo_audience/processor/data.ts @@ -0,0 +1,1638 @@ +export const data = [ + { + "name": "criteo_audience", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "madid": "sample_madid", + "email": "alex@email.com" + }, + { + "madid": "sample_madid_1", + "email": "amy@email.com" + }, + { + "madid": "sample_madid_2", + "email": "van@email.com" + }, + { + "madid": "sample_madid", + "email": "alex@email.com" + }, + { + "madid": "sample_madid_1", + "email": "amy@email.com" + }, + { + "madid": "sample_madid_2", + "email": "van@email.com" + } + ] + } + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34894", + "audienceType": "email" + }, + "ID": "sample_destinationId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34894/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "email", + "internalIdentifiers": false, + "identifiers": [ + "alex@email.com", + "amy@email.com", + "van@email.com", + "alex@email.com", + "amy@email.com", + "van@email.com" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "madid": "sample_madid" + }, + { + "madid": "sample_madid_1" + }, + { + "madid": "sample_madid_2" + }, + { + "madid": "sample_madid_10" + }, + { + "madid": "sample_madid_13" + }, + { + "madid": "sample_madid_11" + }, + { + "madid": "sample_madid_12" + } + ], + "remove": [ + { + "madid": "sample_madid_3" + }, + { + "madid": "sample_madid_4" + }, + { + "madid": "sample_madid_5" + }, + { + "madid": "sample_madid_6" + }, + { + "madid": "sample_madid_7" + }, + { + "madid": "sample_madid_8" + }, + { + "madid": "sample_madid_9" + } + ] + } + }, + "context": { + "ip": "14.5.67.21" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34893", + "audienceType": "madid" + }, + "ID": "sample_destinationId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "madid", + "internalIdentifiers": false, + "identifiers": [ + "sample_madid", + "sample_madid_1", + "sample_madid_2", + "sample_madid_10", + "sample_madid_13", + "sample_madid_11", + "sample_madid_12" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "remove", + "identifierType": "madid", + "internalIdentifiers": false, + "identifiers": [ + "sample_madid_3", + "sample_madid_4", + "sample_madid_5", + "sample_madid_6", + "sample_madid_7", + "sample_madid_8", + "sample_madid_9" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_1", + "email": "amy@email.com", + "identityLink": "yahoo.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_2", + "email": "van@email.com", + "identityLink": "abc.com", + "gum": "sdjfds" + } + ] + } + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34894", + "audienceType": "email" + }, + "ID": "sample_destinationId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34894/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "email", + "internalIdentifiers": false, + "identifiers": [ + "alex@email.com", + "amy@email.com", + "van@email.com" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_1", + "email": "amy@email.com", + "identityLink": "yahoo.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_2", + "email": "van@email.com", + "identityLink": "abc.com", + "gum": "sdjfds" + } + ] + } + }, + "context": { + "ip": "14.5.67.21" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34895", + "audienceType": "madid" + }, + "ID": "sample_destinationId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34895/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "madid", + "internalIdentifiers": false, + "identifiers": [ + "sample_madid", + "sample_madid_1", + "sample_madid_2" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_1", + "email": "amy@email.com", + "identityLink": "yahoo.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_2", + "email": "van@email.com", + "identityLink": "abc.com", + "gum": "sdjfds" + } + ], + "remove": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sdjfds" + } + ] + } + }, + "context": { + "ip": "14.5.67.21" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34893", + "audienceType": "madid" + }, + "ID": "sample_destinationId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "madid", + "internalIdentifiers": false, + "identifiers": [ + "sample_madid", + "sample_madid_1", + "sample_madid_2" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "remove", + "identifierType": "madid", + "internalIdentifiers": false, + "identifiers": [ + "sample_madid" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_1", + "email": "amy@email.com", + "identityLink": "yahoo.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_2", + "email": "van@email.com", + "identityLink": "abc.com", + "gum": "sdjfds" + } + ], + "remove": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sdjfds" + } + ] + } + }, + "context": { + "ip": "14.5.67.21" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34893", + "audienceType": "identityLink" + }, + "ID": "sample_destinationId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "identityLink", + "internalIdentifiers": false, + "identifiers": [ + "text.com", + "yahoo.com", + "abc.com" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "remove", + "identifierType": "identityLink", + "internalIdentifiers": false, + "identifiers": [ + "text.com" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sample_gum1" + }, + { + "madid": "sample_madid_1", + "email": "amy@email.com", + "identityLink": "yahoo.com", + "gum": "sample_gum2" + }, + { + "madid": "sample_madid_2", + "email": "van@email.com", + "identityLink": "abc.com", + "gum": "sample_gum3" + } + ], + "remove": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sample_gum3" + } + ] + } + }, + "context": { + "ip": "14.5.67.21" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34893", + "audienceType": "gum", + "gumCallerId": "329739" + }, + "ID": "sample_destinationId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "gum", + "internalIdentifiers": false, + "gumCallerId": "329739", + "identifiers": [ + "sample_gum1", + "sample_gum2", + "sample_gum3" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "remove", + "identifierType": "gum", + "internalIdentifiers": false, + "gumCallerId": "329739", + "identifiers": [ + "sample_gum3" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "message": { + "userId": "user 1", + "type": "identify", + "properties": { + "listData": { + "add": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_1", + "email": "amy@email.com", + "identityLink": "yahoo.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_2", + "email": "van@email.com", + "identityLink": "abc.com", + "gum": "sdjfds" + } + ] + } + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34893", + "audienceType": "email" + }, + "ID": "sample_destinationId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 400, + "error": "Event type identify is not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "CRITEO_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34893", + "audienceType": "email" + }, + "ID": "sample_destinationId" + }, + "message": { + "type": "audiencelist", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user@27", + "channel": "web", + "context": { + "os": { + "name": "", + "version": "1.12.3" + }, + "app": { + "name": "RudderLabs JavaScript SDK", + "build": "1.0.0", + "version": "1.1.11", + "namespace": "com.rudderlabs.javascript" + }, + "traits": { + "brand": "John Players", + "price": "15000", + "firstName": "Test", + "email": "test@rudderstack.com", + "userId": "user@27" + }, + "locale": "en-US", + "device": { + "token": "token", + "id": "id", + "type": "ios" + }, + "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": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 400, + "error": "Message properties is not present. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "CRITEO_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34893", + "audienceType": "email" + }, + "ID": "sample_destinationId" + }, + "message": { + "event": "add_to_Cart", + "type": "track", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user@27", + "channel": "web", + "properties": { + "brand": "Zara", + "price": "12000" + }, + "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": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 400, + "error": "listData is not present inside properties. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "CRITEO_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": {} + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34893", + "audienceType": "email" + }, + "ID": "sample_destinationId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 400, + "error": "Payload could not be populated", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "CRITEO_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34893", + "audienceType": "email" + }, + "ID": "sample_destinationId" + }, + "message": { + "event": "add_to_Cart", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user@27", + "channel": "web", + "properties": { + "brand": "Zara", + "price": "12000" + }, + "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": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 400, + "error": "Message Type is not present. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "CRITEO_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 12", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "destination": { + "Config": { + "audienceId": "34893", + "audienceType": "gum" + }, + "ID": "sample_destinationId" + }, + "message": { + "event": "add_to_Cart", + "sentAt": "2021-01-03T17:02:53.195Z", + "userId": "user@27", + "type": "audiencelist", + "channel": "web", + "properties": { + "listData": { + "add": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sample_gum1" + }, + { + "madid": "sample_madid_1", + "email": "amy@email.com", + "identityLink": "yahoo.com", + "gum": "sample_gum2" + }, + { + "madid": "sample_madid_2", + "email": "van@email.com", + "identityLink": "abc.com", + "gum": "sample_gum3" + } + ] + }, + "brand": "Zara", + "price": "12000" + }, + "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": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 400, + "error": "gumCallerId is required for audience type gum", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "CRITEO_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "criteo_audience", + "description": "Test 13", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "madid": "sample_madid", + "email": "alex@email.com", + "identityLink": "text.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_1", + "email": "amy@email.com", + "identityLink": "yahoo.com", + "gum": "sdjfds" + }, + { + "madid": "sample_madid_2", + "identityLink": "abc.com", + "gum": "sdjfds" + } + ] + } + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", + "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", + "audienceId": "34894", + "audienceType": "email" + }, + "ID": "sample_destinationId" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "accessToken": "success_access_token" + } + }, + "statusCode": 400, + "error": "Required property for email type audience is not available in an object", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "CRITEO_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/criteo_audience/router/data.ts b/test/integrations/destinations/criteo_audience/router/data.ts new file mode 100644 index 0000000000..a91c112663 --- /dev/null +++ b/test/integrations/destinations/criteo_audience/router/data.ts @@ -0,0 +1,270 @@ +export const data = [ + { + name: 'criteo_audience', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'email', + }, + ID: 'iwehr83843', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + jobId: 1, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + identityLink: 'yahoo.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + identityLink: 'abc.com', + gum: 'sdjfds', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + }, + { + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'madid', + }, + ID: 'iwehr83843', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + jobId: 2, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + identityLink: 'yahoo.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + identityLink: 'abc.com', + gum: 'sdjfds', + }, + ], + remove: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + }, + ], + destType: 'criteo_audience', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'email', + identifiers: ['alex@email.com', 'amy@email.com', 'van@email.com'], + internalIdentifiers: false, + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + jobId: 1, + secret: { + accessToken: 'success_access_token', + }, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'email', + }, + ID: 'iwehr83843', + }, + }, + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'madid', + identifiers: ['sample_madid', 'sample_madid_1', 'sample_madid_2'], + internalIdentifiers: false, + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'remove', + identifierType: 'madid', + identifiers: ['sample_madid'], + internalIdentifiers: false, + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + jobId: 2, + secret: { + accessToken: 'success_access_token', + }, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'madid', + }, + ID: 'iwehr83843', + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/customerio/processor/data.ts b/test/integrations/destinations/customerio/processor/data.ts new file mode 100644 index 0000000000..4fc83099ee --- /dev/null +++ b/test/integrations/destinations/customerio/processor/data.ts @@ -0,0 +1,8483 @@ +export const data = [ + { + "name": "customerio", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "type": "identify", + "userId": "cio_1234", + "integrations": { + "All": true + }, + "traits": { + "email": "updated_email@example.com", + "id": "updated-id-value" + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "email": "updated_email@example.com", + "id": "updated-id-value" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/cio_1234", + "userId": "cio_1234", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "123456", + "email": "test@rudderstack.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + }, + "ip": "0.0.0.0", + "age": 26 + }, + "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", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "userId": "123456", + "integrations": { + "All": true + }, + "traits": { + "anonymousId": "anon-id", + "email": "test@gmail.com", + "dot.name": "Arnab Pal", + "address": { + "city": "NY", + "country": "USA", + "postalCode": 712136, + "state": "CA", + "street": "" + } + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "apiKey not found in Configs", + "statTags": { + "destType": "CUSTOMERIO", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "123456", + "email": "test@rudderstack.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + }, + "ip": "0.0.0.0", + "age": 26 + }, + "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", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "userId": "123456", + "integrations": { + "All": true + }, + "traits": { + "anonymousId": "anon-id", + "email": "test@gmail.com", + "dot.name": "Arnab Pal", + "address": { + "city": "NY", + "country": "USA", + "postalCode": 712136, + "state": "CA", + "street": "" + } + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "_timestamp": 1571043797, + "anonymous_id": "123456", + "city": "NY", + "state": "CA", + "street": "", + "prop1": "val1", + "prop2": "val2", + "country": "USA", + "postalCode": 712136, + "email": "test@gmail.com", + "dot.name": "Arnab Pal" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/123456", + "userId": "123456", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "123456", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + }, + "ip": "0.0.0.0", + "age": 26 + }, + "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", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "integrations": { + "All": true + }, + "traits": { + "anonymousId": "anon-id", + "dot.name": "Arnab Pal", + "address": { + "city": "NY", + "country": "USA", + "postalCode": 712136, + "state": "CA", + "street": "" + } + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "userId or email is not present", + "statTags": { + "destType": "CUSTOMERIO", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "123456", + "email": "test@rudderstack.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + }, + "ip": "0.0.0.0", + "age": 26 + }, + "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", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "integrations": { + "All": true + }, + "traits": { + "anonymousId": "anon-id", + "email": "test@gmail.com", + "dot.name": "Arnab Pal", + "address": { + "city": "NY", + "country": "USA", + "postalCode": 712136, + "state": "CA", + "street": "" + } + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "_timestamp": 1571043797, + "anonymous_id": "123456", + "city": "NY", + "country": "USA", + "dot.name": "Arnab Pal", + "email": "test@gmail.com", + "postalCode": 712136, + "prop1": "val1", + "prop2": "val2", + "state": "CA", + "street": "" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/test@gmail.com", + "userId": "123456", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "page", + "data": { + "url": "www.rudderlabs.com", + "path": "/test", + "search": "abc", + "referrer": "Rudder", + "title": "Test Page" + }, + "timestamp": 1571051718, + "name": "ApplicationLoaded" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "12345", + "event": "test track event", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "event", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "timestamp": 1571051718, + "name": "test track event" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "", + "event": "test track event", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "event", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "timestamp": 1571051718, + "name": "test track event" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/events", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "", + "event": "test track event", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "event", + "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "timestamp": 1571051718, + "name": "test track event" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/events", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "7e32188a4dab669f", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.torpedolabs.wynn.wscci.dev", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android", + "token": "abcxyz" + }, + "library": { + "name": "com.rudderlabs.android.sdk.core", + "version": "0.1.4" + }, + "locale": "en-US", + "network": { + "carrier": "Android", + "bluetooth": false, + "cellular": true, + "wifi": true + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "event": "Application Installed", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "review_id": "some_review_id", + "product_id": "some_product_id_a", + "rating": 2, + "review_body": "Some Review Body" + }, + "userId": "12345", + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "device": { + "review_body": "Some Review Body", + "rating": 2, + "review_id": "some_review_id", + "last_used": 1578564113, + "platform": "android", + "id": "abcxyz", + "product_id": "some_product_id_a" + } + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/devices", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "7e32188a4dab669f", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.torpedolabs.wynn.wscci.dev", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android", + "token": "abcxyz" + }, + "library": { + "name": "com.rudderlabs.android.sdk.core", + "version": "0.1.4" + }, + "locale": "en-US", + "network": { + "carrier": "Android", + "bluetooth": false, + "cellular": true, + "wifi": true + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "event": "Application Uninstalled", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "review_id": "some_review_id", + "product_id": "some_product_id_a", + "rating": 2, + "review_body": "Some Review Body" + }, + "userId": "12345", + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": {}, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/devices/abcxyz", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "DELETE", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "12345", + "event": "Application Uninstalled", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": {}, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/devices/somel", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "DELETE", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 12", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Uninstalled", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": {}, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/devices/somel", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "DELETE", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 13", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Uninstalled", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "userId/email or device_token not present", + "statTags": { + "destType": "CUSTOMERIO", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 14", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Installed", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "device": { + "id": "somel", + "last_used": 1571051718, + "platform": "mobile", + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + } + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/devices", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 15", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Installed", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "name": "Application Installed", + "timestamp": 1571051718, + "type": "event" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/events", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 16", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Installed", + "userId": "12345", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "device": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "last_used": 1571051718, + "user_time_spent": 50000, + "platform": "mobile", + "id": "somel" + } + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/devices", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 17", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Installed", + "userId": "12345", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "event", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "timestamp": 1571051718, + "name": "Application Installed" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 18", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Opened", + "userId": "12345", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "event", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "timestamp": 1571051718, + "name": "Application Opened" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 19", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "sample_device_token" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Opened", + "userId": "12345", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "device": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "last_used": 1571051718, + "user_time_spent": 50000, + "platform": "mobile", + "id": "sample_device_token" + } + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/devices", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 20", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "sample_device_token" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Uninstalled", + "userId": "12345", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": {}, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/devices/sample_device_token", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "DELETE", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 21", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "123456", + "email": "test@rudderstack.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + }, + "ip": "0.0.0.0", + "age": 26 + }, + "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", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "userId": "123456", + "integrations": { + "All": true + }, + "traits": { + "anonymousId": "anon-id", + "email": "test@gmail.com", + "address": { + "city": "NY", + "country": "USA", + "postalCode": 712136, + "state": "CA", + "street": "" + } + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "_timestamp": 1571043797, + "anonymous_id": "123456", + "city": "NY", + "state": "CA", + "street": "", + "prop1": "val1", + "prop2": "val2", + "country": "USA", + "postalCode": 712136, + "email": "test@gmail.com" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/123456", + "userId": "123456", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 22", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "page", + "data": { + "url": "www.rudderlabs.com", + "path": "/test", + "search": "abc", + "referrer": "Rudder", + "title": "Test Page" + }, + "timestamp": 1571051718, + "name": "ApplicationLoaded" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 23", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "12345", + "event": "test track event", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "event", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "timestamp": 1571051718, + "name": "test track event" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 24", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "", + "event": "test track event", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "event", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "timestamp": 1571051718, + "name": "test track event" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/test@rudderstack.com/events", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 25", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "", + "event": "test track event", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "event", + "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "timestamp": 1571051718, + "name": "test track event" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/events", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 26", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "7e32188a4dab669f", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.torpedolabs.wynn.wscci.dev", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android", + "token": "abcxyz" + }, + "library": { + "name": "com.rudderlabs.android.sdk.core", + "version": "0.1.4" + }, + "locale": "en-US", + "network": { + "carrier": "Android", + "bluetooth": false, + "cellular": true, + "wifi": true + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "event": "Application Installed", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "review_id": "some_review_id", + "product_id": "some_product_id_a", + "rating": 2, + "review_body": "Some Review Body" + }, + "userId": "12345", + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "device": { + "review_body": "Some Review Body", + "rating": 2, + "review_id": "some_review_id", + "last_used": 1578564113, + "platform": "android", + "id": "abcxyz", + "product_id": "some_product_id_a" + } + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 27", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "7e32188a4dab669f", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "RudderAndroidClient", + "namespace": "com.torpedolabs.wynn.wscci.dev", + "version": "1.0" + }, + "device": { + "id": "7e32188a4dab669f", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "android", + "token": "abcxyz" + }, + "library": { + "name": "com.rudderlabs.android.sdk.core", + "version": "0.1.4" + }, + "locale": "en-US", + "network": { + "carrier": "Android", + "bluetooth": false, + "cellular": true, + "wifi": true + }, + "os": { + "name": "Android", + "version": "9" + }, + "screen": { + "density": 420, + "height": 1794, + "width": 1080 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "7e32188a4dab669f" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" + }, + "event": "Application Uninstalled", + "integrations": { + "All": true + }, + "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", + "properties": { + "review_id": "some_review_id", + "product_id": "some_product_id_a", + "rating": 2, + "review_body": "Some Review Body" + }, + "userId": "12345", + "originalTimestamp": "2020-01-09T10:01:53.558Z", + "type": "track", + "sentAt": "2020-01-09T10:02:03.257Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": {}, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices/abcxyz", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "DELETE", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 28", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "12345", + "event": "Application Uninstalled", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": {}, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices/somel", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "DELETE", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 29", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Uninstalled", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "userId/email or device_token not present", + "statTags": { + "destType": "CUSTOMERIO", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 30", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Installed", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "device": { + "id": "somel", + "last_used": 1571051718, + "platform": "mobile", + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + } + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/test@rudderstack.com/devices", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 31", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Installed", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "data": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "name": "Application Installed", + "timestamp": 1571051718, + "type": "event" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/events", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 32", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "somel" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Installed", + "userId": "12345", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "device": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "last_used": 1571051718, + "user_time_spent": 50000, + "platform": "mobile", + "id": "somel" + } + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 33", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Installed", + "userId": "12345", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "event", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "timestamp": 1571051718, + "name": "Application Installed" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 34", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Opened", + "userId": "12345", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "event", + "data": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "user_time_spent": 50000 + }, + "timestamp": 1571051718, + "name": "Application Opened" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 35", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "sample_device_token" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Opened", + "userId": "12345", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "device": { + "user_actual_id": 12345, + "user_actual_role": "system_admin", + "last_used": 1571051718, + "user_time_spent": 50000, + "platform": "mobile", + "id": "sample_device_token" + } + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "PUT", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 36", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "mobile", + "context": { + "device": { + "name": "test android", + "id": "sample_device_id", + "model": "some_model_device", + "type": "mobile", + "token": "sample_device_token" + }, + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "Application Uninstalled", + "userId": "12345", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": {}, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices/sample_device_token", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "DELETE", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 37", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v1/events", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50 + }, + "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "name": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-s", + "type": "event", + "timestamp": 1571051718 + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 38", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/events", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50 + }, + "name": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", + "type": "event", + "timestamp": 1571051718 + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 39", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "12345" + }, + "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 + } + }, + "type": "screen", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v1/events", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "name": "Viewed https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-q Screen", + "type": "event", + "timestamp": 1571051718 + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 40", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "screen", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "event": "https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", + "properties": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/events", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "user_actual_role": "system_admin", + "user_actual_id": 12345, + "user_time_spent": 50000 + }, + "name": "Viewed https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/ Screen", + "type": "event", + "timestamp": 1571051718 + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 41", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "dummy-100-anon", + "channel": "mobile", + "context": { + "app": { + "build": "173", + "name": "MyWallSt Debug", + "namespace": "com.rubicoin.Invest", + "version": "6.2" + }, + "device": { + "attTrackingStatus": 0, + "id": "6fdb629d-4f18-4f3e-943a-3f6f482b331e", + "manufacturer": "Apple", + "model": "iPhone", + "name": "Ales' iPhone", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.0.19" + }, + "locale": "en-DE", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "14.8" + }, + "screen": { + "density": 3, + "height": 375, + "width": 812 + }, + "timezone": "Europe/Prague", + "traits": { + "anonymousId": "6fdb629d-4f18-4f3e-943a-3f6f482b331e", + "userId": "6a540d50-c4dc-4694-beca-d16de113a1c4-1618384106.8700438" + } + }, + "event": "Home: Viewed", + "integrations": { + "All": true + }, + "messageId": "1632314412-e724167f-13bd-455b-943d-dd765a7810fe", + "originalTimestamp": "2021-09-22T12:40:12.220Z", + "properties": {}, + "rudderId": "782cdb50-e2b9-45fc-9d22-07fe792dcfba", + "sentAt": "2021-09-22T12:40:14.453Z", + "type": "track", + "userId": "dummy-user-id-100" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "abc", + "apiKey": "xyz" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v1/customers/dummy-user-id-100/events", + "headers": { + "Authorization": "Basic YWJjOnh5eg==" + }, + "params": {}, + "body": { + "JSON": { + "data": {}, + "name": "Home: Viewed", + "type": "event", + "timestamp": 1632314412 + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "dummy-user-id-100", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 42", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "123456", + "email": "test@rudderstack.com", + "address": { + "city": "kolkata", + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + }, + "ip": "0.0.0.0", + "age": 26 + }, + "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 + } + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "dummy-100-anon", + "userId": "dummy-user-id-100", + "integrations": { + "All": true + }, + "traits": { + "email": "test@gmail.com", + "address": { + "city": "NY", + "country": "USA", + "postalCode": 712136, + "state": "CA", + "street": "" + } + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "datacenter": "EU", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track-eu.customer.io/api/v1/customers/dummy-user-id-100", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "params": {}, + "body": { + "JSON": { + "city": "NY", + "country": "USA", + "postalCode": 712136, + "state": "CA", + "street": "", + "email": "test@gmail.com", + "_timestamp": 1571043797, + "anonymous_id": "dummy-100-anon" + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "dummy-user-id-100", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 43", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "sources", + "context": { + "externalId": [ + { + "id": "xaviercharles@hotmail.com", + "identifierType": "email", + "type": "CUSTOMERIO-customers" + } + ], + "mappedToDestination": "true", + "sources": { + "batch_id": "3d6f7aa8-9b70-4759-970d-212e6714ad22", + "job_id": "1zDgnw7ZmHWR7gtY4niHYysL3zS/Syncher", + "job_run_id": "c5shebbh9jqg10k8d21g", + "task_id": "tt_10_rows", + "task_run_id": "c5shebbh9jqg10k8d220", + "version": "release.v1.6.8" + } + }, + "messageId": "d82a45e1-5a27-4c1d-af89-83bdbc6139d0", + "originalTimestamp": "2021-10-27T09:09:56.673Z", + "receivedAt": "2021-10-27T09:09:56.187Z", + "recordId": "3", + "request_ip": "10.1.85.177", + "rudderId": "5b19a81b-df60-4ccd-abf0-fcfe2b7db054", + "sentAt": "2021-10-27T09:09:56.673Z", + "timestamp": "2021-10-27T09:09:56.186Z", + "traits": { + "last_name": "xavier", + "first_name": "charles" + }, + "type": "identify", + "userId": "xaviercharles@hotmail.com" + }, + "destination": { + "ID": "1zgXcyv272oZA8HWqe7zInhJjPL", + "Name": "ere", + "DestinationDefinition": { + "ID": "1iVQr671C0E8MVpzvCEegsLM2J5", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU" + ], + "web": [ + "useNativeSDK" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative" + ], + "supportsVisualMapper": true, + "transformAt": "processor" + }, + "ResponseRules": null + }, + "Config": { + "apiKey": "a292d85ac36de15fc219", + "datacenter": "US", + "siteID": "eead090ab9e2e35004dc" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "libraries": [], + "request": { + "query": {} + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/xaviercharles@hotmail.com", + "headers": { + "Authorization": "Basic ZWVhZDA5MGFiOWUyZTM1MDA0ZGM6YTI5MmQ4NWFjMzZkZTE1ZmMyMTk=" + }, + "params": {}, + "body": { + "JSON": { + "last_name": "xavier", + "first_name": "charles", + "email": "xaviercharles@hotmail.com", + "_timestamp": 1635325796 + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "xaviercharles@hotmail.com", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 44", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "sources", + "context": { + "externalId": [ + { + "id": "xaviercharles", + "identifierType": "id", + "type": "CUSTOMERIO-customers" + } + ], + "mappedToDestination": "true", + "sources": { + "batch_id": "3d6f7aa8-9b70-4759-970d-212e6714ad22", + "job_id": "1zDgnw7ZmHWR7gtY4niHYysL3zS/Syncher", + "job_run_id": "c5shebbh9jqg10k8d21g", + "task_id": "tt_10_rows", + "task_run_id": "c5shebbh9jqg10k8d220", + "version": "release.v1.6.8" + } + }, + "messageId": "d82a45e1-5a27-4c1d-af89-83bdbc6139d0", + "originalTimestamp": "2021-10-27T09:09:56.673Z", + "receivedAt": "2021-10-27T09:09:56.187Z", + "recordId": "3", + "request_ip": "10.1.85.177", + "rudderId": "5b19a81b-df60-4ccd-abf0-fcfe2b7db054", + "sentAt": "2021-10-27T09:09:56.673Z", + "traits": { + "last_name": "xavier", + "first_name": "charles" + }, + "type": "identify", + "userId": "xaviercharles" + }, + "destination": { + "ID": "1zgXcyv272oZA8HWqe7zInhJjPL", + "Name": "ere", + "DestinationDefinition": { + "ID": "1iVQr671C0E8MVpzvCEegsLM2J5", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU" + ], + "web": [ + "useNativeSDK" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative" + ], + "supportsVisualMapper": true, + "transformAt": "processor" + }, + "ResponseRules": null + }, + "Config": { + "apiKey": "a292d85ac36de15fc219", + "datacenter": "US", + "siteID": "eead090ab9e2e35004dc" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "libraries": [], + "request": { + "query": {} + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/xaviercharles", + "headers": { + "Authorization": "Basic ZWVhZDA5MGFiOWUyZTM1MDA0ZGM6YTI5MmQ4NWFjMzZkZTE1ZmMyMTk=" + }, + "params": {}, + "body": { + "JSON": { + "last_name": "xavier", + "first_name": "charles", + "id": "xaviercharles", + "_timestamp": 1635325796 + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "xaviercharles", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 45", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "token": "deviceToken", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + } + }, + "event": "Application Opened", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "timestamp": "2022-01-10T10:00:26.513Z", + "properties": { + "from_background": false + }, + "receivedAt": "2022-01-10T20:35:30.556+05:30", + "request_ip": "[::1]", + "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", + "sentAt": "2022-01-10T10:00:26.982Z", + "type": "track", + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "device": { + "from_background": false, + "id": "deviceToken", + "platform": "ios", + "last_used": 1641808826 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 46", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + } + }, + "event": "Application Opened", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "originalTimestamp": "2022-01-10T10:00:26.513Z", + "properties": { + "from_background": false + }, + "receivedAt": "2022-01-10T20:39:04.424+05:30", + "request_ip": "[::1]", + "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", + "sentAt": "2022-01-10T10:00:26.982Z", + "timestamp": "2022-01-10T20:39:03.955+05:30", + "type": "track", + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/events", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "from_background": false + }, + "name": "Application Opened", + "type": "event", + "timestamp": 1641827343 + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 47", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "token": "deviceToken", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0 + } + }, + "event": "Application Opened", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "originalTimestamp": "2022-01-10T10:00:26.513Z", + "properties": { + "from_background": false + }, + "receivedAt": "2022-01-10T20:41:30.970+05:30", + "request_ip": "[::1]", + "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", + "sentAt": "2022-01-10T10:00:26.982Z", + "type": "track", + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "device": { + "from_background": false, + "id": "deviceToken", + "platform": "ios", + "last_used": 1641808826 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 48", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "token": "deviceToken", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + } + }, + "event": "Application Opened", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "originalTimestamp": "2022-01-10T10:00:26.513Z", + "properties": { + "from_background": false + }, + "receivedAt": "2022-01-10T20:44:52.784+05:30", + "request_ip": "[::1]", + "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", + "sentAt": "2022-01-10T10:00:26.982Z", + "type": "track" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "device": { + "from_background": false, + "id": "deviceToken", + "platform": "ios", + "last_used": 1641808826 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 49", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "token": "deviceToken", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + } + }, + "event": "Application Opened", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "timestamp": "2022-01-10T10:00:26.513Z", + "receivedAt": "2022-01-10T20:47:36.180+05:30", + "request_ip": "[::1]", + "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", + "sentAt": "2022-01-10T10:00:26.982Z", + "type": "track" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "device": { + "id": "deviceToken", + "platform": "ios", + "last_used": 1641808826 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 50", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "token": "deviceToken", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + } + }, + "event": "device_token_registered", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "originalTimestamp": "2022-01-10T10:00:26.513Z", + "properties": { + "from_background": false + }, + "receivedAt": "2022-01-10T20:49:05.795+05:30", + "request_ip": "[::1]", + "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", + "sentAt": "2022-01-10T10:00:26.982Z", + "type": "track", + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "device": { + "from_background": false, + "id": "deviceToken", + "platform": "ios", + "last_used": 1641808826 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 51", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + } + }, + "event": "device_token_registered", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "originalTimestamp": "2022-01-10T10:00:26.513Z", + "properties": { + "from_background": false + }, + "receivedAt": "2022-01-10T20:50:17.090+05:30", + "request_ip": "[::1]", + "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", + "sentAt": "2022-01-10T10:00:26.982Z", + "timestamp": "2022-01-10T20:50:16.621+05:30", + "type": "track", + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/events", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "data": { + "from_background": false + }, + "name": "device_token_registered", + "type": "event", + "timestamp": 1641828016 + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 52", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "token": "deviceToken", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0 + } + }, + "event": "device_token_registered", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "originalTimestamp": "2022-01-10T10:00:26.513Z", + "properties": { + "from_background": false + }, + "receivedAt": "2022-01-10T20:52:19.147+05:30", + "request_ip": "[::1]", + "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", + "sentAt": "2022-01-10T10:00:26.982Z", + "timestamp": "2022-01-10T20:52:18.678+05:30", + "type": "track", + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "device": { + "from_background": false, + "id": "deviceToken", + "platform": "ios", + "last_used": 1641828138 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 53", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "token": "deviceToken", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + } + }, + "event": "device_token_registered", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "originalTimestamp": "2022-01-10T10:00:26.513Z", + "properties": { + "from_background": false + }, + "receivedAt": "2022-01-10T20:53:43.680+05:30", + "request_ip": "[::1]", + "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", + "sentAt": "2022-01-10T10:00:26.982Z", + "type": "track" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "device": { + "from_background": false, + "id": "deviceToken", + "platform": "ios", + "last_used": 1641808826 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 54", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "token": "deviceToken", + "type": "iOS" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + } + }, + "event": "device_token_registered", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "originalTimestamp": "2022-01-10T10:00:26.513Z", + "receivedAt": "2022-01-10T20:55:03.845+05:30", + "request_ip": "[::1]", + "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", + "sentAt": "2022-01-10T10:00:26.982Z", + "type": "track" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "device": { + "id": "deviceToken", + "platform": "ios", + "last_used": 1641808826 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 55", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "description": "check for ipados apple family and default it to ios", + "message": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "channel": "mobile", + "context": { + "app": { + "build": "1", + "name": "zx_userid_missing", + "namespace": "org.reactjs.native.example.zx-userid-missing", + "version": "1.0" + }, + "device": { + "attTrackingStatus": 0, + "id": "5d727a3e-a72b-4d00-8078-669c1494791d", + "manufacturer": "Apple", + "model": "iPhone", + "name": "iPhone 13", + "token": "deviceToken", + "type": "ipados" + }, + "library": { + "name": "rudder-ios-library", + "version": "1.3.1" + }, + "locale": "en-US", + "network": { + "bluetooth": false, + "carrier": "unavailable", + "cellular": false, + "wifi": true + }, + "os": { + "name": "iOS", + "version": "15.2" + }, + "screen": { + "density": 3, + "height": 390, + "width": 844 + }, + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", + "email": "sofia@gmail.com", + "login_status": "Authenticated", + "name": "Sofia", + "phone_verified": 1, + "selected_city": "", + "selected_lat": 0, + "selected_long": 0, + "selected_neighborhood": "", + "selected_number": "", + "selected_postal_code": "", + "selected_state": "", + "selected_street": "", + "signed_up_for_newsletters": 0 + } + }, + "event": "Application Opened", + "integrations": { + "All": true + }, + "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", + "originalTimestamp": "2022-01-10T10:00:26.513Z", + "properties": { + "from_background": false + }, + "receivedAt": "2022-01-10T20:41:30.970+05:30", + "request_ip": "[::1]", + "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", + "sentAt": "2022-01-10T10:00:26.982Z", + "type": "track", + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "DESAU SAI", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "DESU SAI" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", + "headers": { + "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" + }, + "params": {}, + "body": { + "JSON": { + "device": { + "from_background": false, + "id": "deviceToken", + "platform": "ios", + "last_used": 1641808826 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 56", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "description": "successful group call with identify action", + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.0-beta.2" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.0-beta.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "groupId": "group@1", + "integrations": { + "All": true + }, + "traits": { + "domainNames": "rudderstack.com", + "email": "help@rudderstack.com", + "name": "rudderstack", + "action": "identify" + }, + "type": "group", + "userId": "user@1" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "ef32c3f60fb98f39ef35", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "c0efdbd20b9fbe24a7e2" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v2/batch", + "headers": { + "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" + }, + "params": {}, + "body": { + "XML": {}, + "FORM": {}, + "JSON": { + "type": "object", + "action": "identify", + "attributes": { + "name": "rudderstack", + "email": "help@rudderstack.com", + "domainNames": "rudderstack.com" + }, + "identifiers": { + "object_id": "group@1", + "object_type_id": "1" + }, + "cio_relationships": [ + { + "identifiers": { + "id": "user@1" + } + } + ] + }, + "JSON_ARRAY": {} + }, + "files": {}, + "userId": "user@1", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 57", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "description": "successful group call with delete action", + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.0-beta.2" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.0-beta.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "groupId": "group@1", + "integrations": { + "All": true + }, + "traits": { + "domainNames": "rudderstack.com", + "email": "help@rudderstack.com", + "name": "rudderstack", + "action": "delete" + }, + "type": "group", + "userId": "user@1" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "ef32c3f60fb98f39ef35", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "c0efdbd20b9fbe24a7e2" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v2/batch", + "headers": { + "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" + }, + "params": {}, + "body": { + "XML": {}, + "FORM": {}, + "JSON": { + "type": "object", + "action": "delete", + "attributes": { + "name": "rudderstack", + "email": "help@rudderstack.com", + "domainNames": "rudderstack.com" + }, + "identifiers": { + "object_id": "group@1", + "object_type_id": "1" + }, + "cio_relationships": [ + { + "identifiers": { + "id": "user@1" + } + } + ] + }, + "JSON_ARRAY": {} + }, + "files": {}, + "userId": "user@1", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 58", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "description": "successful group call with add_relationships action", + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.0-beta.2" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.0-beta.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "email": "test@rudderstack.com" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "groupId": "group@1", + "integrations": { + "All": true + }, + "traits": { + "domainNames": "rudderstack.com", + "email": "help@rudderstack.com", + "name": "rudderstack", + "action": "add_relationships" + }, + "type": "group", + "userId": "user@1" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "ef32c3f60fb98f39ef35", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "c0efdbd20b9fbe24a7e2" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v2/batch", + "headers": { + "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" + }, + "params": {}, + "body": { + "XML": {}, + "FORM": {}, + "JSON": { + "type": "object", + "action": "add_relationships", + "attributes": { + "name": "rudderstack", + "email": "help@rudderstack.com", + "domainNames": "rudderstack.com" + }, + "identifiers": { + "object_id": "group@1", + "object_type_id": "1" + }, + "cio_relationships": [ + { + "identifiers": { + "id": "user@1" + } + } + ] + }, + "JSON_ARRAY": {} + }, + "files": {}, + "userId": "user@1", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 59", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "description": "successful group call with delete_relationships action", + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.0-beta.2" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.0-beta.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "traits": { + "email": "test@rudderstack.com" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "groupId": "group@1", + "integrations": { + "All": true + }, + "traits": { + "domainNames": "rudderstack.com", + "email": "help@rudderstack.com", + "name": "rudderstack", + "action": "delete_relationships" + }, + "type": "group", + "userId": "user@1" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "ef32c3f60fb98f39ef35", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "c0efdbd20b9fbe24a7e2" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v2/batch", + "headers": { + "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" + }, + "params": {}, + "body": { + "XML": {}, + "FORM": {}, + "JSON": { + "type": "object", + "action": "delete_relationships", + "attributes": { + "name": "rudderstack", + "email": "help@rudderstack.com", + "domainNames": "rudderstack.com" + }, + "identifiers": { + "object_id": "group@1", + "object_type_id": "1" + }, + "cio_relationships": [ + { + "identifiers": { + "id": "user@1" + } + } + ] + }, + "JSON_ARRAY": {} + }, + "files": {}, + "userId": "user@1", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 60", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "description": "successful group call with userId and groupId as an integer", + "message": { + "type": "group", + "header": { + "content-type": "application/json; charset=utf-8" + }, + "sentAt": "2023-03-28T09:36:49.882Z", + "traits": { + "city": "Frankfurt", + "name": "rudder test", + "state": "Hessen", + "isFake": true, + "address": "Solmsstraße 83", + "country": "DE", + "website": "http://www.rudderstack.com", + "industry": "Waste and recycling", + "postcode": "60486", + "whiteLabel": "rudderlabs", + "maxNbJobBoards": 2, + "organisationId": 306, + "pricingPackage": "packageExpert", + "dateProTrialEnd": "2022-08-31T00:00:00+00:00", + "isProTrialActive": true, + "datetimeRegistration": "2020-07-01T10:23:41+00:00", + "isPersonnelServiceProvider": false + }, + "userId": 432, + "channel": "server", + "context": { + "library": { + "name": "rudder-analytics-php", + "version": "2.0.1", + "consumer": "LibCurl" + } + }, + "groupId": 306, + "rudderId": "f5b46a12-2dab-4e24-a127-7316eed414fc", + "messageId": "7032394c-e813-4737-bf52-622dbcefe849", + "receivedAt": "2023-03-28T09:36:48.296Z", + "request_ip": "18.195.235.225", + "originalTimestamp": "2023-03-28T09:36:49.882Z" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "ef32c3f60fb98f39ef35", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "c0efdbd20b9fbe24a7e2" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v2/batch", + "headers": { + "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" + }, + "params": {}, + "body": { + "XML": {}, + "FORM": {}, + "JSON": { + "type": "object", + "action": "identify", + "attributes": { + "city": "Frankfurt", + "name": "rudder test", + "state": "Hessen", + "isFake": true, + "address": "Solmsstraße 83", + "country": "DE", + "website": "http://www.rudderstack.com", + "industry": "Waste and recycling", + "postcode": "60486", + "whiteLabel": "rudderlabs", + "maxNbJobBoards": 2, + "organisationId": 306, + "pricingPackage": "packageExpert", + "dateProTrialEnd": "2022-08-31T00:00:00+00:00", + "isProTrialActive": true, + "datetimeRegistration": "2020-07-01T10:23:41+00:00", + "isPersonnelServiceProvider": false + }, + "identifiers": { + "object_id": "306", + "object_type_id": "1" + }, + "cio_relationships": [ + { + "identifiers": { + "id": "432" + } + } + ] + }, + "JSON_ARRAY": {} + }, + "files": {}, + "userId": "432", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 61", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "description": "successful group call with userId in email format ", + "message": { + "type": "group", + "header": { + "content-type": "application/json; charset=utf-8" + }, + "sentAt": "2023-03-28T09:36:49.882Z", + "traits": { + "city": "Frankfurt", + "name": "rudder test", + "state": "Hessen", + "isFake": true, + "address": "Solmsstraße 83", + "country": "DE", + "website": "http://www.rudderstack.com", + "industry": "Waste and recycling", + "postcode": "60486", + "whiteLabel": "rudderlabs", + "maxNbJobBoards": 2, + "organisationId": 306, + "pricingPackage": "packageExpert", + "dateProTrialEnd": "2022-08-31T00:00:00+00:00", + "isProTrialActive": true, + "datetimeRegistration": "2020-07-01T10:23:41+00:00", + "isPersonnelServiceProvider": false + }, + "userId": "abc@xyz.com", + "channel": "server", + "context": { + "library": { + "name": "rudder-analytics-php", + "version": "2.0.1", + "consumer": "LibCurl" + } + }, + "groupId": 306, + "rudderId": "f5b46a12-2dab-4e24-a127-7316eed414fc", + "messageId": "7032394c-e813-4737-bf52-622dbcefe849", + "receivedAt": "2023-03-28T09:36:48.296Z", + "request_ip": "18.195.235.225", + "originalTimestamp": "2023-03-28T09:36:49.882Z" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "ef32c3f60fb98f39ef35", + "datacenter": "US", + "deviceTokenEventName": "device_token_registered", + "siteID": "c0efdbd20b9fbe24a7e2" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track.customer.io/api/v2/batch", + "headers": { + "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" + }, + "params": {}, + "body": { + "XML": {}, + "FORM": {}, + "JSON": { + "type": "object", + "action": "identify", + "attributes": { + "city": "Frankfurt", + "name": "rudder test", + "state": "Hessen", + "isFake": true, + "address": "Solmsstraße 83", + "country": "DE", + "website": "http://www.rudderstack.com", + "industry": "Waste and recycling", + "postcode": "60486", + "whiteLabel": "rudderlabs", + "maxNbJobBoards": 2, + "organisationId": 306, + "pricingPackage": "packageExpert", + "dateProTrialEnd": "2022-08-31T00:00:00+00:00", + "isProTrialActive": true, + "datetimeRegistration": "2020-07-01T10:23:41+00:00", + "isPersonnelServiceProvider": false + }, + "identifiers": { + "object_id": "306", + "object_type_id": "1" + }, + "cio_relationships": [ + { + "identifiers": { + "email": "abc@xyz.com" + } + } + ] + }, + "JSON_ARRAY": {} + }, + "files": {}, + "userId": "abc@xyz.com", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 62", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "description": "successful group call with eu as data center", + "message": { + "type": "group", + "header": { + "content-type": "application/json; charset=utf-8" + }, + "sentAt": "2023-03-28T09:36:49.882Z", + "traits": { + "city": "Frankfurt", + "name": "rudder test", + "state": "Hessen", + "isFake": true, + "address": "Solmsstraße 83", + "country": "DE", + "website": "http://www.rudderstack.com", + "industry": "Waste and recycling", + "postcode": "60486", + "whiteLabel": "rudderlabs", + "maxNbJobBoards": 2, + "organisationId": 306, + "pricingPackage": "packageExpert", + "dateProTrialEnd": "2022-08-31T00:00:00+00:00", + "isProTrialActive": true, + "datetimeRegistration": "2020-07-01T10:23:41+00:00", + "isPersonnelServiceProvider": false + }, + "userId": 432, + "channel": "server", + "context": { + "library": { + "name": "rudder-analytics-php", + "version": "2.0.1", + "consumer": "LibCurl" + } + }, + "groupId": 306, + "rudderId": "f5b46a12-2dab-4e24-a127-7316eed414fc", + "messageId": "7032394c-e813-4737-bf52-622dbcefe849", + "receivedAt": "2023-03-28T09:36:48.296Z", + "request_ip": "18.195.235.225", + "originalTimestamp": "2023-03-28T09:36:49.882Z" + }, + "destination": { + "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", + "Name": "Customer IO Dev", + "DestinationDefinition": { + "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", + "Name": "CUSTOMERIO", + "DisplayName": "Customer IO", + "Config": { + "destConfig": { + "defaultConfig": [ + "apiKey", + "siteID", + "datacenterEU", + "deviceTokenEventName" + ], + "web": [ + "useNativeSDK", + "blackListedEvents", + "whiteListedEvents" + ] + }, + "excludeKeys": [], + "includeKeys": [ + "apiKey", + "siteID", + "datacenterEU", + "blackListedEvents", + "whiteListedEvents" + ], + "saveDestinationResponse": true, + "secretKeys": [], + "supportedMessageTypes": [ + "identify", + "page", + "screen", + "track" + ], + "supportedSourceTypes": [ + "android", + "ios", + "web", + "unity", + "amp", + "cloud", + "warehouse", + "reactnative", + "flutter", + "cordova" + ], + "supportsVisualMapper": true, + "transformAt": "processor", + "transformAtV1": "processor" + }, + "ResponseRules": {} + }, + "Config": { + "apiKey": "ef32c3f60fb98f39ef35", + "datacenter": "EU", + "deviceTokenEventName": "device_token_registered", + "siteID": "c0efdbd20b9fbe24a7e2" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://track-eu.customer.io/api/v2/batch", + "headers": { + "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" + }, + "params": {}, + "body": { + "XML": {}, + "FORM": {}, + "JSON": { + "type": "object", + "action": "identify", + "attributes": { + "city": "Frankfurt", + "name": "rudder test", + "state": "Hessen", + "isFake": true, + "address": "Solmsstraße 83", + "country": "DE", + "website": "http://www.rudderstack.com", + "industry": "Waste and recycling", + "postcode": "60486", + "whiteLabel": "rudderlabs", + "maxNbJobBoards": 2, + "organisationId": 306, + "pricingPackage": "packageExpert", + "dateProTrialEnd": "2022-08-31T00:00:00+00:00", + "isProTrialActive": true, + "datetimeRegistration": "2020-07-01T10:23:41+00:00", + "isPersonnelServiceProvider": false + }, + "identifiers": { + "object_id": "306", + "object_type_id": "1" + }, + "cio_relationships": [ + { + "identifiers": { + "id": "432" + } + } + ] + }, + "JSON_ARRAY": {} + }, + "files": {}, + "userId": "432", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 63", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page", + "url": "www.rudderlabs.com" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "page", + "data": { + "url": "www.rudderlabs.com", + "path": "/test", + "search": "abc", + "referrer": "Rudder", + "title": "Test Page" + }, + "timestamp": 1571051718, + "name": "www.rudderlabs.com" + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 64", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "12345", + "properties": { + "path": "/test", + "referrer": "Rudder", + "search": "abc", + "title": "Test Page" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "page", + "data": { + "path": "/test", + "search": "abc", + "referrer": "Rudder", + "title": "Test Page" + }, + "timestamp": 1571051718 + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "customerio", + "description": "Test 65", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "userId": "12345", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "datacenter": "US", + "siteID": "46be54768e7d49ab2628", + "apiKey": "dummyApiKey" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "JSON": { + "type": "page", + "timestamp": 1571051718 + }, + "FORM": {} + }, + "files": {}, + "endpoint": "https://track.customer.io/api/v1/customers/12345/events", + "userId": "12345", + "headers": { + "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" + }, + "version": "1", + "params": {}, + "type": "REST", + "method": "POST", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/customerio/router/data.ts b/test/integrations/destinations/customerio/router/data.ts new file mode 100644 index 0000000000..9a34377714 --- /dev/null +++ b/test/integrations/destinations/customerio/router/data.ts @@ -0,0 +1,436 @@ +export const data = [ + { + name: 'customerio', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + userId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + 'dot.name': 'Arnab Pal', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + jobId: 1, + }, + destination: { + Config: { + datacenterEU: false, + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + datacenterEU: false, + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.0-beta.2', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.0-beta.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36', + }, + groupId: 'group@1', + integrations: { + All: true, + }, + traits: { + domainNames: 'rudderstack.com', + email: 'help@rudderstack.com', + name: 'rudderstack', + action: 'identify', + }, + type: 'group', + userId: 'user@1', + }, + metadata: { + jobId: 3, + }, + destination: { + Config: { + datacenterEU: false, + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.0-beta.2', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.0-beta.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36', + }, + groupId: 'group@1', + integrations: { + All: true, + }, + traits: { + domainNames: 'rudderstack.com', + email: 'help@rudderstack.com', + name: 'rudderstack', + action: 'delete', + }, + type: 'group', + userId: 'user@1', + }, + metadata: { + jobId: 4, + }, + destination: { + Config: { + datacenterEU: false, + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + destType: 'customerio', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: 'https://track.customer.io/api/v1/customers/123456', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + params: {}, + body: { + JSON: { + anonymous_id: '123456', + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + email: 'test@gmail.com', + 'dot.name': 'Arnab Pal', + prop1: 'val1', + prop2: 'val2', + _timestamp: 1571043797, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '123456', + statusCode: 200, + }, + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + datacenterEU: false, + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v1/customers/12345/events', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + params: {}, + body: { + JSON: { + data: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + name: 'ApplicationLoaded', + type: 'page', + timestamp: 1571051718, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '12345', + statusCode: 200, + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + datacenterEU: false, + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v2/batch', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + FORM: {}, + XML: {}, + JSON: { + batch: [ + { + type: 'object', + action: 'identify', + attributes: { + name: 'rudderstack', + email: 'help@rudderstack.com', + domainNames: 'rudderstack.com', + }, + identifiers: { + object_id: 'group@1', + object_type_id: '1', + }, + cio_relationships: [ + { + identifiers: { + id: 'user@1', + }, + }, + ], + }, + { + type: 'object', + action: 'delete', + attributes: { + name: 'rudderstack', + email: 'help@rudderstack.com', + domainNames: 'rudderstack.com', + }, + identifiers: { + object_id: 'group@1', + object_type_id: '1', + }, + cio_relationships: [ + { + identifiers: { + id: 'user@1', + }, + }, + ], + }, + ], + }, + JSON_ARRAY: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 3, + }, + { + jobId: 4, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + datacenterEU: false, + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/facebook_offline_conversions/processor/data.ts b/test/integrations/destinations/facebook_offline_conversions/processor/data.ts new file mode 100644 index 0000000000..2728d52193 --- /dev/null +++ b/test/integrations/destinations/facebook_offline_conversions/processor/data.ts @@ -0,0 +1,1775 @@ +export const data = [ + { + "name": "facebook_offline_conversions", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "age": 23, + "email": "adc@test.com", + "firstname": "Test", + "birthday": "2022-05-13T12:51:01.470Z" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "Product Searched", + "originalTimestamp": "2020-09-22T14:42:44.724Z", + "timestamp": "2022-09-22T20:12:44.757+05:30", + "userId": "user@1" + }, + "destination": { + "Config": { + "accessToken": "ABC..." + } + }, + "metadata": { + "secret": { + "access_token": "ABC" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "ABC" + } + }, + "statusCode": 400, + "error": "Message Type is not present. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "FACEBOOK_OFFLINE_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "facebook_offline_conversions", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "age": 23, + "email": "adc@test.com", + "firstname": "Test", + "birthday": "2022-05-13T12:51:01.470Z" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "Product Searched", + "type": "identify", + "originalTimestamp": "2020-09-22T14:42:44.724Z", + "timestamp": "2022-09-22T20:12:44.757+05:30", + "userId": "user@1" + }, + "destination": { + "Config": { + "accessToken": "ABC..." + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Message type identify not supported.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "FACEBOOK_OFFLINE_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "facebook_offline_conversions", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "abc": "1234" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "Fb Offline Conversion Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + } + }, + "type": "track", + "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", + "originalTimestamp": "2022-09-21T12:05:19.394Z", + "userId": "user@1", + "event": "product searched", + "properties": { + "order_id": "5241735", + "value": 31.98, + "revenue": 31.98, + "shipping": 4, + "coupon": "APPARELSALE", + "currency": "GBP", + "products": [ + { + "id": "product-bacon-jam", + "category": "Merch", + "brand": "" + }, + { + "id": "product-t-shirt", + "category": "Merch", + "brand": "Levis" + }, + { + "id": "offer-t-shirt", + "category": "Merch", + "brand": "Levis" + } + ] + } + }, + "destination": { + "Config": { + "accessToken": "ABC...", + "valueFieldIdentifier": "properties.price", + "eventsToStandard": [ + { + "from": "Product Searched", + "to": "Search" + }, + { + "to": "ViewContent", + "from": "Product Viewed" + }, + { + "to": "AddToCart", + "from": "Cart Checkout" + }, + { + "to": "AddPaymentInfo", + "from": "Card Details Added" + }, + { + "to": "Lead", + "from": "Order Completed" + }, + { + "to": "CompleteRegistration", + "from": "Signup" + }, + { + "to": "AddToWishlist", + "from": "Button Clicked" + } + ], + "eventsToIds": [ + { + "from": "Search", + "to": "582603376981640" + }, + { + "from": "Search", + "to": "506289934669334" + }, + { + "from": "ViewContent", + "to": "1166826033904512" + }, + { + "from": "AddToCart", + "to": "1148872185708962" + }, + { + "from": "CompleteRegistration", + "to": "597443908839411" + }, + { + "from": "Lead", + "to": "1024592094903800" + }, + { + "from": "AddToWishlist", + "to": "506289934669334" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Please Map Your Standard Events With Event Set Ids", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "FACEBOOK_OFFLINE_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "facebook_offline_conversions", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "abc": "1234" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "Fb Offline Conversion Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + } + }, + "type": "track", + "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", + "originalTimestamp": "2022-09-21T12:05:19.394Z", + "userId": "user@1", + "event": "Button Clicked", + "properties": { + "order_id": "5241735", + "value": 31.98, + "revenue": 31.98, + "shipping": 4, + "coupon": "APPARELSALE", + "currency": "GBP", + "products": [ + { + "id": "product-bacon-jam", + "category": "Merch", + "brand": "" + }, + { + "id": "product-t-shirt", + "category": "Merch", + "brand": "Levis" + }, + { + "id": "offer-t-shirt", + "category": "Merch", + "brand": "Levis" + } + ] + } + }, + "destination": { + "Config": { + "accessToken": "ABC...", + "valueFieldIdentifier": "properties.price", + "eventsToStandard": [ + { + "from": "Product Searched", + "to": "Search" + }, + { + "to": "ViewContent", + "from": "Product Viewed" + }, + { + "to": "AddToCart", + "from": "Cart Checkout" + }, + { + "to": "AddPaymentInfo", + "from": "Card Details Added" + }, + { + "to": "Lead", + "from": "Order Completed" + }, + { + "to": "CompleteRegistration", + "from": "Signup" + }, + { + "to": "AddToWishlist", + "from": "Button Clicked" + } + ], + "eventsToIds": [ + { + "from": "Search", + "to": "582603376981640" + }, + { + "from": "Search", + "to": "506289934669334" + }, + { + "from": "ViewContent", + "to": "1166826033904512" + }, + { + "from": "AddToCart", + "to": "1148872185708962" + }, + { + "from": "CompleteRegistration", + "to": "597443908839411" + }, + { + "from": "Lead", + "to": "1024592094903800" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Please Map Your Standard Events With Event Set Ids", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "FACEBOOK_OFFLINE_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "facebook_offline_conversions", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "Fb Offline Conversion Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + } + }, + "type": "track", + "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", + "originalTimestamp": "2022-09-21T12:05:19.394Z", + "userId": "user@1", + "event": "Product Viewed", + "properties": { + "order_id": "5241735", + "value": 31.98, + "revenue": 31.98, + "shipping": 4, + "coupon": "APPARELSALE", + "currency": "GBP", + "products": [ + { + "id": "product-bacon-jam", + "category": "Merch", + "brand": "" + }, + { + "id": "product-t-shirt", + "category": "Merch", + "brand": "Levis" + }, + { + "id": "offer-t-shirt", + "category": "Merch", + "brand": "Levis" + } + ] + } + }, + "destination": { + "Config": { + "accessToken": "ABC...", + "valueFieldIdentifier": "properties.price", + "eventsToStandard": [ + { + "from": "Product Searched", + "to": "Search" + }, + { + "to": "ViewContent", + "from": "Product Viewed" + }, + { + "to": "AddToCart", + "from": "Cart Checkout" + }, + { + "to": "AddPaymentInfo", + "from": "Card Details Added" + }, + { + "to": "Lead", + "from": "Order Completed" + }, + { + "to": "CompleteRegistration", + "from": "Signup" + }, + { + "to": "AddToWishlist", + "from": "Button Clicked" + } + ], + "eventsToIds": [ + { + "from": "Search", + "to": "582603376981640" + }, + { + "from": "Search", + "to": "506289934669334" + }, + { + "from": "ViewContent", + "to": "1166826033904512" + }, + { + "from": "AddToCart", + "to": "1148872185708962" + }, + { + "from": "CompleteRegistration", + "to": "597443908839411" + }, + { + "from": "Lead", + "to": "1024592094903800" + } + ], + "isHashRequired": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/1166826033904512/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Viewed%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "facebook_offline_conversions", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "Fb Offline Conversion Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + } + }, + "type": "track", + "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", + "originalTimestamp": "2022-09-21T12:05:19.394Z", + "userId": "user@1", + "event": "Product Searched", + "properties": { + "order_id": "5241735", + "value": 31.98, + "revenue": 31.98, + "shipping": 4, + "coupon": "APPARELSALE", + "currency": "GBP", + "products": [ + { + "id": "product-bacon-jam", + "category": "Merch", + "brand": "" + }, + { + "id": "product-t-shirt", + "category": "Merch", + "brand": "Levis" + }, + { + "id": "offer-t-shirt", + "category": "Merch", + "brand": "Levis" + } + ] + } + }, + "destination": { + "Config": { + "accessToken": "ABC...", + "valueFieldIdentifier": "properties.price", + "eventsToStandard": [ + { + "from": "Product Searched", + "to": "Search" + }, + { + "to": "ViewContent", + "from": "Product Viewed" + }, + { + "to": "AddToCart", + "from": "Cart Checkout" + }, + { + "to": "AddPaymentInfo", + "from": "Card Details Added" + }, + { + "to": "Lead", + "from": "Order Completed" + }, + { + "to": "CompleteRegistration", + "from": "Signup" + }, + { + "to": "AddToWishlist", + "from": "Button Clicked" + } + ], + "eventsToIds": [ + { + "from": "Search", + "to": "582603376981640" + }, + { + "from": "Search", + "to": "506289934669334" + }, + { + "from": "ViewContent", + "to": "1166826033904512" + }, + { + "from": "AddToCart", + "to": "1148872185708962" + }, + { + "from": "CompleteRegistration", + "to": "597443908839411" + }, + { + "from": "Lead", + "to": "1024592094903800" + } + ], + "isHashRequired": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/582603376981640/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22Search%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/506289934669334/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22Search%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "facebook_offline_conversions", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "Fb Offline Conversion Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + } + }, + "type": "track", + "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", + "originalTimestamp": "2022-09-21T12:05:19.394Z", + "userId": "user@1", + "event": "Product Searched", + "properties": { + "order_id": "5241735", + "value": 31.98, + "revenue": 31.98, + "shipping": 4, + "coupon": "APPARELSALE", + "currency": "GBP", + "products": [ + { + "id": "product-bacon-jam", + "category": "Merch", + "brand": "" + }, + { + "id": "product-t-shirt", + "category": "Merch", + "brand": "Levis" + }, + { + "id": "offer-t-shirt", + "category": "Merch", + "brand": "Levis" + } + ] + } + }, + "destination": { + "Config": { + "accessToken": "ABC...", + "valueFieldIdentifier": "properties.price", + "eventsToStandard": [ + { + "from": "Product Searched", + "to": "Search" + }, + { + "to": "ViewContent", + "from": "Product Searched" + }, + { + "to": "AddToCart", + "from": "Cart Checkout" + }, + { + "to": "AddPaymentInfo", + "from": "Card Details Added" + }, + { + "to": "Lead", + "from": "Order Completed" + }, + { + "to": "CompleteRegistration", + "from": "Signup" + }, + { + "to": "AddToWishlist", + "from": "Button Clicked" + } + ], + "eventsToIds": [ + { + "from": "Search", + "to": "582603376981640" + }, + { + "from": "Search", + "to": "506289934669334" + }, + { + "from": "ViewContent", + "to": "1166826033904512" + }, + { + "from": "AddToCart", + "to": "1148872185708962" + }, + { + "from": "CompleteRegistration", + "to": "597443908839411" + }, + { + "from": "Lead", + "to": "1024592094903800" + } + ], + "isHashRequired": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/582603376981640/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/506289934669334/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/1166826033904512/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "facebook_offline_conversions", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "Fb Offline Conversion Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + } + }, + "type": "track", + "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", + "originalTimestamp": "2022-09-21T12:05:19.394Z", + "userId": "user@1", + "event": "Product Searched", + "properties": { + "upload_tag": "test campaign", + "order_id": "5241735", + "value": 31.98, + "revenue": 31.98, + "shipping": 4, + "coupon": "APPARELSALE", + "currency": "GBP", + "products": [ + { + "id": "product-bacon-jam", + "category": "Merch", + "brand": "" + }, + { + "id": "product-t-shirt", + "category": "Merch", + "brand": "Levis" + }, + { + "id": "offer-t-shirt", + "category": "Merch", + "brand": "Levis" + } + ] + } + }, + "destination": { + "Config": { + "accessToken": "ABC...", + "valueFieldIdentifier": "properties.price", + "eventsToStandard": [ + { + "from": "Product Searched", + "to": "Search" + }, + { + "to": "ViewContent", + "from": "Product Searched" + }, + { + "to": "AddToCart", + "from": "Cart Checkout" + }, + { + "to": "AddPaymentInfo", + "from": "Card Details Added" + }, + { + "to": "Lead", + "from": "Order Completed" + }, + { + "to": "CompleteRegistration", + "from": "Signup" + }, + { + "to": "AddToWishlist", + "from": "Button Clicked" + } + ], + "eventsToIds": [ + { + "from": "Search", + "to": "582603376981640" + }, + { + "from": "Search", + "to": "506289934669334" + }, + { + "from": "ViewContent", + "to": "1166826033904512" + }, + { + "from": "AddToCart", + "to": "1148872185708962" + }, + { + "from": "CompleteRegistration", + "to": "597443908839411" + }, + { + "from": "Lead", + "to": "1024592094903800" + } + ], + "isHashRequired": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/582603376981640/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/506289934669334/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/1166826033904512/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "facebook_offline_conversions", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "email": "test@rudderstack.com", + "birthday": "2005-01-01T23:28:56.782Z", + "firstName": "test", + "name": "test rudderlabs", + "address": { + "city": "kalkata", + "state": "west bangal", + "country": "india", + "zip": "123456" + }, + "phone": "9886775586", + "gender": "male" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "Fb Offline Conversion Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + }, + "device": { + "advertisingId": "apple@123" + } + }, + "type": "track", + "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", + "originalTimestamp": "2022-09-21T12:05:19.394Z", + "userId": "user@1", + "event": "Cart Checkout", + "properties": { + "upload_tag": "test campaign", + "order_id": "485893487985894998", + "value": 100, + "revenue": 31.98, + "shipping": 4, + "coupon": "APPARELSALE", + "currency": "IND", + "products": [ + { + "id": "product-bacon-jam", + "category": "Merch", + "brand": "" + }, + { + "id": "product-t-shirt", + "category": "Merch", + "brand": "Levis" + }, + { + "id": "offer-t-shirt", + "category": "Merch", + "brand": "Levis" + } + ] + } + }, + "destination": { + "Config": { + "accessToken": "ABC...", + "valueFieldIdentifier": "properties.price", + "eventsToStandard": [ + { + "from": "Product Searched", + "to": "Search" + }, + { + "to": "ViewContent", + "from": "Product Searched" + }, + { + "to": "AddToCart", + "from": "Cart Checkout" + }, + { + "to": "AddPaymentInfo", + "from": "Card Details Added" + }, + { + "to": "Lead", + "from": "Order Completed" + }, + { + "to": "CompleteRegistration", + "from": "Signup" + }, + { + "to": "AddToWishlist", + "from": "Button Clicked" + } + ], + "eventsToIds": [ + { + "from": "Search", + "to": "582603376981640" + }, + { + "from": "Search", + "to": "506289934669334" + }, + { + "from": "ViewContent", + "to": "1166826033904512" + }, + { + "from": "AddToCart", + "to": "1148872185708962" + }, + { + "from": "CompleteRegistration", + "to": "597443908839411" + }, + { + "from": "Lead", + "to": "1024592094903800" + } + ], + "isHashRequired": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/1148872185708962/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22doby%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobm%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobd%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22phone%22%3A%5B%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%5D%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%5B%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%5D%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22order_id%22%3A%22485893487985894998%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Cart%20Checkout%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22phone%22%3A%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%22485893487985894998%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22AddToCart%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "facebook_offline_conversions", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "email": "test@rudderstack.com", + "birthday": "2005-01-01T23:28:56.782Z", + "firstName": "test", + "name": "test rudderlabs", + "address": { + "city": "kalkata", + "state": "west bangal", + "country": "india", + "zip": "123456" + }, + "phone": "9886775586", + "gender": "male" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "Fb Offline Conversion Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + }, + "device": { + "advertisingId": "apple@123" + } + }, + "type": "track", + "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", + "originalTimestamp": "2022-09-21T12:05:19.394Z", + "userId": "user@1", + "event": "Cart Checkout", + "properties": { + "upload_tag": "test campaign", + "order_id": "485893487985894998", + "value": 100, + "revenue": 31.98, + "shipping": 4, + "coupon": "APPARELSALE", + "currency": "IND", + "products": [ + { + "id": "product-bacon-jam", + "category": "Merch", + "brand": "" + }, + { + "id": "product-t-shirt", + "category": "Merch", + "brand": "Levis" + }, + { + "id": "offer-t-shirt", + "category": "Merch", + "brand": "Levis" + } + ] + } + }, + "destination": { + "Config": { + "accessToken": "ABC...", + "valueFieldIdentifier": "properties.price", + "eventsToStandard": [ + { + "from": "Product Searched", + "to": "Search" + }, + { + "to": "ViewContent", + "from": "Product Searched" + }, + { + "to": "AddToCart", + "from": "Cart Checkout" + }, + { + "to": "AddPaymentInfo", + "from": "Card Details Added" + }, + { + "to": "Lead", + "from": "Order Completed" + }, + { + "to": "CompleteRegistration", + "from": "Signup" + }, + { + "to": "AddToWishlist", + "from": "Button Clicked" + } + ], + "eventsToIds": [ + { + "from": "Search", + "to": "582603376981640" + }, + { + "from": "Search", + "to": "506289934669334" + }, + { + "from": "ViewContent", + "to": "1166826033904512" + }, + { + "from": "AddToCart", + "to": "1148872185708962" + }, + { + "from": "CompleteRegistration", + "to": "597443908839411" + }, + { + "from": "Lead", + "to": "1024592094903800" + } + ], + "isHashRequired": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/1148872185708962/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22doby%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobm%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobd%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%22test%40rudderstack.com%22%5D%2C%22phone%22%3A%5B%229886775586%22%5D%2C%22gen%22%3A%22male%22%2C%22fn%22%3A%22test%22%2C%22ct%22%3A%22kalkata%22%2C%22zip%22%3A%5B%22123456%22%5D%2C%22madid%22%3A%22apple%40123%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22ln%22%3A%22rudderlabs%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22order_id%22%3A%22485893487985894998%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Cart%20Checkout%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22email%22%3A%22test%40rudderstack.com%22%2C%22phone%22%3A%229886775586%22%2C%22gen%22%3A%22male%22%2C%22fn%22%3A%22test%22%2C%22ct%22%3A%22kalkata%22%2C%22zip%22%3A%22123456%22%2C%22madid%22%3A%22apple%40123%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%22485893487985894998%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22ln%22%3A%22rudderlabs%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22AddToCart%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "facebook_offline_conversions", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "email": "test@rudderstack.com", + "birthday": "2005-01-01T23:28:56.782Z", + "firstName": "test", + "name": "test rudderlabs", + "address": { + "city": "kalkata", + "state": "west bangal", + "country": "india", + "zip": "123456" + }, + "phone": "9886775586", + "gender": "male" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "Fb Offline Conversion Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + }, + "device": { + "advertisingId": "apple@123" + } + }, + "integrations": { + "FacebookOfflineConversions": { + "contentType": "e-commerce" + } + }, + "type": "track", + "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", + "originalTimestamp": "2022-09-21T12:05:19.394Z", + "userId": "user@1", + "event": "Cart Checkout", + "properties": { + "upload_tag": "test campaign", + "order_id": "485893487985894998", + "value": 100, + "revenue": 31.98, + "shipping": 4, + "coupon": "APPARELSALE", + "currency": "IND", + "products": [ + { + "id": "product-bacon-jam", + "category": "Merch", + "brand": "" + }, + { + "id": "product-t-shirt", + "category": "Merch", + "brand": "Levis" + }, + { + "id": "offer-t-shirt", + "category": "Merch", + "brand": "Levis" + } + ] + } + }, + "destination": { + "Config": { + "accessToken": "ABC...", + "valueFieldIdentifier": "properties.price", + "eventsToStandard": [ + { + "from": "Product Searched", + "to": "Search" + }, + { + "to": "ViewContent", + "from": "Product Searched" + }, + { + "to": "AddToCart", + "from": "Cart Checkout" + }, + { + "to": "AddPaymentInfo", + "from": "Card Details Added" + }, + { + "to": "Lead", + "from": "Order Completed" + }, + { + "to": "CompleteRegistration", + "from": "Signup" + }, + { + "to": "AddToWishlist", + "from": "Button Clicked" + } + ], + "eventsToIds": [ + { + "from": "Search", + "to": "582603376981640" + }, + { + "from": "Search", + "to": "506289934669334" + }, + { + "from": "ViewContent", + "to": "1166826033904512" + }, + { + "from": "AddToCart", + "to": "1148872185708962" + }, + { + "from": "CompleteRegistration", + "to": "597443908839411" + }, + { + "from": "Lead", + "to": "1024592094903800" + } + ], + "categoryToContent": [ + { + "from": "", + "to": "" + } + ], + "isHashRequired": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v16.0/1148872185708962/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22doby%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobm%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobd%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22phone%22%3A%5B%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%5D%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%5B%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%5D%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22order_id%22%3A%22485893487985894998%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Cart%20Checkout%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22phone%22%3A%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%22485893487985894998%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22AddToCart%22%2C%22content_type%22%3A%22e-commerce%22%7D%5D&access_token=ABC...", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/facebook_offline_conversions/router/data.ts b/test/integrations/destinations/facebook_offline_conversions/router/data.ts new file mode 100644 index 0000000000..7bf984a029 --- /dev/null +++ b/test/integrations/destinations/facebook_offline_conversions/router/data.ts @@ -0,0 +1,705 @@ +export const data = [ + { + name: 'facebook_offline_conversions', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + abc: '1234', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'product searched', + properties: { + order_id: '5241735', + value: 31.98, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'GBP', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + metadata: { + jobId: 1, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Viewed', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + { + from: 'AddToWishlist', + to: '506289934669334', + }, + ], + isHashRequired: true, + }, + }, + }, + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + abc: '1234', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'Button Clicked', + properties: { + order_id: '5241735', + value: 31.98, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'GBP', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Viewed', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + isHashRequired: true, + }, + }, + }, + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + email: 'test@rudderstack.com', + birthday: '2005-01-01T23:28:56.782Z', + firstName: 'test', + lastName: 'rudderstack', + initial: { + firstName: 'rudderlabs', + }, + address: { + city: 'kalkata', + state: 'west bangal', + country: 'india', + zip: '123456', + }, + phone: '9886775586', + gender: 'male', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + device: { + advertisingId: 'apple@123', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'Cart Checkout', + properties: { + upload_tag: 'test campaign', + order_id: '485893487985894998', + value: 100, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'IND', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + metadata: { + jobId: 3, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Searched', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + isHashRequired: true, + }, + }, + }, + ], + destType: 'facebook_offline_conversions', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + error: 'Please Map Your Standard Events With Event Set Ids', + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statTags: { + destType: 'FACEBOOK_OFFLINE_CONVERSIONS', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Viewed', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + { + from: 'AddToWishlist', + to: '506289934669334', + }, + ], + isHashRequired: true, + }, + }, + }, + { + error: 'Please Map Your Standard Events With Event Set Ids', + metadata: [ + { + jobId: 2, + }, + ], + statTags: { + destType: 'FACEBOOK_OFFLINE_CONVERSIONS', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + batched: false, + statusCode: 400, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Viewed', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + isHashRequired: true, + }, + }, + }, + { + metadata: [ + { + jobId: 3, + }, + ], + batchedRequest: [ + { + body: { + FORM: {}, + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: + 'https://graph.facebook.com/v16.0/1148872185708962/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22doby%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobm%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobd%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22phone%22%3A%5B%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%5D%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22ln%22%3A%227fb35d4777487797615cfa7c57724a47ba99152485600ccdb98e3871a6d05b21%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%5B%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%5D%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22order_id%22%3A%22485893487985894998%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Cart%20Checkout%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22phone%22%3A%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22ln%22%3A%227fb35d4777487797615cfa7c57724a47ba99152485600ccdb98e3871a6d05b21%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%22485893487985894998%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22AddToCart%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + files: {}, + headers: {}, + method: 'POST', + params: {}, + type: 'REST', + version: '1', + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Searched', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + isHashRequired: true, + }, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/facebook_pixel/processor/data.ts b/test/integrations/destinations/facebook_pixel/processor/data.ts new file mode 100644 index 0000000000..d5d0a8ec96 --- /dev/null +++ b/test/integrations/destinations/facebook_pixel/processor/data.ts @@ -0,0 +1,6061 @@ +export const mockFns = (_) => { + // @ts-ignore + jest.useFakeTimers().setSystemTime(new Date('2023-10-15')); +}; + +export const data = [ + { + name: 'facebook_pixel', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + channel: 'mobile', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: ' aBc@gmail.com ', + address: { + zip: 1234, + }, + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + }, + timestamp: '2023-10-14T00:00:00.693229+05:30', + type: 'track', + }, + destination: { + Config: { + limitedDataUsage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + removeExternalId: true, + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08","zp":"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4"},"event_name":"spin_result","event_time":1697221800,"action_source":"app","custom_data":{"additional_bet_index":0,"value":400}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: ' aBc@gmail.com ', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'group', + }, + destination: { + Config: { + limitedDataUsage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Message type group not supported', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + name: 'Test', + }, + 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, + }, + }, + properties: { + plan: 'standard plan', + name: 'rudder test', + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'For identify events, "Advanced Mapping" configuration must be enabled on the RudderStack dashboard', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + name: 'Rudder Test', + email: 'abc@gmail.com', + firstname: 'Rudder', + lastname: 'Test', + phone: 9000000000, + gender: 'female', + }, + 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, + }, + }, + properties: { + plan: 'standard plan', + name: 'rudder test', + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: true, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08","ph":"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579","ge":"252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111","ln":"532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25","fn":"2c2ccf28d806f6f9a34b67aa874d2113b7ac1444f1a4092541b8b75b84771747","client_ip_address":"0.0.0.0","client_user_agent":"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"},"event_name":"identify","event_time":1697278611,"event_id":"84e26acc-56a5-4835-8233-591137fca468","action_source":"website"}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + name: 'Rudder Test', + email: 'abc@gmail.com', + phone: 9000000000, + address: { + postalCode: 1234, + }, + gender: 'female', + }, + 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, + }, + }, + properties: { + plan: 'standard plan', + name: 'rudder test', + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: true, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08","ph":"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579","ge":"252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111","zp":"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4","client_ip_address":"0.0.0.0","client_user_agent":"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","fn":"2c2ccf28d806f6f9a34b67aa874d2113b7ac1444f1a4092541b8b75b84771747","ln":"532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25"},"event_name":"identify","event_time":1697278611,"event_id":"84e26acc-56a5-4835-8233-591137fca468","action_source":"website"}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + email: 'abc@gmail.com', + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08"},"event_name":"spin_result","event_time":1697278611,"action_source":"other","custom_data":{"additional_bet_index":0,"value":400}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + email: 'abc@gmail.com', + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: 'email', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08"},"event_name":"spin_result","event_time":1697278611,"action_source":"other","custom_data":{"additional_bet_index":0,"email":"abc@gmail.com","value":400}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + email: 'abc@gmail.com', + phone: 9000000000, + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: 'phone', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: 'email', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08"},"event_name":"spin_result","event_time":1697278611,"action_source":"other","custom_data":{"additional_bet_index":0,"email":"abc@gmail.com","value":400}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + email: 'abc@gmail.com', + phone: 9000000000, + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: 'phone', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: 'email', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08"},"event_name":"spin_result","event_time":1697278611,"action_source":"other","custom_data":{"additional_bet_index":0,"email":"abc@gmail.com","phone":"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579","value":400}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + timestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: 'xyz', + search: 'def', + title: 'ghi', + url: 'jkl', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: 'phone', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: 'email', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_ip_address":"0.0.0.0","client_user_agent":"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"},"event_name":"Viewed page ApplicationLoaded","event_time":1697278611,"event_source_url":"jkl","event_id":"5e10d13a-bf9a-44bf-b884-43a9e591ea71","action_source":"website","custom_data":{"path":"/abc","referrer":"xyz","search":"def","title":"ghi","url":"jkl"}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: 'xyz', + search: 'def', + title: 'ghi', + url: 'jkl', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: 'phone', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: 'email', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_ip_address":"0.0.0.0","client_user_agent":"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"},"event_name":"Viewed a page","event_time":1697278611,"event_source_url":"jkl","event_id":"5e10d13a-bf9a-44bf-b884-43a9e591ea71","action_source":"website","custom_data":{"path":"/abc","referrer":"xyz","search":"def","title":"ghi","url":"jkl"}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product list viewed', + properties: { + phone: 9000000000, + email: 'abc@gmail.com', + category: 'cat 1', + list_id: '1234', + filters: [ + { + type: 'department', + value: 'beauty', + }, + { + type: 'price', + value: 'under', + }, + ], + sorts: [ + { + type: 'price', + value: 'desc', + }, + ], + testDimension: true, + testMetric: true, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: 'phone', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: 'email', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_user_agent":"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"},"event_name":"ViewContent","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"phone":"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579","email":"abc@gmail.com","category":"cat 1","list_id":"1234","filters[0].type":"department","filters[0].value":"beauty","filters[1].type":"price","filters[1].value":"under","sorts[0].type":"price","sorts[0].value":"desc","testDimension":true,"testMetric":true,"content_ids":["cat 1"],"content_type":"product_group","contents":[{"id":"cat 1","quantity":1}],"content_category":"cat 1","value":0,"currency":"USD"}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product list viewed', + properties: { + phone: 9000000000, + email: 'abc@gmail.com', + category: 'cat 1', + list_id: '1234', + filters: [ + { + type: 'department', + value: 'beauty', + }, + { + type: 'price', + value: 'under', + }, + ], + sorts: [ + { + type: 'price', + value: 'desc', + }, + ], + testDimension: true, + testMetric: true, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_user_agent":"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"},"event_name":"ViewContent","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"category":"cat 1","list_id":"1234","filters[0].type":"department","filters[0].value":"beauty","filters[1].type":"price","filters[1].value":"under","sorts[0].type":"price","sorts[0].value":"desc","testDimension":true,"testMetric":true,"content_ids":["cat 1"],"content_type":"product_group","contents":[{"id":"cat 1","quantity":1}],"content_category":"cat 1","value":0,"currency":"USD"}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product list viewed', + properties: { + email: 'abc@gmail.com', + quantity: 2, + category: 'cat 1', + list_id: '1234', + contentName: 'nutrition', + value: 18.9, + filters: [ + { + type: 'department', + value: 'beauty', + }, + { + type: 'price', + value: 'under', + }, + ], + sorts: [ + { + type: 'price', + value: 'desc', + }, + ], + products: [ + { + product_id: '507f1f77bcf86cd799439011', + productDimension: 'My Product Dimension', + productMetric: 'My Product Metric', + position: 10, + }, + { + product_id: '507f1f77bcf86cdef799439011', + productDimension: 'My Product Dimension1', + productMetric: 'My Product Metric1', + position: -10, + }, + ], + testDimension: true, + testMetric: true, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_user_agent":"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"},"event_name":"ViewContent","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"quantity":2,"category":"cat 1","list_id":"1234","contentName":"nutrition","value":18.9,"filters[0].type":"department","filters[0].value":"beauty","filters[1].type":"price","filters[1].value":"under","sorts[0].type":"price","sorts[0].value":"desc","products[0].product_id":"507f1f77bcf86cd799439011","products[0].productDimension":"My Product Dimension","products[0].productMetric":"My Product Metric","products[0].position":10,"products[1].product_id":"507f1f77bcf86cdef799439011","products[1].productDimension":"My Product Dimension1","products[1].productMetric":"My Product Metric1","products[1].position":-10,"testDimension":true,"testMetric":true,"content_ids":["507f1f77bcf86cd799439011","507f1f77bcf86cdef799439011"],"content_type":"product","contents":[{"id":"507f1f77bcf86cd799439011","quantity":2},{"id":"507f1f77bcf86cdef799439011","quantity":2}],"content_category":"cat 1","content_name":"nutrition","currency":"USD"}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'my product list', + properties: { + email: 'abc@gmail.com', + quantity: 2, + category: 'cat 1', + list_id: '1234', + filters: [ + { + type: 'department', + value: 'beauty', + }, + { + type: 'price', + value: 'under', + }, + ], + sorts: [ + { + type: 'price', + value: 'desc', + }, + ], + products: [ + { + product_id: '507f1f77bcf86cd799439011', + productDimension: 'My Product Dimension', + productMetric: 'My Product Metric', + position: 10, + }, + { + product_id: '507f1f77bcf86cdef799439011', + productDimension: 'My Product Dimension1', + productMetric: 'My Product Metric1', + position: -10, + }, + ], + testDimension: true, + testMetric: true, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + removeExternalId: false, + eventsToEvents: [ + { + from: 'My product list', + to: 'ViewContent', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: 'list_id', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_user_agent":"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"},"event_name":"ViewContent","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"quantity":2,"category":"cat 1","list_id":"1234","filters[0].type":"department","filters[0].value":"beauty","filters[1].type":"price","filters[1].value":"under","sorts[0].type":"price","sorts[0].value":"desc","products[0].product_id":"507f1f77bcf86cd799439011","products[0].productDimension":"My Product Dimension","products[0].productMetric":"My Product Metric","products[0].position":10,"products[1].product_id":"507f1f77bcf86cdef799439011","products[1].productDimension":"My Product Dimension1","products[1].productMetric":"My Product Metric1","products[1].position":-10,"testDimension":true,"testMetric":true,"content_ids":["507f1f77bcf86cd799439011","507f1f77bcf86cdef799439011"],"content_type":"product","contents":[{"id":"507f1f77bcf86cd799439011","quantity":2},{"id":"507f1f77bcf86cdef799439011","quantity":2}],"content_category":"cat 1","value":0,"currency":"USD"}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product viewed', + properties: { + currency: 'CAD', + quantity: 1, + price: 24.75, + name: 'my product 1', + category: 'clothing', + sku: 'p-298', + testDimension: true, + testMetric: true, + position: 4.5, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + removeExternalId: true, + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"client_user_agent":"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"},"event_name":"ViewContent","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"currency":"CAD","quantity":1,"price":24.75,"name":"my product 1","category":"clothing","sku":"p-298","testDimension":true,"testMetric":true,"position":4.5,"content_ids":["p-298"],"content_type":"product","content_name":"my product 1","content_category":"clothing","value":24.75,"contents":[{"id":"p-298","quantity":1,"item_price":24.75}]}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 16', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product added', + properties: { + currency: 'CAD', + quantity: 1, + value: 24.75, + category: 'cat 1', + id: 'p-298', + testDimension: true, + testMetric: true, + position: 4.5, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + removeExternalId: false, + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.value', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_user_agent":"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"},"event_name":"AddToCart","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"currency":"CAD","quantity":1,"value":24.75,"category":"cat 1","id":"p-298","testDimension":true,"testMetric":true,"position":4.5,"content_ids":["p-298"],"content_type":"product","content_name":"","content_category":"cat 1","contents":[{"id":"p-298","quantity":1}]}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 17', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'order completed', + properties: { + order_id: 'rudderstackorder1', + total: 99.99, + revenue: 12.24, + shipping: 13.99, + tax: 20.99, + currency: 'INR', + contentName: 'all about nutrition', + products: [ + { + quantity: 1, + price: 24.75, + name: 'my product', + sku: 'p-298', + }, + { + quantity: 3, + price: 24.75, + name: 'other product', + sku: 'p-299', + }, + ], + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","em":"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd","client_user_agent":"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"},"event_name":"Purchase","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"order_id":"rudderstackorder1","total":99.99,"revenue":12.24,"shipping":13.99,"tax":20.99,"currency":"INR","contentName":"all about nutrition","products[0].quantity":1,"products[0].price":24.75,"products[0].name":"my product","products[0].sku":"p-298","products[1].quantity":3,"products[1].price":24.75,"products[1].name":"other product","products[1].sku":"p-299","content_ids":["p-298","p-299"],"content_type":"product","value":12.24,"contents":[{"id":"p-298","quantity":1,"item_price":24.75},{"id":"p-299","quantity":3,"item_price":24.75}],"num_items":2,"content_name":"all about nutrition"}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 18', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'checkout started', + properties: { + currency: 'CAD', + category: 'clothing', + contentName: 'abc', + products: [ + { + quantity: 1, + price: 24.75, + name: 'my product', + sku: 'p-298', + }, + { + quantity: 1, + price: 24.75, + name: 'my product 2', + sku: 'p-299', + }, + ], + step: 1, + paymentMethod: 'Visa', + testDimension: true, + testMetric: true, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: 'contentName', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","em":"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd","client_user_agent":"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"},"event_name":"InitiateCheckout","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"currency":"CAD","category":"clothing","contentName":"abc","products[0].quantity":1,"products[0].price":24.75,"products[0].name":"my product","products[0].sku":"p-298","products[1].quantity":1,"products[1].price":24.75,"products[1].name":"my product 2","products[1].sku":"p-299","step":1,"paymentMethod":"Visa","testDimension":true,"testMetric":true,"content_category":"clothing","content_ids":["p-298","p-299"],"content_type":"product","value":0,"contents":[{"id":"p-298","quantity":1,"item_price":24.75},{"id":"p-299","quantity":1,"item_price":24.75}],"num_items":2}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 19', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + dataProcessingOptions: [['LDU'], 1, 1000], + fbc: 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890', + fbp: 'fb.1.1554763741205.234567890', + fb_login_id: 'fb_id', + lead_id: 'lead_id', + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + limitedDataUSage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08","fbc":"fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890","fbp":"fb.1.1554763741205.234567890","lead_id":"lead_id","fb_login_id":"fb_id"},"event_name":"spin_result","event_time":1697278611,"action_source":"other","data_processing_options":["LDU"],"data_processing_options_country":1,"data_processing_options_state":1000,"custom_data":{"additional_bet_index":0,"value":400}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 20', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + context: { + dataProcessingOptions: [['LDU'], 1, 1000], + fbc: 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890', + fbp: 'fb.1.1554763741205.234567890', + fb_login_id: 'fb_id', + lead_id: 'lead_id', + device: { + id: 'df16bffa-5c3d-4fbb-9bce-3bab098129a7R', + manufacturer: 'Xiaomi', + model: 'Redmi 6', + name: 'xiaomi', + }, + network: { + carrier: 'Banglalink', + }, + os: { + name: 'android', + version: '8.1.0', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + limitedDataUSage: false, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08","fbc":"fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890","fbp":"fb.1.1554763741205.234567890","lead_id":"lead_id","fb_login_id":"fb_id"},"event_name":"spin_result","event_time":1697278611,"action_source":"other","custom_data":{"additional_bet_index":0,"value":400}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 21', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'products searched', + properties: { + product_id: 'p-298', + quantity: 2, + price: 18.9, + category: 'health', + value: 18.9, + query: 'HDMI cable', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","em":"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd","client_user_agent":"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"},"event_name":"Search","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"product_id":"p-298","quantity":2,"price":18.9,"category":"health","value":18.9,"query":"HDMI cable","content_ids":["p-298"],"content_category":"health","contents":[{"id":"p-298","quantity":2,"item_price":18.9}],"search_string":"HDMI cable","currency":"USD"}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 22', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'products searched', + properties: { + query: 'HDMI cable', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + testDestination: true, + testEventCode: 'TEST1001', + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","em":"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd","client_user_agent":"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"},"event_name":"Search","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"query":"HDMI cable","content_ids":[],"content_category":"","value":0,"contents":[],"search_string":"HDMI cable","currency":"USD"}}', + ], + test_event_code: 'TEST1001', + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 23', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/abc', + referrer: 'xyz', + search: 'def', + title: 'ghi', + url: 'jkl', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + standardPageCall: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: 'phone', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: 'url', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: 'email', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_ip_address":"0.0.0.0","client_user_agent":"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"},"event_name":"PageView","event_time":1697278611,"event_source_url":"jkl","event_id":"5e10d13a-bf9a-44bf-b884-43a9e591ea71","action_source":"website","custom_data":{"path":"/abc","referrer":"xyz","search":"def","title":"ghi","url":"jkl"}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 24', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'track page', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + limitedDataUsage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: 'track page', + to: 'PageView', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: 'additional_bet_index', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08"},"event_name":"PageView","event_time":1697278611,"action_source":"other","custom_data":{"revenue":400,"additional_bet_index":0}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 25', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'my product list', + properties: { + email: 'abc@gmail.com', + quantity: 2, + category: 'cat 1', + list_id: '1234', + filters: [ + { + type: 'department', + value: 'beauty', + }, + { + type: 'price', + value: 'under', + }, + ], + sorts: [ + { + type: 'price', + value: 'desc', + }, + ], + products: [ + { + product_id: '507f1f77bcf86cd799439011', + productDimension: 'My Product Dimension', + productMetric: 'My Product Metric', + position: 10, + }, + { + product_id: '507f1f77bcf86cdef799439011', + productDimension: 'My Product Dimension1', + productMetric: 'My Product Metric1', + position: -10, + }, + ], + testDimension: true, + testMetric: true, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: 'My product list', + to: 'Schedule', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: 'list_id', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_user_agent":"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"},"event_name":"Schedule","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"quantity":2,"category":"cat 1","list_id":"1234","filters[0].type":"department","filters[0].value":"beauty","filters[1].type":"price","filters[1].value":"under","sorts[0].type":"price","sorts[0].value":"desc","products[0].product_id":"507f1f77bcf86cd799439011","products[0].productDimension":"My Product Dimension","products[0].productMetric":"My Product Metric","products[0].position":10,"products[1].product_id":"507f1f77bcf86cdef799439011","products[1].productDimension":"My Product Dimension1","products[1].productMetric":"My Product Metric1","products[1].position":-10,"testDimension":true,"testMetric":true}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 26', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + limitedDataUsage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: "'event' is required", + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 27', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product added', + properties: { + currency: 'CAD', + quantity: 1, + value: '35.753', + category: 'cat 1', + id: 'p-298', + testDimension: true, + testMetric: true, + position: 4.5, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.value', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_user_agent":"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"},"event_name":"AddToCart","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"currency":"CAD","quantity":1,"value":35.75,"category":"cat 1","id":"p-298","testDimension":true,"testMetric":true,"position":4.5,"content_ids":["p-298"],"content_type":"product","content_name":"","content_category":"cat 1","contents":[{"id":"p-298","quantity":1}]}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 28', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product added', + properties: { + currency: 'CAD', + quantity: 1, + value: '35.7A3', + category: 'cat 1', + id: 'p-298', + testDimension: true, + testMetric: true, + position: 4.5, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.value', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","client_user_agent":"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"},"event_name":"AddToCart","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"currency":"CAD","quantity":1,"value":35.7,"category":"cat 1","id":"p-298","testDimension":true,"testMetric":true,"position":4.5,"content_ids":["p-298"],"content_type":"product","content_name":"","content_category":"cat 1","contents":[{"id":"p-298","quantity":1}]}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 29', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product added', + properties: { + currency: 'CAD', + quantity: 1, + value: 'ABC', + category: 'cat 1', + id: 'p-298', + testDimension: true, + testMetric: true, + position: 4.5, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.value', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Revenue could not be converted to number', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 30', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'order completed', + properties: { + category: ['clothing', 'fishing'], + order_id: 'rudderstackorder1', + total: 99.99, + revenue: 12.24, + shipping: 13.99, + tax: 20.99, + currency: 'INR', + products: [ + { + quantity: 1, + price: 24.75, + name: 'my product', + sku: 'p-298', + }, + { + quantity: 3, + price: 24.75, + name: 'other product', + sku: 'p-299', + }, + ], + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","em":"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd","client_user_agent":"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"},"event_name":"Purchase","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"category[0]":"clothing","category[1]":"fishing","order_id":"rudderstackorder1","total":99.99,"revenue":12.24,"shipping":13.99,"tax":20.99,"currency":"INR","products[0].quantity":1,"products[0].price":24.75,"products[0].name":"my product","products[0].sku":"p-298","products[1].quantity":3,"products[1].price":24.75,"products[1].name":"other product","products[1].sku":"p-299","content_category":"clothing,fishing","content_ids":["p-298","p-299"],"content_type":"product","value":12.24,"contents":[{"id":"p-298","quantity":1,"item_price":24.75},{"id":"p-299","quantity":3,"item_price":24.75}],"num_items":2}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 31', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'order completed', + properties: { + category: 100, + order_id: 'rudderstackorder1', + total: 99.99, + revenue: 12.24, + shipping: 13.99, + tax: 20.99, + currency: 'INR', + products: [ + { + quantity: 1, + price: 24.75, + name: 'my product', + sku: 'p-298', + }, + { + quantity: 3, + price: 24.75, + name: 'other product', + sku: 'p-299', + }, + ], + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","em":"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd","client_user_agent":"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"},"event_name":"Purchase","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"category":100,"order_id":"rudderstackorder1","total":99.99,"revenue":12.24,"shipping":13.99,"tax":20.99,"currency":"INR","products[0].quantity":1,"products[0].price":24.75,"products[0].name":"my product","products[0].sku":"p-298","products[1].quantity":3,"products[1].price":24.75,"products[1].name":"other product","products[1].sku":"p-299","content_category":"100","content_ids":["p-298","p-299"],"content_type":"product","value":12.24,"contents":[{"id":"p-298","quantity":1,"item_price":24.75},{"id":"p-299","quantity":3,"item_price":24.75}],"num_items":2}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 32', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'order completed', + properties: { + category: { + category1: '1', + }, + order_id: 'rudderstackorder1', + total: 99.99, + revenue: 12.24, + shipping: 13.99, + tax: 20.99, + currency: 'INR', + products: [ + { + quantity: 1, + price: 24.75, + name: 'my product', + sku: 'p-298', + }, + { + quantity: 3, + price: 24.75, + name: 'other product', + sku: 'p-299', + }, + ], + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: "'properties.category' must be either be a string or an array", + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 33', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + limitedDataUsage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: 'spin_result', + to: 'Schedule', + }, + { + to: 'Schedule', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"6dc8118ec743f5f3b758939714193f547f4a674c68757fa80d7c9564dc093b0a","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08"},"event_name":"Schedule","event_time":1697278611,"action_source":"other","custom_data":{"revenue":400,"additional_bet_index":0}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 34', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + }, + timestamp: '2019-08-24T15:46:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + limitedDataUsage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: 'spin_result', + to: 'Schedule', + }, + { + to: 'Schedule', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'Events must be sent within seven days of their occurrence or up to one minute in the future.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 35', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + }, + originalTimestamp: '2019-04-16T15:50:51.693229+05:30', + type: 'track', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: 'validToken', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: true, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'Events must be sent within seven days of their occurrence or up to one minute in the future.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 36', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'products searched', + properties: { + query: { + key1: 'HDMI cable', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: "'query' should be in string format only", + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 37', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'products searched', + properties: { + query: 50, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","em":"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd","client_user_agent":"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"},"event_name":"Search","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"query":50,"content_ids":[],"content_category":"","value":0,"contents":[],"search_string":50,"currency":"USD"}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 38', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + url: 'https://theminimstory.com/collections/summer-of-pearls?utm_source=facebook&utm_medium=paidsocial&utm_campaign=carousel&utm_content=ad1-jul&fbclid=IwAR2SsDcjzd_TLZN-e93kxOeGBYO4pQ3AiyeXSheHW5emDeLw8uTvo6lTMPI', + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'checkout started', + properties: { + currency: 'CAD', + category: 'clothing', + products: [ + { + quantity: 1, + price: 24.75, + name: 'my product', + sku: 'p-298', + }, + { + quantity: 1, + price: 24.75, + name: 'my product 2', + sku: 'p-299', + }, + ], + step: 1, + paymentMethod: 'Visa', + testDimension: true, + testMetric: true, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","em":"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd","client_user_agent":"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","fbc":"fb.1.1697278611693.IwAR2SsDcjzd_TLZN-e93kxOeGBYO4pQ3AiyeXSheHW5emDeLw8uTvo6lTMPI"},"event_name":"InitiateCheckout","event_time":1697278611,"event_source_url":"https://theminimstory.com/collections/summer-of-pearls?utm_source=facebook&utm_medium=paidsocial&utm_campaign=carousel&utm_content=ad1-jul&fbclid=IwAR2SsDcjzd_TLZN-e93kxOeGBYO4pQ3AiyeXSheHW5emDeLw8uTvo6lTMPI","event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"currency":"CAD","category":"clothing","products[0].quantity":1,"products[0].price":24.75,"products[0].name":"my product","products[0].sku":"p-298","products[1].quantity":1,"products[1].price":24.75,"products[1].name":"my product 2","products[1].sku":"p-299","step":1,"paymentMethod":"Visa","testDimension":true,"testMetric":true,"content_category":"clothing","content_ids":["p-298","p-299"],"content_type":"product","value":0,"contents":[{"id":"p-298","quantity":1,"item_price":24.75},{"id":"p-299","quantity":1,"item_price":24.75}],"num_items":2}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 39', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + url: 'https://theminimstory.com/collections/summer-of-pearls?utm_source=facebook&utm_medium=paidsocial&utm_campaign=carousel&utm_content=ad1-jul&fbclid=IwAR2SsDcjzd_TLZN-e93kxOeGBYO4pQ3AiyeXSheHW5emDeLw8uTvo6lTMPI', + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: { + name: 'checkout started', + }, + properties: { + currency: 'CAD', + category: 'clothing', + products: [ + { + quantity: 1, + price: 24.75, + name: 'my product', + sku: 'p-298', + }, + { + quantity: 1, + price: 24.75, + name: 'my product 2', + sku: 'p-299', + }, + ], + step: 1, + paymentMethod: 'Visa', + testDimension: true, + testMetric: true, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'event name should be string', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 40', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + url: 'url in wrong format', + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'checkout started', + properties: { + currency: 'CAD', + category: 'clothing', + products: [ + { + quantity: 1, + price: 24.75, + name: 'my product', + sku: 'p-298', + }, + { + quantity: 1, + price: 24.75, + name: 'my product 2', + sku: 'p-299', + }, + ], + step: 1, + paymentMethod: 'Visa', + testDimension: true, + testMetric: true, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","em":"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd","client_user_agent":"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"},"event_name":"InitiateCheckout","event_time":1697278611,"event_source_url":"url in wrong format","event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"currency":"CAD","category":"clothing","products[0].quantity":1,"products[0].price":24.75,"products[0].name":"my product","products[0].sku":"p-298","products[1].quantity":1,"products[1].price":24.75,"products[1].name":"my product 2","products[1].sku":"p-299","step":1,"paymentMethod":"Visa","testDimension":true,"testMetric":true,"content_category":"clothing","content_ids":["p-298","p-299"],"content_type":"product","value":0,"contents":[{"id":"p-298","quantity":1,"item_price":24.75},{"id":"p-299","quantity":1,"item_price":24.75}],"num_items":2}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 41', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product viewed', + properties: { + currency: 'CAD', + quantity: 1, + price: 24.75, + name: 'my product 1', + category: 'clothing', + sku: 'p-298', + testDimension: true, + testMetric: true, + position: 4.5, + }, + integrations: { + All: true, + Facebook_Pixel: { + contentType: 'sending dedicated content type for this particular payload', + }, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + removeExternalId: true, + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"client_user_agent":"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"},"event_name":"ViewContent","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"currency":"CAD","quantity":1,"price":24.75,"name":"my product 1","category":"clothing","sku":"p-298","testDimension":true,"testMetric":true,"position":4.5,"content_ids":["p-298"],"content_type":"sending dedicated content type for this particular payload","content_name":"my product 1","content_category":"clothing","value":24.75,"contents":[{"id":"p-298","quantity":1,"item_price":24.75}]}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 42', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product viewed', + properties: { + currency: 'CAD', + quantity: 1, + price: 24.75, + value: 18.9, + name: 'my product 1', + category: 'clothing', + sku: 'p-298', + testDimension: true, + testMetric: true, + position: 4.5, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + removeExternalId: true, + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.value', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"client_user_agent":"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"},"event_name":"ViewContent","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"currency":"CAD","quantity":1,"price":24.75,"value":18.9,"name":"my product 1","category":"clothing","sku":"p-298","testDimension":true,"testMetric":true,"position":4.5,"content_ids":["p-298"],"content_type":"product","content_name":"my product 1","content_category":"clothing","contents":[{"id":"p-298","quantity":1,"item_price":24.75}]}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 43', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'order completed', + properties: { + order_id: 'rudderstackorder1', + total: 99.99, + revenue: 12.24, + shipping: 13.99, + tax: 20.99, + currency: 'INR', + contentName: 'all about nutrition', + products: { + quantity: 1, + price: 24.75, + name: 'my product', + sku: 'p-298', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: "'properties.products' is not sent as an Array", + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 44', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'product list viewed', + properties: { + email: 'abc@gmail.com', + quantity: 2, + category: 'cat 1', + list_id: '1234', + contentName: 'nutrition', + value: 18.9, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + productDimension: 'My Product Dimension', + productMetric: 'My Product Metric', + position: 10, + }, + [ + { + product_id: '507f1f77bcf86cdef799439011', + productDimension: 'My Product Dimension1', + productMetric: 'My Product Metric1', + position: -10, + }, + ], + ], + testDimension: true, + testMetric: true, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: "'properties.products[1]' is not an object", + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 45', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'custom', + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + pixelId: 'dummyPixelId', + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Access token not found. Aborting', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 46', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'custom', + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Pixel Id not found. Aborting', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'FACEBOOK_PIXEL', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 47', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + jobId: 12, + }, + destination: { + secretConfig: {}, + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [], + limitedDataUSage: false, + accessToken: 'dummyAccessToken', + testDestination: false, + testEventCode: '', + standardPageCall: false, + blacklistedEvents: [], + whitelistedEvents: [], + eventFilteringOption: 'disable', + removeExternalId: false, + useUpdatedMapping: false, + oneTrustCookieCategories: [], + useNativeSDK: false, + eventDelivery: false, + eventDeliveryTS: 1686748039135, + }, + liveEventsConfig: { + eventDelivery: false, + eventDeliveryTS: 1686748039135, + }, + id: 'destId1', + workspaceId: 'wsp2', + transformations: [], + isConnectionEnabled: true, + isProcessorEnabled: true, + name: 'san-fb_pixel', + enabled: true, + deleted: false, + createdAt: '2023-06-06T13:36:08.579Z', + updatedAt: '2023-06-14T13:07:19.136Z', + revisionId: 'revId2', + secretVersion: 3, + }, + message: { + type: 'page', + sentAt: '2023-10-14T15:46:51.000Z', + userId: 'user@19', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + app: { + name: 'RudderLabs JavaScript SDK', + version: 'dev-snapshot', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:8888/', + path: '/', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:8888/', + referrer: 'http://127.0.0.1:8888/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:8888', + initial_referring_domain: '', + }, + locale: 'en-GB', + screen: { + width: 1728, + height: 1117, + density: 2, + innerWidth: 547, + innerHeight: 915, + }, + traits: { + name: false, + source: 'rudderstack', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: 'dev-snapshot', + }, + campaign: {}, + sessionId: 1687769234506, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36', + }, + rudderId: '6bbfd003-c074-4ee9-8674-c132ded9ff04', + timestamp: '2023-10-14T15:46:51.000Z', + properties: { + url: 'http://127.0.0.1:8888/', + path: '/', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:8888/', + referrer: 'http://127.0.0.1:8888/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:8888', + initial_referring_domain: '', + }, + receivedAt: '2023-10-14T15:46:51.000Z', + request_ip: '49.206.54.243', + anonymousId: '700ab220-faad-4cdf-8484-63e4c6bce6fe', + integrations: { + All: true, + }, + originalTimestamp: '2023-10-14T15:46:51.000Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=dummyAccessToken', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"72fd46c9ecb386f6747664a3e1d524294a3d7a2c8ae4aeb22b1e578b75093635","client_ip_address":"49.206.54.243","client_user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"},"event_name":"PageView","event_time":1697298411,"event_source_url":"http://127.0.0.1:8888/","action_source":"website","custom_data":{"url":"http://127.0.0.1:8888/","path":"/","title":"Document","search":"","tab_url":"http://127.0.0.1:8888/","referrer":"http://127.0.0.1:8888/","initial_referrer":"$direct","referring_domain":"127.0.0.1:8888","initial_referring_domain":""}}', + ], + }, + }, + files: {}, + userId: '', + }, + metadata: { + jobId: 12, + }, + statusCode: 200, + }, + ], + }, + }, + }, +].map((d) => ({ ...d, mockFns })); diff --git a/test/integrations/destinations/facebook_pixel/router/data.ts b/test/integrations/destinations/facebook_pixel/router/data.ts new file mode 100644 index 0000000000..ef6b9f8635 --- /dev/null +++ b/test/integrations/destinations/facebook_pixel/router/data.ts @@ -0,0 +1,316 @@ +export const mockFns = (_) => { + // @ts-ignore + jest.useFakeTimers().setSystemTime(new Date('2023-10-15')); +}; + +export const data = [ + { + name: 'facebook_pixel', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: 'abc@gmail.com', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + }, + timestamp: '2023-10-14T15:46:51.693229+05:30', + type: 'track', + }, + metadata: { + jobId: 1, + }, + destination: { + Config: { + limitedDataUsage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + removeExternalId: true, + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + { + message: { + channel: 'web', + context: { + traits: { + name: 'Rudder Test', + email: 'abc@gmail.com', + firstname: 'Test', + lastname: 'Test', + phone: 9000000000, + gender: 'female', + }, + 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, + }, + }, + properties: { + plan: 'standard plan', + name: 'rudder test', + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2023-10-14T00:00:00.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: true, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + destType: 'facebook_pixel', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: { + data: [ + '{"user_data":{"em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08"},"event_name":"spin_result","event_time":1697278611,"action_source":"other","custom_data":{"additional_bet_index":0,"value":400}}', + ], + }, + }, + files: {}, + }, + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + limitedDataUsage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + removeExternalId: true, + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92","em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08","ph":"593a6d58f34eb5c3de4f47e38d1faaa7d389fafe332a85400b1e54498391c579","ge":"252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111","ln":"532eaabd9574880dbf76b9b8cc00832c20a6ec113d682299550d7a6e0f345e25","fn":"2c2ccf28d806f6f9a34b67aa874d2113b7ac1444f1a4092541b8b75b84771747","client_ip_address":"0.0.0.0","client_user_agent":"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"},"event_name":"identify","event_time":1697221800,"event_id":"84e26acc-56a5-4835-8233-591137fca468","action_source":"website"}', + ], + }, + }, + files: {}, + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: '', + advancedMapping: true, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + }, + }, +].map((d) => ({ ...d, mockFns })); From bed4bface6bf045a6513a445cf9d2b00c9197f0b Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:59:43 +0530 Subject: [PATCH 37/98] chore: braze response added in error message (#2747) --- src/v0/destinations/braze/transform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v0/destinations/braze/transform.js b/src/v0/destinations/braze/transform.js index 9816d792f1..26fd86b3dd 100644 --- a/src/v0/destinations/braze/transform.js +++ b/src/v0/destinations/braze/transform.js @@ -218,7 +218,7 @@ async function processIdentify(message, destination) { ); if (!isHttpStatusSuccess(brazeIdentifyResp.status)) { throw new NetworkError( - 'Braze identify failed', + `Braze identify failed - ${JSON.stringify(brazeIdentifyResp.response)}`, brazeIdentifyResp.status, { [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(brazeIdentifyResp.status), From 146f1c63db4e895c7d5ce2848a1b60e7c5bb9fb6 Mon Sep 17 00:00:00 2001 From: Dilip Kola <33080863+koladilip@users.noreply.github.com> Date: Thu, 19 Oct 2023 11:07:54 +0530 Subject: [PATCH 38/98] feat: add support filtering component tests by feature and index (#2748) * feat: add support filtering component tests by feature and index * feat: add support filtering component tests by feature and index --- test/integrations/component.test.ts | 11 +++++++++-- test/integrations/testUtils.ts | 10 +++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/test/integrations/component.test.ts b/test/integrations/component.test.ts index 26bbb43a0e..8b2a2ec7bd 100644 --- a/test/integrations/component.test.ts +++ b/test/integrations/component.test.ts @@ -24,6 +24,8 @@ import { responses } from '../testHelper'; // To run single destination test cases // npm run test:ts -- component --destination=adobe_analytics +// npm run test:ts -- component --destination=adobe_analytics --feature=router +// npm run test:ts -- component --destination=adobe_analytics --feature=router --index=0 // Use below command to generate mocks // npm run test:ts -- component --destination=zendesk --generate=true @@ -32,6 +34,8 @@ const command = new Command(); command .allowUnknownOption() .option('-d, --destination ', 'Enter Destination Name') + .option('-f, --feature ', 'Enter Feature Name(processor, router)') + .option('-i, --index ', 'Enter Test index') .option('-g, --generate ', 'Enter "true" If you want to generate network file') .parse(); @@ -91,7 +95,7 @@ if (!opts.generate || opts.generate === 'false') { // END const rootDir = __dirname; -const allTestDataFilePaths = getTestDataFilePaths(rootDir, opts.destination); +const allTestDataFilePaths = getTestDataFilePaths(rootDir, opts); const DEFAULT_VERSION = 'v0'; const testRoute = async (route, tcData: TestCaseData) => { @@ -174,7 +178,10 @@ describe.each(allTestDataFilePaths)('%s Tests', (testDataPath) => { jest.clearAllMocks(); }); // add special mocks for specific destinations - const testData: TestCaseData[] = getTestData(testDataPath); + let testData: TestCaseData[] = getTestData(testDataPath); + if (opts.index !== undefined) { + testData = [testData[parseInt(opts.index)]]; + } describe(`${testData[0].name} ${testData[0].module}`, () => { test.each(testData)('$feature -> $description', async (tcData) => { tcData?.mockFns?.(mock); diff --git a/test/integrations/testUtils.ts b/test/integrations/testUtils.ts index 13fc7c7f75..f5be8107ed 100644 --- a/test/integrations/testUtils.ts +++ b/test/integrations/testUtils.ts @@ -3,12 +3,16 @@ import { join } from 'path'; import { MockHttpCallsData, TestCaseData } from './testTypes'; import MockAdapter from 'axios-mock-adapter'; import isMatch from 'lodash/isMatch'; +import { OptionValues } from 'commander'; -export const getTestDataFilePaths = (dirPath: string, destination: string = ''): string[] => { +export const getTestDataFilePaths = (dirPath: string, opts: OptionValues): string[] => { const globPattern = join(dirPath, '**', 'data.ts'); let testFilePaths = globSync(globPattern); - if (destination) { - testFilePaths = testFilePaths.filter((testFile) => testFile.includes(destination)); + if (opts.destination) { + testFilePaths = testFilePaths.filter((testFile) => testFile.includes(opts.destination)); + } + if (opts.feature) { + testFilePaths = testFilePaths.filter((testFile) => testFile.includes(opts.feature)); } return testFilePaths; }; From d72410f7962e702218be3c2414de62341ca29e39 Mon Sep 17 00:00:00 2001 From: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Date: Thu, 19 Oct 2023 11:32:30 +0530 Subject: [PATCH 39/98] chore: add gzip support compatibility (#2745) * chore: add gzip suppport compatibility * test: add gzip support header in testcase * refactor: use optional chaining --- src/v0/destinations/mp/transform.js | 8 +- src/v0/destinations/mp/util.js | 12 +- src/v0/destinations/mp/util.test.js | 9 +- src/v0/util/constant.js | 2 + src/v0/util/index.js | 23 +- .../destinations/mp/router/data.ts | 878 ++++++++++++++++++ 6 files changed, 915 insertions(+), 17 deletions(-) diff --git a/src/v0/destinations/mp/transform.js b/src/v0/destinations/mp/transform.js index bdae00e1c2..10e8eb0779 100644 --- a/src/v0/destinations/mp/transform.js +++ b/src/v0/destinations/mp/transform.js @@ -455,10 +455,10 @@ const processRouterDest = async (inputs, reqMetadata) => { const { engageEvents, groupsEvents, trackEvents, importEvents, batchErrorRespList } = groupEventsByEndpoint(transformedPayloads); - const engageRespList = batchEvents(engageEvents, ENGAGE_MAX_BATCH_SIZE); - const groupsRespList = batchEvents(groupsEvents, GROUPS_MAX_BATCH_SIZE); - const trackRespList = batchEvents(trackEvents, TRACK_MAX_BATCH_SIZE); - const importRespList = batchEvents(importEvents, IMPORT_MAX_BATCH_SIZE); + const engageRespList = batchEvents(engageEvents, ENGAGE_MAX_BATCH_SIZE, reqMetadata); + const groupsRespList = batchEvents(groupsEvents, GROUPS_MAX_BATCH_SIZE, reqMetadata); + const trackRespList = batchEvents(trackEvents, TRACK_MAX_BATCH_SIZE, reqMetadata); + const importRespList = batchEvents(importEvents, IMPORT_MAX_BATCH_SIZE, reqMetadata); const batchSuccessRespList = [ ...engageRespList, ...groupsRespList, diff --git a/src/v0/destinations/mp/util.js b/src/v0/destinations/mp/util.js index 409092106c..abc4134302 100644 --- a/src/v0/destinations/mp/util.js +++ b/src/v0/destinations/mp/util.js @@ -11,6 +11,7 @@ const { batchMultiplexedEvents, getSuccessRespEvents, defaultBatchRequestConfig, + IsGzipSupported, } = require('../../util'); const { ConfigCategory, @@ -212,7 +213,7 @@ const groupEventsByEndpoint = (events) => { }; }; -const generateBatchedPayloadForArray = (events) => { +const generateBatchedPayloadForArray = (events, reqMetadata) => { const { batchedRequest } = defaultBatchRequestConfig(); const firstEvent = events[0]; batchedRequest.endpoint = firstEvent.endpoint; @@ -220,8 +221,9 @@ const generateBatchedPayloadForArray = (events) => { batchedRequest.params = firstEvent.params; const batchResponseList = events.flatMap((event) => JSON.parse(event.body.JSON_ARRAY.batch)); - // Gzipping the payload for /import endpoint - if (firstEvent.endpoint.includes('import')) { + + if (IsGzipSupported(reqMetadata) && firstEvent.endpoint.includes('import')) { + // Gzipping the payload for /import endpoint batchedRequest.body.GZIP = { payload: JSON.stringify(batchResponseList) }; } else { batchedRequest.body.JSON_ARRAY = { batch: JSON.stringify(batchResponseList) }; @@ -230,10 +232,10 @@ const generateBatchedPayloadForArray = (events) => { return batchedRequest; }; -const batchEvents = (successRespList, maxBatchSize) => { +const batchEvents = (successRespList, maxBatchSize, reqMetadata) => { const batchedEvents = batchMultiplexedEvents(successRespList, maxBatchSize); return batchedEvents.map((batch) => { - const batchedRequest = generateBatchedPayloadForArray(batch.events); + const batchedRequest = generateBatchedPayloadForArray(batch.events, reqMetadata); return getSuccessRespEvents(batchedRequest, batch.metadata, batch.destination, true); }); }; diff --git a/src/v0/destinations/mp/util.test.js b/src/v0/destinations/mp/util.test.js index c707d09dfe..b5a1e90a9a 100644 --- a/src/v0/destinations/mp/util.test.js +++ b/src/v0/destinations/mp/util.test.js @@ -4,6 +4,7 @@ const { batchEvents, generateBatchedPayloadForArray, } = require('./util'); +const { FEATURE_GZIP_SUPPORT } = require('../../util/constant'); const destinationMock = { Config: { @@ -524,7 +525,9 @@ describe('Mixpanel utils test', () => { version: '1', }; - const result = generateBatchedPayloadForArray(events); + const result = generateBatchedPayloadForArray(events, { + features: { [FEATURE_GZIP_SUPPORT]: true }, + }); expect(result).toEqual(expectedBatchedRequest); }); @@ -560,7 +563,9 @@ describe('Mixpanel utils test', () => { version: '1', }; - const result = generateBatchedPayloadForArray(events); + const result = generateBatchedPayloadForArray(events, { + features: { [FEATURE_GZIP_SUPPORT]: true }, + }); expect(result).toEqual(expectedBatchedRequest); }); diff --git a/src/v0/util/constant.js b/src/v0/util/constant.js index 50f1b76a74..9996f1ea7c 100644 --- a/src/v0/util/constant.js +++ b/src/v0/util/constant.js @@ -11,6 +11,7 @@ const API_CALL = 'api_call_count'; const JSON_MIME_TYPE = 'application/json'; const FEATURE_FILTER_CODE = 'filter-code'; +const FEATURE_GZIP_SUPPORT = 'gzip-support'; const HTTP_STATUS_CODES = { // 1xx Informational @@ -89,4 +90,5 @@ module.exports = { HTTP_STATUS_CODES, USER_LEAD_CACHE_TTL, FEATURE_FILTER_CODE, + FEATURE_GZIP_SUPPORT, }; diff --git a/src/v0/util/index.js b/src/v0/util/index.js index f534f1acca..cd9bd82efd 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -32,7 +32,8 @@ const { REFRESH_TOKEN, AUTH_STATUS_INACTIVE, } = require('../../adapters/networkhandler/authConstants'); -const { FEATURE_FILTER_CODE } = require('./constant'); +const { FEATURE_FILTER_CODE, FEATURE_GZIP_SUPPORT } = require('./constant'); + // ======================================================================== // INLINERS // ======================================================================== @@ -372,7 +373,7 @@ const hashToSha256 = (value) => sha256(value); // Check what type of gender and convert to f or m const getFbGenderVal = (gender) => { - if (typeof (gender) !== 'string') { + if (typeof gender !== 'string') { return null; } if ( @@ -2050,11 +2051,20 @@ const getAuthErrCategoryFromStCode = (status) => { return ''; }; -const validateEventType = event => { - if(!event || typeof event !== "string"){ - throw new InstrumentationError("Event is a required field and should be a string"); +const validateEventType = (event) => { + if (!event || typeof event !== 'string') { + throw new InstrumentationError('Event is a required field and should be a string'); } -} +}; + +const IsGzipSupported = (reqMetadata = {}) => { + if (reqMetadata && typeof reqMetadata === 'object' && !Array.isArray(reqMetadata)) { + const { features } = reqMetadata; + return !!features?.[FEATURE_GZIP_SUPPORT]; + } + return false; +}; + // ======================================================================== // EXPORTS // ======================================================================== @@ -2161,4 +2171,5 @@ module.exports = { getAuthErrCategoryFromErrDetailsAndStCode, getAuthErrCategoryFromStCode, isNewStatusCodesAccepted, + IsGzipSupported, }; diff --git a/test/integrations/destinations/mp/router/data.ts b/test/integrations/destinations/mp/router/data.ts index 7e0de0693d..7058929909 100644 --- a/test/integrations/destinations/mp/router/data.ts +++ b/test/integrations/destinations/mp/router/data.ts @@ -542,6 +542,9 @@ export const data = [ destType: 'mp', }, method: 'POST', + headers: { + 'X-Feature-Gzip-Support': '?1', + }, }, }, output: { @@ -880,4 +883,879 @@ export const data = [ }, }, }, + { + name: 'mp', + description: 'Test 1', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + description: 'Page call', + destination: overrideDestination(sampleDestination, { + apiSecret: 'test_api_secret', + token: 'test_api_token', + useOldMapping: true, + strictMode: true, + }), + metadata: { + jobId: 1, + additionalProp: 1, + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + name: 'Contact Us', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: {}, + page: { + path: '/destinations/mixpanel', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/mixpanel', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'dd266c67-9199-4a52-ba32-f46ddde67312', + originalTimestamp: '2020-01-24T06:29:02.358Z', + page: { + path: '/destinations/mixpanel', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/mixpanel', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53708', + sentAt: '2020-01-24T06:29:02.359Z', + timestamp: '2023-07-06T11:59:02.402+05:30', + type: 'page', + userId: 'hjikl', + }, + }, + { + description: + 'Track: set device id and user id when simplified id merge api is selected', + destination: overrideDestination(sampleDestination, { + apiSecret: 'test_api_secret', + token: 'test_api_token', + identityMergeApi: 'simplified', + strictMode: true, + }), + metadata: { + jobId: 2, + additionalProp: 2, + }, + message: { + anonymousId: 'anonId01', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'ios', + token: 'test_device_token', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.1-beta.1', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'iOS', + version: '8.1.0', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'Product Viewed', + integrations: { + All: true, + }, + userId: 'userId01', + messageId: 'id2', + properties: { + name: 'T-Shirt', + revenue: 18.9, + }, + type: 'track', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2023-07-06T11:59:02.402+05:30', + }, + }, + { + description: 'Identify call to create anonymous user profile', + destination: overrideDestination(sampleDestination, { + apiSecret: 'test_api_secret', + token: 'test_api_token', + useOldMapping: true, + strictMode: true, + }), + metadata: { + jobId: 3, + additionalProp: 3, + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstName: 'Mickey', + }, + page: { + path: '/destinations/mixpanel', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/mixpanel', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + page: { + path: '/destinations/mixpanel', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/mixpanel', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53709', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2023-07-06T11:59:02.402+05:30', + type: 'identify', + userId: '', + }, + }, + { + description: + 'Identify: append $device: to deviceId while creating the user when simplified id merge api is selected', + destination: overrideDestination(sampleDestination, { + apiSecret: 'test_api_secret', + token: 'test_api_token', + identityMergeApi: 'simplified', + strictMode: true, + }), + metadata: { + jobId: 4, + additionalProp: 4, + }, + message: { + anonymousId: 'anonId01', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstName: 'Mickey', + lastName: 'Mouse', + createdAt: '2020-01-23T08:54:02.362Z', + }, + page: { + path: '/destinations/mixpanel', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/mixpanel', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + page: { + path: '/destinations/mixpanel', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/mixpanel', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53709', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2023-07-06T11:59:02.402+05:30', + type: 'identify', + }, + }, + { + description: 'Merge call with strict mode enabled', + destination: overrideDestination(sampleDestination, { + apiSecret: 'test_api_secret', + token: 'test_api_token', + strictMode: true, + }), + metadata: { + jobId: 5, + additionalProp: 5, + }, + message: { + anonymousId: '5094f5704b9cf2b3', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'LeanPlumIntegrationAndroid', + namespace: 'com.android.SampleLeanPlum', + version: '1.0', + }, + device: { + id: '5094f5704b9cf2b3', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'ios', + token: 'test_device_token', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.1-beta.1', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'iOS', + version: '8.1.0', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5094f5704b9cf2b3', + userId: 'test_user_id', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)', + }, + event: 'MainActivity', + integrations: { + All: true, + }, + userId: 'test_user_id', + messageId: 'id2', + properties: { + name: 'MainActivity', + automatic: true, + }, + originalTimestamp: '2020-03-12T09:05:03.421Z', + type: 'identify', + sentAt: '2020-03-12T09:05:13.042Z', + }, + }, + { + description: 'Group call', + destination: overrideDestination(sampleDestination, { + apiSecret: 'test_api_secret', + token: 'test_api_token', + groupKeySettings: [ + { + groupKey: 'company', + }, + ], + strictMode: true, + }), + metadata: { + jobId: 6, + additionalProp: 6, + }, + message: { + anonymousId: 'anonId06', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/destinations/mixpanel', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/mixpanel', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + page: { + path: '/destinations/mixpanel', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/mixpanel', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + traits: { + company: 'testComp', + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53709', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2023-07-06T11:59:02.402+05:30', + type: 'group', + userId: 'userId06', + }, + }, + { + description: 'Group key not present in traits', + destination: overrideDestination(sampleDestination, { + apiSecret: 'test_api_secret', + token: 'test_api_token', + groupKeySettings: [ + { + groupKey: 'company', + }, + ], + strictMode: true, + }), + metadata: { + jobId: 7, + additionalProp: 7, + }, + message: { + anonymousId: 'anonId06', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/destinations/mixpanel', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/mixpanel', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + page: { + path: '/destinations/mixpanel', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/mixpanel', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53709', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2023-07-06T11:59:02.402+05:30', + type: 'group', + userId: 'userId06', + }, + }, + ], + destType: 'mp', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/import/', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic dGVzdF9hcGlfc2VjcmV0Og==', + }, + params: { + strict: 1, + }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Loaded a Page","properties":{"ip":"0.0.0.0","$user_id":"hjikl","$current_url":"https://docs.rudderstack.com/destinations/mixpanel","$screen_dpi":2,"mp_lib":"RudderLabs JavaScript SDK","$app_build_number":"1.0.0","$app_version_string":"1.0.5","$insert_id":"dd266c67-9199-4a52-ba32-f46ddde67312","token":"test_api_token","distinct_id":"hjikl","time":1688624942,"name":"Contact Us","$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 1, + additionalProp: 1, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + apiKey: 'dummyApiKey', + apiSecret: 'test_api_secret', + token: 'test_api_token', + prefixProperties: true, + useNativeSDK: false, + useOldMapping: true, + strictMode: true, + }, + DestinationDefinition: { + DisplayName: 'Mixpanel', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'MP', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'MP', + Transformations: [], + }, + }, + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$append":{"$transactions":{"$time":"2023-07-06T06:29:02.402Z","$amount":18.9}},"$token":"test_api_token","$distinct_id":"userId01"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/import/', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic dGVzdF9hcGlfc2VjcmV0Og==', + }, + params: { + strict: 1, + }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Product Viewed","properties":{"name":"T-Shirt","revenue":18.9,"$user_id":"userId01","$os":"iOS","$screen_height":1794,"$screen_width":1080,"$screen_dpi":420,"$carrier":"Android","$os_version":"8.1.0","$device":"generic_x86","$manufacturer":"Google","$model":"Android SDK built for x86","mp_device_model":"Android SDK built for x86","$wifi":true,"$bluetooth_enabled":false,"mp_lib":"com.rudderstack.android.sdk.core","$app_build_number":"1","$app_version_string":"1.0","$insert_id":"id2","token":"test_api_token","distinct_id":"userId01","time":1688624942,"$device_id":"anonId01"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + jobId: 2, + additionalProp: 2, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + apiKey: 'dummyApiKey', + apiSecret: 'test_api_secret', + token: 'test_api_token', + prefixProperties: true, + identityMergeApi: 'simplified', + strictMode: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Mixpanel', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'MP', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'MP', + Transformations: [], + }, + }, + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$email":"mickey@disney.com","$country_code":"USA","$city":"Disney","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$firstName":"Mickey","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"test_api_token","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1688624942},{"$set":{"$created":"2020-01-23T08:54:02.362Z","$email":"mickey@disney.com","$country_code":"USA","$city":"Disney","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$name":"Mickey Mouse","$firstName":"Mickey","$lastName":"Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"test_api_token","$distinct_id":"$device:anonId01","$ip":"0.0.0.0","$time":1688624942},{"$set":{"$carrier":"Android","$manufacturer":"Google","$model":"Android SDK built for x86","$screen_height":1794,"$screen_width":1080,"$wifi":true,"anonymousId":"5094f5704b9cf2b3","userId":"test_user_id","$ios_devices":["test_device_token"],"$os":"iOS","$ios_device_model":"Android SDK built for x86","$ios_version":"8.1.0","$ios_app_release":"1","$ios_app_version":"1.0"},"$token":"test_api_token","$distinct_id":"test_user_id","$time":null}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/import/', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic dGVzdF9hcGlfc2VjcmV0Og==', + }, + params: { + strict: 1, + }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"$merge","properties":{"$distinct_ids":["test_user_id","5094f5704b9cf2b3"],"token":"test_api_token"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + jobId: 3, + additionalProp: 3, + }, + { + jobId: 4, + additionalProp: 4, + }, + { + jobId: 5, + additionalProp: 5, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + apiKey: 'dummyApiKey', + apiSecret: 'test_api_secret', + token: 'test_api_token', + prefixProperties: true, + useNativeSDK: false, + useOldMapping: true, + strictMode: true, + }, + DestinationDefinition: { + DisplayName: 'Mixpanel', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'MP', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'MP', + Transformations: [], + }, + }, + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"test_api_token","$distinct_id":"userId06","$set":{"company":["testComp"]},"$ip":"0.0.0.0"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/groups/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"test_api_token","$group_key":"company","$group_id":"testComp","$set":{"company":"testComp"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + jobId: 6, + additionalProp: 6, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + apiKey: 'dummyApiKey', + apiSecret: 'test_api_secret', + token: 'test_api_token', + prefixProperties: true, + groupKeySettings: [ + { + groupKey: 'company', + }, + ], + strictMode: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Mixpanel', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'MP', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'MP', + Transformations: [], + }, + }, + { + metadata: [ + { + jobId: 7, + additionalProp: 7, + }, + ], + batched: false, + statusCode: 400, + error: + 'Group Key is not present. Please ensure that the group key is included in the payload as configured in the `Group Key Settings` in destination', + statTags: { + destType: 'MP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + apiSecret: 'test_api_secret', + token: 'test_api_token', + prefixProperties: true, + useNativeSDK: false, + groupKeySettings: [ + { + groupKey: 'company', + }, + ], + strictMode: true, + }, + DestinationDefinition: { + DisplayName: 'Mixpanel', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'MP', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'MP', + Transformations: [], + }, + }, + ], + }, + }, + }, + }, ]; From 20678a521593cdf5a49777fb31b2540462afbed4 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 19 Oct 2023 06:40:59 +0000 Subject: [PATCH 40/98] chore(release): 1.46.1 --- CHANGELOG.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 562f8582d2..4c8908ff1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ 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.46.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.0...v1.46.1) (2023-10-19) + ## [1.46.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.45.3...v1.46.0) (2023-10-18) diff --git a/package-lock.json b/package-lock.json index 68108ae808..322e3dbca0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.46.0", + "version": "1.46.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.46.0", + "version": "1.46.1", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index d31f9a2fbe..880acda150 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.46.0", + "version": "1.46.1", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From b649105eaf93a3946a8ced2c7398f2e59d2dd372 Mon Sep 17 00:00:00 2001 From: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Date: Thu, 19 Oct 2023 13:18:12 +0530 Subject: [PATCH 41/98] chore: update changelog (#2750) --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c8908ff1a..1a520c5b6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. See [standa ### [1.46.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.0...v1.46.1) (2023-10-19) +### Bug Fixes + +* add gzip support compatibility ([#2745](https://github.com/rudderlabs/rudder-transformer/issues/2745)) ([d72410f](https://github.com/rudderlabs/rudder-transformer/commit/d72410f7962e702218be3c2414de62341ca29e39)) + ## [1.46.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.45.3...v1.46.0) (2023-10-18) From a2ccdad52a1fb88f962745800cb45d605b5e0bf3 Mon Sep 17 00:00:00 2001 From: Sankeerth Date: Thu, 19 Oct 2023 18:14:53 +0530 Subject: [PATCH 42/98] fix: bugsnag error for salesforce (#2753) --- src/v0/destinations/salesforce/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v0/destinations/salesforce/utils.js b/src/v0/destinations/salesforce/utils.js index 840c42aa35..3ffa4e56d8 100644 --- a/src/v0/destinations/salesforce/utils.js +++ b/src/v0/destinations/salesforce/utils.js @@ -44,7 +44,7 @@ const salesforceResponseHandler = (destResponse, sourceMessage, authKey) => { } else if ( status === 400 && matchErrorCode('CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY') && - response.message.includes('UNABLE_TO_LOCK_ROW') + response?.message?.includes('UNABLE_TO_LOCK_ROW') ) { // handling the error case where the record is locked by another background job // this is a retryable error From d414064aac1c8d769607346bc48b8db549e7a8dc Mon Sep 17 00:00:00 2001 From: srikanth Date: Thu, 19 Oct 2023 11:24:38 -0500 Subject: [PATCH 43/98] fix: do not send 298 event for aborted ones in ut --- src/services/userTransform.ts | 12 ++-- ...r_transformation_service_filter_input.json | 62 +++++++++++++++++++ ..._transformation_service_filter_output.json | 9 +++ test/__tests__/user_transformation_ts.test.ts | 3 +- 4 files changed, 79 insertions(+), 7 deletions(-) diff --git a/src/services/userTransform.ts b/src/services/userTransform.ts index 5104418f6d..18165615a8 100644 --- a/src/services/userTransform.ts +++ b/src/services/userTransform.ts @@ -96,6 +96,12 @@ export default class UserTransformService { const transformedEventsWithMetadata: ProcessorTransformationResponse[] = []; destTransformedEvents.forEach((ev) => { + // add messageId to output set + if (ev.metadata?.messageId) { + messageIdsInOutputSet.add(ev.metadata.messageId); + } else if (ev.metadata?.messageIds) { + ev.metadata.messageIds.forEach((id) => messageIdsInOutputSet.add(id)); + } if (ev.error) { transformedEventsWithMetadata.push({ statusCode: 400, @@ -114,12 +120,6 @@ export default class UserTransformService { } as ProcessorTransformationResponse); return; } - // add messageId to output set - if (ev.metadata?.messageId) { - messageIdsInOutputSet.add(ev.metadata.messageId); - } else if (ev.metadata?.messageIds) { - ev.metadata.messageIds.forEach((id) => messageIdsInOutputSet.add(id)); - } transformedEventsWithMetadata.push({ output: ev.transformedEvent, metadata: isEmpty(ev.metadata) ? commonMetadata : ev.metadata, diff --git a/test/__tests__/data/user_transformation_service_filter_input.json b/test/__tests__/data/user_transformation_service_filter_input.json index 3b8425562d..966031e7bb 100644 --- a/test/__tests__/data/user_transformation_service_filter_input.json +++ b/test/__tests__/data/user_transformation_service_filter_input.json @@ -181,5 +181,67 @@ } ] } + }, + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com", + "anonymousId": "12345" + }, + "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 + } + }, + "type": "non-standard", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "test track event GA3", + "properties": { + "user_actual_role": "system_admin, system_user", + "user_actual_id": 12345 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "sourceId": "s1", + "destinationId": "d1" + }, + "destination": { + "ID": 2, + "Config": { + "trackingID": "abcd" + }, + "Enabled": true, + "Transformations": [ + { + "VersionID": "24" + } + ] + } } ] diff --git a/test/__tests__/data/user_transformation_service_filter_output.json b/test/__tests__/data/user_transformation_service_filter_output.json index 64d8fd9261..2d2c03349e 100644 --- a/test/__tests__/data/user_transformation_service_filter_output.json +++ b/test/__tests__/data/user_transformation_service_filter_output.json @@ -68,6 +68,15 @@ "destinationId": "d1" }, "statusCode": 200 + }, + { + "error": "Error: non-standard event\n at transformEvent (base transformation:5:56)", + "metadata": { + "destinationId": "d1", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "sourceId": "s1" + }, + "statusCode": 400 } ], "retryStatus": 200 diff --git a/test/__tests__/user_transformation_ts.test.ts b/test/__tests__/user_transformation_ts.test.ts index 954582f212..418c42fe33 100644 --- a/test/__tests__/user_transformation_ts.test.ts +++ b/test/__tests__/user_transformation_ts.test.ts @@ -8,7 +8,7 @@ const name = 'User Transformations'; const randomID = () => Math.random().toString(36).substring(2, 15); describe('User Transform Service', () => { - fit(`Filtering ${name} Test`, async () => { + it(`Filtering ${name} Test`, async () => { const versionId = '24'; // set in input file const inputData = require(`./data/${integration}_filter_input.json`); const expectedData = require(`./data/${integration}_filter_output.json`); @@ -21,6 +21,7 @@ describe('User Transform Service', () => { const eventType = event.type; log(eventType); log(eventType.match(/track/g)); + if(eventType === 'non-standard') throw new Error('non-standard event'); if(eventType && !eventType.match(/track/g)) return; return event; } From 77e910e92649dc3bae4b47b0edadf3c196b7fd13 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 19 Oct 2023 16:30:23 +0000 Subject: [PATCH 44/98] chore(release): 1.46.2 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a520c5b6f..92d9a8e214 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.46.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.1...v1.46.2) (2023-10-19) + + +### Bug Fixes + +* do not send 298 event for aborted ones in ut ([d414064](https://github.com/rudderlabs/rudder-transformer/commit/d414064aac1c8d769607346bc48b8db549e7a8dc)) + ### [1.46.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.0...v1.46.1) (2023-10-19) ### Bug Fixes diff --git a/package-lock.json b/package-lock.json index 322e3dbca0..24872e2233 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.46.1", + "version": "1.46.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.46.1", + "version": "1.46.2", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 880acda150..011cd96751 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.46.1", + "version": "1.46.2", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From bc76305e3fcc3c9ac69e639e90a37499566d0837 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Fri, 20 Oct 2023 08:58:49 +0530 Subject: [PATCH 45/98] fix: deduplication key issue (#2757) --- .../snapchat_conversion/transform.js | 17 +-- test/__tests__/data/snapchat_conversion.json | 122 +++++++++++++++++- 2 files changed, 121 insertions(+), 18 deletions(-) diff --git a/src/v0/destinations/snapchat_conversion/transform.js b/src/v0/destinations/snapchat_conversion/transform.js index c48ab5b3f8..8af5b2dadc 100644 --- a/src/v0/destinations/snapchat_conversion/transform.js +++ b/src/v0/destinations/snapchat_conversion/transform.js @@ -161,19 +161,6 @@ const addSpecificEventDetails = ( } return updatedPayload; }; -const handleDeduplication = (payload, enableDeduplication, deduplicationKey, message) => { - if (enableDeduplication) { - const dedupId = deduplicationKey || 'messageId'; - const clientDedupId = get(message, dedupId); - if (!clientDedupId) { - throw new InstrumentationError( - 'Deduplication enabled but no deduplication key provided in the message', - ); - } - return clientDedupId; - } - return undefined; -}; const getEventConversionType = (message) => { const channel = get(message, 'channel'); let eventConversionType = message?.properties?.eventConversionType; @@ -300,8 +287,6 @@ const trackResponseBuilder = (message, { Config }, mappedEvent) => { snapAppId, appId, ); - payload.client_dedup_id = handleDeduplication(enableDeduplication, deduplicationKey, message); - // adding for deduplication for more than one source if (enableDeduplication) { const dedupId = deduplicationKey || 'messageId'; @@ -412,4 +397,4 @@ const processRouterDest = async (inputs, reqMetadata) => { return [...batchResponseList, ...errorRespList]; }; -module.exports = { process, processRouterDest }; +module.exports = { process, processRouterDest }; \ No newline at end of file diff --git a/test/__tests__/data/snapchat_conversion.json b/test/__tests__/data/snapchat_conversion.json index ad21fb0d55..f4b896d73c 100644 --- a/test/__tests__/data/snapchat_conversion.json +++ b/test/__tests__/data/snapchat_conversion.json @@ -2683,13 +2683,14 @@ ] }, { - "description": "Mapping revenue to price for order completed event", + "description": "Enable deduplication with duplication key as email", "input": { "message": { "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", "originalTimestamp": "2022-04-22T10:57:58Z", "channel": "mobile", "anonymousId": "ea5cfab2-3961-4d8a-8187-3d1858c99090", + "request_ip": "127.0.0.1", "context": { "traits": { "email": "test@email.com", @@ -2744,7 +2745,8 @@ "quantity": 3 } ], - "revenue": "100" + "revenue": "100", + "custom_dedup_id": "1234" }, "integrations": { "All": true @@ -2755,6 +2757,8 @@ "Config": { "apiKey": "dummyApiKey", "pixelId": "dummyPixelId", + "deduplicationKey": "properties.custom_dedup_id", + "enableDeduplication": true, "appId": "dhfeih44f", "snapAppId": "hfhdhfd" } @@ -2777,6 +2781,120 @@ "123", "123" ], + "client_dedup_id": "1234", + "hashed_ip_address": "12ca17b49af2289436f303e0166030a21e525d266e209267433801a8fd4071a0", + "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", + "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": "dummyApiKey", + "pixelId": "dummyPixelId", + "appId": "dhfeih44f", + "snapAppId": "hfhdhfd" + } + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://tr.snapchat.com/v2/conversion", + "headers": { + "Authorization": "Bearer dummyApiKey", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event_type": "VIEW_CONTENT", + "item_ids": [ + "123", + "123" + ], "price": "100", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492", From 626c9220c860f88335ec284b6fcce5e4fc416064 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 20 Oct 2023 03:33:52 +0000 Subject: [PATCH 46/98] chore(release): 1.46.3 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92d9a8e214..b62efe98d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.46.3](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.2...v1.46.3) (2023-10-20) + + +### Bug Fixes + +* deduplication key issue ([#2757](https://github.com/rudderlabs/rudder-transformer/issues/2757)) ([bc76305](https://github.com/rudderlabs/rudder-transformer/commit/bc76305e3fcc3c9ac69e639e90a37499566d0837)) + ### [1.46.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.1...v1.46.2) (2023-10-19) diff --git a/package-lock.json b/package-lock.json index 24872e2233..f211d74b0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.46.2", + "version": "1.46.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.46.2", + "version": "1.46.3", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 011cd96751..a920837643 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.46.2", + "version": "1.46.3", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 391c7cdc5576152576bbd2c6d335a04ce6795833 Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Fri, 20 Oct 2023 13:13:04 +0530 Subject: [PATCH 47/98] fix(hs): time stamp and contact not found issue --- src/v0/destinations/hs/HSTransform-v1.js | 17 +++ src/v0/destinations/hs/HSTransform-v2.js | 16 +++ src/v0/destinations/hs/transform.js | 1 + src/v0/destinations/hs/util.js | 30 ++++- test/__mocks__/data/hs/response.json | 24 ++++ test/__tests__/data/hs_router_rETL_input.json | 112 ++++++++++++++++++ .../__tests__/data/hs_router_rETL_output.json | 16 ++- 7 files changed, 209 insertions(+), 7 deletions(-) diff --git a/src/v0/destinations/hs/HSTransform-v1.js b/src/v0/destinations/hs/HSTransform-v1.js index 387ecbf63f..54b39b4317 100644 --- a/src/v0/destinations/hs/HSTransform-v1.js +++ b/src/v0/destinations/hs/HSTransform-v1.js @@ -34,6 +34,8 @@ const { getEmailAndUpdatedProps, formatPropertyValueForIdentify, getHsSearchId, + getUTCMidnightTimeStampValue, + getProperties, } = require('./util'); const { JSON_MIME_TYPE } = require('../../util/constant'); @@ -80,6 +82,21 @@ const processLegacyIdentify = async (message, destination, propertyMap) => { )}/${hsSearchId}`; response.method = defaultPatchRequestConfig.requestMethod; } + + if (!propertyMap) { + // fetch HS properties + // eslint-disable-next-line no-param-reassign + propertyMap = await getProperties(destination); + } + + const keys = Object.keys(traits); + keys.forEach((key) => { + const value = traits[key]; + if (propertyMap[key] === 'date') { + traits[key] = getUTCMidnightTimeStampValue(value); + } + }) + response.body.JSON = removeUndefinedAndNullValues({ properties: traits }); response.source = 'rETL'; response.operation = operation; diff --git a/src/v0/destinations/hs/HSTransform-v2.js b/src/v0/destinations/hs/HSTransform-v2.js index 75696b4e96..e7ad44f58a 100644 --- a/src/v0/destinations/hs/HSTransform-v2.js +++ b/src/v0/destinations/hs/HSTransform-v2.js @@ -41,6 +41,8 @@ const { searchContacts, getEventAndPropertiesFromConfig, getHsSearchId, + getUTCMidnightTimeStampValue, + getProperties, } = require('./util'); const { JSON_MIME_TYPE } = require('../../util/constant'); @@ -124,6 +126,20 @@ const processIdentify = async (message, destination, propertyMap) => { response.method = defaultPatchRequestConfig.requestMethod; } + if (!propertyMap) { + // fetch HS properties + // eslint-disable-next-line no-param-reassign + propertyMap = await getProperties(destination); + } + + const keys = Object.keys(traits); + keys.forEach((key) => { + const value = traits[key]; + if(propertyMap[key] === 'date'){ + traits[key] = getUTCMidnightTimeStampValue(value); + } + }) + response.body.JSON = removeUndefinedAndNullValues({ properties: traits }); response.source = 'rETL'; response.operation = operation; diff --git a/src/v0/destinations/hs/transform.js b/src/v0/destinations/hs/transform.js index 3f8010ff49..a2326e0395 100644 --- a/src/v0/destinations/hs/transform.js +++ b/src/v0/destinations/hs/transform.js @@ -88,6 +88,7 @@ const processRouterDest = async (inputs, reqMetadata) => { if (mappedToDestination && GENERIC_TRUE_VALUES.includes(mappedToDestination?.toString())) { // skip splitting the batches to inserts and updates if object it is an association if (objectType.toLowerCase() !== 'association') { + propertyMap = await getProperties(destination); // get info about existing objects and splitting accordingly. tempInputs = await splitEventsForCreateUpdate(tempInputs, destination); } diff --git a/src/v0/destinations/hs/util.js b/src/v0/destinations/hs/util.js index ca92ed13cd..e1a1b8c846 100644 --- a/src/v0/destinations/hs/util.js +++ b/src/v0/destinations/hs/util.js @@ -175,6 +175,18 @@ const validatePayloadDataTypes = (propertyMap, hsSupportedKey, value, traitsKey) return propValue; }; +/** + * Converts date to UTC Midnight TimeStamp + * @param {*} propValue + * @returns + */ +const getUTCMidnightTimeStampValue = (propValue) => { + const time = propValue; + const date = new Date(time); + date.setUTCHours(0, 0, 0, 0); + return date.getTime(); +} + /** * add addtional properties in the payload that is provided in traits * only when it matches with HS properties (pre-defined/created from dashboard) @@ -204,10 +216,7 @@ const getTransformedJSON = async (message, destination, propertyMap) => { if (!rawPayload[traitsKey] && propertyMap[hsSupportedKey]) { let propValue = traits[traitsKey]; if (propertyMap[hsSupportedKey] === 'date') { - const time = propValue; - const date = new Date(time); - date.setUTCHours(0, 0, 0, 0); - propValue = date.getTime(); + propValue = getUTCMidnightTimeStampValue(propValue); } rawPayload[hsSupportedKey] = validatePayloadDataTypes( @@ -459,7 +468,7 @@ const getEventAndPropertiesFromConfig = (message, destination, payload) => { */ const getExistingData = async (inputs, destination) => { const { Config } = destination; - const values = []; + let values = []; let searchResponse; let updateHubspotIds = []; const firstMessage = inputs[0].message; @@ -478,8 +487,16 @@ const getExistingData = async (inputs, destination) => { inputs.map(async (input) => { const { message } = input; const { destinationExternalId } = getDestinationExternalIDInfoForRetl(message, DESTINATION); - values.push(destinationExternalId); + + if(typeof destinationExternalId === 'string'){ + values.push(destinationExternalId.toLowerCase()); + } else{ + const value = typeof destinationExternalId === 'object' ? JSON.stringify(destinationExternalId).toLowerCase() : destinationExternalId.toString(); + values.push(value); + } }); + + values = Array.from(new Set(values)); const requestData = { filterGroups: [ { @@ -639,4 +656,5 @@ module.exports = { splitEventsForCreateUpdate, getHsSearchId, validatePayloadDataTypes, + getUTCMidnightTimeStampValue, }; diff --git a/test/__mocks__/data/hs/response.json b/test/__mocks__/data/hs/response.json index 721ee64410..e552275466 100644 --- a/test/__mocks__/data/hs/response.json +++ b/test/__mocks__/data/hs/response.json @@ -3,6 +3,18 @@ { "name": "company_size", "type": "string" }, { "name": "date_of_birth", "type": "string" }, { "name": "days_to_close", "type": "number" }, + { + "name": "date_submitted", + "type": "date" + }, + { + "name": "days_create", + "type": "date" + }, + { + "name": "days_closed", + "type": "date" + }, { "name": "degree", "type": "string" }, { "name": "field_of_study", "type": "string" }, { "name": "first_conversion_date", "type": "datetime" }, @@ -192,6 +204,18 @@ { "name": "company_size", "type": "string" }, { "name": "date_of_birth", "type": "string" }, { "name": "days_to_close", "type": "number" }, + { + "name": "date_submitted", + "type": "date" + }, + { + "name": "date_created", + "type": "date" + }, + { + "name": "date_closed", + "type": "date" + }, { "name": "degree", "type": "string" }, { "name": "field_of_study", "type": "string" }, { "name": "first_conversion_date", "type": "datetime" }, diff --git a/test/__tests__/data/hs_router_rETL_input.json b/test/__tests__/data/hs_router_rETL_input.json index facb28ae82..3e855855b4 100644 --- a/test/__tests__/data/hs_router_rETL_input.json +++ b/test/__tests__/data/hs_router_rETL_input.json @@ -216,5 +216,117 @@ "metadata": { "jobId": 3 } + }, + { + "message": { + "channel": "web", + "context": { + "mappedToDestination": true, + "externalId": [ + { + "identifierType": "email", + "id": "testhubspotdatetime@email.com", + "type": "HS-lead" + } + ], + "sources": { + "job_id": "24c5HJxHomh6YCngEOCgjS5r1KX/Syncher", + "task_id": "vw_rs_mailchimp_mocked_hg_data", + "version": "v1.8.1", + "batch_id": "f252c69d-c40d-450e-bcd2-2cf26cb62762", + "job_run_id": "c8el40l6e87v0c4hkbl0", + "task_run_id": "c8el40l6e87v0c4hkblg" + } + }, + "type": "identify", + "traits": { + "firstname": "Test Hubspot", + "anonymousId": "123451", + "country": "India", + "date_submitted": "2023-09-25T17:31:04.128251Z", + "date_created": "2023-03-30T01:02:03.05Z", + "date_closed": "2023-10-18T04:38:59.229347Z" + }, + "messageId": "50360b9c-ea8d-409c-b672-c9230f91cce5", + "originalTimestamp": "2019-10-15T09:35:31.288Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "authorizationType": "newPrivateAppApi", + "accessToken": "dummy-access-token", + "hubID": "dummy-hubId", + "apiKey": "dummy-apikey", + "apiVersion": "newApi", + "lookupField": "lookupField", + "hubspotEvents": [ + { + "rsEventName": "Purchase", + "hubspotEventName": "pedummy-hubId_rs_hub_test", + "eventProperties": [ + { + "from": "Revenue", + "to": "value" + }, + { + "from": "Price", + "to": "cost" + } + ] + }, + { + "rsEventName": "Order Complete", + "hubspotEventName": "pedummy-hubId_rs_hub_chair", + "eventProperties": [ + { + "from": "firstName", + "to": "first_name" + }, + { + "from": "lastName", + "to": "last_name" + } + ] + } + ], + "eventFilteringOption": "disable", + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ] + }, + "secretConfig": {}, + "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", + "name": "Hubspot", + "enabled": true, + "workspaceId": "1TSN08muJTZwH8iCDmnnRt1pmLd", + "deleted": false, + "createdAt": "2020-12-30T08:39:32.005Z", + "updatedAt": "2021-02-03T16:22:31.374Z", + "destinationDefinition": { + "id": "1aIXqM806xAVm92nx07YwKbRrO9", + "name": "HS", + "displayName": "Hubspot", + "createdAt": "2020-04-09T09:24:31.794Z", + "updatedAt": "2021-01-11T11:03:28.103Z" + }, + "transformations": [], + "isConnectionEnabled": true, + "isProcessorEnabled": true + }, + "metadata": { + "jobId": 4 + } } ] diff --git a/test/__tests__/data/hs_router_rETL_output.json b/test/__tests__/data/hs_router_rETL_output.json index 5293a47cf9..dc7507220c 100644 --- a/test/__tests__/data/hs_router_rETL_output.json +++ b/test/__tests__/data/hs_router_rETL_output.json @@ -20,6 +20,17 @@ "country": "India 1", "email": "testhubspot@email.com" } + }, + { + "properties": { + "firstname": "Test Hubspot", + "anonymousId": "123451", + "country": "India", + "email": "testhubspotdatetime@email.com", + "date_closed": 1697587200000, + "date_created": 1680134400000, + "date_submitted": 1695600000000 + } } ] }, @@ -32,6 +43,9 @@ "metadata": [ { "jobId": 3 + }, + { + "jobId": 4 } ], "batched": true, @@ -214,4 +228,4 @@ "isProcessorEnabled": true } } -] +] \ No newline at end of file From 255e9aad33c2117921a71a989c69d326b0ff22ab Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Fri, 20 Oct 2023 13:26:01 +0530 Subject: [PATCH 48/98] chore: code review changes --- src/v0/destinations/hs/HSTransform-v1.js | 20 ++------- src/v0/destinations/hs/HSTransform-v2.js | 20 ++------- src/v0/destinations/hs/util.js | 56 ++++++++++++++++-------- 3 files changed, 43 insertions(+), 53 deletions(-) diff --git a/src/v0/destinations/hs/HSTransform-v1.js b/src/v0/destinations/hs/HSTransform-v1.js index 54b39b4317..5cb80f10f5 100644 --- a/src/v0/destinations/hs/HSTransform-v1.js +++ b/src/v0/destinations/hs/HSTransform-v1.js @@ -34,8 +34,7 @@ const { getEmailAndUpdatedProps, formatPropertyValueForIdentify, getHsSearchId, - getUTCMidnightTimeStampValue, - getProperties, + populateTraits, } = require('./util'); const { JSON_MIME_TYPE } = require('../../util/constant'); @@ -54,7 +53,7 @@ const { JSON_MIME_TYPE } = require('../../util/constant'); */ const processLegacyIdentify = async (message, destination, propertyMap) => { const { Config } = destination; - const traits = getFieldValueFromMessage(message, 'traits'); + let traits = getFieldValueFromMessage(message, 'traits'); const mappedToDestination = get(message, MappedToDestinationKey); const operation = get(message, 'context.hubspotOperation'); // if mappedToDestination is set true, then add externalId to traits @@ -83,20 +82,7 @@ const processLegacyIdentify = async (message, destination, propertyMap) => { response.method = defaultPatchRequestConfig.requestMethod; } - if (!propertyMap) { - // fetch HS properties - // eslint-disable-next-line no-param-reassign - propertyMap = await getProperties(destination); - } - - const keys = Object.keys(traits); - keys.forEach((key) => { - const value = traits[key]; - if (propertyMap[key] === 'date') { - traits[key] = getUTCMidnightTimeStampValue(value); - } - }) - + traits = await populateTraits(propertyMap, traits, destination); response.body.JSON = removeUndefinedAndNullValues({ properties: traits }); response.source = 'rETL'; response.operation = operation; diff --git a/src/v0/destinations/hs/HSTransform-v2.js b/src/v0/destinations/hs/HSTransform-v2.js index e7ad44f58a..26c12d3eea 100644 --- a/src/v0/destinations/hs/HSTransform-v2.js +++ b/src/v0/destinations/hs/HSTransform-v2.js @@ -41,8 +41,7 @@ const { searchContacts, getEventAndPropertiesFromConfig, getHsSearchId, - getUTCMidnightTimeStampValue, - getProperties, + populateTraits, } = require('./util'); const { JSON_MIME_TYPE } = require('../../util/constant'); @@ -71,7 +70,7 @@ const addHsAuthentication = (response, Config) => { */ const processIdentify = async (message, destination, propertyMap) => { const { Config } = destination; - const traits = getFieldValueFromMessage(message, 'traits'); + let traits = getFieldValueFromMessage(message, 'traits'); const mappedToDestination = get(message, MappedToDestinationKey); const operation = get(message, 'context.hubspotOperation'); const externalIdObj = getDestinationExternalIDObjectForRetl(message, 'HS'); @@ -126,20 +125,7 @@ const processIdentify = async (message, destination, propertyMap) => { response.method = defaultPatchRequestConfig.requestMethod; } - if (!propertyMap) { - // fetch HS properties - // eslint-disable-next-line no-param-reassign - propertyMap = await getProperties(destination); - } - - const keys = Object.keys(traits); - keys.forEach((key) => { - const value = traits[key]; - if(propertyMap[key] === 'date'){ - traits[key] = getUTCMidnightTimeStampValue(value); - } - }) - + traits = await populateTraits(propertyMap, traits, destination); response.body.JSON = removeUndefinedAndNullValues({ properties: traits }); response.source = 'rETL'; response.operation = operation; diff --git a/src/v0/destinations/hs/util.js b/src/v0/destinations/hs/util.js index e1a1b8c846..5d7a01da74 100644 --- a/src/v0/destinations/hs/util.js +++ b/src/v0/destinations/hs/util.js @@ -158,16 +158,14 @@ const validatePayloadDataTypes = (propertyMap, hsSupportedKey, value, traitsKey) if (propertyMap[hsSupportedKey] === 'bool' && typeof propValue === 'object') { throw new InstrumentationError( - `Property ${traitsKey} data type ${typeof propValue} is not matching with Hubspot property data type ${ - propertyMap[hsSupportedKey] + `Property ${traitsKey} data type ${typeof propValue} is not matching with Hubspot property data type ${propertyMap[hsSupportedKey] }`, ); } if (propertyMap[hsSupportedKey] === 'number' && typeof propValue !== 'number') { throw new InstrumentationError( - `Property ${traitsKey} data type ${typeof propValue} is not matching with Hubspot property data type ${ - propertyMap[hsSupportedKey] + `Property ${traitsKey} data type ${typeof propValue} is not matching with Hubspot property data type ${propertyMap[hsSupportedKey] }`, ); } @@ -487,13 +485,7 @@ const getExistingData = async (inputs, destination) => { inputs.map(async (input) => { const { message } = input; const { destinationExternalId } = getDestinationExternalIDInfoForRetl(message, DESTINATION); - - if(typeof destinationExternalId === 'string'){ - values.push(destinationExternalId.toLowerCase()); - } else{ - const value = typeof destinationExternalId === 'object' ? JSON.stringify(destinationExternalId).toLowerCase() : destinationExternalId.toString(); - values.push(value); - } + values.push(destinationExternalId.toString().toLowerCase()); }); values = Array.from(new Set(values)); @@ -540,15 +532,15 @@ const getExistingData = async (inputs, destination) => { searchResponse = Config.authorizationType === 'newPrivateAppApi' ? await httpPOST(url, requestData, requestOptions, { - destType: 'hs', - feature: 'transformation', - endpointPath, - }) + destType: 'hs', + feature: 'transformation', + endpointPath, + }) : await httpPOST(url, requestData, { - destType: 'hs', - feature: 'transformation', - endpointPath, - }); + destType: 'hs', + feature: 'transformation', + endpointPath, + }); searchResponse = processAxiosResponse(searchResponse); if (searchResponse.status !== 200) { @@ -643,6 +635,31 @@ const getHsSearchId = (message) => { return { hsSearchId }; }; +/** + * returns updated traits + * @param {*} propertyMap + * @param {*} traits + * @param {*} destination + */ +const populateTraits = async (propertyMap, traits, destination) => { + const populatedTraits = traits; + let propertyToTypeMap = propertyMap; + if (!propertyToTypeMap) { + // fetch HS properties + propertyToTypeMap = await getProperties(destination); + } + + const keys = Object.keys(populatedTraits); + keys.forEach((key) => { + const value = populatedTraits[key]; + if (propertyToTypeMap[key] === 'date') { + populatedTraits[key] = getUTCMidnightTimeStampValue(value); + } + }) + + return populatedTraits; +} + module.exports = { validateDestinationConfig, formatKey, @@ -657,4 +674,5 @@ module.exports = { getHsSearchId, validatePayloadDataTypes, getUTCMidnightTimeStampValue, + populateTraits, }; From e64d1a949322d55aa37865699d94153b45625dc1 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 20 Oct 2023 09:50:40 +0000 Subject: [PATCH 49/98] chore(release): 1.46.4 --- CHANGELOG.md | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b62efe98d4..64a4b9baab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ 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.46.4](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.3...v1.46.4) (2023-10-20) + + +### Bug Fixes + +* **hs:** time stamp and contact not found issue ([391c7cd](https://github.com/rudderlabs/rudder-transformer/commit/391c7cdc5576152576bbd2c6d335a04ce6795833)) +* **hs:** time stamp and contact not found issue ([#2760](https://github.com/rudderlabs/rudder-transformer/issues/2760)) ([f5a1d45](https://github.com/rudderlabs/rudder-transformer/commit/f5a1d458d14931552f36db65764263a1333bac01)) + ### [1.46.3](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.2...v1.46.3) (2023-10-20) diff --git a/package-lock.json b/package-lock.json index f211d74b0f..991f958db0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.46.3", + "version": "1.46.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.46.3", + "version": "1.46.4", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index a920837643..503b1651ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.46.3", + "version": "1.46.4", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 9ff4653cd4960fbaec7cc2dcedac859b5d5f7814 Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Fri, 20 Oct 2023 15:42:59 +0530 Subject: [PATCH 50/98] chore: update change log --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64a4b9baab..08d7a89e63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,6 @@ All notable changes to this project will be documented in this file. See [standa ### Bug Fixes * **hs:** time stamp and contact not found issue ([391c7cd](https://github.com/rudderlabs/rudder-transformer/commit/391c7cdc5576152576bbd2c6d335a04ce6795833)) -* **hs:** time stamp and contact not found issue ([#2760](https://github.com/rudderlabs/rudder-transformer/issues/2760)) ([f5a1d45](https://github.com/rudderlabs/rudder-transformer/commit/f5a1d458d14931552f36db65764263a1333bac01)) ### [1.46.3](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.2...v1.46.3) (2023-10-20) From 553003192a1492220e3930c6b6f2dd11ebac1bcb Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Mon, 23 Oct 2023 17:23:28 +0530 Subject: [PATCH 51/98] fix(hubspot): property mismatch --- src/v0/destinations/hs/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v0/destinations/hs/util.js b/src/v0/destinations/hs/util.js index 5d7a01da74..31c4252a4b 100644 --- a/src/v0/destinations/hs/util.js +++ b/src/v0/destinations/hs/util.js @@ -605,7 +605,7 @@ const splitEventsForCreateUpdate = async (inputs, destination) => { const { destinationExternalId } = getDestinationExternalIDInfoForRetl(message, DESTINATION); const filteredInfo = updateHubspotIds.filter( - (update) => update.property.toString() === destinationExternalId.toString(), + (update) => update.property.toString().toLowerCase() === destinationExternalId.toString().toLowerCase(), ); if (filteredInfo.length > 0) { From 66b85d1b81a07872d8b07244704d3626b2d9832a Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 23 Oct 2023 12:08:37 +0000 Subject: [PATCH 52/98] chore(release): 1.46.5 --- CHANGELOG.md | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08d7a89e63..dc896156c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ 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.46.5](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.4...v1.46.5) (2023-10-23) + + +### Bug Fixes + +* **hubspot:** property mismatch ([5530031](https://github.com/rudderlabs/rudder-transformer/commit/553003192a1492220e3930c6b6f2dd11ebac1bcb)) +* **hubspot:** property mismatch ([#2765](https://github.com/rudderlabs/rudder-transformer/issues/2765)) ([5ddabdf](https://github.com/rudderlabs/rudder-transformer/commit/5ddabdf04f22ccd740a9bbdea42b18f128b31f94)) + ### [1.46.4](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.3...v1.46.4) (2023-10-20) diff --git a/package-lock.json b/package-lock.json index 991f958db0..6712f1003c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.46.4", + "version": "1.46.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.46.4", + "version": "1.46.5", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 503b1651ae..c796fb530a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.46.4", + "version": "1.46.5", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 64f3c6c1b9953998e383e1700e1ed241953c4b78 Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Mon, 23 Oct 2023 17:41:07 +0530 Subject: [PATCH 53/98] chore: update change log --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc896156c9..c52759ab48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,6 @@ All notable changes to this project will be documented in this file. See [standa ### Bug Fixes * **hubspot:** property mismatch ([5530031](https://github.com/rudderlabs/rudder-transformer/commit/553003192a1492220e3930c6b6f2dd11ebac1bcb)) -* **hubspot:** property mismatch ([#2765](https://github.com/rudderlabs/rudder-transformer/issues/2765)) ([5ddabdf](https://github.com/rudderlabs/rudder-transformer/commit/5ddabdf04f22ccd740a9bbdea42b18f128b31f94)) ### [1.46.4](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.3...v1.46.4) (2023-10-20) From 6b23a9b33acd28fdacaa2390c1970a1fa4415ffa Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Tue, 24 Oct 2023 13:18:55 +0530 Subject: [PATCH 54/98] fix: salesforce: handle ECONNABORTED error (#2732) * fix: salesforce: handle ECONNABORTED error * chore: added status codes to universal error code handler * chore: added error codes to salesforce error code handler * fix: using correct error response * comment addressed+1 --- src/adapters/utils/networkUtils.js | 8 +++ .../data/salesforce/proxy_response.json | 10 +++ .../data/salesforce_proxy_input.json | 66 +++++++++++++++++++ .../data/salesforce_proxy_output.json | 52 ++++++++++++++- 4 files changed, 135 insertions(+), 1 deletion(-) diff --git a/src/adapters/utils/networkUtils.js b/src/adapters/utils/networkUtils.js index a88d803fac..7f830f5a4b 100644 --- a/src/adapters/utils/networkUtils.js +++ b/src/adapters/utils/networkUtils.js @@ -71,6 +71,14 @@ const nodeSysErrorToStatus = (code) => { status: 500, message: '[ETIMEDOUT] :: Operation timed out', }, + EAI_AGAIN: { + status: 500, + message: '[EAI_AGAIN] :: Temporary failure in name resolution', + }, + ECONNABORTED: { + status: 500, + message: '[ECONNABORTED] :: Connection aborted', + }, }; return sysErrorToStatusMap[code] || { status: 400, message: `[${code}]` }; }; diff --git a/test/__mocks__/data/salesforce/proxy_response.json b/test/__mocks__/data/salesforce/proxy_response.json index 2ce60e4ec9..a92edc58c2 100644 --- a/test/__mocks__/data/salesforce/proxy_response.json +++ b/test/__mocks__/data/salesforce/proxy_response.json @@ -1,4 +1,14 @@ { + "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/101": { + "message": "Connection Aborted", + "name": "Error", + "code": "ECONNABORTED" + }, + "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/102": { + "message": "DNS not found", + "name": "Error", + "code": "EAI_AGAIN" + }, "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/1": { "response": { "data": { diff --git a/test/__tests__/data/salesforce_proxy_input.json b/test/__tests__/data/salesforce_proxy_input.json index f7b8257510..f1aeef71ab 100644 --- a/test/__tests__/data/salesforce_proxy_input.json +++ b/test/__tests__/data/salesforce_proxy_input.json @@ -1,4 +1,70 @@ [ + { + "type": "REST", + "files": {}, + "method": "POST", + "userId": "", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer token" + }, + "version": "1", + "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/101", + "body": { + "XML": {}, + "FORM": {}, + "JSON": { + "Email": "denis.kornilov@sbermarket.ru", + "Company": "sbermarket.ru", + "LastName": "Корнилов", + "FirstName": "Денис", + "LeadSource": "App Signup", + "account_type__c": "free_trial" + }, + "JSON_ARRAY": {} + }, + "metadata": { + "destInfo": { + "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" + } + }, + "params": { + "destination": "salesforce" + } + }, + { + "type": "REST", + "files": {}, + "method": "POST", + "userId": "", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer token" + }, + "version": "1", + "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/102", + "body": { + "XML": {}, + "FORM": {}, + "JSON": { + "Email": "denis.kornilov@sbermarket.ru", + "Company": "sbermarket.ru", + "LastName": "Корнилов", + "FirstName": "Денис", + "LeadSource": "App Signup", + "account_type__c": "free_trial" + }, + "JSON_ARRAY": {} + }, + "metadata": { + "destInfo": { + "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" + } + }, + "params": { + "destination": "salesforce" + } + }, { "type": "REST", "files": {}, diff --git a/test/__tests__/data/salesforce_proxy_output.json b/test/__tests__/data/salesforce_proxy_output.json index e5fc2f0bb3..c900661b75 100644 --- a/test/__tests__/data/salesforce_proxy_output.json +++ b/test/__tests__/data/salesforce_proxy_output.json @@ -1,4 +1,54 @@ [ + { + "output": { + "status": 500, + "message": "Salesforce Request Failed - due to \"\"[ECONNABORTED] :: Connection aborted\"\", (Retryable) during Salesforce Response Handling", + "destinationResponse": { + "response": "[ECONNABORTED] :: Connection aborted", + "status": 500, + "rudderJobMetadata": { + "destInfo": { + "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" + } + } + }, + "statTags": { + "destType": "SALESFORCE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "retryable", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + }, + { + "output": { + "status": 500, + "message": "Salesforce Request Failed - due to \"\"[EAI_AGAIN] :: Temporary failure in name resolution\"\", (Retryable) during Salesforce Response Handling", + "destinationResponse": { + "response": "[EAI_AGAIN] :: Temporary failure in name resolution", + "status": 500, + "rudderJobMetadata": { + "destInfo": { + "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" + } + } + }, + "statTags": { + "destType": "SALESFORCE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "retryable", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + }, { "output": { "status": 200, @@ -207,4 +257,4 @@ } } } -] +] \ No newline at end of file From 52c432c1c95360db468d2da710830746c30e26d9 Mon Sep 17 00:00:00 2001 From: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> Date: Wed, 25 Oct 2023 18:57:48 +0530 Subject: [PATCH 55/98] refactor: migrate ga, ga360, gcs_datalake, google adwords destinations to component tests (#2675) --- .../helper.js | 9 + .../helper.test.js | 31 + .../transform.js | 6 +- .../utils.js | 6 +- test/__tests__/data/ga360_input.json | 6174 --------- test/__tests__/data/ga360_output.json | 1963 --- test/__tests__/data/ga360_router_input.json | 230 - test/__tests__/data/ga360_router_output.json | 224 - test/__tests__/data/ga_input.json | 6514 ---------- test/__tests__/data/ga_output.json | 2107 ---- test/__tests__/data/ga_router_input.json | 230 - test/__tests__/data/ga_router_output.json | 226 - ...le_adwords_enhanced_conversions_input.json | 1081 -- ...e_adwords_enhanced_conversions_output.json | 331 - ...ords_enhanced_conversions_proxy_input.json | 161 - ...rds_enhanced_conversions_proxy_output.json | 66 - ...rds_enhanced_conversions_router_input.json | 268 - ...ds_enhanced_conversions_router_output.json | 146 - .../google_adwords_offline_conversions.json | 4603 ------- ...words_offline_conversions_proxy_input.json | 518 - ...ords_offline_conversions_proxy_output.json | 155 - ...ords_offline_conversions_router_input.json | 542 - ...rds_offline_conversions_router_output.json | 512 - ...oogle_adwords_remarketing_lists_input.json | 3822 ------ ...ogle_adwords_remarketing_lists_output.json | 5917 --------- ...adwords_remarketing_lists_proxy_input.json | 138 - ...dwords_remarketing_lists_proxy_output.json | 60 - ...dwords_remarketing_lists_router_input.json | 213 - ...words_remarketing_lists_router_output.json | 318 - test/__tests__/ga.test.js | 56 - test/__tests__/ga360.test.js | 52 - ...oogle_adwords_enhanced_conversions.test.js | 49 - ...google_adwords_offline_conversions.test.js | 246 - .../google_adwords_remarketing_lists.test.js | 50 - test/__tests__/proxy.test.ts | 2 - .../destinations/ga/processor/data.ts | 9979 +++++++++++++++ .../destinations/ga/router/data.ts | 487 + .../destinations/ga360/processor/data.ts | 9456 ++++++++++++++ .../destinations/ga360/router/data.ts | 487 + .../gcs_datalake/processor/data.ts | 191 + .../dataDelivery/data.ts | 290 + .../network.ts | 236 + .../processor/data.ts | 1694 +++ .../router/data.ts | 447 + .../dataDelivery/data.ts | 750 ++ .../mocks.ts | 7 + .../network.ts | 494 + .../processor/data.ts | 5315 ++++++++ .../router/data.ts | 1119 ++ .../dataDelivery/data.ts | 247 + .../network.ts | 115 + .../processor/data.ts | 10453 ++++++++++++++++ .../router/data.ts | 555 + 53 files changed, 42366 insertions(+), 36982 deletions(-) create mode 100644 src/v0/destinations/google_adwords_offline_conversions/helper.js create mode 100644 src/v0/destinations/google_adwords_offline_conversions/helper.test.js delete mode 100644 test/__tests__/data/ga360_input.json delete mode 100644 test/__tests__/data/ga360_output.json delete mode 100644 test/__tests__/data/ga360_router_input.json delete mode 100644 test/__tests__/data/ga360_router_output.json delete mode 100644 test/__tests__/data/ga_input.json delete mode 100644 test/__tests__/data/ga_output.json delete mode 100644 test/__tests__/data/ga_router_input.json delete mode 100644 test/__tests__/data/ga_router_output.json delete mode 100644 test/__tests__/data/google_adwords_enhanced_conversions_input.json delete mode 100644 test/__tests__/data/google_adwords_enhanced_conversions_output.json delete mode 100644 test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json delete mode 100644 test/__tests__/data/google_adwords_enhanced_conversions_proxy_output.json delete mode 100644 test/__tests__/data/google_adwords_enhanced_conversions_router_input.json delete mode 100644 test/__tests__/data/google_adwords_enhanced_conversions_router_output.json delete mode 100644 test/__tests__/data/google_adwords_offline_conversions.json delete mode 100644 test/__tests__/data/google_adwords_offline_conversions_proxy_input.json delete mode 100644 test/__tests__/data/google_adwords_offline_conversions_proxy_output.json delete mode 100644 test/__tests__/data/google_adwords_offline_conversions_router_input.json delete mode 100644 test/__tests__/data/google_adwords_offline_conversions_router_output.json delete mode 100644 test/__tests__/data/google_adwords_remarketing_lists_input.json delete mode 100644 test/__tests__/data/google_adwords_remarketing_lists_output.json delete mode 100644 test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json delete mode 100644 test/__tests__/data/google_adwords_remarketing_lists_proxy_output.json delete mode 100644 test/__tests__/data/google_adwords_remarketing_lists_router_input.json delete mode 100644 test/__tests__/data/google_adwords_remarketing_lists_router_output.json delete mode 100644 test/__tests__/ga.test.js delete mode 100644 test/__tests__/ga360.test.js delete mode 100644 test/__tests__/google_adwords_enhanced_conversions.test.js delete mode 100644 test/__tests__/google_adwords_offline_conversions.test.js delete mode 100644 test/__tests__/google_adwords_remarketing_lists.test.js create mode 100644 test/integrations/destinations/ga/processor/data.ts create mode 100644 test/integrations/destinations/ga/router/data.ts create mode 100644 test/integrations/destinations/ga360/processor/data.ts create mode 100644 test/integrations/destinations/ga360/router/data.ts create mode 100644 test/integrations/destinations/gcs_datalake/processor/data.ts create mode 100644 test/integrations/destinations/google_adwords_enhanced_conversions/dataDelivery/data.ts create mode 100644 test/integrations/destinations/google_adwords_enhanced_conversions/network.ts create mode 100644 test/integrations/destinations/google_adwords_enhanced_conversions/processor/data.ts create mode 100644 test/integrations/destinations/google_adwords_enhanced_conversions/router/data.ts create mode 100644 test/integrations/destinations/google_adwords_offline_conversions/dataDelivery/data.ts create mode 100644 test/integrations/destinations/google_adwords_offline_conversions/mocks.ts create mode 100644 test/integrations/destinations/google_adwords_offline_conversions/network.ts create mode 100644 test/integrations/destinations/google_adwords_offline_conversions/processor/data.ts create mode 100644 test/integrations/destinations/google_adwords_offline_conversions/router/data.ts create mode 100644 test/integrations/destinations/google_adwords_remarketing_lists/dataDelivery/data.ts create mode 100644 test/integrations/destinations/google_adwords_remarketing_lists/network.ts create mode 100644 test/integrations/destinations/google_adwords_remarketing_lists/processor/data.ts create mode 100644 test/integrations/destinations/google_adwords_remarketing_lists/router/data.ts diff --git a/src/v0/destinations/google_adwords_offline_conversions/helper.js b/src/v0/destinations/google_adwords_offline_conversions/helper.js new file mode 100644 index 0000000000..047cebedf2 --- /dev/null +++ b/src/v0/destinations/google_adwords_offline_conversions/helper.js @@ -0,0 +1,9 @@ +const moment = require('moment-timezone'); + +module.exports = { + formatTimestamp: (timestamp) => { + const tsMomentInstance = moment(timestamp); + const offsetFromUtc = tsMomentInstance.utcOffset(); + return tsMomentInstance.utcOffset(offsetFromUtc).format('YYYY-MM-DD HH:mm:ssZ'); + }, +}; diff --git a/src/v0/destinations/google_adwords_offline_conversions/helper.test.js b/src/v0/destinations/google_adwords_offline_conversions/helper.test.js new file mode 100644 index 0000000000..2ac5c6cfa0 --- /dev/null +++ b/src/v0/destinations/google_adwords_offline_conversions/helper.test.js @@ -0,0 +1,31 @@ +const moment = require('moment-timezone'); +const { formatTimestamp } = require('./helper'); + +describe('google adwords offline conversions - helper', () => { + it('should correctly format to IST', () => { + moment.tz.setDefault('Asia/Calcutta'); + expect(formatTimestamp('2019-10-14 11:15:18.299Z')).toEqual('2019-10-14 16:45:18+05:30'); + }); + it('should correctly format to UTC', () => { + moment.tz.setDefault('UTC'); + expect(formatTimestamp('2019-10-14 11:15:18.299Z')).toEqual('2019-10-14 11:15:18+00:00'); + }); + it('should return "Invalid date" when a string not in date-format is sent as argument', () => { + expect(formatTimestamp('abc')).toEqual('Invalid date'); + }); + it('should return offset value correctly when number is passed', () => { + moment.tz.setDefault('Asia/Tokyo'); + expect(formatTimestamp(11245)).toEqual('1970-01-01 09:00:11+09:00'); + }); + it('should return current date when a value not string is sent as argument', () => { + moment.tz.setDefault('UTC'); + const spy = jest.spyOn(Date, 'now').mockReturnValue('2023-10-22 12:51:30+00:00'); + expect(formatTimestamp([])).toEqual('2023-10-22 12:51:30+00:00'); + expect(formatTimestamp({})).toEqual('2023-10-22 12:51:30+00:00'); + expect(formatTimestamp(undefined)).toEqual('2023-10-22 12:51:30+00:00'); + spy.mockClear(); + }); + it('should return "Invalid date" when null value is passed as argument', () => { + expect(formatTimestamp(null)).toEqual('Invalid date'); + }); +}); diff --git a/src/v0/destinations/google_adwords_offline_conversions/transform.js b/src/v0/destinations/google_adwords_offline_conversions/transform.js index a4bd218673..0186739d37 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/transform.js +++ b/src/v0/destinations/google_adwords_offline_conversions/transform.js @@ -1,5 +1,4 @@ const { set, get } = require('lodash'); -const moment = require('moment'); const { EventType } = require('../../../constants'); const { getHashFromArrayWithDuplicate, @@ -23,6 +22,7 @@ const { getClickConversionPayloadAndEndpoint, } = require('./utils'); const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); +const helper = require('./helper'); /** * get conversions depending on the type set from dashboard @@ -65,9 +65,7 @@ const getConversions = (message, metadata, { Config }, event, conversionType) => // eslint-disable-next-line unicorn/consistent-destructuring if (!properties.conversionDateTime && (timestamp || originalTimestamp)) { const conversionTimestamp = timestamp || originalTimestamp; - const conversionDateTime = moment(conversionTimestamp) - .utcOffset(moment(conversionTimestamp).utcOffset()) - .format('YYYY-MM-DD HH:mm:ssZ'); + const conversionDateTime = helper.formatTimestamp(conversionTimestamp); set(payload, 'conversions[0].conversionDateTime', conversionDateTime); } payload.partialFailure = true; diff --git a/src/v0/destinations/google_adwords_offline_conversions/utils.js b/src/v0/destinations/google_adwords_offline_conversions/utils.js index a39c984788..7fa5eb29af 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/utils.js +++ b/src/v0/destinations/google_adwords_offline_conversions/utils.js @@ -1,6 +1,5 @@ const sha256 = require('sha256'); const { get, set, cloneDeep } = require('lodash'); -const moment = require('moment'); const { httpPOST } = require('../../../adapters/network'); const { isHttpStatusSuccess, @@ -26,6 +25,7 @@ const { const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); const Cache = require('../../util/cache'); const { AbortedError, ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); +const helper = require('./helper'); const conversionActionIdCache = new Cache(CONVERSION_ACTION_ID_CACHE_TTL); @@ -224,9 +224,7 @@ const getAddConversionPayload = (message, Config) => { // transform originalTimestamp to format (yyyy-mm-dd hh:mm:ss+|-hh:mm) // e.g 2019-10-14T11:15:18.299Z -> 2019-10-14 16:10:29+0530 const timestamp = payload.operations.create.transaction_attribute.transaction_date_time; - const convertedDateTime = moment(timestamp) - .utcOffset(moment(timestamp).utcOffset()) - .format('YYYY-MM-DD HH:mm:ssZ'); + const convertedDateTime = helper.formatTimestamp(timestamp); payload.operations.create.transaction_attribute.transaction_date_time = convertedDateTime; // mapping custom_key that should be predefined in google Ui and mentioned when new job is created if (properties.custom_key && properties[properties.custom_key]) { diff --git a/test/__tests__/data/ga360_input.json b/test/__tests__/data/ga360_input.json deleted file mode 100644 index 42ea3e4d44..0000000000 --- a/test/__tests__/data/ga360_input.json +++ /dev/null @@ -1,6174 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Rudder Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "name", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/abc", - "referrer": "q", - "search": "", - "title": "a", - "url": "https://www.example.com/abc" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "test track event GA3", - "properties": { - "category": "test-category", - "user_actual_role": "system_admin, system_user", - "user_actual_id": 12345 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order completed", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product added", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "cat 1", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product removed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "cat 1", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product viewed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "cat 1", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product removed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "cat 1", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product viewed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "cat 1", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product list filtered", - "properties": { - "category": "cat 1", - "list_id": "1234", - "filters": [ - { - "type": "department", - "value": "beauty" - }, - { - "type": "price", - "value": "under" - } - ], - "sorts": [ - { - "type": "price", - "value": "desc" - } - ], - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "productDimension": "My Product Dimension", - "productMetric": "My Product Metric" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product list viewed", - "properties": { - "category": "cat 1", - "list_id": "1234", - "filters": [ - { - "type": "department", - "value": "beauty" - }, - { - "type": "price", - "value": "under" - } - ], - "sorts": [ - { - "type": "price", - "value": "desc" - } - ], - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "productDimension": "My Product Dimension", - "productMetric": "My Product Metric", - "position": 10 - }, - { - "product_id": "507f1f77bcf86cdef799439011", - "productDimension": "My Product Dimension1", - "productMetric": "My Product Metric1", - "position": -10 - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product clicked", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product", - "category": "cat 1", - "sku": "p-298", - "list": "search results", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "promotion viewed", - "properties": { - "currency": "CAD", - "promotion_id": "PROMO_1234", - "name": "my product", - "creative": "summer_banner2", - "position": "banner_slot1", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "promotion clicked", - "properties": { - "currency": "CAD", - "promotion_id": "PROMO_1234", - "name": "my product", - "creative": "summer_banner2", - "position": "banner_slot1", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "checkout started", - "properties": { - "currency": "CAD", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 1, - "price": 24.75, - "name": "my product 2", - "sku": "p-299" - } - ], - "step": 1, - "paymentMethod": "Visa", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order updated", - "properties": { - "currency": "CAD", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 1, - "price": 24.75, - "name": "my product 2", - "sku": "p-299" - } - ], - "step": 1, - "paymentMethod": "Visa", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "checkout step viewed", - "properties": { - "currency": "CAD", - "step": 1 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "checkout step completed", - "properties": { - "currency": "CAD", - "step": 1, - "paymentMethod": "Visa" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order refunded", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order starterefundedd", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order starterefundedd", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order starterefundedd", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order starterefundedd", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order starterefundedd", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "linkid test", - "properties": { - "linkid": "abc123", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "campaign": { - "name": "sampleName", - "source": "sampleSource", - "medium": "sampleMedium", - "content": "sampleContent", - "term": "sampleTerm" - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "campaign test", - "properties": { - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "campaign": { - "name": "sampleName", - "source": "sampleSource", - "medium": "sampleMedium", - "content": "sampleContent", - "term": "sampleTerm" - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "event": "campaign test", - "properties": { - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "campaign": { - "name": "sampleName", - "source": "sampleSource", - "medium": "sampleMedium", - "content": "sampleContent", - "term": "sampleTerm" - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "event": "campaign test", - "properties": { - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "abc": "1234" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "GA Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "identify", - "messageId": "bc8a6af8-37fd-46a9-9592-ea29a256435f", - "originalTimestamp": "2020-06-22T11:30:32.493Z", - "anonymousId": "38e169a1-3234-46f7-9ceb-c1a6a69005fe", - "userId": "123", - "integrations": { - "All": true - }, - "sentAt": "2020-06-22T11:30:32.494Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/abc", - "referrer": "", - "search": "?xyz=1", - "title": "", - "url": "https://www.example.com/abc" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "integrations": { - "All": true - }, - "event": "sample event", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Refunded", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Refunded", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Refunded", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Refunded", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Cart Shared", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Product Shared", - "properties": { - "product_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "url": "https://www.example.com/abc" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Product List Clicked", - "properties": { - "list_id": "Sample Product List", - "category": "Sample Product List", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Product List Clicked", - "properties": { - "list_id": "Sample Product List", - "category": "Sample Product List", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Product List Clicked", - "properties": { - "list_id": "Sample Product List", - "category": "Sample Product List", - "products": [] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Cancelled", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Cancelled", - "properties": { - "order_id": "rudderstackorder1", - "value": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Cancelled", - "properties": { - "order_id": "rudderstackorder1", - "revenue": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Cancelled", - "properties": { - "order_id": "rudderstackorder1", - "revenue": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Cart Viewed", - "properties": { - "order_id": "rudderstackorder1", - "revenue": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name1": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "name1": "Test" - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "screen", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "name": "homescreen" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "newtype", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "name": "homescreen" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "userId": "12345", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "userId": "12345", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "disableMd5": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "userId": "12345", - "integrations": { - "All": true, - "GA": { - "clientId": "clientId" - }, - "Google Analytics": { - "clientId": "clientId" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "externalId": [ - { - "id": "externalClientId", - "type": "gaExternalId" - } - ], - "traits": { - "name": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "userId": "12345", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - } -] diff --git a/test/__tests__/data/ga360_output.json b/test/__tests__/data/ga360_output.json deleted file mode 100644 index 8051b05c4e..0000000000 --- a/test/__tests__/data/ga360_output.json +++ /dev/null @@ -1,1963 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Rudder Test", - "cd1": "Rudder Test", - "cg2": "Rudder Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "uid": "123456", - "cid": "00000000000000000000000000", - "ni": 1, - "uip": "0.0.0.0", - "ua": "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", - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "v": "1", - "t": "pageview", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "uip": "0.0.0.0", - "ul": "en-US", - "dh": "www.example.com", - "dl": "https://www.example.com/abc", - "dp": "/abc", - "dr": "q", - "dt": "a" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ec": "test-category", - "ni": 1, - "v": "1", - "el": "event", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "test track event GA3", - "ua": "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", - "uid": "12345", - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "purchase", - "tr": 99.99, - "ev": 100, - "pr1id": "p-298", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "p-299", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "ea": "order completed", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "ts": 13.99, - "tt": 20.99, - "cu": "INR", - "ua": "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", - "uid": "12345", - "ni": 1, - "pr1qt": 1, - "pr2qt": 3, - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product added", - "ec": "cat 1", - "pa": "add", - "pr1cd1": "my product 1", - "pr1id": "p-298", - "cd1": "my product 1", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product 1", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1ps": 4.5, - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "ni": 1, - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product removed", - "ec": "cat 1", - "pa": "remove", - "pr1cd1": "my product 1", - "pr1id": "p-298", - "cd1": "my product 1", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product 1", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1ps": 4.5, - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product viewed", - "ec": "cat 1", - "pa": "detail", - "pr1cd1": "my product 1", - "pr1id": "p-298", - "cd1": "my product 1", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product 1", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1ps": 4.5, - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product removed", - "ec": "cat 1", - "pa": "remove", - "pr1cd1": "my product 1", - "pr1id": "p-298", - "cd1": "my product 1", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product 1", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1ps": 4.5, - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product viewed", - "ec": "cat 1", - "pa": "detail", - "pr1cd1": "my product 1", - "pr1id": "p-298", - "cd1": "my product 1", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product 1", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1ps": 4.5, - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product list filtered", - "ec": "cat 1", - "pa": "detail", - "il1pi1id": "507f1f77bcf86cd799439011", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "il1nm": "1234", - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "il1pi1qt": 1, - "il1pi1va": "department:beauty,price:under::price:desc", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product list viewed", - "ec": "cat 1", - "pa": "detail", - "il1pi1id": "507f1f77bcf86cd799439011", - "il1pi1ps": 10, - "il1pi2id": "507f1f77bcf86cdef799439011", - "il1pi2ps": -10, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "il1nm": "1234", - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "il1pi1qt": 1, - "il1pi1va": "department:beauty,price:under::price:desc", - "il1pi2qt": 1, - "il1pi2va": "department:beauty,price:under::price:desc", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product clicked", - "ec": "cat 1", - "pa": "click", - "pr1cd1": "my product", - "pr1id": "p-298", - "cd1": "my product", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "pal": "search results", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "promotion viewed", - "ec": "EnhancedEcommerce", - "cu": "CAD", - "promoa": "view", - "pa": "view", - "cd1": "my product", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "promo1id": "PROMO_1234", - "promo1cr": "summer_banner2", - "promo1ps": "banner_slot1", - "promo1nm": "my product", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "promotion clicked", - "ec": "EnhancedEcommerce", - "cu": "CAD", - "promoa": "promo_click", - "pa": "promo_click", - "cd1": "my product", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "promo1id": "PROMO_1234", - "promo1cr": "summer_banner2", - "promo1ps": "banner_slot1", - "promo1nm": "my product", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "checkout", - "pr1id": "p-298", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "p-299", - "pr2cd1": "my product 2", - "pr2nm": "my product 2", - "pr2pr": 24.75, - "ea": "checkout started", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "cu": "CAD", - "ua": "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", - "uid": "12345", - "cos": 1, - "pr1qt": 1, - "pr2qt": 1, - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "checkout", - "pr1id": "p-298", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "p-299", - "pr2cd1": "my product 2", - "pr2nm": "my product 2", - "pr2pr": 24.75, - "ea": "order updated", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "cu": "CAD", - "ua": "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", - "uid": "12345", - "cos": 1, - "pr1qt": 1, - "pr2qt": 1, - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "checkout", - "ea": "checkout step viewed", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "cos": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "checkout_option", - "ea": "checkout step completed", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "cos": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "order refunded", - "ec": "EnhancedEcommerce", - "ua": "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", - "uid": "12345", - "pa": "refund", - "pr1id": "p-298", - "pr1qt": 1, - "pr2id": "p-299", - "ul": "en-US", - "pr2qt": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "order starterefundedd", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "order starterefundedd", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "order starterefundedd", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "cid": "00000000000000000000000000", - "ea": "order starterefundedd", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "order starterefundedd", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "linkid": "abc123", - "cid": "00000000000000000000000000", - "ea": "linkid test", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "cn": "sampleName", - "cs": "sampleSource", - "cm": "sampleMedium", - "cc": "sampleContent", - "ck": "sampleTerm", - "cid": "00000000000000000000000000", - "ea": "campaign test", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "cn": "sampleName", - "cs": "sampleSource", - "cm": "sampleMedium", - "cc": "sampleContent", - "ck": "sampleTerm", - "cid": "00000000000000000000000000", - "ea": "campaign test", - "ua": "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" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "cn": "sampleName", - "cs": "sampleSource", - "cm": "sampleMedium", - "cc": "sampleContent", - "ck": "sampleTerm", - "cid": "00000000000000000000000000", - "ea": "campaign test", - "ua": "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" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "User Enriched", - "dr": "http://0.0.0.0:1112/tests/html/", - "dt": "GA Ecommerce Test", - "ec": "All", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.1.2", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "uid": "123", - "cid": "38e169a1-3234-46f7-9ceb-c1a6a69005fe", - "ni": 1, - "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "ul": "en-GB" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "38e169a1-3234-46f7-9ceb-c1a6a69005fe" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "v": "1", - "t": "pageview", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "v": "1", - "t": "pageview", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "uip": "0.0.0.0", - "dh": "www.example.com", - "dl": "https://www.example.com/abc", - "dp": "/abc?xyz=1" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "sample event", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "refund", - "ev": 100, - "pr1id": "p-298", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr1qt": 1, - "pr2id": "p-299", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "pr2qt": 3, - "ea": "Order Refunded", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ev": 100, - "pa": "refund", - "ti": "rudderstackorder1", - "ea": "Order Refunded", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ev": 100, - "pa": "refund", - "ti": "rudderstackorder1", - "ea": "Order Refunded", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ev": 100, - "pa": "refund", - "pr1id": "1", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr1qt": 1, - "pr2id": "2", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "pr2qt": 3, - "ea": "Order Refunded", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ev": 100, - "ea": "Cart Shared", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "st": " 1 2", - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ev": 100, - "ea": "Product Shared", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "st": "https://www.example.com/abc", - "dh": "www.example.com", - "dl": "https://www.example.com/abc", - "dp": "/abc", - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "Product List Clicked", - "ec": "Sample Product List", - "pa": "click", - "il1pi1id": "1", - "pr1cd1": "my product", - "il1pi1nm": "my product", - "il1pi1pr": 24.75, - "il1pi2id": "2", - "pr2cd1": "other product", - "il1pi2nm": "other product", - "il1pi2pr": 24.75, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "il1nm": "Sample Product List", - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "ni": 1, - "il1pi2qt": 3, - "il1pi1qt": 1, - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "Product List Clicked", - "ec": "Sample Product List", - "pa": "click", - "il1pi1id": "p-298", - "pr1cd1": "my product", - "il1pi1nm": "my product", - "il1pi1pr": 24.75, - "il1pi2id": "p-299", - "pr2cd1": "other product", - "il1pi2nm": "other product", - "il1pi2pr": 24.75, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "il1nm": "Sample Product List", - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "ul": "en-US", - "il1pi2qt": 3, - "il1pi1qt": 1, - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "statusCode": 400, - "message": "Empty Product List provided for Product List Viewed Event" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "refund", - "ev": 100, - "tr": 99.99, - "pr1id": "1", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "2", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "ea": "Order Cancelled", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "ts": 13.99, - "tt": 20.99, - "cu": "INR", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "pr1qt": 1, - "pr2qt": 3, - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "refund", - "tr": 99.99, - "pr1id": "1", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "2", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "ea": "Order Cancelled", - "ev": 100, - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "ts": 13.99, - "tt": 20.99, - "cu": "INR", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "pr1qt": 1, - "pr2qt": 3, - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "refund", - "tr": 99.99, - "pr1id": "1", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "2", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "ea": "Order Cancelled", - "ev": 100, - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "ts": 13.99, - "tt": 20.99, - "cu": "INR", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "pr1qt": 1, - "pr2qt": 3, - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "statusCode": 400, - "message": "No product information supplied for transaction event" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "Cart Viewed", - "ev": 100, - "ec": "EnhancedEcommerce", - "pa": "detail", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "ul": "en-US", - "ni": 1, - "pr1cd1": "my product", - "pr1id": "1", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr1qt": 1, - "pr2cd1": "other product", - "pr2id": "2", - "pr2nm": "other product", - "pr2pr": 24.75, - "pr2qt": 3 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "statusCode": 400, - "message": "server side identify is not on" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "cd1": "homescreen", - "v": "1", - "t": "screenview", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "cd": "homescreen", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "statusCode": 400, - "message": "message type newtype not supported" - }, - { - "version": "1", - "type": "REST", - "userId": "12345", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Test", - "ni": 1, - "cd1": "Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "ul": "en-US", - "uid": "12345", - "cid": "827ccb0eea8a706c4c34a16891f84e7b", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "userId": "12345", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Test", - "ni": 1, - "cd1": "Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "ul": "en-US", - "uid": "12345", - "cid": "12345", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "userId": "12345", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Test", - "ni": 1, - "cd1": "Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "ul": "en-US", - "uid": "12345", - "cid": "clientId", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "userId": "12345", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Test", - "ni": 1, - "cd1": "Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "ul": "en-US", - "uid": "12345", - "cid": "externalClientId", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } -] diff --git a/test/__tests__/data/ga360_router_input.json b/test/__tests__/data/ga360_router_input.json deleted file mode 100644 index 2d561c8bb6..0000000000 --- a/test/__tests__/data/ga360_router_input.json +++ /dev/null @@ -1,230 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Rudder Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "name", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/abc", - "referrer": "q", - "search": "", - "title": "a", - "url": "https://www.example.com/abc" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - } -] diff --git a/test/__tests__/data/ga360_router_output.json b/test/__tests__/data/ga360_router_output.json deleted file mode 100644 index 4dfd10f362..0000000000 --- a/test/__tests__/data/ga360_router_output.json +++ /dev/null @@ -1,224 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Rudder Test", - "cd1": "Rudder Test", - "cg2": "Rudder Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "uid": "123456", - "cid": "00000000000000000000000000", - "ni": 1, - "uip": "0.0.0.0", - "ua": "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", - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "name", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "v": "1", - "t": "pageview", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "uip": "0.0.0.0", - "ul": "en-US", - "dh": "www.example.com", - "dl": "https://www.example.com/abc", - "dp": "/abc", - "dr": "q", - "dt": "a" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - } -] diff --git a/test/__tests__/data/ga_input.json b/test/__tests__/data/ga_input.json deleted file mode 100644 index 970e297c37..0000000000 --- a/test/__tests__/data/ga_input.json +++ /dev/null @@ -1,6514 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "externalId": [ - { - "id": "lynnanderson@smith.net", - "identifierType": "device_id", - "type": "AM-users" - } - ], - "mappedToDestination": "true", - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "", - "os_version": "test os" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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 - }, - "page": { - "path": "/destinations/amplitude", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/amplitude", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "city": "kolkata", - "address": { - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "os_version": "test os", - "ip": "0.0.0.0", - "age": 26, - "an": "Test App name", - "ul": "Test ul" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "name", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Rudder Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "name", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/abc", - "referrer": "q", - "search": "", - "title": "a", - "url": "https://www.example.com/abc" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "test track event GA3", - "properties": { - "category": "test-category", - "user_actual_role": "system_admin, system_user", - "user_actual_id": 12345 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order completed", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product added", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "cat 1", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product removed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "cat 1", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product viewed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "cat 1", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product removed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "cat 1", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product viewed", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product 1", - "category": "cat 1", - "sku": "p-298", - "testDimension": true, - "testMetric": true, - "position": 4.5 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product list filtered", - "properties": { - "category": "cat 1", - "list_id": "1234", - "filters": [ - { - "type": "department", - "value": "beauty" - }, - { - "type": "price", - "value": "under" - } - ], - "sorts": [ - { - "type": "price", - "value": "desc" - } - ], - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "productDimension": "My Product Dimension", - "productMetric": "My Product Metric" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product list viewed", - "properties": { - "category": "cat 1", - "list_id": "1234", - "filters": [ - { - "type": "department", - "value": "beauty" - }, - { - "type": "price", - "value": "under" - } - ], - "sorts": [ - { - "type": "price", - "value": "desc" - } - ], - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "productDimension": "My Product Dimension", - "productMetric": "My Product Metric", - "position": 10 - }, - { - "product_id": "507f1f77bcf86cdef799439011", - "productDimension": "My Product Dimension1", - "productMetric": "My Product Metric1", - "position": -10 - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product clicked", - "properties": { - "currency": "CAD", - "quantity": 1, - "price": 24.75, - "name": "my product", - "category": "cat 1", - "sku": "p-298", - "list": "search results", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "promotion viewed", - "properties": { - "currency": "CAD", - "promotion_id": "PROMO_1234", - "name": "my product", - "creative": "summer_banner2", - "position": "banner_slot1", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "promotion clicked", - "properties": { - "currency": "CAD", - "promotion_id": "PROMO_1234", - "name": "my product", - "creative": "summer_banner2", - "position": "banner_slot1", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "checkout started", - "properties": { - "currency": "CAD", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 1, - "price": 24.75, - "name": "my product 2", - "sku": "p-299" - } - ], - "step": 1, - "paymentMethod": "Visa", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order updated", - "properties": { - "currency": "CAD", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 1, - "price": 24.75, - "name": "my product 2", - "sku": "p-299" - } - ], - "step": 1, - "paymentMethod": "Visa", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "checkout step viewed", - "properties": { - "currency": "CAD", - "step": 1 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "checkout step completed", - "properties": { - "currency": "CAD", - "step": 1, - "paymentMethod": "Visa" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order refunded", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order starterefundedd", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order starterefundedd", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order starterefundedd", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order starterefundedd", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "order starterefundedd", - "properties": { - "products": [ - { - "quantity": 1, - "sku": "p-298" - }, - { - "quantity": 1, - "sku": "p-299" - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "linkid test", - "properties": { - "linkid": "abc123", - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "campaign": { - "name": "sampleName", - "source": "sampleSource", - "medium": "sampleMedium", - "content": "sampleContent", - "term": "sampleTerm" - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "campaign test", - "properties": { - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "campaign": { - "name": "sampleName", - "source": "sampleSource", - "medium": "sampleMedium", - "content": "sampleContent", - "term": "sampleTerm" - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "event": "campaign test", - "properties": { - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "campaign": { - "name": "sampleName", - "source": "sampleSource", - "medium": "sampleMedium", - "content": "sampleContent", - "term": "sampleTerm" - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "event": "campaign test", - "properties": { - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "abc": "1234" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "GA Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "identify", - "messageId": "bc8a6af8-37fd-46a9-9592-ea29a256435f", - "originalTimestamp": "2020-06-22T11:30:32.493Z", - "anonymousId": "38e169a1-3234-46f7-9ceb-c1a6a69005fe", - "userId": "123", - "integrations": { - "All": true - }, - "sentAt": "2020-06-22T11:30:32.494Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/abc", - "referrer": "", - "search": "?xyz=1", - "title": "", - "url": "https://www.example.com/abc" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "integrations": { - "All": true - }, - "event": "sample event", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Refunded", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Refunded", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Refunded", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Refunded", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Cart Shared", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Product Shared", - "properties": { - "product_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "url": "https://www.example.com/abc" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Product List Clicked", - "properties": { - "list_id": "Sample Product List", - "category": "Sample Product List", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Product List Clicked", - "properties": { - "list_id": "Sample Product List", - "category": "Sample Product List", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Product List Clicked", - "properties": { - "list_id": "Sample Product List", - "category": "Sample Product List", - "products": [] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Cancelled", - "properties": { - "order_id": "rudderstackorder1", - "total": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Cancelled", - "properties": { - "order_id": "rudderstackorder1", - "value": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Cancelled", - "properties": { - "order_id": "rudderstackorder1", - "revenue": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Order Cancelled", - "properties": { - "order_id": "rudderstackorder1", - "revenue": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "Cart Viewed", - "properties": { - "order_id": "rudderstackorder1", - "revenue": 99.99, - "shipping": 13.99, - "tax": 20.99, - "currency": "INR", - "products": [ - { - "quantity": 1, - "price": 24.75, - "name": "my product", - "sku": "p-298", - "product_id": "1" - }, - { - "quantity": 3, - "price": 24.75, - "name": "other product", - "sku": "p-299", - "product_id": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name1": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "name1": "Test" - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "screen", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "name": "homescreen" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "newtype", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "name": "homescreen" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "userId": "12345", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "userId": "12345", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "disableMd5": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "userId": "12345", - "integrations": { - "All": true, - "GA": { - "clientId": "clientId" - }, - "Google Analytics": { - "clientId": "clientId" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "externalId": [ - { - "id": "externalClientId", - "type": "gaExternalId" - } - ], - "traits": { - "name": "Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "userId": "12345", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "product list viewed", - "properties": { - "nonInteraction": 0, - "category": "cat 1", - "list_id": "1234", - "filters": { - "a": "department", - "b": "beauty" - }, - "sorts": [ - { - "type": "price", - "value": "desc" - } - ], - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "productDimension": "My Product Dimension", - "productMetric": "My Product Metric", - "position": 10 - }, - { - "product_id": "507f1f77bcf86cdef799439011", - "productDimension": "My Product Dimension1", - "productMetric": "My Product Metric1", - "position": -10 - } - ], - "testDimension": true, - "testMetric": true - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "content1" - }, - { - "from": "prop2", - "to": "content2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "referrer": "https://google.com/answer/7554821?zippy=%2Cfields-in-event-snippets-for-counter-tags%2Cstep-add-the-global-snippet-to-every-page-of-your-site%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-tg%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learns-more-about-the-global-site-tag%2Cwhy-is-the-globalthe-head-when-iframe-and-image-tags-were-placed-in-the-body-placed-of-my-site%2Cwhere-can-i-learn-g2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-and-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-n-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag", - "search": "", - "title": "a", - "url": "https://support.google.com/campaignmanager/answer/7554821?zippy=%2Cfields-in-event-snippets-for-counter-tags%2Cstep-add-the-global-snippet-to-every-page-of-your-site%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjis-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjis-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjakljshdlfkjahsldkfjahlskdfjhaklsjdfhalksjdhflakjshdflakjsdhfklasjhdflaksjhdflaksjdfhlakjshdflakjsdhfklasjhdflaksjhdflaksjdfhlakjshdflakjsdhfklasjhdflaksjhdflaksjdfhljkkwoipqpweoirpoqiwerpoqi1111111111111" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "anonymizeIp": false, - "eventDeliveryTS": 1657516676962, - "eventFilteringOption": "disable", - "trackingID": "UA-165994240-1" - } - } - } -] diff --git a/test/__tests__/data/ga_output.json b/test/__tests__/data/ga_output.json deleted file mode 100644 index 2e773d0301..0000000000 --- a/test/__tests__/data/ga_output.json +++ /dev/null @@ -1,2107 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "All", - "ni": 1, - "ul": "Test ul", - "an": "Test App name", - "cm1": "test@rudderstack.com", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "npa": 1, - "aip": 1, - "ua": "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", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "uid": "123456", - "cid": "123456", - "uip": "0.0.0.0", - "qt": 75009944712 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Rudder Test", - "cd1": "Rudder Test", - "cg2": "Rudder Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "uid": "123456", - "cid": "00000000000000000000000000", - "ni": 1, - "uip": "0.0.0.0", - "ua": "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", - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "v": "1", - "t": "pageview", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "uip": "0.0.0.0", - "ul": "en-US", - "dh": "www.example.com", - "dl": "https://www.example.com/abc", - "dp": "%2Fabc", - "dr": "q", - "dt": "a" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ec": "test-category", - "ni": 1, - "v": "1", - "el": "event", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "test track event GA3", - "ua": "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", - "uid": "12345", - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "purchase", - "tr": 99.99, - "ev": 100, - "pr1id": "p-298", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "p-299", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "ea": "order completed", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "ts": 13.99, - "tt": 20.99, - "cu": "INR", - "ua": "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", - "uid": "12345", - "ni": 1, - "pr1qt": 1, - "pr2qt": 3, - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product added", - "ec": "cat 1", - "pa": "add", - "pr1cd1": "my product 1", - "pr1id": "p-298", - "cd1": "my product 1", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product 1", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1ps": 4.5, - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "ni": 1, - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product removed", - "ec": "cat 1", - "pa": "remove", - "pr1cd1": "my product 1", - "pr1id": "p-298", - "cd1": "my product 1", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product 1", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1ps": 4.5, - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product viewed", - "ec": "cat 1", - "pa": "detail", - "pr1cd1": "my product 1", - "pr1id": "p-298", - "cd1": "my product 1", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product 1", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1ps": 4.5, - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product removed", - "ec": "cat 1", - "pa": "remove", - "pr1cd1": "my product 1", - "pr1id": "p-298", - "cd1": "my product 1", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product 1", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1ps": 4.5, - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product viewed", - "ec": "cat 1", - "pa": "detail", - "pr1cd1": "my product 1", - "pr1id": "p-298", - "cd1": "my product 1", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product 1", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1ps": 4.5, - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product list filtered", - "ec": "cat 1", - "pa": "detail", - "il1pi1id": "507f1f77bcf86cd799439011", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "il1nm": "1234", - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "il1pi1qt": 1, - "il1pi1va": "department:beauty,price:under::price:desc", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product list viewed", - "ec": "cat 1", - "pa": "detail", - "il1pi1id": "507f1f77bcf86cd799439011", - "il1pi1ps": 10, - "il1pi2id": "507f1f77bcf86cdef799439011", - "il1pi2ps": -10, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "il1nm": "1234", - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "il1pi1qt": 1, - "il1pi1va": "department:beauty,price:under::price:desc", - "il1pi2qt": 1, - "il1pi2va": "department:beauty,price:under::price:desc", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "product clicked", - "ec": "cat 1", - "pa": "click", - "pr1cd1": "my product", - "pr1id": "p-298", - "cd1": "my product", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "pr1nm": "my product", - "pr1ca": "cat 1", - "cu": "CAD", - "pr1pr": 24.75, - "pr1qt": 1, - "ua": "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", - "uid": "12345", - "pal": "search results", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "promotion viewed", - "ec": "EnhancedEcommerce", - "cu": "CAD", - "promoa": "view", - "pa": "view", - "cd1": "my product", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "promo1id": "PROMO_1234", - "promo1cr": "summer_banner2", - "promo1ps": "banner_slot1", - "promo1nm": "my product", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "promotion clicked", - "ec": "EnhancedEcommerce", - "cu": "CAD", - "promoa": "promo_click", - "pa": "promo_click", - "cd1": "my product", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "promo1id": "PROMO_1234", - "promo1cr": "summer_banner2", - "promo1ps": "banner_slot1", - "promo1nm": "my product", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "checkout", - "pr1id": "p-298", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "p-299", - "pr2cd1": "my product 2", - "pr2nm": "my product 2", - "pr2pr": 24.75, - "ea": "checkout started", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "cu": "CAD", - "ua": "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", - "uid": "12345", - "cos": 1, - "pr1qt": 1, - "pr2qt": 1, - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "checkout", - "pr1id": "p-298", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "p-299", - "pr2cd1": "my product 2", - "pr2nm": "my product 2", - "pr2pr": 24.75, - "ea": "order updated", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "cu": "CAD", - "ua": "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", - "uid": "12345", - "cos": 1, - "pr1qt": 1, - "pr2qt": 1, - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "checkout", - "ea": "checkout step viewed", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "cos": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "checkout_option", - "ea": "checkout step completed", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "cos": 1, - "ua": "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", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "order refunded", - "ec": "EnhancedEcommerce", - "ua": "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", - "uid": "12345", - "pa": "refund", - "pr1id": "p-298", - "pr1qt": 1, - "pr2id": "p-299", - "ul": "en-US", - "pr2qt": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "order starterefundedd", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "order starterefundedd", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "order starterefundedd", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "cid": "00000000000000000000000000", - "ea": "order starterefundedd", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "order starterefundedd", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "linkid": "abc123", - "cid": "00000000000000000000000000", - "ea": "linkid test", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "cn": "sampleName", - "cs": "sampleSource", - "cm": "sampleMedium", - "cc": "sampleContent", - "ck": "sampleTerm", - "cid": "00000000000000000000000000", - "ea": "campaign test", - "ua": "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", - "uid": "12345" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "cn": "sampleName", - "cs": "sampleSource", - "cm": "sampleMedium", - "cc": "sampleContent", - "ck": "sampleTerm", - "cid": "00000000000000000000000000", - "ea": "campaign test", - "ua": "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" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ul": "en-US", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "cn": "sampleName", - "cs": "sampleSource", - "cm": "sampleMedium", - "cc": "sampleContent", - "ck": "sampleTerm", - "cid": "00000000000000000000000000", - "ea": "campaign test", - "ua": "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" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "User Enriched", - "dt": "GA Ecommerce Test", - "ec": "All", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.1.2", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "uid": "123", - "cid": "38e169a1-3234-46f7-9ceb-c1a6a69005fe", - "ni": 1, - "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "ul": "en-GB" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "38e169a1-3234-46f7-9ceb-c1a6a69005fe" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "v": "1", - "t": "pageview", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "v": "1", - "t": "pageview", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "uip": "0.0.0.0", - "dh": "www.example.com", - "dl": "https://www.example.com/abc", - "dp": "%2Fabc%3Fxyz%3D1" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ea": "sample event", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "refund", - "ev": 100, - "pr1id": "p-298", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr1qt": 1, - "pr2id": "p-299", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "pr2qt": 3, - "ea": "Order Refunded", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ev": 100, - "pa": "refund", - "ti": "rudderstackorder1", - "ea": "Order Refunded", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ev": 100, - "pa": "refund", - "ti": "rudderstackorder1", - "ea": "Order Refunded", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ev": 100, - "pa": "refund", - "pr1id": "1", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr1qt": 1, - "pr2id": "2", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "pr2qt": 3, - "ea": "Order Refunded", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "uid": "12345", - "ul": "en-US", - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ev": 100, - "ea": "Cart Shared", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "st": " 1 2", - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ev": 100, - "ea": "Product Shared", - "ec": "All", - "ni": 1, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "st": "https://www.example.com/abc", - "dh": "www.example.com", - "dl": "https://www.example.com/abc", - "dp": "%2Fabc", - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "Product List Clicked", - "ec": "Sample Product List", - "pa": "click", - "il1pi1id": "1", - "pr1cd1": "my product", - "il1pi1nm": "my product", - "il1pi1pr": 24.75, - "il1pi2id": "2", - "pr2cd1": "other product", - "il1pi2nm": "other product", - "il1pi2pr": 24.75, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "il1nm": "Sample Product List", - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "ni": 1, - "il1pi2qt": 3, - "il1pi1qt": 1, - "ul": "en-US" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "Product List Clicked", - "ec": "Sample Product List", - "pa": "click", - "il1pi1id": "p-298", - "pr1cd1": "my product", - "il1pi1nm": "my product", - "il1pi1pr": 24.75, - "il1pi2id": "p-299", - "pr2cd1": "other product", - "il1pi2nm": "other product", - "il1pi2pr": 24.75, - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "il1nm": "Sample Product List", - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "ul": "en-US", - "il1pi2qt": 3, - "il1pi1qt": 1, - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ni": 1, - "ea": "Product List Clicked", - "ec": "Sample Product List", - "pa": "click", - "el": "event", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "npa": 1, - "aip": 1, - "ua": "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", - "ul": "en-US", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "il1nm": "Sample Product List", - "uid": "12345", - "cid": "00000000000000000000000000" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "refund", - "ev": 100, - "tr": 99.99, - "pr1id": "1", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "2", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "ea": "Order Cancelled", - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "ts": 13.99, - "tt": 20.99, - "cu": "INR", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "pr1qt": 1, - "pr2qt": 3, - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "refund", - "tr": 99.99, - "pr1id": "1", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "2", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "ea": "Order Cancelled", - "ev": 100, - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "ts": 13.99, - "tt": 20.99, - "cu": "INR", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "pr1qt": 1, - "pr2qt": 3, - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "pa": "refund", - "tr": 99.99, - "pr1id": "1", - "pr1cd1": "my product", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr2id": "2", - "pr2cd1": "other product", - "pr2nm": "other product", - "pr2pr": 24.75, - "ea": "Order Cancelled", - "ev": 100, - "ec": "EnhancedEcommerce", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ti": "rudderstackorder1", - "ts": 13.99, - "tt": 20.99, - "cu": "INR", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "pr1qt": 1, - "pr2qt": 3, - "ni": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "statusCode": 400, - "message": "No product information supplied for transaction event" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "Cart Viewed", - "ev": 100, - "ec": "EnhancedEcommerce", - "pa": "detail", - "v": "1", - "t": "event", - "el": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "cid": "00000000000000000000000000", - "uid": "12345", - "ul": "en-US", - "ni": 1, - "pr1cd1": "my product", - "pr1id": "1", - "pr1nm": "my product", - "pr1pr": 24.75, - "pr1qt": 1, - "pr2cd1": "other product", - "pr2id": "2", - "pr2nm": "other product", - "pr2pr": 24.75, - "pr2qt": 3 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "statusCode": 400, - "message": "server side identify is not on" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "cd1": "homescreen", - "v": "1", - "t": "screenview", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "cd": "homescreen", - "ua": "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", - "uid": "12345", - "ul": "en-US", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "statusCode": 400, - "message": "Message type newtype not supported" - }, - { - "version": "1", - "type": "REST", - "userId": "12345", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Test", - "ni": 1, - "cd1": "Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "ul": "en-US", - "uid": "12345", - "cid": "827ccb0eea8a706c4c34a16891f84e7b", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "userId": "12345", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Test", - "ni": 1, - "cd1": "Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "ul": "en-US", - "uid": "12345", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "userId": "12345", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Test", - "ni": 1, - "cd1": "Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "ul": "en-US", - "uid": "12345", - "cid": "clientId", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "userId": "12345", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Test", - "ni": 1, - "cd1": "Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "ua": "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", - "ul": "en-US", - "uid": "12345", - "cid": "externalClientId", - "uip": "0.0.0.0" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ni": 0, - "ea": "product list viewed", - "ec": "cat 1", - "pa": "detail", - "il1pi1id": "507f1f77bcf86cd799439011", - "il1pi1va": "::price:desc", - "il1pi1ps": 10, - "il1pi1qt": 1, - "il1pi2id": "507f1f77bcf86cdef799439011", - "il1pi2va": "::price:desc", - "il1pi2ps": -10, - "il1pi2qt": 1, - "el": "event", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "npa": 1, - "aip": 1, - "ua": "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", - "ul": "en-US", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "il1nm": "1234", - "uid": "12345", - "cid": "00000000000000000000000000" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "dp": "%2Fcampaignmanager%2Fanswer%2F7554821", - "dl": "https://support.google.com/campaignmanager/answer/7554821?zippy=%2Cfields-in-event-snippets-for-counter-tags%2Cstep-add-the-global-snippet-to-every-page-of-your-site%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjis-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjis-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjakljshdlfkjahsldkfjahlskdfjhaklsjdfhalksjdhflakjshdflakjsdhfklasjhdflaksjhdflaksjdfhlakjshdflakjsdhfklasjhdflaksjhdflaksjdfhlakjshdflakjsdhfklasjhdflaksjhdflaksjdfhljkkwoipqpweoirpoqiwerpoqi1111111111111", - "dh": "support.google.com", - "dt": "a", - "dr": "https://google.com/answer/7554821?zippy=%2Cfields-in-event-snippets-for-counter-tags%2Cstep-add-the-global-snippet-to-every-page-of-your-site%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-tg%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learns-more-about-the-global-site-tag%2Cwhy-is-the-globalthe-head-when-iframe-and-image-tags-were-placed-in-the-body-placed-of-my-site%2Cwhere-can-i-learn-g2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-and-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-n-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag", - "v": "1", - "t": "pageview", - "tid": "UA-165994240-1", - "ds": "web", - "ua": "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", - "ul": "en-US", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "cid": "00000000000000000000000000", - "uip": "0.0.0.0", - "qt": "8.6465591569e+10" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - } -] diff --git a/test/__tests__/data/ga_router_input.json b/test/__tests__/data/ga_router_input.json deleted file mode 100644 index 4e30ff8a00..0000000000 --- a/test/__tests__/data/ga_router_input.json +++ /dev/null @@ -1,230 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "traits": { - "name": "Rudder Test" - }, - "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 - } - }, - "properties": { - "plan": "standard plan", - "name": "rudder test" - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "name", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/abc", - "referrer": "q", - "search": "", - "title": "a", - "url": "https://www.example.com/abc" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - } -] diff --git a/test/__tests__/data/ga_router_output.json b/test/__tests__/data/ga_router_output.json deleted file mode 100644 index 526d58c8a3..0000000000 --- a/test/__tests__/data/ga_router_output.json +++ /dev/null @@ -1,226 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "ea": "action1", - "ec": "Rudder Test", - "cd1": "Rudder Test", - "cg2": "Rudder Test", - "v": "1", - "t": "event", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "uid": "123456", - "cid": "00000000000000000000000000", - "ni": 1, - "uip": "0.0.0.0", - "ua": "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", - "ul": "en-US", - "qt": 80157710701 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "name", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "name", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://www.google-analytics.com/collect", - "headers": {}, - "params": { - "v": "1", - "t": "pageview", - "tid": "UA-165994240-1", - "ds": "web", - "an": "RudderLabs JavaScript SDK", - "av": "1.0.0", - "aiid": "com.rudderlabs.javascript", - "npa": 1, - "aip": 1, - "cid": "00000000000000000000000000", - "ua": "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", - "uid": "12345", - "uip": "0.0.0.0", - "ul": "en-US", - "dh": "www.example.com", - "dl": "https://www.example.com/abc", - "dp": "%2Fabc", - "dr": "q", - "dt": "a", - "qt": 80157710701 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "00000000000000000000000000" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "trackingID": "UA-165994240-1", - "doubleClick": true, - "enhancedLinkAttribution": true, - "classic": true, - "ignoredReferrers": "", - "serverClassic": false, - "includeSearch": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "sampleRate": "100", - "siteSpeedSampleRate": "1", - "setAllMappedProps": true, - "enableServerSideIdentify": true, - "serverSideIdentifyEventCategory": "cat1", - "serverSideIdentifyEventAction": "action1", - "anonymizeIp": true, - "domain": "domain", - "enhancedEcommerce": true, - "nonInteraction": true, - "optimize": "abc123", - "sendUserId": true, - "useGoogleAmpClientId": true, - "web-useNativeSDK": true, - "dimensions": [ - { - "from": "name", - "to": "dimension1" - }, - { - "from": "custom2", - "to": "dimension2" - } - ], - "metrics": [ - { - "from": "email", - "to": "metric1" - }, - { - "from": "trait2", - "to": "metric2" - } - ], - "resetCustomDimensionsOnPage": [ - { - "resetCustomDimensionsOnPage": "abc" - }, - { - "resetCustomDimensionsOnPage": "xyz" - } - ], - "contentGroupings": [ - { - "from": "plan", - "to": "contentGroup1" - }, - { - "from": "prop2", - "to": "contentGroup2" - } - ] - }, - "Enabled": true - } - } -] diff --git a/test/__tests__/data/google_adwords_enhanced_conversions_input.json b/test/__tests__/data/google_adwords_enhanced_conversions_input.json deleted file mode 100644 index 9e87de482d..0000000000 --- a/test/__tests__/data/google_adwords_enhanced_conversions_input.json +++ /dev/null @@ -1,1081 +0,0 @@ -[ - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "123-456-7890", - "subAccount": true, - "loginCustomerId": "123-456-7890", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "phone": "912382193", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "UK", - "countryCode": "us", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Page View", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currency": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "order_id": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "11", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "phone": "912382193", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "UK", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Checkout Started", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currency": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "order_id": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "11", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "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 - } - }, - "event": "Product Added", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currency": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "order_id": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "11", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "firstName": "John", - "lastName": "Gomes", - "address": { - "city": "London", - "state": "UK", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK", - "country": "us" - } - }, - "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 - } - }, - "event": "Product Added", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currencyCode": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": "true", - "campaignId": "1", - "templateId": "0", - "order_id": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "UK", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Product Added", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currencyCode": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "orderId": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "type": "identify", - "traits": { - "status": "elizabeth" - }, - "userId": "emrichardson820+22822@gmail.com", - "channel": "sources", - "context": { - "sources": { - "job_id": "24c5HJxHomh6YCngEOCgjS5r1KX/Syncher", - "task_id": "vw_rs_mailchimp_mocked_hg_data", - "version": "v1.8.1", - "batch_id": "f252c69d-c40d-450e-bcd2-2cf26cb62762", - "job_run_id": "c8el40l6e87v0c4hkbl0", - "task_run_id": "c8el40l6e87v0c4hkblg" - }, - "externalId": [ - { - "id": "emrichardson820+22822@gmail.com", - "type": "MAILCHIMP-92e1f1ad2c", - "identifierType": "email_address" - } - ], - "mappedToDestination": "true" - }, - "recordId": "1", - "rudderId": "4d5d0ed0-9db8-41cc-9bb0-a032f6bfa97a", - "messageId": "b3bee036-fc26-4f6d-9867-c17f85708a82" - } - }, - { - "metadata": { - "secret": null - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "11", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "phone": "912382193", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "UK", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Page View", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currency": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "order_id": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "123-456-7890", - "subAccount": true, - "loginCustomerId": "123-456-7890", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "phone": "912382193", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "UK", - "countryCode": "us", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Product Viewed", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currency": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "orde_id": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "requireHash": true, - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "123-456-7890", - "subAccount": true, - "loginCustomerId": "123-456-7890", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "phone": "912382193", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "UK", - "countryCode": "us", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Page View", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currency": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "order_id": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "requireHash": false, - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "123-456-7890", - "subAccount": true, - "loginCustomerId": "123-456-7890", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "phone": "912382193", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "UK", - "countryCode": "us", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Page View", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currency": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "order_id": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "requireHash": false, - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "123-456-7890", - "subAccount": true, - "loginCustomerId": "123-456-7890", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "phone": "912382193", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "UK", - "countryCode": "us", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Page View", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currency": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - } -] diff --git a/test/__tests__/data/google_adwords_enhanced_conversions_output.json b/test/__tests__/data/google_adwords_enhanced_conversions_output.json deleted file mode 100644 index 292a849673..0000000000 --- a/test/__tests__/data/google_adwords_enhanced_conversions_output.json +++ /dev/null @@ -1,331 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "1234567890" - }, - "params": { - "event": "Page View", - "customerId": "1234567890" - }, - "body": { - "JSON": { - "partialFailure": true, - "conversionAdjustments": [ - { - "gclidDateTimePair": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "restatementValue": { - "adjustedValue": 10, - "currencyCode": "INR" - }, - "orderId": "10000", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "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", - "userIdentifiers": [ - { - "hashedPhoneNumber": "04387707e6cbed8c4538c81cc570ed9252d579469f36c273839b26d784e4bdbe" - }, - { - "addressInfo": { - "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", - "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", - "state": "UK", - "city": "London", - "countryCode": "us", - "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" - } - } - ], - "adjustmentType": "ENHANCEMENT" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "Conversion named \"Checkout Started\" was not specified in the RudderStack destination configuration", - "statTags": { - "destination": "google_adwords_enhanced_conversions", - "stage": "transform", - "scope": "exception" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "Any of email, phone, firstName, lastName, city, street, countryCode, postalCode or streetAddress is required in traits.", - "statTags": { - "destination": "google_adwords_enhanced_conversions", - "stage": "transform", - "scope": "exception" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "11" - }, - "params": { - "event": "Product Added", - "customerId": "1234567890" - }, - "body": { - "JSON": { - "conversionAdjustments": [ - { - "gclidDateTimePair": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "restatementValue": { - "adjustedValue": 10, - "currencyCode": "INR" - }, - "orderId": "10000", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "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", - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", - "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", - "state": "UK", - "city": "London", - "countryCode": "us", - "hashedStreetAddress": "b28c94b2195c8ed259f0b415aaee3f39b0b2920a4537611499fa044956917a21" - } - } - ], - "adjustmentType": "ENHANCEMENT" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "LoginCustomerId is required as subAccount is true.", - "statTags": { - "destination": "google_adwords_enhanced_conversions", - "stage": "transform", - "scope": "exception" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "Message Type identify is not supported. Aborting message.", - "statTags": { - "destination": "google_adwords_enhanced_conversions", - "stage": "transform", - "scope": "exception" - } - }, - { - "metadata": { - "secret": null - }, - "statusCode": 400, - "error": "OAuth - access token not found", - "statTags": { - "destination": "google_adwords_enhanced_conversions", - "stage": "transform", - "scope": "exception" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "Conversion named \"Product Viewed\" was not specified in the RudderStack destination configuration", - "statTags": { - "destination": "google_adwords_enhanced_conversions", - "stage": "transform", - "scope": "exception" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "1234567890" - }, - "params": { - "event": "Page View", - "customerId": "1234567890" - }, - "body": { - "JSON": { - "conversionAdjustments": [ - { - "gclidDateTimePair": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "restatementValue": { - "adjustedValue": 10, - "currencyCode": "INR" - }, - "orderId": "10000", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "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", - "userIdentifiers": [ - { - "hashedPhoneNumber": "04387707e6cbed8c4538c81cc570ed9252d579469f36c273839b26d784e4bdbe" - }, - { - "addressInfo": { - "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", - "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", - "state": "UK", - "city": "London", - "countryCode": "us", - "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" - } - } - ], - "adjustmentType": "ENHANCEMENT" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "1234567890" - }, - "params": { - "event": "Page View", - "customerId": "1234567890" - }, - "body": { - "JSON": { - "conversionAdjustments": [ - { - "gclidDateTimePair": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "restatementValue": { - "adjustedValue": 10, - "currencyCode": "INR" - }, - "orderId": "10000", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "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", - "userIdentifiers": [ - { - "hashedPhoneNumber": "912382193" - }, - { - "addressInfo": { - "hashedFirstName": "John", - "hashedLastName": "Gomes", - "state": "UK", - "city": "London", - "countryCode": "us", - "hashedStreetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - } - } - ], - "adjustmentType": "ENHANCEMENT" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "Missing required value from [\"properties.orderId\",\"properties.order_id\"]", - "statTags": { - "destination": "google_adwords_enhanced_conversions", - "stage": "transform", - "scope": "exception" - } - } -] diff --git a/test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json b/test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json deleted file mode 100644 index 430cfbd05f..0000000000 --- a/test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "0987654321" - }, - "params": { - "event": "Product Added", - "customerId": "1234567890", - "destination": "google_adwords_enhanced_conversions" - }, - "body": { - "JSON": { - "partialFailure": true, - "conversionAdjustments": [ - { - "gclidDateTimePair": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "restatementValue": { - "adjustedValue": 10, - "currency": "INR" - }, - "order_id": "10000", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "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", - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", - "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", - "state": "UK", - "city": "London", - "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" - } - } - ], - "adjustmentType": "ENHANCEMENT" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567899:uploadConversionAdjustments", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "0987654321" - }, - "params": { - "event": "Product Added", - "customerId": "1234567899", - "destination": "google_adwords_enhanced_conversions" - }, - "body": { - "JSON": { - "partialFailure": true, - "conversionAdjustments": [ - { - "gclidDateTimePair": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "restatementValue": { - "adjustedValue": 10, - "currency": "INR" - }, - "order_id": "10000", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "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", - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", - "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", - "state": "UK", - "city": "London", - "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" - } - } - ], - "adjustmentType": "ENHANCEMENT" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567891:uploadConversionAdjustments", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "0987654321" - }, - "params": { - "event": "Product Added", - "customerId": "1234567891", - "destination": "google_adwords_enhanced_conversions" - }, - "body": { - "JSON": { - "partialFailure": true, - "conversionAdjustments": [ - { - "gclidDateTimePair": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "restatementValue": { - "adjustedValue": 10, - "currency": "INR" - }, - "order_id": "10000", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "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", - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", - "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", - "state": "UK", - "city": "London", - "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" - } - } - ], - "adjustmentType": "ENHANCEMENT" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } -] diff --git a/test/__tests__/data/google_adwords_enhanced_conversions_proxy_output.json b/test/__tests__/data/google_adwords_enhanced_conversions_proxy_output.json deleted file mode 100644 index dd233d4b0e..0000000000 --- a/test/__tests__/data/google_adwords_enhanced_conversions_proxy_output.json +++ /dev/null @@ -1,66 +0,0 @@ -[ - { - "output": { - "message": "\"\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\" during Google_adwords_enhanced_conversions response transformation\"", - "authErrorCategory": "REFRESH_TOKEN", - "destinationResponse": [ - { - "error": { - "code": 401, - "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", - "status": "UNAUTHENTICATED" - } - } - ], - "statTags": { - "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - }, - "status": 401 - } - }, - { - "output": { - "message": "\"\"[ECONNREFUSED] :: Connection refused\" during Google_adwords_enhanced_conversions response transformation\"", - "destinationResponse": "[ECONNREFUSED] :: Connection refused", - "statTags": { - "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - }, - "status": 500 - } - }, - { - "output": { - "status": 200, - "message": "Request Processed Successfully", - "destinationResponse": { - "response": [ - { - "adjustmentType": "ENHANCEMENT", - "conversionAction": "customers/7693729833/conversionActions/874224905", - "adjustmentDateTime": "2021-01-01 12:32:45-08:00", - "gclidDateTimePair": { - "gclid": "1234", - "conversionDateTime": "2021-01-01 12:32:45-08:00" - }, - "orderId": "12345" - } - ], - "status": 200 - } - } - } -] diff --git a/test/__tests__/data/google_adwords_enhanced_conversions_router_input.json b/test/__tests__/data/google_adwords_enhanced_conversions_router_input.json deleted file mode 100644 index fab957b76b..0000000000 --- a/test/__tests__/data/google_adwords_enhanced_conversions_router_input.json +++ /dev/null @@ -1,268 +0,0 @@ -[ - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 1 - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "11", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "phone": "912382193", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "UK", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Page View", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currency": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "order_id": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 2 - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "type": "identify", - "traits": { - "status": "elizabeth" - }, - "userId": "emrichardson820+22822@gmail.com", - "channel": "sources", - "context": { - "sources": { - "job_id": "24c5HJxHomh6YCngEOCgjS5r1KX/Syncher", - "task_id": "vw_rs_mailchimp_mocked_hg_data", - "version": "v1.8.1", - "batch_id": "f252c69d-c40d-450e-bcd2-2cf26cb62762", - "job_run_id": "c8el40l6e87v0c4hkbl0", - "task_run_id": "c8el40l6e87v0c4hkblg" - }, - "externalId": [ - { - "id": "emrichardson820+22822@gmail.com", - "type": "MAILCHIMP-92e1f1ad2c", - "identifierType": "email_address" - } - ], - "mappedToDestination": "true" - }, - "recordId": "1", - "rudderId": "4d5d0ed0-9db8-41cc-9bb0-a032f6bfa97a", - "messageId": "b3bee036-fc26-4f6d-9867-c17f85708a82" - } - }, - { - "metadata": { - "secret": {}, - "jobId": 3 - }, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "11", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "phone": "912382193", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "UK", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Page View", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "adjustedValue": "10", - "currency": "INR", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "partialFailure": true, - "campaignId": "1", - "templateId": "0", - "order_id": 10000, - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg", - "quantity": "2" - }, - { - "product_id": "507f1f77bcf86cd7994390112", - "sku": "45790-322", - "name": "Monopoly: 3rd Edition2", - "price": "192", - "quantity": 22, - "position": "12", - "category": "Cars2", - "url": "https://www.example.com/product/path2", - "image_url": "https://www.example.com/product/path.jpg2" - } - ] - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - } -] diff --git a/test/__tests__/data/google_adwords_enhanced_conversions_router_output.json b/test/__tests__/data/google_adwords_enhanced_conversions_router_output.json deleted file mode 100644 index c283549e50..0000000000 --- a/test/__tests__/data/google_adwords_enhanced_conversions_router_output.json +++ /dev/null @@ -1,146 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "11" - }, - "params": { "event": "Page View", "customerId": "1234567890" }, - "body": { - "JSON": { - "partialFailure": true, - "conversionAdjustments": [ - { - "gclidDateTimePair": { - "gclid": "gclid1234", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "restatementValue": { - "adjustedValue": 10, - "currencyCode": "INR" - }, - "orderId": "10000", - "adjustmentDateTime": "2022-01-01 12:32:45-08:00", - "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", - "userIdentifiers": [ - { - "hashedPhoneNumber": "04387707e6cbed8c4538c81cc570ed9252d579469f36c273839b26d784e4bdbe" - }, - { - "addressInfo": { - "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", - "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", - "state": "UK", - "city": "London", - "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" - } - } - ], - "adjustmentType": "ENHANCEMENT" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "11", - "listOfConversions": [{ "conversions": "Page View" }, { "conversions": "Product Added" }], - "authStatus": "active" - } - } - }, - { - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 2 - } - ], - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "batched": false, - "statusCode": 400, - "error": "Message Type identify is not supported. Aborting message.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - } - }, - { - "metadata": [ - { - "secret": {}, - "jobId": 3 - } - ], - "destination": { - "Config": { - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", - "customerId": "1234567890", - "subAccount": true, - "loginCustomerId": "11", - "listOfConversions": [ - { - "conversions": "Page View" - }, - { - "conversions": "Product Added" - } - ], - "authStatus": "active" - } - }, - "batched": false, - "statusCode": 500, - "error": "OAuth - access token not found", - "statTags": { - "errorCategory": "platform", - "errorType": "oAuthSecret" - } - } -] diff --git a/test/__tests__/data/google_adwords_offline_conversions.json b/test/__tests__/data/google_adwords_offline_conversions.json deleted file mode 100644 index 36eab5ac22..0000000000 --- a/test/__tests__/data/google_adwords_offline_conversions.json +++ /dev/null @@ -1,4603 +0,0 @@ -[ - { - "description": "click - testing all the parameters mapping for click conversions and only defaultUserIdentifer is set", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "phone": "alex@example.com", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "9876merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionValue": "1", - "currency": "GBP", - "orderId": "PL-123QR" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Sign-up - click", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "9876merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionValue": "1", - "currency": "GBP", - "orderId": "PL-123QR" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionData": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel" - }, - "cartData": { - "merchantId": 9876, - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "quantity": 2, - "unitPrice": 50 - } - ] - }, - "userIdentifiers": [ - { - "userIdentifierSource": "FIRST_PARTY", - "hashedPhoneNumber": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110" - } - ], - "conversionEnvironment": "WEB", - "conversionDateTime": "2019-10-14 11:15:18+00:00", - "gclid": "gclid", - "conversionValue": 1, - "currencyCode": "GBP", - "orderId": "PL-123QR" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "click - testing all the parameters mapping for click conversions and only defaultUserIdentifer is set", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "timestamp": 1675692865495, - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "9876merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionValue": "1", - "currency": "GBP", - "orderId": "PL-123QR" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Sign-up - click", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "9876merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionValue": "1", - "currency": "GBP", - "orderId": "PL-123QR" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionData": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel" - }, - "cartData": { - "merchantId": 9876, - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "quantity": 2, - "unitPrice": 50 - } - ] - }, - "userIdentifiers": [ - { - "userIdentifierSource": "FIRST_PARTY", - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110" - } - ], - "conversionEnvironment": "WEB", - "conversionDateTime": "2023-02-06 14:14:25+00:00", - "gclid": "gclid", - "conversionValue": 1, - "currencyCode": "GBP", - "orderId": "PL-123QR" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "click - testing all the parameters mapping for click conversions with few edge cases - originalTimestamp and enums are none in config", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "sign up completed", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "type": "track", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "10", - "orderId": "PL-123QR", - "merchantId": "123123Mpowi", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "gclid": "gclid", - "conversionAction": "customer", - "conversionValue": "1", - "currency": "GBP", - "total": 555 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Sign-up - click", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "10", - "orderId": "PL-123QR", - "merchantId": "123123Mpowi", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "gclid": "gclid", - "conversionAction": "customer", - "conversionValue": "1", - "currency": "GBP", - "total": 555 - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionData": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel" - }, - "cartData": { - "merchantId": 123123, - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "quantity": 2, - "unitPrice": 50 - } - ] - }, - "userIdentifiers": [ - { - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110", - "userIdentifierSource": "THIRD_PARTY" - } - ], - "gclid": "gclid", - "conversionDateTime": "2019-10-14 11:15:18+00:00", - "conversionEnvironment": "WEB", - "conversionValue": 1, - "currencyCode": "GBP", - "orderId": "PL-123QR" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "call - testing all the parameter mapping for call conversions", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Product Searched", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "merchantId": "merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadCallConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "search", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "merchantId": "merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": 1, - "currencyCode": "GBP" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "OAuth - access token not found", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": null - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "metadata": { - "secret": null - }, - "statusCode": 500, - "error": "OAuth - access token not found", - "statTags": { - "destination": "google_adwords_offline_conversions", - "stage": "transform", - "scope": "exception" - } - } - }, - { - "description": "message type not present", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Promotion Clicked", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "Message type is not present. Aborting message.", - "statTags": { - "destination": "google_adwords_offline_conversions", - "stage": "transform", - "scope": "exception" - } - } - }, - { - "description": "event name is not present", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "Event name is not present", - "statTags": { - "destination": "google_adwords_offline_conversions", - "stage": "transform", - "scope": "exception" - } - } - }, - { - "description": "invalid event name i.e event name not provided in config", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "purchase", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "Event name 'purchase' is not present in the mapping provided in the dashboard.", - "statTags": { - "destination": "google_adwords_offline_conversions", - "stage": "transform", - "scope": "exception" - } - } - }, - { - "description": "click and call - passing all parameters for click and call conversions", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "download", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP", - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "phone", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Page view", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP", - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionData": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel" - }, - "cartData": { - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "quantity": 2, - "unitPrice": 50 - } - ] - }, - "userIdentifiers": [ - { - "userIdentifierSource": "FIRST_PARTY", - "hashedPhoneNumber": "04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd" - } - ], - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": 1, - "currencyCode": "GBP" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadCallConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Page view", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP", - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": 1, - "currencyCode": "GBP" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "click - passing just the minimum required parameters and check sub-account i.e (login-customer-id) request", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": {}, - "traits": { - "email": "alex@example.com" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": true, - "loginCustomerId": "861-785-9087", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "phone", - "": "phone", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "8617859087" - }, - "params": { - "event": "Sign-up - click", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionEnvironment": "WEB", - "userIdentifiers": [ - { - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110", - "userIdentifierSource": "THIRD_PARTY" - } - ] - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "call - passing just the minimum required parameter", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": {}, - "traits": {}, - "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 - } - }, - "event": "Product Searched", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadCallConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "search", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "call - take conversionDateTime from originalTimestamp and as email", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Product Searched", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2022-09-20T03:20:04.000Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "merchantId": "merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionValue": "1", - "currency": "GBP" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadCallConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "search", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "merchantId": "merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionValue": "1", - "currency": "GBP" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-09-20 03:20:04+00:00", - "conversionValue": 1, - "currencyCode": "GBP" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "click - do not hash user identifier (set to false)", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": {}, - "traits": { - "email": "alex@example.com" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "loginCustomerId": "", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": false, - "defaultUserIdentifier": "phone", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Sign-up - click", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionEnvironment": "WEB", - "userIdentifiers": [ - { - "userIdentifierSource": "THIRD_PARTY", - "hashedEmail": "alex@example.com" - } - ] - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "message type not present", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": {}, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": false, - "loginCustomerId": "", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": false, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "metadata": { - "secret": null - }, - "statusCode": 400, - "error": "Message type page not supported", - "statTags": { - "destination": "google_adwords_offline_conversions", - "stage": "transform", - "scope": "exception" - } - } - }, - { - "description": "check for subaccount required field i.e loginCustomerId", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": {}, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": true, - "loginCustomerId": "", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": false, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "metadata": { - "secret": null - }, - "statusCode": 400, - "error": "\"Login Customer ID\" is required as \"Sub Account\" is enabled", - "statTags": { - "destination": "google_adwords_offline_conversions", - "stage": "transform", - "scope": "exception" - } - } - }, - { - "description": "click - products parameters from the properties", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": {}, - "traits": { - "email": "alex@example.com" - }, - "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 - } - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "product_id": "123445", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": true, - "loginCustomerId": "861-785-9087", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Product Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Product Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "phone", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "8617859087" - }, - "params": { - "event": "Sign-up - click", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "product_id": "123445", - "quantity": 123 - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionEnvironment": "WEB", - "userIdentifiers": [ - { - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110", - "userIdentifierSource": "THIRD_PARTY" - } - ], - "cartData": { - "items": [ - { - "productId": "123445", - "quantity": 123 - } - ] - } - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "click - check for email or phone for user identifier", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": {}, - "traits": {}, - "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 - } - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "product_id": "123445", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": true, - "loginCustomerId": "861-785-9087", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Product Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Product Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "metadata": { - "secret": null - }, - "statusCode": 400, - "error": "Either of email or phone is required for user identifier", - "statTags": { - "destination": "google_adwords_offline_conversions", - "stage": "transform", - "scope": "exception" - } - } - }, - { - "description": "click - email or phone is not required if user identifier is not present", - "input": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": {}, - "traits": {}, - "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 - } - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "product_id": "123445", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "subAccount": true, - "loginCustomerId": "861-785-9087", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Product Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Product Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "none", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "8617859087" - }, - "params": { - "event": "Sign-up - click", - "customerId": "9625812972", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "product_id": "123445", - "quantity": 123 - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionEnvironment": "WEB", - "cartData": { - "items": [ - { - "productId": "123445", - "quantity": 123 - } - ] - } - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Store - using email as userIdentifier and validateOnly as false with originalTimestamp", - "input": { - "message": { - "channel": "web", - "context": { - "traits": { - "firstName": "John" - } - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "loyaltyFraction": 1, - "order_id": "order id", - "currency": "INR", - "revenue": "100", - "store_code": "store code", - "email": "alex@example.com", - "gclid": "gclid", - "product_id": "123445", - "custom_key": "CUSTOM_KEY", - "CUSTOM_KEY": "CUSTOM_VALUE", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "111-222-3333", - "subAccount": true, - "loginCustomerId": "login-customer-id", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Product Clicked", - "to": "store" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Product Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "phone", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "logincustomerid" - }, - "params": { - "customerId": "1112223333", - "event": "Sign-up - click" - }, - "body": { - "JSON": { - "addConversionPayload": { - "enable_partial_failure": false, - "enable_warnings": false, - "operations": { - "create": { - "transaction_attribute": { - "CUSTOM_KEY": "CUSTOM_VALUE", - "currency_code": "INR", - "order_id": "order id", - "store_attribute": { - "store_code": "store code" - }, - "transaction_amount_micros": "100000000", - "transaction_date_time": "2019-10-14 11:15:18+00:00" - }, - "userIdentifiers": [ - { - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110" - } - ] - } - }, - "validate_only": false - }, - "createJobPayload": { - "job": { - "storeSalesMetadata": { - "custom_key": "CUSTOM_KEY", - "loyaltyFraction": 1, - "transaction_upload_fraction": "1" - }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "event": "1112223333", - "executeJobPayload": { - "validate_only": false - }, - "isStoreConversion": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Store - No transaction amount field is present", - "input": { - "message": { - "channel": "web", - "context": { - "traits": { - "firstName": "John" - } - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "loyaltyFraction": 1, - "order_id": "order id", - "currency": "INR", - "store_code": "store code", - "userIdentifierSource": "FIRST_PARTY", - "email": "alex@example.com", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "product_id": "123445", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "111-222-3333", - "subAccount": true, - "loginCustomerId": "login-customer-id", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Product Clicked", - "to": "store" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Product Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "Missing required value from [\"properties.conversionValue\",\"properties.total\",\"properties.value\",\"properties.revenue\"]", - "statTags": { - "destination": "google_adwords_offline_conversions", - "stage": "transform", - "scope": "exception" - } - } - }, - { - "description": "Store - using address as userIdentifier when deafultUserIdentifier is not present ", - "input": { - "message": { - "channel": "web", - "context": { - "traits": { - "firstName": "John" - } - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "loyaltyFraction": 1, - "item_id": "item id", - "merchant_id": "merchant id", - "currency": "INR", - "revenue": "100", - "store_code": "store code", - "gclid": "gclid", - "product_id": "123445", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "isCustomerAllowed": true, - "customerId": "111-222-3333", - "subAccount": true, - "loginCustomerId": "login-customer-id", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Product Clicked", - "to": "store" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Product Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "logincustomerid" - }, - "params": { - "customerId": "1112223333", - "event": "Sign-up - click" - }, - "body": { - "JSON": { - "addConversionPayload": { - "enable_partial_failure": false, - "enable_warnings": false, - "operations": { - "create": { - "transaction_attribute": { - "currency_code": "INR", - "store_attribute": { - "store_code": "store code" - }, - "transaction_amount_micros": "100000000", - "transaction_date_time": "2019-10-14 11:15:18+00:00" - }, - "userIdentifiers": [ - { - "address_info": { - "hashed_first_name": "96d9632f363564cc3032521409cf22a852f2032eec099ed5967c0d000cec607a" - } - } - ] - } - }, - "validate_only": false - }, - "createJobPayload": { - "job": { - "storeSalesMetadata": { - "loyaltyFraction": 1, - "transaction_upload_fraction": "1" - }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "event": "1112223333", - "executeJobPayload": { - "validate_only": false - }, - "isStoreConversion": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Store - using email as userIdentifier but mapping address due to unavailability and loyaltyFraction not given and hashIdentifier as false", - "input": { - "message": { - "channel": "web", - "context": { - "traits": { - "firstName": "first_name", - "streetAddress": "street_address", - "state": "England" - } - }, - "event": "Product Clicked", - "type": "track", - "timestamp": 1675692865495, - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "item_id": "item id", - "merchant_id": "merchant id", - "currency": "INR", - "revenue": "100", - "store_code": "store code", - "gclid": "gclid", - "product_id": "123445", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "isCustomerAllowed": false, - "customerId": "111-222-3333", - "subAccount": true, - "loginCustomerId": "login-customer-id", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Product Clicked", - "to": "store" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Product Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "conversionEnvironment": "WEB", - "hashUserIdentifier": false, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "logincustomerid" - }, - "params": { - "customerId": "1112223333", - "event": "Sign-up - click" - }, - "body": { - "JSON": { - "addConversionPayload": { - "enable_partial_failure": false, - "enable_warnings": false, - "operations": { - "create": { - "transaction_attribute": { - "currency_code": "INR", - "store_attribute": { - "store_code": "store code" - }, - "transaction_amount_micros": "100000000", - "transaction_date_time": "2023-02-06 14:14:25+00:00" - }, - "userIdentifiers": [ - { - "address_info": { - "hashed_first_name": "first_name", - "hashed_street_address": "street_address", - "state": "England" - } - } - ] - } - }, - "validate_only": false - }, - "createJobPayload": { - "job": { - "storeSalesMetadata": { - "loyaltyFraction": "1", - "transaction_upload_fraction": "1" - }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "event": "1112223333", - "executeJobPayload": { - "validate_only": false - }, - "isStoreConversion": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Store - using Phone as userIdentifier and loyaltyFraction not given with timestamp in String format", - "input": { - "message": { - "channel": "web", - "context": { - "traits": { - "firstName": "John", - "lastName": "Gomes", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK", - "state": "England" - } - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "timestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "item_id": "item id", - "merchant_id": "merchant id", - "currency": "INR", - "revenue": "100", - "store_code": "store code", - "phone": "+1-202-555-0146", - "gclid": "gclid", - "product_id": "123445", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "isCustomerAllowed": false, - "customerId": "111-222-3333", - "subAccount": true, - "loginCustomerId": "login-customer-id", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Product Clicked", - "to": "store" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Product Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "phone", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "logincustomerid" - }, - "params": { - "customerId": "1112223333", - "event": "Sign-up - click" - }, - "body": { - "JSON": { - "addConversionPayload": { - "enable_partial_failure": false, - "enable_warnings": false, - "operations": { - "create": { - "transaction_attribute": { - "currency_code": "INR", - "store_attribute": { - "store_code": "store code" - }, - "transaction_amount_micros": "100000000", - "transaction_date_time": "2019-10-14 11:15:18+00:00" - }, - "userIdentifiers": [ - { - "hashedPhoneNumber": "04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd" - } - ] - } - }, - "validate_only": false - }, - "createJobPayload": { - "job": { - "storeSalesMetadata": { - "loyaltyFraction": "1", - "transaction_upload_fraction": "1" - }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "event": "1112223333", - "executeJobPayload": { - "validate_only": false - }, - "isStoreConversion": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Store - using Phone as userIdentifier", - "input": { - "message": { - "channel": "web", - "context": { - "traits": { - "firstName": "John", - "lastName": "Gomes", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK", - "state": "England" - } - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "item_id": "item id", - "merchant_id": "merchant id", - "currency": "INR", - "revenue": "100", - "store_code": "store code", - "phone": "+1-202-555-0146", - "gclid": "gclid", - "product_id": "123445", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "isCustomerAllowed": false, - "customerId": "111-222-3333", - "subAccount": true, - "loginCustomerId": "login-customer-id", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Product Clicked", - "to": "store" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Product Clicked", - "to": "Sign-up - click" - } - ], - "hashUserIdentifier": true, - "defaultUserIdentifier": "phone", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNkgr4t3u4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "logincustomerid" - }, - "params": { - "customerId": "1112223333", - "event": "Sign-up - click" - }, - "body": { - "JSON": { - "addConversionPayload": { - "enable_partial_failure": false, - "enable_warnings": false, - "operations": { - "create": { - "transaction_attribute": { - "currency_code": "INR", - "store_attribute": { - "store_code": "store code" - }, - "transaction_amount_micros": "100000000", - "transaction_date_time": "2019-10-14 11:15:18+00:00" - }, - "userIdentifiers": [ - { - "hashedPhoneNumber": "04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd" - } - ] - } - }, - "validate_only": false - }, - "createJobPayload": { - "job": { - "storeSalesMetadata": { - "loyaltyFraction": "1", - "transaction_upload_fraction": "1" - }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "event": "1112223333", - "executeJobPayload": { - "validate_only": false - }, - "isStoreConversion": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Store - using email as userIdentifier when phone is defaultUserIdentifer with transaction_date_time", - "input": { - "message": { - "channel": "web", - "context": { - "traits": { - "email": "alex@example.com" - } - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "item_id": "item id", - "merchant_id": "merchant id", - "currency": "INR", - "revenue": "100", - "store_code": "store code", - "gclid": "gclid", - "transaction_date_time": "2022-01-01 12:32:45-08:00Z", - "product_id": "123445", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "isCustomerAllowed": false, - "customerId": "111-222-3333", - "subAccount": true, - "loginCustomerId": "login-customer-id", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Product Clicked", - "to": "store" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Product Clicked", - "to": "Sign-up - click" - } - ], - "hashUserIdentifier": true, - "defaultUserIdentifier": "phone", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNkgr4t3u4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "logincustomerid" - }, - "params": { - "customerId": "1112223333", - "event": "Sign-up - click" - }, - "body": { - "JSON": { - "addConversionPayload": { - "enable_partial_failure": false, - "enable_warnings": false, - "operations": { - "create": { - "transaction_attribute": { - "currency_code": "INR", - "store_attribute": { - "store_code": "store code" - }, - "transaction_amount_micros": "100000000", - "transaction_date_time": "2022-01-01 12:32:45+00:00" - }, - "userIdentifiers": [ - { - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110" - } - ] - } - }, - "validate_only": false - }, - "createJobPayload": { - "job": { - "storeSalesMetadata": { - "loyaltyFraction": "1", - "transaction_upload_fraction": "1" - }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "event": "1112223333", - "executeJobPayload": { - "validate_only": false - }, - "isStoreConversion": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Store - No userIdentifier is given in payload and phone is defaultUserIdentifer with conversionDateTime", - "input": { - "message": { - "channel": "web", - "context": { - "traits": {} - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "item_id": "item id", - "merchant_id": "merchant id", - "currency": "INR", - "revenue": "100", - "store_code": "store code", - "gclid": "gclid", - "conversionDateTime": "2019-10-14T11:15:18.299Z", - "product_id": "123445", - "quantity": 123 - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "isCustomerAllowed": false, - "customerId": "111-222-3333", - "subAccount": true, - "loginCustomerId": "login-customer-id", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Product Clicked", - "to": "store" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Product Clicked", - "to": "Sign-up - click" - } - ], - "hashUserIdentifier": true, - "defaultUserIdentifier": "phone", - "validateOnly": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNkgr4t3u4fGYKkRK" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "logincustomerid" - }, - "params": { - "customerId": "1112223333", - "event": "Sign-up - click" - }, - "body": { - "JSON": { - "addConversionPayload": { - "enable_partial_failure": false, - "enable_warnings": false, - "operations": { - "create": { - "transaction_attribute": { - "currency_code": "INR", - "store_attribute": { - "store_code": "store code" - }, - "transaction_amount_micros": "100000000", - "transaction_date_time": "2019-10-14 11:15:18+00:00" - }, - "userIdentifiers": [{}] - } - }, - "validate_only": false - }, - "createJobPayload": { - "job": { - "storeSalesMetadata": { - "loyaltyFraction": "1", - "transaction_upload_fraction": "1" - }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "event": "1112223333", - "executeJobPayload": { - "validate_only": false - }, - "isStoreConversion": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - } -] diff --git a/test/__tests__/data/google_adwords_offline_conversions_proxy_input.json b/test/__tests__/data/google_adwords_offline_conversions_proxy_input.json deleted file mode 100644 index 5a9f4e4126..0000000000 --- a/test/__tests__/data/google_adwords_offline_conversions_proxy_input.json +++ /dev/null @@ -1,518 +0,0 @@ -[ - { - "request": { - "body": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/11122233331/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "logincustomerid" - }, - "params": { - "customerId": "1112223333", - "event": "Sign-up - click" - }, - "body": { - "JSON": { - "addConversionPayload": { - "enable_partial_failure": false, - "enable_warnings": false, - "operations": [ - { - "create": { - "transaction_attribute": { - "CUSTOM_KEY": "CUSTOM_VALUE", - "currency_code": "INR", - "order_id": "order id", - "store_attribute": { - "store_code": "store code" - }, - "transaction_amount_micros": "100000000", - "transaction_date_time": "2019-10-14 11:15:18+00:00" - }, - "userIdentifiers": [ - { - "hashedEmail": "6db61e6dcbcf2390e4a46af26f26a133a3bee45021422fc7ae86e9136f14110", - "userIdentifierSource": "UNSPECIFIED" - } - ] - } - } - ], - "validate_only": false - }, - "createJobPayload": { - "job": { - "storeSalesMetadata": { - "custom_key": "CUSTOM_KEY", - "loyaltyFraction": 1, - "transaction_upload_fraction": "1" - }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "event": "1112223333", - "executeJobPayload": { - "validate_only": false - }, - "isStoreConversion": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } - }, - { - "request": { - "body": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "logincustomerid" - }, - "params": { - "customerId": "1112223333", - "event": "Sign-up - click" - }, - "body": { - "JSON": { - "addConversionPayload": { - "enable_partial_failure": false, - "enable_warnings": false, - "operations": [ - { - "create": { - "transaction_attribute": { - "CUSTOM_KEY": "CUSTOM_VALUE", - "currency_code": "INR", - "order_id": "order id", - "store_attribute": { - "store_code": "store code" - }, - "transaction_amount_micros": "100000000", - "transaction_date_time": "2019-10-14 11:15:18+00:00" - }, - "userIdentifiers": [ - { - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110", - "userIdentifierSource": "UNSPECIFIED" - } - ] - } - } - ], - "validate_only": false - }, - "createJobPayload": { - "job": { - "storeSalesMetadata": { - "custom_key": "CUSTOM_KEY", - "loyaltyFraction": 1, - "transaction_upload_fraction": "1" - }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "event": "1112223333", - "executeJobPayload": { - "validate_only": false - }, - "isStoreConversion": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } - }, - { - "request": { - "body": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/customerid/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011", - "login-customer-id": "logincustomerid" - }, - "params": { - "customerId": "1112223333", - "event": "Sign-up - click" - }, - "body": { - "JSON": { - "addConversionPayload": { - "enable_partial_failure": false, - "enable_warnings": false, - "operations": [ - { - "create": { - "transaction_attribute": { - "CUSTOM_KEY": "CUSTOM_VALUE", - "currency_code": "INR", - "order_id": "order id", - "store_attribute": { - "store_code": "store code" - }, - "transaction_amount_micros": "100000000", - "transaction_date_time": "2019-10-14 11:15:18+00:00" - }, - "userIdentifiers": [ - { - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110", - "userIdentifierSource": "UNSPECIFIED" - } - ] - } - } - ], - "validate_only": false - }, - "createJobPayload": { - "job": { - "storeSalesMetadata": { - "custom_key": "CUSTOM_KEY", - "loyaltyFraction": 1, - "transaction_upload_fraction": "1" - }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "event": "1112223333", - "executeJobPayload": { - "validate_only": false - }, - "isStoreConversion": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } - }, - { - "request": { - "body": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Sign-up - click", - "customerId": "1234567890", - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "9876merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP", - "orderId": "PL-123QR" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionData": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel" - }, - "cartData": { - "merchantId": 9876, - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "quantity": 2, - "unitPrice": 50 - } - ] - }, - "userIdentifiers": [ - { - "userIdentifierSource": "FIRST_PARTY", - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110" - } - ], - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": 1, - "currencyCode": "GBP", - "orderId": "PL-123QR" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } - }, - { - "request": { - "body": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567891:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Sign-up - click", - "customerId": "1234567891", - "customVariables": [ - { - "from": "Value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "Value": "value", - "merchantId": "9876merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP", - "orderId": "PL-123QR" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionData": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel" - }, - "cartData": { - "merchantId": 9876, - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "quantity": 2, - "unitPrice": 50 - } - ] - }, - "userIdentifiers": [ - { - "userIdentifierSource": "FIRST_PARTY", - "hashedPhoneNumber": "04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd" - } - ], - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": 1, - "currencyCode": "GBP", - "orderId": "PL-123QR" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } - }, - { - "request": { - "body": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/1234567891:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Sign-up - click", - "customerId": "1234567891", - "customVariables": [], - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "9876merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP", - "orderId": "PL-123QR" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionData": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel" - }, - "cartData": { - "merchantId": 9876, - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "items": [ - { - "productId": "507f1f77bcf86cd799439011", - "quantity": 2, - "unitPrice": 50 - } - ] - }, - "userIdentifiers": [ - { - "userIdentifierSource": "FIRST_PARTY", - "hashedPhoneNumber": "04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd" - } - ], - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": 1, - "currencyCode": "GBP", - "orderId": "PL-123QR" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } - } -] diff --git a/test/__tests__/data/google_adwords_offline_conversions_proxy_output.json b/test/__tests__/data/google_adwords_offline_conversions_proxy_output.json deleted file mode 100644 index e6d298956f..0000000000 --- a/test/__tests__/data/google_adwords_offline_conversions_proxy_output.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "output": { - "status": 400, - "message": "[Google Ads Offline Conversions]:: Request contains an invalid argument. during google_ads_offline_store_conversions Add Conversion", - "destinationResponse": { - "error": { - "code": 400, - "details": [ - { - "@type": "type.googleapis.com/google.ads.googleads.v14.errors.GoogleAdsFailure", - "errors": [ - { - "errorCode": { - "offlineUserDataJobError": "INVALID_SHA256_FORMAT" - }, - "message": "The SHA256 encoded value is malformed.", - "location": { - "fieldPathElements": [ - { - "fieldName": "operations", - "index": 0 - }, - { - "fieldName": "create" - }, - { - "fieldName": "user_identifiers", - "index": 0 - }, - { - "fieldName": "hashed_email" - } - ] - } - } - ], - "requestId": "68697987" - } - ], - "message": "Request contains an invalid argument.", - "status": "INVALID_ARGUMENT" - } - }, - "statTags": { - "destType": "GOOGLE_ADWORDS_OFFLINE_CONVERSIONS", - "errorCategory": "network", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 200, - "message": "[Google Ads Offline Conversions Response Handler] - Request processed successfully", - "destinationResponse": { - "response": { - "name": "customers/111-222-3333/operations/abcd=" - }, - "status": 200 - } - } - }, - { - "output": { - "status": 401, - "message": "[Google Ads Offline Conversions]:: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project. during google_ads_offline_store_conversions Job Creation", - "authErrorCategory": "REFRESH_TOKEN", - "destinationResponse": { - "error": { - "code": 401, - "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", - "status": "UNAUTHENTICATED" - } - }, - "statTags": { - "destType": "GOOGLE_ADWORDS_OFFLINE_CONVERSIONS", - "errorCategory": "network", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 401, - "message": "[Google Ads Offline Conversions]:: [{\"error\":{\"code\":401,\"message\":\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\",\"status\":\"UNAUTHENTICATED\"}}] during google_ads_offline_conversions response transformation", - "authErrorCategory": "REFRESH_TOKEN", - "destinationResponse": [ - { - "error": { - "code": 401, - "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", - "status": "UNAUTHENTICATED" - } - } - ], - "statTags": { - "destType": "GOOGLE_ADWORDS_OFFLINE_CONVERSIONS", - "errorCategory": "network", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 200, - "message": "[Google Ads Offline Conversions Response Handler] - Request processed successfully", - "destinationResponse": { - "response": [ - { - "adjustmentType": "ENHANCEMENT", - "conversionAction": "customers/1234567891/conversionActions/874224905", - "adjustmentDateTime": "2021-01-01 12:32:45-08:00", - "gclidDateTimePair": { - "gclid": "1234", - "conversionDateTime": "2021-01-01 12:32:45-08:00" - }, - "orderId": "12345" - } - ], - "status": 200 - } - } - }, - { - "output": { - "destinationResponse": { - "response": [ - { - "adjustmentDateTime": "2021-01-01 12:32:45-08:00", - "adjustmentType": "ENHANCEMENT", - "conversionAction": "customers/1234567891/conversionActions/874224905", - "gclidDateTimePair": { - "conversionDateTime": "2021-01-01 12:32:45-08:00", - "gclid": "1234" - }, - "orderId": "12345" - } - ], - "status": 200 - }, - "message": "[Google Ads Offline Conversions Response Handler] - Request processed successfully", - "status": 200 - } - } -] diff --git a/test/__tests__/data/google_adwords_offline_conversions_router_input.json b/test/__tests__/data/google_adwords_offline_conversions_router_input.json deleted file mode 100644 index df5dd5c06b..0000000000 --- a/test/__tests__/data/google_adwords_offline_conversions_router_input.json +++ /dev/null @@ -1,542 +0,0 @@ -[ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Promotion Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "9876merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "event": "Product Searched", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "merchantId": "merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "customerId": "962-581-2972", - "eventsToOfflineConversionsTypeMapping": [ - { - "from": "Sign up completed", - "to": "click" - }, - { - "from": "Download", - "to": "call" - }, - { - "from": "Promotion Clicked", - "to": "click" - }, - { - "from": "Product Searched", - "to": "call" - } - ], - "eventsToConversionsNamesMapping": [ - { - "from": "Sign up completed", - "to": "Sign-up - click" - }, - { - "from": "Download", - "to": "Page view" - }, - { - "from": "Promotion Clicked", - "to": "Sign-up - click" - }, - { - "from": "Product Searched", - "to": "search" - } - ], - "customVariables": [ - { - "from": "value", - "to": "revenue" - }, - { - "from": "total", - "to": "cost" - } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "phone", - "validateOnly": false, - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "firstName": "John" - } - }, - "event": "Product Clicked", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "loyaltyFraction": 1, - "order_id": "order id", - "currency": "INR", - "revenue": "100", - "store_code": "store code", - "email": "alex@example.com", - "gclid": "gclid", - "product_id": "123445", - "quantity": 123, - "callerId": "1234", - "callStartDateTime": "2019-10-14T11:15:18.299Z" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 1 - }, - "destination": { - "Config": { - "rudderAccountId": "2Hsy2iFyoG5VLDd9wQcggHLMYFA", - "customerId": "769-372-9833", - "subAccount": false, - "UserIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "none", - "defaultUserIdentifier": "email", - "hashUserIdentifier": true, - "validateOnly": true, - "eventsToOfflineConversionsTypeMapping": [ - { "from": "Data Reading Guide", "to": "click" }, - { "from": "Order Completed", "to": "store" }, - { "from": "Sign-up - click", "to": "click" }, - { "from": "Outbound click (rudderstack.com)", "to": "click" }, - { "from": "Page view", "to": "click" }, - { "from": "download", "to": "click" }, - { "from": "Product Clicked", "to": "store" }, - { "from": "Order Completed", "to": "call" } - ], - "loginCustomerId": "4219454086", - "eventsToConversionsNamesMapping": [ - { "from": "Data Reading Guide", "to": "Data Reading Guide" }, - { "from": "Order Completed", "to": "Order Completed" }, - { "from": "Sign-up - click", "to": "Sign-up - click" }, - { "from": "Outbound click (rudderstack.com)", "to": "Outbound click (rudderstack.com)" }, - { "from": "Page view", "to": "Page view" }, - { "from": "Sign up completed", "to": "Sign-up - click" }, - { "from": "download", "to": "Page view" }, - { "from": "Product Clicked", "to": "Store sales" } - ], - "authStatus": "active", - "oneTrustCookieCategories": [], - "customVariables": [{ "from": "", "to": "" }] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "firstName": "John" - } - }, - "event": "Order Completed", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "loyaltyFraction": 1, - "order_id": "order id", - "currency": "INR", - "revenue": "100", - "store_code": "store code2", - "email": "alex@example.com", - "gclid": "gclid", - "product_id": "123445", - "quantity": 123, - "callerId": "1234", - "callStartDateTime": "2019-10-14T11:15:18.299Z" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 2 - }, - "destination": { - "Config": { - "rudderAccountId": "2Hsy2iFyoG5VLDd9wQcggHLMYFA", - "customerId": "769-372-9833", - "subAccount": false, - "UserIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "none", - "defaultUserIdentifier": "email", - "hashUserIdentifier": true, - "validateOnly": true, - "eventsToOfflineConversionsTypeMapping": [ - { "from": "Data Reading Guide", "to": "click" }, - { "from": "Order Completed", "to": "store" }, - { "from": "Sign-up - click", "to": "click" }, - { "from": "Outbound click (rudderstack.com)", "to": "click" }, - { "from": "Page view", "to": "click" }, - { "from": "download", "to": "click" }, - { "from": "Product Clicked", "to": "store" }, - { "from": "Order Completed", "to": "call" } - ], - "loginCustomerId": "4219454086", - "eventsToConversionsNamesMapping": [ - { "from": "Data Reading Guide", "to": "Data Reading Guide" }, - { "from": "Order Completed", "to": "Order Completed" }, - { "from": "Sign-up - click", "to": "Sign-up - click" }, - { "from": "Outbound click (rudderstack.com)", "to": "Outbound click (rudderstack.com)" }, - { "from": "Page view", "to": "Page view" }, - { "from": "Sign up completed", "to": "Sign-up - click" }, - { "from": "download", "to": "Page view" }, - { "from": "Product Clicked", "to": "Store sales" } - ], - "authStatus": "active", - "oneTrustCookieCategories": [], - "customVariables": [{ "from": "", "to": "" }] - } - } - }, - { - "message": { - "channel": "web", - "context": { - "traits": { - "firstName": "John" - } - }, - "event": "Order Completed", - "type": "track", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "loyaltyFraction": 1, - "order_id": "order id", - "currency": "INR", - "revenue": "100", - "store_code": "store code2", - "email": "alex@example.com", - "gclid": "gclid", - "product_id": "123445", - "quantity": 123, - "callerId": "1234", - "callStartDateTime": "2019-10-14T11:15:18.299Z" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 3 - }, - "destination": { - "Config": { - "rudderAccountId": "2Hsy2iFyoG5VLDd9wQcggHLMYFA", - "customerId": "769-372-9833", - "subAccount": false, - "UserIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "none", - "defaultUserIdentifier": "email", - "hashUserIdentifier": true, - "validateOnly": true, - "eventsToOfflineConversionsTypeMapping": [ - { "from": "Data Reading Guide", "to": "click" }, - { "from": "Sign-up - click", "to": "click" }, - { "from": "Outbound click (rudderstack.com)", "to": "click" }, - { "from": "Page view", "to": "click" }, - { "from": "download", "to": "click" }, - { "from": "Product Clicked", "to": "store" }, - { "from": "Order Completed", "to": "call" } - ], - "loginCustomerId": "4219454086", - "eventsToConversionsNamesMapping": [ - { "from": "Data Reading Guide", "to": "Data Reading Guide" }, - { "from": "Sign-up - click", "to": "Sign-up - click" }, - { "from": "Outbound click (rudderstack.com)", "to": "Outbound click (rudderstack.com)" }, - { "from": "Page view", "to": "Page view" }, - { "from": "Sign up completed", "to": "Sign-up - click" }, - { "from": "download", "to": "Page view" }, - { "from": "Product Clicked", "to": "Store sales" } - ], - "authStatus": "active", - "oneTrustCookieCategories": [], - "customVariables": [{ "from": "", "to": "" }] - } - } - } -] diff --git a/test/__tests__/data/google_adwords_offline_conversions_router_output.json b/test/__tests__/data/google_adwords_offline_conversions_router_output.json deleted file mode 100644 index 2424e51002..0000000000 --- a/test/__tests__/data/google_adwords_offline_conversions_router_output.json +++ /dev/null @@ -1,512 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { "event": "Store sales", "customerId": "7693729833" }, - "body": { - "JSON": { - "event": "7693729833", - "isStoreConversion": true, - "createJobPayload": { - "job": { - "storeSalesMetadata": { "loyaltyFraction": 1, "transaction_upload_fraction": "1" }, - "type": "STORE_SALES_UPLOAD_FIRST_PARTY" - } - }, - "addConversionPayload": { - "operations": [ - { - "create": { - "transaction_attribute": { - "store_attribute": { "store_code": "store code" }, - "transaction_amount_micros": "100000000", - "order_id": "order id", - "currency_code": "INR", - "transaction_date_time": "2019-10-14 11:15:18+00:00" - }, - "userIdentifiers": [ - { - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110" - } - ] - } - }, - { - "create": { - "transaction_attribute": { - "store_attribute": { "store_code": "store code2" }, - "transaction_amount_micros": "100000000", - "order_id": "order id", - "currency_code": "INR", - "transaction_date_time": "2019-10-14 11:15:18+00:00" - }, - "userIdentifiers": [ - { - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110" - } - ] - } - } - ], - "enable_partial_failure": false, - "enable_warnings": false, - "validate_only": true - }, - "executeJobPayload": { "validate_only": true } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 1 - }, - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 2 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "rudderAccountId": "2Hsy2iFyoG5VLDd9wQcggHLMYFA", - "customerId": "769-372-9833", - "subAccount": false, - "UserIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "none", - "defaultUserIdentifier": "email", - "hashUserIdentifier": true, - "validateOnly": true, - "eventsToOfflineConversionsTypeMapping": [ - { "from": "Data Reading Guide", "to": "click" }, - { "from": "Order Completed", "to": "store" }, - { "from": "Sign-up - click", "to": "click" }, - { "from": "Outbound click (rudderstack.com)", "to": "click" }, - { "from": "Page view", "to": "click" }, - { "from": "download", "to": "click" }, - { "from": "Product Clicked", "to": "store" }, - { "from": "Order Completed", "to": "call" } - ], - "loginCustomerId": "4219454086", - "eventsToConversionsNamesMapping": [ - { "from": "Data Reading Guide", "to": "Data Reading Guide" }, - { "from": "Order Completed", "to": "Order Completed" }, - { "from": "Sign-up - click", "to": "Sign-up - click" }, - { "from": "Outbound click (rudderstack.com)", "to": "Outbound click (rudderstack.com)" }, - { "from": "Page view", "to": "Page view" }, - { "from": "Sign up completed", "to": "Sign-up - click" }, - { "from": "download", "to": "Page view" }, - { "from": "Product Clicked", "to": "Store sales" } - ], - "authStatus": "active", - "oneTrustCookieCategories": [], - "customVariables": [{ "from": "", "to": "" }] - } - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Sign-up - click", - "customerId": "9625812972", - "customVariables": [ - { "from": "value", "to": "revenue" }, - { "from": "total", "to": "cost" } - ], - "properties": { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "merchantId": "9876merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "gbraid": "gbraid", - "wbraid": "wbraid", - "externalAttributionData": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel" - }, - "cartData": { - "merchantId": 9876, - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "items": [ - { "productId": "507f1f77bcf86cd799439011", "quantity": 2, "unitPrice": 50 } - ] - }, - "userIdentifiers": [ - { - "userIdentifierSource": "FIRST_PARTY", - "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110" - } - ], - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": 1, - "currencyCode": "GBP" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "customerId": "962-581-2972", - "eventsToOfflineConversionsTypeMapping": [ - { "from": "Sign up completed", "to": "click" }, - { "from": "Download", "to": "call" }, - { "from": "Promotion Clicked", "to": "click" }, - { "from": "Product Searched", "to": "call" } - ], - "eventsToConversionsNamesMapping": [ - { "from": "Sign up completed", "to": "Sign-up - click" }, - { "from": "Download", "to": "Page view" }, - { "from": "Promotion Clicked", "to": "Sign-up - click" }, - { "from": "Product Searched", "to": "search" } - ], - "customVariables": [ - { "from": "value", "to": "revenue" }, - { "from": "total", "to": "cost" } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "email", - "validateOnly": false, - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC" - } - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/9625812972:uploadCallConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "search", - "customerId": "9625812972", - "customVariables": [ - { "from": "value", "to": "revenue" }, - { "from": "total", "to": "cost" } - ], - "properties": { - "externalAttributionCredit": 10, - "externalAttributionModel": "externalAttributionModel", - "merchantId": "merchantId", - "feedCountryCode": "feedCountryCode", - "feedLanguageCode": "feedLanguageCode", - "localTransactionCost": 20, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "quantity": "2", - "price": "50", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "position": "1", - "category": "cars", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ], - "userIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "WEB", - "gclid": "gclid", - "conversionCustomVariable": "conversionCustomVariable", - "value": "value", - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": "1", - "currency": "GBP" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "callerId": "callerId", - "callStartDateTime": "2022-08-28 15:01:30+05:30", - "conversionDateTime": "2022-01-01 12:32:45-08:00", - "conversionValue": 1, - "currencyCode": "GBP" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "customerId": "962-581-2972", - "eventsToOfflineConversionsTypeMapping": [ - { "from": "Sign up completed", "to": "click" }, - { "from": "Download", "to": "call" }, - { "from": "Promotion Clicked", "to": "click" }, - { "from": "Product Searched", "to": "call" } - ], - "eventsToConversionsNamesMapping": [ - { "from": "Sign up completed", "to": "Sign-up - click" }, - { "from": "Download", "to": "Page view" }, - { "from": "Promotion Clicked", "to": "Sign-up - click" }, - { "from": "Product Searched", "to": "search" } - ], - "customVariables": [ - { "from": "value", "to": "revenue" }, - { "from": "total", "to": "cost" } - ], - "UserIdentifierSource": "THIRD_PARTY", - "conversionEnvironment": "WEB", - "hashUserIdentifier": true, - "defaultUserIdentifier": "phone", - "validateOnly": false, - "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC" - } - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833:uploadCallConversions", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl91011" - }, - "params": { - "event": "Order Completed", - "customerId": "7693729833", - "customVariables": [{ "from": "", "to": "" }], - "properties": { - "loyaltyFraction": 1, - "order_id": "order id", - "currency": "INR", - "revenue": "100", - "store_code": "store code2", - "email": "alex@example.com", - "gclid": "gclid", - "product_id": "123445", - "quantity": 123, - "callerId": "1234", - "callStartDateTime": "2019-10-14T11:15:18.299Z" - } - }, - "body": { - "JSON": { - "conversions": [ - { - "callerId": "1234", - "callStartDateTime": "2019-10-14T11:15:18.299Z", - "conversionDateTime": "2019-10-14 11:15:18+00:00", - "conversionValue": 100, - "currencyCode": "INR" - } - ], - "partialFailure": true - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "rudderAccountId": "2Hsy2iFyoG5VLDd9wQcggHLMYFA", - "customerId": "769-372-9833", - "subAccount": false, - "UserIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "none", - "defaultUserIdentifier": "email", - "hashUserIdentifier": true, - "validateOnly": true, - "eventsToOfflineConversionsTypeMapping": [ - { "from": "Data Reading Guide", "to": "click" }, - { "from": "Order Completed", "to": "store" }, - { "from": "Sign-up - click", "to": "click" }, - { "from": "Outbound click (rudderstack.com)", "to": "click" }, - { "from": "Page view", "to": "click" }, - { "from": "download", "to": "click" }, - { "from": "Product Clicked", "to": "store" }, - { "from": "Order Completed", "to": "call" } - ], - "loginCustomerId": "4219454086", - "eventsToConversionsNamesMapping": [ - { "from": "Data Reading Guide", "to": "Data Reading Guide" }, - { "from": "Order Completed", "to": "Order Completed" }, - { "from": "Sign-up - click", "to": "Sign-up - click" }, - { "from": "Outbound click (rudderstack.com)", "to": "Outbound click (rudderstack.com)" }, - { "from": "Page view", "to": "Page view" }, - { "from": "Sign up completed", "to": "Sign-up - click" }, - { "from": "download", "to": "Page view" }, - { "from": "Product Clicked", "to": "Store sales" } - ], - "authStatus": "active", - "oneTrustCookieCategories": [], - "customVariables": [{ "from": "", "to": "" }] - } - } - }, - { - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - }, - "jobId": 3 - } - ], - "batched": false, - "statusCode": 400, - "error": "Event name 'order completed' is not present in the mapping provided in the dashboard.", - "statTags": { "errorCategory": "dataValidation", "errorType": "configuration" }, - "destination": { - "Config": { - "rudderAccountId": "2Hsy2iFyoG5VLDd9wQcggHLMYFA", - "customerId": "769-372-9833", - "subAccount": false, - "UserIdentifierSource": "FIRST_PARTY", - "conversionEnvironment": "none", - "defaultUserIdentifier": "email", - "hashUserIdentifier": true, - "validateOnly": true, - "eventsToOfflineConversionsTypeMapping": [ - { "from": "Data Reading Guide", "to": "click" }, - { "from": "Sign-up - click", "to": "click" }, - { "from": "Outbound click (rudderstack.com)", "to": "click" }, - { "from": "Page view", "to": "click" }, - { "from": "download", "to": "click" }, - { "from": "Product Clicked", "to": "store" }, - { "from": "Order Completed", "to": "call" } - ], - "loginCustomerId": "4219454086", - "eventsToConversionsNamesMapping": [ - { "from": "Data Reading Guide", "to": "Data Reading Guide" }, - { "from": "Sign-up - click", "to": "Sign-up - click" }, - { "from": "Outbound click (rudderstack.com)", "to": "Outbound click (rudderstack.com)" }, - { "from": "Page view", "to": "Page view" }, - { "from": "Sign up completed", "to": "Sign-up - click" }, - { "from": "download", "to": "Page view" }, - { "from": "Product Clicked", "to": "Store sales" } - ], - "authStatus": "active", - "oneTrustCookieCategories": [], - "customVariables": [{ "from": "", "to": "" }] - } - } - } -] diff --git a/test/__tests__/data/google_adwords_remarketing_lists_input.json b/test/__tests__/data/google_adwords_remarketing_lists_input.json deleted file mode 100644 index 4b8666fa27..0000000000 --- a/test/__tests__/data/google_adwords_remarketing_lists_input.json +++ /dev/null @@ -1,3822 +0,0 @@ -[ - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "769-372-9833", - "loginCustomerId": "870-483-0944", - "subAccount": true, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "userID" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245", - "thirdPartyUserId": "useri1234" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "mobileDeviceID" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245", - "thirdPartyUserId": "useri1234", - "mobileId": "abcd-1234-567h" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "mobileDeviceID" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "abc@abc.com", - "phone": "@09876543210", - "firstName": "abc", - "lastName": "efg", - "country": "US", - "postalCode": "1245", - "thirdPartyUserId": "useri1234" - }, - { - "email": "def@abc.com", - "phone": "@09876543210", - "firstName": "def", - "lastName": "ghi", - "country": "US", - "postalCode": "1245", - "thirdPartyUserId": "useri1234" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245", - "thirdPartyUserId": "useri1234" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "mobileDeviceID" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "remove": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245", - "thirdPartyUserId": "useri1234" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "mobileDeviceID" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "properties": { - "listData": { - "remove": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245", - "thirdPartyUserId": "useri1234" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "mobileDeviceID" - } - }, - "message": { - "type": "audiencelist", - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "properties": { - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": true, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "mobileDeviceID" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelisT", - "properties": { - "listData": { - "add": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelisT", - "properties": { - "listData": { - "add": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelisT", - "properties": { - "listData": { - "add": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ], - "remove": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelisT", - "properties": { - "listData": { - "add": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ], - "remove": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelisT", - "properties": { - "listData": { - "remove": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelisT", - "properties": { - "listData": { - "delete": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelisT", - "properties": { - "listData": { - "remove": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ], - "add": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelisT", - "properties": { - "listData": { - "remove": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ], - "add": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelisT", - "properties": { - "listData": { - "remove": [ - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": null, - "lastName": "jkl", - "country": "US", - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ], - "add": [ - { - "email": "ghi@abc.com", - "phone": null, - "firstName": "ghi", - "lastName": "jkl", - "country": null, - "mobileId": "1245" - }, - { - "email": "ghi@abc.com", - "phone": "@09876543210", - "firstName": "ghi", - "lastName": "jkl", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": false, - "firstName": "test", - "lastName": null, - "country": "US", - "postalCode": 0 - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": null - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "listId": "list111", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General", - "audienceId": "aud1234" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "sudip@abc.com", - "phone": false, - "firstName": "sudip", - "lastName": null, - "country": "US", - "postalCode": 0 - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "anonymousId": "24ed22ae-0681-4882-8c33-012e298e1c17", - "channel": "sources", - "context": { - "destinationFields": "email", - "externalId": [ - { - "identifierType": "email", - "type": "GOOGLE_ADWORDS_REMARKETING_LISTS-830441345" - } - ], - "mappedToDestination": "true", - "sources": { - "job_id": "2UcqQB4ygGtTBAvwCWl7xz8dJgt", - "job_run_id": "cjmsdip7m95b7aee7tpg", - "task_run_id": "cjmsdip7m95b7aee7tq0", - "version": "master" - } - }, - "event": "Add_Audience", - "messageId": "bd2d67ca-0c9a-4d3b-a2f8-35a3c3f75ba7", - "properties": { - "listData": { - "remove": [ - { - "email": "test1@mail.com" - }, - { - "email": "test5@xmail.com" - }, - { - "email": "test3@mail.com" - } - ] - } - }, - "recordId": "a071551c-87e0-48a7-aa5c-7c4144cec5cf/1/5", - "rudderId": "5e9ada0e-5f50-4cb8-a015-f6842a7615fd", - "sentAt": "2023-08-29 10:22:06.395377223 +0000 UTC", - "type": "audienceList", - "userId": "23423423" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "dummy-refresh", - "developer_token": "dummy-dev-token" - } - }, - "destination": { - "Config": { - "rudderAccountId": "rudder-acc-id", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "anonymousId": "24ed22ae-0681-4882-8c33-012e298e1c17", - "channel": "sources", - "context": { - "destinationFields": "email", - "externalId": [ - { - "identifierType": "email", - "type": "GOOGLE_ADWORDS_REMARKETING_LISTS-830441345" - } - ], - "mappedToDestination": "true", - "sources": { - "job_id": "2UcqQB4ygGtTBAvwCWl7xz8dJgt", - "job_run_id": "cjmsdip7m95b7aee7tpg", - "task_run_id": "cjmsdip7m95b7aee7tq0", - "version": "master" - } - }, - "event": "Add_Audience", - "messageId": "bd2d67ca-0c9a-4d3b-a2f8-35a3c3f75ba7", - "properties": { - "listData": { - "add": [ - { - "email": "test1@mail.com" - }, - { - "email": "test5@xmail.com" - }, - { - "email": "test3@mail.com" - } - ] - } - }, - "recordId": "a071551c-87e0-48a7-aa5c-7c4144cec5cf/1/5", - "rudderId": "5e9ada0e-5f50-4cb8-a015-f6842a7615fd", - "sentAt": "2023-08-29 10:22:06.395377223 +0000 UTC", - "type": "audienceList", - "userId": "23423423" - } - } -] diff --git a/test/__tests__/data/google_adwords_remarketing_lists_output.json b/test/__tests__/data/google_adwords_remarketing_lists_output.json deleted file mode 100644 index cd92d314b6..0000000000 --- a/test/__tests__/data/google_adwords_remarketing_lists_output.json +++ /dev/null @@ -1,5917 +0,0 @@ -[ - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", - "hashedLastName": "dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token", - "login-customer-id": "8704830944" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "thirdPartyUserId": "useri1234" - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "mobileId": "abcd-1234-567h" - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "metadata": { - "secret": { - "access_token": "dummy-access" - } - }, - "statusCode": 400, - "error": "Neither 'add' nor 'remove' property is present inside 'listData' or there are no attributes inside 'add' or 'remove' properties matching with the schema fields. Aborting message.", - "statTags": { - "destination": "google_adwords_remarketing_lists", - "stage": "transform", - "scope": "exception" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access" - } - }, - "statusCode": 400, - "error": "Neither 'add' nor 'remove' property is present inside 'listData' or there are no attributes inside 'add' or 'remove' properties matching with the schema fields. Aborting message.", - "statTags": { - "destination": "google_adwords_remarketing_lists", - "stage": "transform", - "scope": "exception" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access" - } - }, - "statusCode": 400, - "error": "Message Type is not present. Aborting message.", - "statTags": { - "destination": "google_adwords_remarketing_lists", - "stage": "transform", - "scope": "exception" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access" - } - }, - "statusCode": 400, - "error": "listData is not present inside properties. Aborting message.", - "statTags": { - "destination": "google_adwords_remarketing_lists", - "stage": "transform", - "scope": "exception" - } - }, - { - "metadata": { - "secret": { - "access_token": "dummy-access" - } - }, - "statusCode": 400, - "error": "loginCustomerId is required as subAccount is true.", - "statTags": { - "destination": "google_adwords_remarketing_lists", - "stage": "transform", - "scope": "exception" - } - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "metadata": { - "secret": { - "access_token": "dummy-access", - "refresh_token": "efgh5678", - "developer_token": "dummy-dev-token" - } - }, - "statusCode": 400, - "error": "Neither 'add' nor 'remove' property is present inside 'listData' or there are no attributes inside 'add' or 'remove' properties matching with the schema fields. Aborting message.", - "statTags": { - "destination": "google_adwords_remarketing_lists", - "stage": "transform", - "scope": "exception" - } - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - }, - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1" - } - }, - { - "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", - "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "list111", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" - }, - { - "addressInfo": { - "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", - "countryCode": "US", - "postalCode": 0 - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "metadata": { - "secret": null - }, - "statusCode": 500, - "error": "OAuth - access token not found", - "statTags": { - "destination": "google_adwords_remarketing_lists", - "stage": "transform", - "scope": "exception" - } - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "aud1234", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "938758751f5af66652a118e26503af824404bc13acd1cb7642ddff99916f0e1c" - }, - { - "addressInfo": { - "hashedFirstName": "a512ebb75e941411945c9a18bca4ecc315830e0b5cff8a525472c86c1f540844", - "countryCode": "US", - "postalCode": 0 - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "830441345", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "operations": [ - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "78310d2dd727b704ff9d9c4742d01941b1217b89f45ab71d1e9bf5a010144048" - }, - { - "hashedEmail": "34a6406a076b943abfb9e97a6761e0c6b8cf049ab15b013412c57cf8370b5436" - }, - { - "hashedEmail": "8075d00e5f006b95eb090bf50f5246bc3c18c3d771fa1edf967b033b274b8d84" - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "830441345", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "78310d2dd727b704ff9d9c4742d01941b1217b89f45ab71d1e9bf5a010144048" - }, - { - "hashedEmail": "34a6406a076b943abfb9e97a6761e0c6b8cf049ab15b013412c57cf8370b5436" - }, - { - "hashedEmail": "8075d00e5f006b95eb090bf50f5246bc3c18c3d771fa1edf967b033b274b8d84" - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] -] diff --git a/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json b/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json deleted file mode 100644 index ff74720bc3..0000000000 --- a/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json +++ /dev/null @@ -1,138 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "destination": "google_adwords_remarketing_lists", - "listId": "709078448", - "customerId": "7693729833" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "e56d336922eaab3be8c1244dbaa713e134a8eba50ddbd4f50fd2fe18d72595cd" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729834/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "709078448", - "customerId": "7693729833", - "destination": "google_adwords_remarketing_lists" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "abcd@testmail.com" - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer dummy-access", - "Content-Type": "application/json", - "developer-token": "dummy-dev-token" - }, - "params": { - "listId": "709078448", - "customerId": "7693729833", - "destination": "google_adwords_remarketing_lists" - }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "e56d336922eaab3be8c1244dbaa713e134a8eba50ddbd4f50fd2fe18d72595cd" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } -] diff --git a/test/__tests__/data/google_adwords_remarketing_lists_proxy_output.json b/test/__tests__/data/google_adwords_remarketing_lists_proxy_output.json deleted file mode 100644 index 503393423b..0000000000 --- a/test/__tests__/data/google_adwords_remarketing_lists_proxy_output.json +++ /dev/null @@ -1,60 +0,0 @@ -[ - { - "output": { - "status": 200, - "message": "Request Processed Successfully", - "destinationResponse": { "response": "", "status": 200 } - } - }, - { - "output": { - "status": 400, - "message": "Request contains an invalid argument. during ga_audience response transformation", - "destinationResponse": { - "error": { - "code": 400, - "details": [ - { - "@type": "type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure", - "errors": [ - { - "errorCode": { - "offlineUserDataJobError": "INVALID_SHA256_FORMAT" - }, - "message": "The SHA256 encoded value is malformed.", - "location": { - "fieldPathElements": [ - { "fieldName": "operations", "index": 0 }, - { "fieldName": "remove" }, - { "fieldName": "user_identifiers", "index": 0 }, - { "fieldName": "hashed_email" } - ] - } - } - ] - } - ], - "message": "Request contains an invalid argument.", - "status": "INVALID_ARGUMENT" - } - }, - "statTags": { - "destType": "GOOGLE_ADWORDS_REMARKETING_LISTS", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 200, - "message": "Request Processed Successfully", - "destinationResponse": { "response": "", "status": 200 } - } - } -] diff --git a/test/__tests__/data/google_adwords_remarketing_lists_router_input.json b/test/__tests__/data/google_adwords_remarketing_lists_router_input.json deleted file mode 100644 index c71387604d..0000000000 --- a/test/__tests__/data/google_adwords_remarketing_lists_router_input.json +++ /dev/null @@ -1,213 +0,0 @@ -[ - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" - }, - "jobId": 1 - }, - "destination": { - "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" - }, - "jobId": 2 - }, - "destination": { - "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "userID" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245", - "thirdPartyUserId": "useri1234" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" - }, - "jobId": 3 - }, - "destination": { - "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "remove": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - { - "metadata": { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" - }, - "jobId": 4 - }, - "destination": { - "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "remove": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ], - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - } -] diff --git a/test/__tests__/data/google_adwords_remarketing_lists_router_output.json b/test/__tests__/data/google_adwords_remarketing_lists_router_output.json deleted file mode 100644 index ff6755237f..0000000000 --- a/test/__tests__/data/google_adwords_remarketing_lists_router_output.json +++ /dev/null @@ -1,318 +0,0 @@ -[ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl9101" - }, - "params": { "listId": "7090784486", "customerId": "7693729833" }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", - "hashedLastName": "dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" - }, - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl9101" - }, - "params": { "listId": "7090784486", "customerId": "7693729833" }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "thirdPartyUserId": "useri1234" - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" - }, - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "userID" - } - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl9101" - }, - "params": { "listId": "7090784486", "customerId": "7693729833" }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", - "hashedLastName": "dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" - }, - "jobId": 3 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl9101" - }, - "params": { "listId": "7090784486", "customerId": "7693729833" }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "remove": { - "userIdentifiers": [ - { - "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", - "hashedLastName": "dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", - "headers": { - "Authorization": "Bearer abcd1234", - "Content-Type": "application/json", - "developer-token": "ijkl9101" - }, - "params": { "listId": "7090784486", "customerId": "7693729833" }, - "body": { - "JSON": { - "enablePartialFailure": true, - "operations": [ - { - "create": { - "userIdentifiers": [ - { - "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" - }, - { - "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" - }, - { - "addressInfo": { - "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", - "hashedLastName": "dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251", - "countryCode": "US", - "postalCode": "1245" - } - } - ] - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "secret": { - "access_token": "abcd1234", - "refresh_token": "efgh5678", - "developer_token": "ijkl9101" - }, - "jobId": 4 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", - "listId": "7090784486", - "customerId": "7693729833", - "loginCustomerId": "", - "subAccount": false, - "userSchema": ["email", "phone", "addressInfo"], - "isHashRequired": true, - "typeOfList": "General" - } - } - } -] diff --git a/test/__tests__/ga.test.js b/test/__tests__/ga.test.js deleted file mode 100644 index 908cfda4a6..0000000000 --- a/test/__tests__/ga.test.js +++ /dev/null @@ -1,56 +0,0 @@ -const util = require("util"); -const integration = "ga"; -const name = "Google Analytics"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/ga/transform`); - -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); - -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); - -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -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); - -Date.now = jest.fn(() => new Date("2022-04-29T05:17:09Z")); - -inputData.forEach((input, index) => { - test(`${name} Tests : payload: ${index}`, () => { - let output, expected; - try { - output = transformer.process(input); - expected = expectedData[index]; - expected.params.qt = output.params.qt; - } catch (error) { - output = error.message; - expected = expectedData[index].message; - } - expect(output).toEqual(expected); - }); -}); - -describe(`${name} Tests`, () => { - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/ga360.test.js b/test/__tests__/ga360.test.js deleted file mode 100644 index fb28d7fe17..0000000000 --- a/test/__tests__/ga360.test.js +++ /dev/null @@ -1,52 +0,0 @@ -const util = require("util"); -const integration = "ga360"; -const name = "Google Analytics 360"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); - -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -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); - -inputData.forEach((input, index) => { - test(`${name} Tests : payload: ${index}`, () => { - let output, expected; - try { - output = transformer.process(input); - expected = expectedData[index]; - } catch (error) { - output = error.message; - expected = expectedData[index].message; - } - expect(output).toEqual(expected); - }); -}); - -describe(`${name} Tests`, () => { - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/google_adwords_enhanced_conversions.test.js b/test/__tests__/google_adwords_enhanced_conversions.test.js deleted file mode 100644 index 5da140e5a9..0000000000 --- a/test/__tests__/google_adwords_enhanced_conversions.test.js +++ /dev/null @@ -1,49 +0,0 @@ -const fs = require("fs"); -const path = require("path"); - -const integration = "google_adwords_enhanced_conversions"; -const name = "google_adwords_enhanced_conversions"; -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// Router Test files -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", () => { - inputData.forEach(async (input, index) => { - it(`Payload - ${index}`, async () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/google_adwords_offline_conversions.test.js b/test/__tests__/google_adwords_offline_conversions.test.js deleted file mode 100644 index b08b6de968..0000000000 --- a/test/__tests__/google_adwords_offline_conversions.test.js +++ /dev/null @@ -1,246 +0,0 @@ -const integration = "google_adwords_offline_conversions"; -const name = "Google Adwords Offline Conversions"; -const moment = require("moment"); - -const fs = require("fs"); -const path = require("path"); -const version = "v0"; -const responseFile = fs.readFileSync( - path.resolve(__dirname, `../__mocks__/data/google_adwords_offline_conversion/response.json`) -); -// fs.readFileSync("/Users/apple/Desktop/workspace/rudder-transformer/test//data/google_adwords_offline_conversion/response.json"); -const axios = require("axios"); -const { handleProxyRequest } = require("../../src/legacy/router"); - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -jest.mock("axios"); - -// setting timezone in testcase -moment.tz.setDefault("GMT"); - -// Processor test files -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -// Router test files -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); - -// Proxy test files -const proxyInputJson = require("./data/google_adwords_offline_conversions_proxy_input.json"); -const proxyOutputJson = require("./data/google_adwords_offline_conversions_proxy_output.json"); - -// constructor level mocking -// This needs to be used for final requests made to destination -axios.mockImplementation(async config => { - // httpSend() -> inside ProxyRequest for google_adwords_offline - if ( - config.url.includes( - "https://googleads.googleapis.com/v14/customers/1234567891:uploadClickConversions" - ) - ) { - return { - data: [ - { - adjustmentType: "ENHANCEMENT", - conversionAction: "customers/1234567891/conversionActions/874224905", - adjustmentDateTime: "2021-01-01 12:32:45-08:00", - gclidDateTimePair: { - gclid: "1234", - conversionDateTime: "2021-01-01 12:32:45-08:00" - }, - orderId: "12345" - } - ], - status: 200 - }; - } -}); - -// method level mocking -// This needs to be used for requests made during transformation -// This needs to be used for requests made during proxy request (in rare-cases) -axios.post = jest.fn(async (url, data, reqConfig) => { - let axiosResponse; - // This mocking is for calls that make use of httpPOST() - if ( - url.includes( - "https://googleads.googleapis.com/v14/customers/1234567891/googleAds:searchStream" - ) - ) { - // this is for true case - if (data.query.includes("conversion_action")) { - // searchStream for conversion_action - axiosResponse = { - data: [ - { - results: [ - { - conversionAction: { - resourceName: - "customers/1234567891/conversionActions/848898416", - id: "848898416" - } - } - ], - fieldMask: "conversionAction.id", - requestId: "pNnCTCWGP9XOyy3Hmj7yGA" - } - ], - status: 200 - }; - } else if (data.query.includes("conversion_custom_variable")) { - // searchStream for conversion_custom_variable - axiosResponse = { - data: [ - { - results: [ - { - conversionCustomVariable: { - resourceName: - "customers/1234567891/conversionCustomVariables/19131634", - name: "revenue" - } - }, - { - conversionCustomVariable: { - resourceName: - "customers/1234567891/conversionCustomVariables/19134061", - name: "page_value" - } - } - ] - } - ], - status: 200 - }; - } - } else if ( - url.includes( - "https://googleads.googleapis.com/v14/customers/1234567890/googleAds:searchStream" - ) - ) { - // this case is for refresh token expire - axiosResponse = { - data: [ - { - error: { - code: 401, - message: - "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", - status: "UNAUTHENTICATED" - } - } - ], - status: 401 - }; - } else if ( - url.includes( - "https://googleads.googleapis.com/v14/customers/1112223333/googleAds:searchStream" - ) || - url.includes( - "https://googleads.googleapis.com/v14/customers/111-222-3333/googleAds:searchStream" - ) || url.includes( - "https://googleads.googleapis.com/v14/customers/customer-id/googleAds:searchStream" - ) - ) { - // this is for store case - if (data.query.includes("conversion_action")) { - // searchStream for conversion_action - axiosResponse = { - data: [ - { - results: [ - { - conversionAction: { - resourceName: - "customers/111-222-3333/offlineUserDataJobs/conversion_id", - id: "848898416" - } - } - ], - fieldMask: "conversionAction.id", - requestId: "pNnCTCWGP9XOyy3Hmj7yGA" - } - ], - status: 200 - }; - } else if (data.query.includes("conversion_custom_variable")) { - // searchStream for conversion_custom_variable - axiosResponse = { - data: [ - { - results: [ - { - conversionCustomVariable: { - resourceName: - "customers/1234567891/conversionCustomVariables/19131634", - name: "revenue" - } - }, - { - conversionCustomVariable: { - resourceName: - "customers/1234567891/conversionCustomVariables/19134061", - name: "page_value" - } - } - ] - } - ], - status: 200 - }; - } - } else { - // These cases are taken from response.json - const data = JSON.parse(responseFile); - axiosResponse = data[url]; - } - - return axiosResponse; -}); - -describe(`${name} Tests`, () => { - // processor - describe("Processor", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - const output = await transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (error) { - // match message and statuscode - expect(error.message).toEqual(dataPoint.output.error); - expect(error.status).toEqual(dataPoint.output.statusCode); - } - }); - }); - }); - - // router - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); - - // proxy - describe("Proxy Request Tests", () => { - proxyInputJson.forEach((input, index) => { - it(`${name} Tests: payload - ${index}`, async () => { - const output = await handleProxyRequest(integration, input); - expect(output).toEqual(proxyOutputJson[index]); - }); - }); - }); -}); diff --git a/test/__tests__/google_adwords_remarketing_lists.test.js b/test/__tests__/google_adwords_remarketing_lists.test.js deleted file mode 100644 index 39257bfc6e..0000000000 --- a/test/__tests__/google_adwords_remarketing_lists.test.js +++ /dev/null @@ -1,50 +0,0 @@ -const fs = require("fs"); -const path = require("path"); - -const integration = "google_adwords_remarketing_lists"; -const name = "google_adwords_remarketing_lists"; -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// Router Test files -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", () => { - inputData.forEach(async (input, index) => { - it(`Payload - ${index}`, async () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - // console.log(JSON.stringify(routerOutput)); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/proxy.test.ts b/test/__tests__/proxy.test.ts index 15769fc8dc..abccf8dbb4 100644 --- a/test/__tests__/proxy.test.ts +++ b/test/__tests__/proxy.test.ts @@ -38,8 +38,6 @@ const version = '1'; const destinations = [ 'marketo', 'braze', - 'google_adwords_remarketing_lists', - 'google_adwords_enhanced_conversions', 'facebook_pixel', 'fb', 'snapchat_custom_audience', diff --git a/test/integrations/destinations/ga/processor/data.ts b/test/integrations/destinations/ga/processor/data.ts new file mode 100644 index 0000000000..aa468b5038 --- /dev/null +++ b/test/integrations/destinations/ga/processor/data.ts @@ -0,0 +1,9979 @@ +export const mockFns = (_) => { + // @ts-ignore + jest + .useFakeTimers() + .setSystemTime(new Date('2023-09-29')); +}; +export const data = [ + { + "name": "ga", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "externalId": [ + { + "id": "lynnanderson@smith.net", + "identifierType": "device_id", + "type": "AM-users" + } + ], + "mappedToDestination": "true", + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "123456", + "email": "test@rudderstack.com", + "address": { + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "", + "os_version": "test os" + }, + "ip": "0.0.0.0", + "age": 26 + }, + "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 + }, + "page": { + "path": "/destinations/amplitude", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/amplitude", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "traits": { + "anonymousId": "123456", + "email": "test@rudderstack.com", + "city": "kolkata", + "address": { + "country": "India", + "postalCode": 712136, + "state": "WB", + "street": "" + }, + "os_version": "test os", + "ip": "0.0.0.0", + "age": 26, + "an": "Test App name", + "ul": "Test ul" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "123456", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "name", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "All", + "ni": 1, + "ul": "Test ul", + "an": "Test App name", + "cm1": "test@rudderstack.com", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "npa": 1, + "aip": 1, + "ua": "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", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "uid": "123456", + "cid": "123456", + "uip": "0.0.0.0", + "qt": 124901802438 + }, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "123456" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name": "Rudder Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "name", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Rudder Test", + "cd1": "Rudder Test", + "cg2": "Rudder Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "uid": "123456", + "cid": "00000000000000000000000000", + "ni": 1, + "uip": "0.0.0.0", + "ua": "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", + "ul": "en-US", + "qt": 124893881701 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/abc", + "referrer": "q", + "search": "", + "title": "a", + "url": "https://www.example.com/abc" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "v": "1", + "t": "pageview", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "uip": "0.0.0.0", + "ul": "en-US", + "dh": "www.example.com", + "dl": "https://www.example.com/abc", + "dp": "%2Fabc", + "dr": "q", + "dt": "a", + "qt": 124893881701 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "test track event GA3", + "properties": { + "category": "test-category", + "user_actual_role": "system_admin, system_user", + "user_actual_id": 12345 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ec": "test-category", + "ni": 1, + "v": "1", + "el": "event", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "test track event GA3", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order completed", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "purchase", + "tr": 99.99, + "ev": 100, + "pr1id": "p-298", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "p-299", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "ea": "order completed", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "ts": 13.99, + "tt": 20.99, + "cu": "INR", + "ua": "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", + "uid": "12345", + "ni": 1, + "pr1qt": 1, + "pr2qt": 3, + "ul": "en-US", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product added", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product 1", + "category": "cat 1", + "sku": "p-298", + "testDimension": true, + "testMetric": true, + "position": 4.5 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product added", + "ec": "cat 1", + "pa": "add", + "pr1cd1": "my product 1", + "pr1id": "p-298", + "cd1": "my product 1", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product 1", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1ps": 4.5, + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "ni": 1, + "ul": "en-US", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product removed", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product 1", + "category": "cat 1", + "sku": "p-298", + "testDimension": true, + "testMetric": true, + "position": 4.5 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product removed", + "ec": "cat 1", + "pa": "remove", + "pr1cd1": "my product 1", + "pr1id": "p-298", + "cd1": "my product 1", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product 1", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1ps": 4.5, + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product viewed", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product 1", + "category": "cat 1", + "sku": "p-298", + "testDimension": true, + "testMetric": true, + "position": 4.5 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product viewed", + "ec": "cat 1", + "pa": "detail", + "pr1cd1": "my product 1", + "pr1id": "p-298", + "cd1": "my product 1", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product 1", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1ps": 4.5, + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product removed", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product 1", + "category": "cat 1", + "sku": "p-298", + "testDimension": true, + "testMetric": true, + "position": 4.5 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product removed", + "ec": "cat 1", + "pa": "remove", + "pr1cd1": "my product 1", + "pr1id": "p-298", + "cd1": "my product 1", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product 1", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1ps": 4.5, + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881701 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product viewed", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product 1", + "category": "cat 1", + "sku": "p-298", + "testDimension": true, + "testMetric": true, + "position": 4.5 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product viewed", + "ec": "cat 1", + "pa": "detail", + "pr1cd1": "my product 1", + "pr1id": "p-298", + "cd1": "my product 1", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product 1", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1ps": 4.5, + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product list filtered", + "properties": { + "category": "cat 1", + "list_id": "1234", + "filters": [ + { + "type": "department", + "value": "beauty" + }, + { + "type": "price", + "value": "under" + } + ], + "sorts": [ + { + "type": "price", + "value": "desc" + } + ], + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "productDimension": "My Product Dimension", + "productMetric": "My Product Metric" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product list filtered", + "ec": "cat 1", + "pa": "detail", + "il1pi1id": "507f1f77bcf86cd799439011", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "il1nm": "1234", + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "il1pi1qt": 1, + "il1pi1va": "department:beauty,price:under::price:desc", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product list viewed", + "properties": { + "category": "cat 1", + "list_id": "1234", + "filters": [ + { + "type": "department", + "value": "beauty" + }, + { + "type": "price", + "value": "under" + } + ], + "sorts": [ + { + "type": "price", + "value": "desc" + } + ], + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "productDimension": "My Product Dimension", + "productMetric": "My Product Metric", + "position": 10 + }, + { + "product_id": "507f1f77bcf86cdef799439011", + "productDimension": "My Product Dimension1", + "productMetric": "My Product Metric1", + "position": -10 + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product list viewed", + "ec": "cat 1", + "pa": "detail", + "il1pi1id": "507f1f77bcf86cd799439011", + "il1pi1ps": 10, + "il1pi2id": "507f1f77bcf86cdef799439011", + "il1pi2ps": -10, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "il1nm": "1234", + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "il1pi1qt": 1, + "il1pi1va": "department:beauty,price:under::price:desc", + "il1pi2qt": 1, + "il1pi2va": "department:beauty,price:under::price:desc", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 12", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product clicked", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product", + "category": "cat 1", + "sku": "p-298", + "list": "search results", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product clicked", + "ec": "cat 1", + "pa": "click", + "pr1cd1": "my product", + "pr1id": "p-298", + "cd1": "my product", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "pal": "search results", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 13", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "promotion viewed", + "properties": { + "currency": "CAD", + "promotion_id": "PROMO_1234", + "name": "my product", + "creative": "summer_banner2", + "position": "banner_slot1", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "promotion viewed", + "ec": "EnhancedEcommerce", + "cu": "CAD", + "promoa": "view", + "pa": "view", + "cd1": "my product", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "promo1id": "PROMO_1234", + "promo1cr": "summer_banner2", + "promo1ps": "banner_slot1", + "promo1nm": "my product", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 14", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "promotion clicked", + "properties": { + "currency": "CAD", + "promotion_id": "PROMO_1234", + "name": "my product", + "creative": "summer_banner2", + "position": "banner_slot1", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "promotion clicked", + "ec": "EnhancedEcommerce", + "cu": "CAD", + "promoa": "promo_click", + "pa": "promo_click", + "cd1": "my product", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "promo1id": "PROMO_1234", + "promo1cr": "summer_banner2", + "promo1ps": "banner_slot1", + "promo1nm": "my product", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 15", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "checkout started", + "properties": { + "currency": "CAD", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298" + }, + { + "quantity": 1, + "price": 24.75, + "name": "my product 2", + "sku": "p-299" + } + ], + "step": 1, + "paymentMethod": "Visa", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "checkout", + "pr1id": "p-298", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "p-299", + "pr2cd1": "my product 2", + "pr2nm": "my product 2", + "pr2pr": 24.75, + "ea": "checkout started", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "cu": "CAD", + "ua": "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", + "uid": "12345", + "cos": 1, + "pr1qt": 1, + "pr2qt": 1, + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 16", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order updated", + "properties": { + "currency": "CAD", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298" + }, + { + "quantity": 1, + "price": 24.75, + "name": "my product 2", + "sku": "p-299" + } + ], + "step": 1, + "paymentMethod": "Visa", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "checkout", + "pr1id": "p-298", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "p-299", + "pr2cd1": "my product 2", + "pr2nm": "my product 2", + "pr2pr": 24.75, + "ea": "order updated", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "cu": "CAD", + "ua": "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", + "uid": "12345", + "cos": 1, + "pr1qt": 1, + "pr2qt": 1, + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 17", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "checkout step viewed", + "properties": { + "currency": "CAD", + "step": 1 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "checkout", + "ea": "checkout step viewed", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "cos": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 18", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "checkout step completed", + "properties": { + "currency": "CAD", + "step": 1, + "paymentMethod": "Visa" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "checkout_option", + "ea": "checkout step completed", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "cos": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 19", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order refunded", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "order refunded", + "ec": "EnhancedEcommerce", + "ua": "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", + "uid": "12345", + "pa": "refund", + "pr1id": "p-298", + "pr1qt": 1, + "pr2id": "p-299", + "ul": "en-US", + "pr2qt": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 20", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order starterefundedd", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "order starterefundedd", + "ua": "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", + "uid": "12345", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 21", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order starterefundedd", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "order starterefundedd", + "ua": "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", + "uid": "12345", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 22", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order starterefundedd", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "order starterefundedd", + "ua": "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", + "uid": "12345", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 23", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order starterefundedd", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "cid": "00000000000000000000000000", + "ea": "order starterefundedd", + "ua": "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", + "uid": "12345", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 24", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order starterefundedd", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "order starterefundedd", + "ua": "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", + "uid": "12345", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 25", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "linkid test", + "properties": { + "linkid": "abc123", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "linkid": "abc123", + "cid": "00000000000000000000000000", + "ea": "linkid test", + "ua": "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", + "uid": "12345", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 26", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "campaign": { + "name": "sampleName", + "source": "sampleSource", + "medium": "sampleMedium", + "content": "sampleContent", + "term": "sampleTerm" + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "campaign test", + "properties": { + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "cn": "sampleName", + "cs": "sampleSource", + "cm": "sampleMedium", + "cc": "sampleContent", + "ck": "sampleTerm", + "cid": "00000000000000000000000000", + "ea": "campaign test", + "ua": "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", + "uid": "12345", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 27", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "campaign": { + "name": "sampleName", + "source": "sampleSource", + "medium": "sampleMedium", + "content": "sampleContent", + "term": "sampleTerm" + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "event": "campaign test", + "properties": { + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "cn": "sampleName", + "cs": "sampleSource", + "cm": "sampleMedium", + "cc": "sampleContent", + "ck": "sampleTerm", + "cid": "00000000000000000000000000", + "ea": "campaign test", + "ua": "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", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 28", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "campaign": { + "name": "sampleName", + "source": "sampleSource", + "medium": "sampleMedium", + "content": "sampleContent", + "term": "sampleTerm" + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "event": "campaign test", + "properties": { + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "cn": "sampleName", + "cs": "sampleSource", + "cm": "sampleMedium", + "cc": "sampleContent", + "ck": "sampleTerm", + "cid": "00000000000000000000000000", + "ea": "campaign test", + "ua": "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", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 29", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "abc": "1234" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "GA Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + } + }, + "type": "identify", + "messageId": "bc8a6af8-37fd-46a9-9592-ea29a256435f", + "originalTimestamp": "2020-06-22T11:30:32.493Z", + "anonymousId": "38e169a1-3234-46f7-9ceb-c1a6a69005fe", + "userId": "123", + "integrations": { + "All": true + }, + "sentAt": "2020-06-22T11:30:32.494Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "User Enriched", + "dt": "GA Ecommerce Test", + "ec": "All", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.1.2", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "uid": "123", + "cid": "38e169a1-3234-46f7-9ceb-c1a6a69005fe", + "ni": 1, + "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "ul": "en-GB", + "qt": 103120167507 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "38e169a1-3234-46f7-9ceb-c1a6a69005fe" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 30", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "v": "1", + "t": "pageview", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "uip": "0.0.0.0", + "qt": 124893881701 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 31", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/abc", + "referrer": "", + "search": "?xyz=1", + "title": "", + "url": "https://www.example.com/abc" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "v": "1", + "t": "pageview", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "uip": "0.0.0.0", + "dh": "www.example.com", + "dl": "https://www.example.com/abc", + "dp": "%2Fabc%3Fxyz%3D1", + "qt": 124893881701 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 32", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "integrations": { + "All": true + }, + "event": "sample event", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "sample event", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "uip": "0.0.0.0", + "qt": 124893881701 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 33", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Refunded", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "refund", + "ev": 100, + "pr1id": "p-298", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr1qt": 1, + "pr2id": "p-299", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "pr2qt": 3, + "ea": "Order Refunded", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 34", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Refunded", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ev": 100, + "pa": "refund", + "ti": "rudderstackorder1", + "ea": "Order Refunded", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 35", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Refunded", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ev": 100, + "pa": "refund", + "ti": "rudderstackorder1", + "ea": "Order Refunded", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 36", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Refunded", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ev": 100, + "pa": "refund", + "pr1id": "1", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr1qt": 1, + "pr2id": "2", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "pr2qt": 3, + "ea": "Order Refunded", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 37", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Cart Shared", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ev": 100, + "ea": "Cart Shared", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "st": " 1 2", + "ul": "en-US", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 38", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Product Shared", + "properties": { + "product_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "url": "https://www.example.com/abc" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ev": 100, + "ea": "Product Shared", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "st": "https://www.example.com/abc", + "dh": "www.example.com", + "dl": "https://www.example.com/abc", + "dp": "%2Fabc", + "ul": "en-US", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 39", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Product List Clicked", + "properties": { + "list_id": "Sample Product List", + "category": "Sample Product List", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "Product List Clicked", + "ec": "Sample Product List", + "pa": "click", + "il1pi1id": "1", + "pr1cd1": "my product", + "il1pi1nm": "my product", + "il1pi1pr": 24.75, + "il1pi2id": "2", + "pr2cd1": "other product", + "il1pi2nm": "other product", + "il1pi2pr": 24.75, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "il1nm": "Sample Product List", + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "ni": 1, + "il1pi2qt": 3, + "il1pi1qt": 1, + "ul": "en-US", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 40", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Product List Clicked", + "properties": { + "list_id": "Sample Product List", + "category": "Sample Product List", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "Product List Clicked", + "ec": "Sample Product List", + "pa": "click", + "il1pi1id": "p-298", + "pr1cd1": "my product", + "il1pi1nm": "my product", + "il1pi1pr": 24.75, + "il1pi2id": "p-299", + "pr2cd1": "other product", + "il1pi2nm": "other product", + "il1pi2pr": 24.75, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "il1nm": "Sample Product List", + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "ul": "en-US", + "il1pi2qt": 3, + "il1pi1qt": 1, + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 41", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Product List Clicked", + "properties": { + "list_id": "Sample Product List", + "category": "Sample Product List", + "products": [] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ni": 1, + "ea": "Product List Clicked", + "ec": "Sample Product List", + "pa": "click", + "el": "event", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "il1nm": "Sample Product List", + "uid": "12345", + "cid": "00000000000000000000000000", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 42", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Cancelled", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "refund", + "ev": 100, + "tr": 99.99, + "pr1id": "1", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "2", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "ea": "Order Cancelled", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "ts": 13.99, + "tt": 20.99, + "cu": "INR", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "pr1qt": 1, + "pr2qt": 3, + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 43", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Cancelled", + "properties": { + "order_id": "rudderstackorder1", + "value": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "refund", + "tr": 99.99, + "pr1id": "1", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "2", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "ea": "Order Cancelled", + "ev": 100, + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "ts": 13.99, + "tt": 20.99, + "cu": "INR", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "pr1qt": 1, + "pr2qt": 3, + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 44", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Cancelled", + "properties": { + "order_id": "rudderstackorder1", + "revenue": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "refund", + "tr": 99.99, + "pr1id": "1", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "2", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "ea": "Order Cancelled", + "ev": 100, + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "ts": 13.99, + "tt": 20.99, + "cu": "INR", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "pr1qt": 1, + "pr2qt": 3, + "ni": 1, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 45", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Cancelled", + "properties": { + "order_id": "rudderstackorder1", + "revenue": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "No product information supplied for transaction event", + "statTags": { + "destType": "GA", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 46", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Cart Viewed", + "properties": { + "order_id": "rudderstackorder1", + "revenue": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "Cart Viewed", + "ev": 100, + "ec": "EnhancedEcommerce", + "pa": "detail", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "pr1cd1": "my product", + "pr1id": "1", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr1qt": 1, + "pr2cd1": "other product", + "pr2id": "2", + "pr2nm": "other product", + "pr2pr": 24.75, + "pr2qt": 3, + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 47", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name1": "Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "traits": { + "name1": "Test" + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "server side identify is not on", + "statTags": { + "destType": "GA", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 48", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "screen", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "name": "homescreen" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "cd1": "homescreen", + "v": "1", + "t": "screenview", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "cd": "homescreen", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "uip": "0.0.0.0", + "qt": 124893881701 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 49", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "newtype", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "name": "homescreen" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "Message type newtype not supported", + "statTags": { + "destType": "GA", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 50", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name": "Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "userId": "12345", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "userId": "12345", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Test", + "ni": 1, + "cd1": "Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "uid": "12345", + "cid": "827ccb0eea8a706c4c34a16891f84e7b", + "uip": "0.0.0.0", + "qt": 124901802438 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 51", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name": "Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "userId": "12345", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "disableMd5": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "userId": "12345", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Test", + "ni": 1, + "cd1": "Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "uid": "12345", + "uip": "0.0.0.0", + "qt": 124901802438 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 52", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name": "Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "userId": "12345", + "integrations": { + "All": true, + "GA": { + "clientId": "clientId" + }, + "Google Analytics": { + "clientId": "clientId" + } + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "userId": "12345", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Test", + "ni": 1, + "cd1": "Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "uid": "12345", + "cid": "clientId", + "uip": "0.0.0.0", + "qt": 124901802438 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 53", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "externalId": [ + { + "id": "externalClientId", + "type": "gaExternalId" + } + ], + "traits": { + "name": "Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "userId": "12345", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "userId": "12345", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Test", + "ni": 1, + "cd1": "Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "uid": "12345", + "cid": "externalClientId", + "uip": "0.0.0.0", + "qt": 124901802438 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 54", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product list viewed", + "properties": { + "nonInteraction": 0, + "category": "cat 1", + "list_id": "1234", + "filters": { + "a": "department", + "b": "beauty" + }, + "sorts": [ + { + "type": "price", + "value": "desc" + } + ], + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "productDimension": "My Product Dimension", + "productMetric": "My Product Metric", + "position": 10 + }, + { + "product_id": "507f1f77bcf86cdef799439011", + "productDimension": "My Product Dimension1", + "productMetric": "My Product Metric1", + "position": -10 + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "content1" + }, + { + "from": "prop2", + "to": "content2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ni": 0, + "ea": "product list viewed", + "ec": "cat 1", + "pa": "detail", + "il1pi1id": "507f1f77bcf86cd799439011", + "il1pi1va": "::price:desc", + "il1pi1ps": 10, + "il1pi1qt": 1, + "il1pi2id": "507f1f77bcf86cdef799439011", + "il1pi2va": "::price:desc", + "il1pi2ps": -10, + "il1pi2qt": 1, + "el": "event", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "il1nm": "1234", + "uid": "12345", + "cid": "00000000000000000000000000", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga", + "description": "Test 55", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "referrer": "https://google.com/answer/7554821?zippy=%2Cfields-in-event-snippets-for-counter-tags%2Cstep-add-the-global-snippet-to-every-page-of-your-site%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-tg%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learns-more-about-the-global-site-tag%2Cwhy-is-the-globalthe-head-when-iframe-and-image-tags-were-placed-in-the-body-placed-of-my-site%2Cwhere-can-i-learn-g2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-and-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-n-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag", + "search": "", + "title": "a", + "url": "https://support.google.com/campaignmanager/answer/7554821?zippy=%2Cfields-in-event-snippets-for-counter-tags%2Cstep-add-the-global-snippet-to-every-page-of-your-site%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjis-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjis-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjakljshdlfkjahsldkfjahlskdfjhaklsjdfhalksjdhflakjshdflakjsdhfklasjhdflaksjhdflaksjdfhlakjshdflakjsdhfklasjhdflaksjhdflaksjdfhlakjshdflakjsdhfklasjhdflaksjhdflaksjdfhljkkwoipqpweoirpoqiwerpoqi1111111111111" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "anonymizeIp": false, + "eventDeliveryTS": 1657516676962, + "eventFilteringOption": "disable", + "trackingID": "UA-165994240-1" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "dp": "%2Fcampaignmanager%2Fanswer%2F7554821", + "dl": "https://support.google.com/campaignmanager/answer/7554821?zippy=%2Cfields-in-event-snippets-for-counter-tags%2Cstep-add-the-global-snippet-to-every-page-of-your-site%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjis-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjis-the-global-site-tag-placed-in-the-head-lakjsdlkfjalsdkfjakljshdlfkjahsldkfjahlskdfjhaklsjdfhalksjdhflakjshdflakjsdhfklasjhdflaksjhdflaksjdfhlakjshdflakjsdhfklasjhdflaksjhdflaksjdfhlakjshdflakjsdhfklasjhdflaksjhdflaksjdfhljkkwoipqpweoirpoqiwerpoqi1111111111111", + "dh": "support.google.com", + "dt": "a", + "dr": "https://google.com/answer/7554821?zippy=%2Cfields-in-event-snippets-for-counter-tags%2Cstep-add-the-global-snippet-to-every-page-of-your-site%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking%2Cfields-in-the-global-snippet%2Cfields-in-the-event-snippet---overview%2Cfields-in-all-event-snippets%2Cexample-event-snippet-for-counter---standard-activities%2Cexample-event-snippet-for-counter---unique-activities%2Cexample-event-snippet-for-counter---per-session-activities%2Cfields-in-event-snippets-for-sales-tags%2Cexample-event-snippet-for-sales---transaction-activities%2Cexample-event-snippet-for-sales---items-sold-activities%2Ccustom-fields%2Cnoscript-section-of-event-snippets%2Cdo-i-need-to-set-up-cache-busting-with-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-tg%2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learns-more-about-the-global-site-tag%2Cwhy-is-the-globalthe-head-when-iframe-and-image-tags-were-placed-in-the-body-placed-of-my-site%2Cwhere-can-i-learn-g2Cwhy-is-the-global-site-tag-placed-in-the-head-when-iframe-and-and-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag%2Cwhy-n-the-head-when-iframe-and-image-tags-were-placed-in-the-body-of-my-site%2Cwhere-can-i-learn-more-about-the-global-site-tag", + "v": "1", + "t": "pageview", + "tid": "UA-165994240-1", + "ds": "web", + "ua": "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", + "ul": "en-US", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "cid": "00000000000000000000000000", + "uip": "0.0.0.0", + "qt": 124893881701 + }, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + } +].map((d) => ({ ...d, mockFns })) \ No newline at end of file diff --git a/test/integrations/destinations/ga/router/data.ts b/test/integrations/destinations/ga/router/data.ts new file mode 100644 index 0000000000..f0c2b86377 --- /dev/null +++ b/test/integrations/destinations/ga/router/data.ts @@ -0,0 +1,487 @@ +export const mockFns = (_) => { + // @ts-ignore + jest + .useFakeTimers() + .setSystemTime(new Date('2023-09-29')); +}; + +export const data = [ + { + name: 'ga', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name": "Rudder Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "metadata": { + "jobId": 1 + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "name", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + }, + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/abc", + "referrer": "q", + "search": "", + "title": "a", + "url": "https://www.example.com/abc" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "jobId": 2 + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ], + destType: 'ga', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Rudder Test", + "cd1": "Rudder Test", + "cg2": "Rudder Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "uid": "123456", + "cid": "00000000000000000000000000", + "ni": 1, + "uip": "0.0.0.0", + "ua": "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", + "ul": "en-US", + "qt": 124893881701, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "metadata": [ + { + "jobId": 1 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "name", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + }, + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "v": "1", + "t": "pageview", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "uip": "0.0.0.0", + "ul": "en-US", + "dh": "www.example.com", + "dl": "https://www.example.com/abc", + "dp": "%2Fabc", + "dr": "q", + "dt": "a", + "qt": 124893881701, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ], + }, + }, + }, + } +].map((d) => ({ ...d, mockFns })); diff --git a/test/integrations/destinations/ga360/processor/data.ts b/test/integrations/destinations/ga360/processor/data.ts new file mode 100644 index 0000000000..4ed196d8c5 --- /dev/null +++ b/test/integrations/destinations/ga360/processor/data.ts @@ -0,0 +1,9456 @@ +export const mockFns = (_) => { + // @ts-ignore + jest + .useFakeTimers() + .setSystemTime(new Date('2023-09-29')); +}; + +export const data = [ + { + "name": "ga360", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name": "Rudder Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "name", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Rudder Test", + "cd1": "Rudder Test", + "cg2": "Rudder Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "uid": "123456", + "cid": "00000000000000000000000000", + "ni": 1, + "uip": "0.0.0.0", + "ua": "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", + "ul": "en-US", + "qt": 124901802438 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/abc", + "referrer": "q", + "search": "", + "title": "a", + "url": "https://www.example.com/abc" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "v": "1", + "t": "pageview", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "uip": "0.0.0.0", + "ul": "en-US", + "dh": "www.example.com", + "dl": "https://www.example.com/abc", + "dp": "%2Fabc", + "dr": "q", + "dt": "a", + "qt": 124893881701, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "test track event GA3", + "properties": { + "category": "test-category", + "user_actual_role": "system_admin, system_user", + "user_actual_id": 12345 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ec": "test-category", + "ni": 1, + "v": "1", + "el": "event", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "test track event GA3", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order completed", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "purchase", + "tr": 99.99, + "ev": 100, + "pr1id": "p-298", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "p-299", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "ea": "order completed", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "ts": 13.99, + "tt": 20.99, + "cu": "INR", + "ua": "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", + "uid": "12345", + "ni": 1, + "pr1qt": 1, + "pr2qt": 3, + "ul": "en-US", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product added", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product 1", + "category": "cat 1", + "sku": "p-298", + "testDimension": true, + "testMetric": true, + "position": 4.5 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product added", + "ec": "cat 1", + "pa": "add", + "pr1cd1": "my product 1", + "pr1id": "p-298", + "cd1": "my product 1", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product 1", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1ps": 4.5, + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "ni": 1, + "ul": "en-US", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product removed", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product 1", + "category": "cat 1", + "sku": "p-298", + "testDimension": true, + "testMetric": true, + "position": 4.5 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product removed", + "ec": "cat 1", + "pa": "remove", + "pr1cd1": "my product 1", + "pr1id": "p-298", + "cd1": "my product 1", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product 1", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1ps": 4.5, + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product viewed", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product 1", + "category": "cat 1", + "sku": "p-298", + "testDimension": true, + "testMetric": true, + "position": 4.5 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product viewed", + "ec": "cat 1", + "pa": "detail", + "pr1cd1": "my product 1", + "pr1id": "p-298", + "cd1": "my product 1", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product 1", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1ps": 4.5, + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product removed", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product 1", + "category": "cat 1", + "sku": "p-298", + "testDimension": true, + "testMetric": true, + "position": 4.5 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product removed", + "ec": "cat 1", + "pa": "remove", + "pr1cd1": "my product 1", + "pr1id": "p-298", + "cd1": "my product 1", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product 1", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1ps": 4.5, + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product viewed", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product 1", + "category": "cat 1", + "sku": "p-298", + "testDimension": true, + "testMetric": true, + "position": 4.5 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product viewed", + "ec": "cat 1", + "pa": "detail", + "pr1cd1": "my product 1", + "pr1id": "p-298", + "cd1": "my product 1", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product 1", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1ps": 4.5, + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product list filtered", + "properties": { + "category": "cat 1", + "list_id": "1234", + "filters": [ + { + "type": "department", + "value": "beauty" + }, + { + "type": "price", + "value": "under" + } + ], + "sorts": [ + { + "type": "price", + "value": "desc" + } + ], + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "productDimension": "My Product Dimension", + "productMetric": "My Product Metric" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product list filtered", + "ec": "cat 1", + "pa": "detail", + "il1pi1id": "507f1f77bcf86cd799439011", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "il1nm": "1234", + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "il1pi1qt": 1, + "il1pi1va": "department:beauty,price:under::price:desc", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product list viewed", + "properties": { + "category": "cat 1", + "list_id": "1234", + "filters": [ + { + "type": "department", + "value": "beauty" + }, + { + "type": "price", + "value": "under" + } + ], + "sorts": [ + { + "type": "price", + "value": "desc" + } + ], + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "productDimension": "My Product Dimension", + "productMetric": "My Product Metric", + "position": 10 + }, + { + "product_id": "507f1f77bcf86cdef799439011", + "productDimension": "My Product Dimension1", + "productMetric": "My Product Metric1", + "position": -10 + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product list viewed", + "ec": "cat 1", + "pa": "detail", + "il1pi1id": "507f1f77bcf86cd799439011", + "il1pi1ps": 10, + "il1pi2id": "507f1f77bcf86cdef799439011", + "il1pi2ps": -10, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "il1nm": "1234", + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "il1pi1qt": 1, + "il1pi1va": "department:beauty,price:under::price:desc", + "il1pi2qt": 1, + "il1pi2va": "department:beauty,price:under::price:desc", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "product clicked", + "properties": { + "currency": "CAD", + "quantity": 1, + "price": 24.75, + "name": "my product", + "category": "cat 1", + "sku": "p-298", + "list": "search results", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "product clicked", + "ec": "cat 1", + "pa": "click", + "pr1cd1": "my product", + "pr1id": "p-298", + "cd1": "my product", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "pr1nm": "my product", + "pr1ca": "cat 1", + "cu": "CAD", + "pr1pr": 24.75, + "pr1qt": 1, + "ua": "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", + "uid": "12345", + "pal": "search results", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 12", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "promotion viewed", + "properties": { + "currency": "CAD", + "promotion_id": "PROMO_1234", + "name": "my product", + "creative": "summer_banner2", + "position": "banner_slot1", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "promotion viewed", + "ec": "EnhancedEcommerce", + "cu": "CAD", + "promoa": "view", + "pa": "view", + "cd1": "my product", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "promo1id": "PROMO_1234", + "promo1cr": "summer_banner2", + "promo1ps": "banner_slot1", + "promo1nm": "my product", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 13", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "promotion clicked", + "properties": { + "currency": "CAD", + "promotion_id": "PROMO_1234", + "name": "my product", + "creative": "summer_banner2", + "position": "banner_slot1", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "promotion clicked", + "ec": "EnhancedEcommerce", + "cu": "CAD", + "promoa": "promo_click", + "pa": "promo_click", + "cd1": "my product", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "promo1id": "PROMO_1234", + "promo1cr": "summer_banner2", + "promo1ps": "banner_slot1", + "promo1nm": "my product", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 14", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "checkout started", + "properties": { + "currency": "CAD", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298" + }, + { + "quantity": 1, + "price": 24.75, + "name": "my product 2", + "sku": "p-299" + } + ], + "step": 1, + "paymentMethod": "Visa", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "checkout", + "pr1id": "p-298", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "p-299", + "pr2cd1": "my product 2", + "pr2nm": "my product 2", + "pr2pr": 24.75, + "ea": "checkout started", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "cu": "CAD", + "ua": "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", + "uid": "12345", + "cos": 1, + "pr1qt": 1, + "pr2qt": 1, + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 15", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order updated", + "properties": { + "currency": "CAD", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298" + }, + { + "quantity": 1, + "price": 24.75, + "name": "my product 2", + "sku": "p-299" + } + ], + "step": 1, + "paymentMethod": "Visa", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "checkout", + "pr1id": "p-298", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "p-299", + "pr2cd1": "my product 2", + "pr2nm": "my product 2", + "pr2pr": 24.75, + "ea": "order updated", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "cu": "CAD", + "ua": "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", + "uid": "12345", + "cos": 1, + "pr1qt": 1, + "pr2qt": 1, + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 16", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "checkout step viewed", + "properties": { + "currency": "CAD", + "step": 1 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "checkout", + "ea": "checkout step viewed", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "cos": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 17", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "checkout step completed", + "properties": { + "currency": "CAD", + "step": 1, + "paymentMethod": "Visa" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "checkout_option", + "ea": "checkout step completed", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "cos": 1, + "ua": "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", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 18", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order refunded", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "order refunded", + "ec": "EnhancedEcommerce", + "ua": "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", + "uid": "12345", + "pa": "refund", + "pr1id": "p-298", + "pr1qt": 1, + "pr2id": "p-299", + "ul": "en-US", + "pr2qt": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 19", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order starterefundedd", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "order starterefundedd", + "ua": "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", + "uid": "12345", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 20", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order starterefundedd", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "order starterefundedd", + "ua": "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", + "uid": "12345", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 21", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order starterefundedd", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "order starterefundedd", + "ua": "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", + "uid": "12345", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 22", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order starterefundedd", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "cid": "00000000000000000000000000", + "ea": "order starterefundedd", + "ua": "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", + "uid": "12345", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 23", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "order starterefundedd", + "properties": { + "products": [ + { + "quantity": 1, + "sku": "p-298" + }, + { + "quantity": 1, + "sku": "p-299" + } + ], + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "order starterefundedd", + "ua": "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", + "uid": "12345", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 24", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "linkid test", + "properties": { + "linkid": "abc123", + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "linkid": "abc123", + "cid": "00000000000000000000000000", + "ea": "linkid test", + "ua": "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", + "uid": "12345", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 25", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "campaign": { + "name": "sampleName", + "source": "sampleSource", + "medium": "sampleMedium", + "content": "sampleContent", + "term": "sampleTerm" + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "campaign test", + "properties": { + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "cn": "sampleName", + "cs": "sampleSource", + "cm": "sampleMedium", + "cc": "sampleContent", + "ck": "sampleTerm", + "cid": "00000000000000000000000000", + "ea": "campaign test", + "ua": "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", + "uid": "12345", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 26", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "campaign": { + "name": "sampleName", + "source": "sampleSource", + "medium": "sampleMedium", + "content": "sampleContent", + "term": "sampleTerm" + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "event": "campaign test", + "properties": { + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "cn": "sampleName", + "cs": "sampleSource", + "cm": "sampleMedium", + "cc": "sampleContent", + "ck": "sampleTerm", + "cid": "00000000000000000000000000", + "ea": "campaign test", + "ua": "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", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 27", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "campaign": { + "name": "sampleName", + "source": "sampleSource", + "medium": "sampleMedium", + "content": "sampleContent", + "term": "sampleTerm" + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "event": "campaign test", + "properties": { + "testDimension": true, + "testMetric": true + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ul": "en-US", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "cn": "sampleName", + "cs": "sampleSource", + "cm": "sampleMedium", + "cc": "sampleContent", + "ck": "sampleTerm", + "cid": "00000000000000000000000000", + "ea": "campaign test", + "ua": "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", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 28", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.2" + }, + "traits": { + "abc": "1234" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.2" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "page": { + "path": "/tests/html/ecomm_test.html", + "referrer": "http://0.0.0.0:1112/tests/html/", + "search": "", + "title": "GA Ecommerce Test", + "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" + } + }, + "type": "identify", + "messageId": "bc8a6af8-37fd-46a9-9592-ea29a256435f", + "originalTimestamp": "2020-06-22T11:30:32.493Z", + "anonymousId": "38e169a1-3234-46f7-9ceb-c1a6a69005fe", + "userId": "123", + "integrations": { + "All": true + }, + "sentAt": "2020-06-22T11:30:32.494Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "User Enriched", + "dt": "GA Ecommerce Test", + "ec": "All", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.1.2", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "uid": "123", + "cid": "38e169a1-3234-46f7-9ceb-c1a6a69005fe", + "ni": 1, + "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", + "ul": "en-GB", + "qt": 103120167507, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "38e169a1-3234-46f7-9ceb-c1a6a69005fe" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 29", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "v": "1", + "t": "pageview", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "uip": "0.0.0.0", + "qt": 124893881701, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 30", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/abc", + "referrer": "", + "search": "?xyz=1", + "title": "", + "url": "https://www.example.com/abc" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "v": "1", + "t": "pageview", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "uip": "0.0.0.0", + "dh": "www.example.com", + "dl": "https://www.example.com/abc", + "dp": "%2Fabc%3Fxyz%3D1", + "qt": 124893881701, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 31", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "integrations": { + "All": true + }, + "event": "sample event", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ea": "sample event", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "uip": "0.0.0.0", + "qt": 124893881701, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 32", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Refunded", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "refund", + "ev": 100, + "pr1id": "p-298", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr1qt": 1, + "pr2id": "p-299", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "pr2qt": 3, + "ea": "Order Refunded", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 33", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Refunded", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ev": 100, + "pa": "refund", + "ti": "rudderstackorder1", + "ea": "Order Refunded", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 34", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Refunded", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ev": 100, + "pa": "refund", + "ti": "rudderstackorder1", + "ea": "Order Refunded", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 35", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Refunded", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ev": 100, + "pa": "refund", + "pr1id": "1", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr1qt": 1, + "pr2id": "2", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "pr2qt": 3, + "ea": "Order Refunded", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 36", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Cart Shared", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ev": 100, + "ea": "Cart Shared", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "st": " 1 2", + "ul": "en-US", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 37", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Product Shared", + "properties": { + "product_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "url": "https://www.example.com/abc" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ev": 100, + "ea": "Product Shared", + "ec": "All", + "ni": 1, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "st": "https://www.example.com/abc", + "dh": "www.example.com", + "dl": "https://www.example.com/abc", + "dp": "%2Fabc", + "ul": "en-US", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 38", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Product List Clicked", + "properties": { + "list_id": "Sample Product List", + "category": "Sample Product List", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "Product List Clicked", + "ec": "Sample Product List", + "pa": "click", + "il1pi1id": "1", + "pr1cd1": "my product", + "il1pi1nm": "my product", + "il1pi1pr": 24.75, + "il1pi2id": "2", + "pr2cd1": "other product", + "il1pi2nm": "other product", + "il1pi2pr": 24.75, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "il1nm": "Sample Product List", + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "ni": 1, + "il1pi2qt": 3, + "il1pi1qt": 1, + "ul": "en-US", + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 39", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Product List Clicked", + "properties": { + "list_id": "Sample Product List", + "category": "Sample Product List", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "Product List Clicked", + "ec": "Sample Product List", + "pa": "click", + "il1pi1id": "p-298", + "pr1cd1": "my product", + "il1pi1nm": "my product", + "il1pi1pr": 24.75, + "il1pi2id": "p-299", + "pr2cd1": "other product", + "il1pi2nm": "other product", + "il1pi2pr": 24.75, + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "il1nm": "Sample Product List", + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "ul": "en-US", + "il1pi2qt": 3, + "il1pi1qt": 1, + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 40", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Product List Clicked", + "properties": { + "list_id": "Sample Product List", + "category": "Sample Product List", + "products": [] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ni": 1, + "ea": "Product List Clicked", + "ec": "Sample Product List", + "pa": "click", + "el": "event", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "il1nm": "Sample Product List", + "uid": "12345", + "cid": "00000000000000000000000000", + "qt": 124893881700 + }, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 41", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Cancelled", + "properties": { + "order_id": "rudderstackorder1", + "total": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "refund", + "ev": 100, + "tr": 99.99, + "pr1id": "1", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "2", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "ea": "Order Cancelled", + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "ts": 13.99, + "tt": 20.99, + "cu": "INR", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "pr1qt": 1, + "pr2qt": 3, + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 42", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Cancelled", + "properties": { + "order_id": "rudderstackorder1", + "value": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "refund", + "tr": 99.99, + "pr1id": "1", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "2", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "ea": "Order Cancelled", + "ev": 100, + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "ts": 13.99, + "tt": 20.99, + "cu": "INR", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "pr1qt": 1, + "pr2qt": 3, + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 43", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Cancelled", + "properties": { + "order_id": "rudderstackorder1", + "revenue": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "pa": "refund", + "tr": 99.99, + "pr1id": "1", + "pr1cd1": "my product", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr2id": "2", + "pr2cd1": "other product", + "pr2nm": "other product", + "pr2pr": 24.75, + "ea": "Order Cancelled", + "ev": 100, + "ec": "EnhancedEcommerce", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ti": "rudderstackorder1", + "ts": 13.99, + "tt": 20.99, + "cu": "INR", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "pr1qt": 1, + "pr2qt": 3, + "ni": 1, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 44", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Order Cancelled", + "properties": { + "order_id": "rudderstackorder1", + "revenue": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "No product information supplied for transaction event", + "statTags": { + "destType": "GA360", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 45", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Cart Viewed", + "properties": { + "order_id": "rudderstackorder1", + "revenue": 99.99, + "shipping": 13.99, + "tax": 20.99, + "currency": "INR", + "products": [ + { + "quantity": 1, + "price": 24.75, + "name": "my product", + "sku": "p-298", + "product_id": "1" + }, + { + "quantity": 3, + "price": 24.75, + "name": "other product", + "sku": "p-299", + "product_id": "2" + } + ] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "Cart Viewed", + "ev": 100, + "ec": "EnhancedEcommerce", + "pa": "detail", + "v": "1", + "t": "event", + "el": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "cid": "00000000000000000000000000", + "uid": "12345", + "ul": "en-US", + "ni": 1, + "pr1cd1": "my product", + "pr1id": "1", + "pr1nm": "my product", + "pr1pr": 24.75, + "pr1qt": 1, + "pr2cd1": "other product", + "pr2id": "2", + "pr2nm": "other product", + "pr2pr": 24.75, + "pr2qt": 3, + "qt": 124893881700, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 46", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name1": "Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "traits": { + "name1": "Test" + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "server side identify is not on", + "statTags": { + "destType": "GA360", + "errorCategory": "dataValidation", + "errorType": "configuration", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 47", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "screen", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "name": "homescreen" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "cd1": "homescreen", + "v": "1", + "t": "screenview", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "cd": "homescreen", + "ua": "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", + "uid": "12345", + "ul": "en-US", + "uip": "0.0.0.0", + "qt": 124893881701, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 48", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "newtype", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "name": "homescreen" + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "error": "Message type newtype not supported", + "statTags": { + "destType": "GA360", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "processor", + "implementation": "native", + "module": "destination" + }, + "statusCode": 400 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 49", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name": "Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "userId": "12345", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "userId": "12345", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Test", + "ni": 1, + "cd1": "Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "uid": "12345", + "cid": "827ccb0eea8a706c4c34a16891f84e7b", + "uip": "0.0.0.0", + "qt": 124901802438 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 50", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name": "Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "userId": "12345", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "disableMd5": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "userId": "12345", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Test", + "ni": 1, + "cd1": "Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "uid": "12345", + "uip": "0.0.0.0", + "qt": 124901802438 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 51", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name": "Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "userId": "12345", + "integrations": { + "All": true, + "GA": { + "clientId": "clientId" + }, + "Google Analytics": { + "clientId": "clientId" + } + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "userId": "12345", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Test", + "ni": 1, + "cd1": "Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "uid": "12345", + "cid": "clientId", + "uip": "0.0.0.0", + "qt": 124901802438 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "ga360", + "description": "Test 52", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "channel": "web", + "context": { + "externalId": [ + { + "id": "externalClientId", + "type": "gaExternalId" + } + ], + "traits": { + "name": "Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "userId": "12345", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "userId": "12345", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Test", + "ni": 1, + "cd1": "Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "ua": "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", + "ul": "en-US", + "uid": "12345", + "cid": "externalClientId", + "uip": "0.0.0.0", + "qt": 124901802438 + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {} + }, + "statusCode": 200 + } + ] + } + } + } +].map((d) => ({ ...d, mockFns })) \ No newline at end of file diff --git a/test/integrations/destinations/ga360/router/data.ts b/test/integrations/destinations/ga360/router/data.ts new file mode 100644 index 0000000000..15086b6b2f --- /dev/null +++ b/test/integrations/destinations/ga360/router/data.ts @@ -0,0 +1,487 @@ +export const mockFns = (_) => { + // @ts-ignore + jest + .useFakeTimers() + .setSystemTime(new Date('2023-09-29')); +}; + +export const data = [ + { + name: 'ga360', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "message": { + "channel": "web", + "context": { + "traits": { + "name": "Rudder Test" + }, + "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 + } + }, + "properties": { + "plan": "standard plan", + "name": "rudder test" + }, + "type": "identify", + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "anonymousId": "00000000000000000000000000", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "metadata": { + "jobId": 1 + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "name", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + }, + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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 + } + }, + "type": "page", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "path": "/abc", + "referrer": "q", + "search": "", + "title": "a", + "url": "https://www.example.com/abc" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "jobId": 2 + }, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ], + destType: 'ga360', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "ea": "action1", + "ec": "Rudder Test", + "cd1": "Rudder Test", + "cg2": "Rudder Test", + "v": "1", + "t": "event", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "uid": "123456", + "cid": "00000000000000000000000000", + "ni": 1, + "uip": "0.0.0.0", + "ua": "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", + "ul": "en-US", + "qt": 124901802438, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "metadata": [ + { + "jobId": 1 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "name", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "name", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + }, + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://www.google-analytics.com/collect", + "headers": {}, + "params": { + "v": "1", + "t": "pageview", + "tid": "UA-165994240-1", + "ds": "web", + "an": "RudderLabs JavaScript SDK", + "av": "1.0.0", + "aiid": "com.rudderlabs.javascript", + "npa": 1, + "aip": 1, + "cid": "00000000000000000000000000", + "ua": "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", + "uid": "12345", + "uip": "0.0.0.0", + "ul": "en-US", + "dh": "www.example.com", + "dl": "https://www.example.com/abc", + "dp": "%2Fabc", + "dr": "q", + "dt": "a", + "qt": 124893881701, + }, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "00000000000000000000000000" + }, + "metadata": [ + { + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "trackingID": "UA-165994240-1", + "doubleClick": true, + "enhancedLinkAttribution": true, + "classic": true, + "ignoredReferrers": "", + "serverClassic": false, + "includeSearch": true, + "trackCategorizedPages": true, + "trackNamedPages": true, + "sampleRate": "100", + "siteSpeedSampleRate": "1", + "setAllMappedProps": true, + "enableServerSideIdentify": true, + "serverSideIdentifyEventCategory": "cat1", + "serverSideIdentifyEventAction": "action1", + "anonymizeIp": true, + "domain": "domain", + "enhancedEcommerce": true, + "nonInteraction": true, + "optimize": "abc123", + "sendUserId": true, + "useGoogleAmpClientId": true, + "web-useNativeSDK": true, + "dimensions": [ + { + "from": "name", + "to": "dimension1" + }, + { + "from": "custom2", + "to": "dimension2" + } + ], + "metrics": [ + { + "from": "email", + "to": "metric1" + }, + { + "from": "trait2", + "to": "metric2" + } + ], + "resetCustomDimensionsOnPage": [ + { + "resetCustomDimensionsOnPage": "abc" + }, + { + "resetCustomDimensionsOnPage": "xyz" + } + ], + "contentGroupings": [ + { + "from": "plan", + "to": "contentGroup1" + }, + { + "from": "prop2", + "to": "contentGroup2" + } + ] + }, + "Enabled": true + } + } + ], + }, + }, + }, + } +].map((d) => ({ ...d, mockFns })); diff --git a/test/integrations/destinations/gcs_datalake/processor/data.ts b/test/integrations/destinations/gcs_datalake/processor/data.ts new file mode 100644 index 0000000000..2148d5a3e6 --- /dev/null +++ b/test/integrations/destinations/gcs_datalake/processor/data.ts @@ -0,0 +1,191 @@ +export const data = [ + { + name: 'gcs_datalake', + description: 'No Message type', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + "message": { + "receivedAt": "2023-09-29T15:07:16.650Z", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "test@rudderstack.com" + }, + "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", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + } + }, + "type": "track", + "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "originalTimestamp": "2019-10-14T11:15:18.300Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "event": "Product List Clicked", + "properties": { + "list_id": "Sample Product List", + "category": "Sample Product List", + "products": [] + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "destination": { + "Config": { + "bucketName": "ps-data-mdm-prod-rudderstack", + "prefix": "", + "namespace": "", + "credentials": "randomcreds", + "syncFrequency": "30", + "tableSuffix": "", + "timeWindowLayout": "2006/01/02/15" + }, + "Enabled": true + } + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + "output": { + "metadata": { + "table": "tracks", + "columns": { + "uuid_ts": "datetime", + "context_app_build": "string", + "context_app_name": "string", + "context_app_namespace": "string", + "context_app_version": "string", + "context_traits_email": "string", + "context_library_name": "string", + "context_library_version": "string", + "context_user_agent": "string", + "context_locale": "string", + "context_screen_density": "int", + "event_text": "string", + "id": "string", + "anonymous_id": "string", + "user_id": "string", + "sent_at": "datetime", + "received_at": "datetime", + "original_timestamp": "datetime", + "channel": "string", + "event": "string" + }, + "receivedAt": "2023-09-29T15:07:16.650Z" + }, + "data": { + "context_app_build": "1.0.0", + "context_app_name": "RudderLabs JavaScript SDK", + "context_app_namespace": "com.rudderlabs.javascript", + "context_app_version": "1.0.0", + "context_traits_email": "test@rudderstack.com", + "context_library_name": "RudderLabs JavaScript SDK", + "context_library_version": "1.0.0", + "context_user_agent": "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", + "context_locale": "en-US", + "context_screen_density": 2, + "event_text": "Product List Clicked", + "id": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "anonymous_id": "00000000000000000000000000", + "user_id": "12345", + "sent_at": "2019-10-14T11:15:53.296Z", + "received_at": "2023-09-29T15:07:16.650Z", + "original_timestamp": "2019-10-14T11:15:18.300Z", + "channel": "web", + "event": "product_list_clicked" + }, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "metadata": { + "table": "product_list_clicked", + "columns": { + "uuid_ts": "datetime", + "list_id": "string", + "category": "string", + "context_app_build": "string", + "context_app_name": "string", + "context_app_namespace": "string", + "context_app_version": "string", + "context_traits_email": "string", + "context_library_name": "string", + "context_library_version": "string", + "context_user_agent": "string", + "context_locale": "string", + "context_screen_density": "int", + "event_text": "string", + "id": "string", + "anonymous_id": "string", + "user_id": "string", + "sent_at": "datetime", + "received_at": "datetime", + "original_timestamp": "datetime", + "channel": "string", + "event": "string" + }, + "receivedAt": "2023-09-29T15:07:16.650Z" + }, + "data": { + "list_id": "Sample Product List", + "category": "Sample Product List", + "context_app_build": "1.0.0", + "context_app_name": "RudderLabs JavaScript SDK", + "context_app_namespace": "com.rudderlabs.javascript", + "context_app_version": "1.0.0", + "context_traits_email": "test@rudderstack.com", + "context_library_name": "RudderLabs JavaScript SDK", + "context_library_version": "1.0.0", + "context_user_agent": "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", + "context_locale": "en-US", + "context_screen_density": 2, + "event_text": "Product List Clicked", + "id": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", + "anonymous_id": "00000000000000000000000000", + "user_id": "12345", + "sent_at": "2019-10-14T11:15:53.296Z", + "received_at": "2023-09-29T15:07:16.650Z", + "original_timestamp": "2019-10-14T11:15:18.300Z", + "channel": "web", + "event": "product_list_clicked" + }, + "userId": "" + }, + "statusCode": 200 + } + ], + }, + }, + } +]; diff --git a/test/integrations/destinations/google_adwords_enhanced_conversions/dataDelivery/data.ts b/test/integrations/destinations/google_adwords_enhanced_conversions/dataDelivery/data.ts new file mode 100644 index 0000000000..c9bfac233d --- /dev/null +++ b/test/integrations/destinations/google_adwords_enhanced_conversions/dataDelivery/data.ts @@ -0,0 +1,290 @@ +export const data = [ + { + name: 'google_adwords_enhanced_conversions', + description: 'Test 0', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "0987654321" + }, + "params": { + "event": "Product Added", + "customerId": "1234567890", + "destination": "google_adwords_enhanced_conversions" + }, + "body": { + "JSON": { + "partialFailure": true, + "conversionAdjustments": [ + { + "gclidDateTimePair": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00" + }, + "restatementValue": { + "adjustedValue": 10, + "currency": "INR" + }, + "order_id": "10000", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "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", + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", + "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", + "state": "UK", + "city": "London", + "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" + } + } + ], + "adjustmentType": "ENHANCEMENT" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + method: 'POST', + }, + }, + output: { + response: { + status: 401, + body: { + output: { + "message": "\"\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\" during Google_adwords_enhanced_conversions response transformation\"", + "authErrorCategory": "REFRESH_TOKEN", + "destinationResponse": [ + { + "error": { + "code": 401, + "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", + "status": "UNAUTHENTICATED" + } + } + ], + "statTags": { + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + }, + "status": 401 + } + }, + }, + }, + }, + { + name: 'google_adwords_enhanced_conversions', + description: 'Test 1', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567899:uploadConversionAdjustments", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "0987654321" + }, + "params": { + "event": "Product Added", + "customerId": "1234567899", + "destination": "google_adwords_enhanced_conversions" + }, + "body": { + "JSON": { + "partialFailure": true, + "conversionAdjustments": [ + { + "gclidDateTimePair": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00" + }, + "restatementValue": { + "adjustedValue": 10, + "currency": "INR" + }, + "order_id": "10000", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "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", + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", + "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", + "state": "UK", + "city": "London", + "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" + } + } + ], + "adjustmentType": "ENHANCEMENT" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + "output": { + "destinationResponse": { + "response": [ + { + "results": [ + { + "adjustmentDateTime": "2021-01-01 12:32:45-08:00", + "adjustmentType": "ENHANCEMENT", + "conversionAction": "customers/7693729833/conversionActions/874224905", + "gclidDateTimePair": { + "conversionDateTime": "2021-01-01 12:32:45-08:00", + "gclid": "1234", + }, + "orderId": "12345", + }, + ], + }, + ], + "status": 200, + }, + "message": "Request Processed Successfully", + "status": 200, + }, + }, + }, + }, + }, + { + name: 'google_adwords_enhanced_conversions', + description: 'Test 2', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567891:uploadConversionAdjustments", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "0987654321" + }, + "params": { + "event": "Product Added", + "customerId": "1234567891", + "destination": "google_adwords_enhanced_conversions" + }, + "body": { + "JSON": { + "partialFailure": true, + "conversionAdjustments": [ + { + "gclidDateTimePair": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00" + }, + "restatementValue": { + "adjustedValue": 10, + "currency": "INR" + }, + "order_id": "10000", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "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", + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", + "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", + "state": "UK", + "city": "London", + "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" + } + } + ], + "adjustmentType": "ENHANCEMENT" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + "output": { + "destinationResponse": [ + { + results: [ + { + "conversionAction": { + "id": 123434342, + } + } + ] + } + ], + "message": "\" during Google_adwords_enhanced_conversions response transformation", + "statTags": { + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "destinationId": "Non-determininable", + "errorCategory": "network", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination", + "workspaceId": "Non-determininable", + }, + "status": 400, + }, + }, + }, + }, + } +]; diff --git a/test/integrations/destinations/google_adwords_enhanced_conversions/network.ts b/test/integrations/destinations/google_adwords_enhanced_conversions/network.ts new file mode 100644 index 0000000000..ca49ea30ab --- /dev/null +++ b/test/integrations/destinations/google_adwords_enhanced_conversions/network.ts @@ -0,0 +1,236 @@ +export const networkCallsData = [ + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567890/googleAds:searchStream', + data: { + query: `SELECT conversion_action.id FROM conversion_action WHERE conversion_action.name = 'Product Added'`, + }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': '0987654321', + }, + method: 'POST', + }, + httpRes: { + "data": [ + { + "error": { + "code": 401, + "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", + "status": "UNAUTHENTICATED" + } + } + ], + "status": 401 + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567899/googleAds:searchStream', + data: { + query: `SELECT conversion_action.id FROM conversion_action WHERE conversion_action.name = 'Product Added'` + }, + params: { destination: 'google_adwords_enhanced_conversion' }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': '0987654321', + }, + method: 'POST', + }, + httpRes: { + data: [{ + results: [{ + conversionAction: { + id: 123434342 + } + }] + }], + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567899:uploadConversionAdjustments', + data: { + conversionAdjustments: [{ + adjustmentDateTime: '2022-01-01 12:32:45-08:00', + adjustmentType: 'ENHANCEMENT', + conversionAction: 'customers/1234567899/conversionActions/123434342', + gclidDateTimePair: { + conversionDateTime: '2022-01-01 12:32:45-08:00', + gclid: 'gclid1234' + }, + order_id: '10000', + restatementValue: { adjustedValue: 10, currency: 'INR' }, + 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', + userIdentifiers: [{ + addressInfo: { + hashedFirstName: 'a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da', + hashedLastName: '1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4', + state: 'UK', + city: 'London', + hashedStreetAddress: '9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550' + } + }] + }], + partialFailure: true + }, + params: { destination: 'google_adwords_enhanced_conversion' }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': '0987654321', + }, + method: 'POST', + }, + httpRes: { + data: [{ + results: [{ + "adjustmentType": "ENHANCEMENT", + "conversionAction": "customers/7693729833/conversionActions/874224905", + "adjustmentDateTime": "2021-01-01 12:32:45-08:00", + "gclidDateTimePair": { + "gclid": "1234", + "conversionDateTime": "2021-01-01 12:32:45-08:00" + }, + "orderId": "12345" + }] + }], + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567891/googleAds:searchStream', + data: { + query: `SELECT conversion_action.id FROM conversion_action WHERE conversion_action.name = 'Product Added'` + }, + params: { destination: 'google_adwords_enhanced_conversion' }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': '0987654321', + }, + method: 'POST', + }, + httpRes: { + data: [{ + results: [{ + conversionAction: { + id: 123434342 + } + }] + }], + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567891:uploadConversionAdjustments', + data: { + conversionAdjustments: [{ + adjustmentDateTime: '2022-01-01 12:32:45-08:00', + adjustmentType: 'ENHANCEMENT', + conversionAction: 'customers/1234567891/conversionActions/123434342', + gclidDateTimePair: { + conversionDateTime: '2022-01-01 12:32:45-08:00', + gclid: 'gclid1234' + }, + order_id: '10000', + restatementValue: { adjustedValue: 10, currency: 'INR' }, + 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', + userIdentifiers: [{ + addressInfo: { + hashedFirstName: 'a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da', + hashedLastName: '1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4', + state: 'UK', + city: 'London', + hashedStreetAddress: '9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550' + } + }] + }], + partialFailure: true + }, + params: { + destination: 'google_adwords_enhanced_conversion', + + }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': '0987654321', + }, + method: 'POST', + }, + httpRes: { + data: [{ + results: [{ + conversionAction: { + id: 123434342 + } + }] + }], + status: 400, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567891:uploadClickConversions', + data: { + conversionAdjustments: [{ + adjustmentDateTime: '2022-01-01 12:32:45-08:00', + adjustmentType: 'ENHANCEMENT', + conversionAction: 'customers/1234567891/conversionActions/123434342', + gclidDateTimePair: { + conversionDateTime: '2022-01-01 12:32:45-08:00', + gclid: 'gclid1234' + }, + order_id: '10000', + restatementValue: { adjustedValue: 10, currency: 'INR' }, + 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', + userIdentifiers: [{ + addressInfo: { + hashedFirstName: 'a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da', + hashedLastName: '1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4', + state: 'UK', + city: 'London', + hashedStreetAddress: '9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550' + } + }] + }], + partialFailure: true + }, + params: { + destination: 'google_adwords_enhanced_conversion', + + }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': '0987654321', + }, + method: 'POST', + }, + httpRes: { + data: [{ + results: [{ + conversionAction: { + id: 123434342 + } + }] + }], + status: 400, + }, + } +]; + + + diff --git a/test/integrations/destinations/google_adwords_enhanced_conversions/processor/data.ts b/test/integrations/destinations/google_adwords_enhanced_conversions/processor/data.ts new file mode 100644 index 0000000000..09a9b406f6 --- /dev/null +++ b/test/integrations/destinations/google_adwords_enhanced_conversions/processor/data.ts @@ -0,0 +1,1694 @@ +export const data = [ + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "123-456-7890", + "subAccount": true, + "loginCustomerId": "123-456-7890", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "phone": "912382193", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "UK", + "countryCode": "us", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "event": "Page View", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currency": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "order_id": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg", + "quantity": "2" + }, + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "1234567890" + }, + "params": { + "event": "Page View", + "customerId": "1234567890" + }, + "body": { + "JSON": { + "conversionAdjustments": [ + { + "gclidDateTimePair": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00" + }, + "restatementValue": { + "adjustedValue": 10, + "currencyCode": "INR" + }, + "orderId": "10000", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "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", + "userIdentifiers": [ + { + "hashedPhoneNumber": "04387707e6cbed8c4538c81cc570ed9252d579469f36c273839b26d784e4bdbe" + }, + { + "addressInfo": { + "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", + "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", + "state": "UK", + "city": "London", + "countryCode": "us", + "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" + } + } + ], + "adjustmentType": "ENHANCEMENT" + } + ], + "partialFailure": true + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "11", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "phone": "912382193", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "UK", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "event": "Checkout Started", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currency": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "order_id": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg", + "quantity": "2" + }, + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 400, + "error": "Conversion named \"Checkout Started\" was not specified in the RudderStack destination configuration", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "11", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "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 + } + }, + "event": "Product Added", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currency": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "order_id": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg", + "quantity": "2" + }, + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 400, + "error": "Any of email, phone, firstName, lastName, city, street, countryCode, postalCode or streetAddress is required in traits.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "11", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "firstName": "John", + "lastName": "Gomes", + "address": { + "city": "London", + "state": "UK", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK", + "country": "us" + } + }, + "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 + } + }, + "event": "Product Added", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currencyCode": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": "true", + "campaignId": "1", + "templateId": "0", + "order_id": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg", + "quantity": "2" + }, + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "11" + }, + "params": { + "event": "Product Added", + "customerId": "1234567890" + }, + "body": { + "JSON": { + "conversionAdjustments": [ + { + "gclidDateTimePair": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00" + }, + "restatementValue": { + "adjustedValue": 10, + "currencyCode": "INR" + }, + "orderId": "10000", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "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", + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", + "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", + "state": "UK", + "city": "London", + "countryCode": "us", + "hashedStreetAddress": "b28c94b2195c8ed259f0b415aaee3f39b0b2920a4537611499fa044956917a21" + } + } + ], + "adjustmentType": "ENHANCEMENT" + } + ], + "partialFailure": true + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "UK", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "event": "Product Added", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currencyCode": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "orderId": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg", + "quantity": "2" + }, + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 400, + "error": "LoginCustomerId is required as subAccount is true.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "type": "identify", + "traits": { + "status": "elizabeth" + }, + "userId": "emrichardson820+22822@gmail.com", + "channel": "sources", + "context": { + "sources": { + "job_id": "24c5HJxHomh6YCngEOCgjS5r1KX/Syncher", + "task_id": "vw_rs_mailchimp_mocked_hg_data", + "version": "v1.8.1", + "batch_id": "f252c69d-c40d-450e-bcd2-2cf26cb62762", + "job_run_id": "c8el40l6e87v0c4hkbl0", + "task_run_id": "c8el40l6e87v0c4hkblg" + }, + "externalId": [ + { + "id": "emrichardson820+22822@gmail.com", + "type": "MAILCHIMP-92e1f1ad2c", + "identifierType": "email_address" + } + ], + "mappedToDestination": "true" + }, + "recordId": "1", + "rudderId": "4d5d0ed0-9db8-41cc-9bb0-a032f6bfa97a", + "messageId": "b3bee036-fc26-4f6d-9867-c17f85708a82" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 400, + "error": "Message Type identify is not supported. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": null + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "11", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "phone": "912382193", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "UK", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "event": "Page View", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currency": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "order_id": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg", + "quantity": "2" + }, + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": null + }, + "statusCode": 500, + "error": "OAuth - access token not found", + "statTags": { + "errorCategory": "platform", + "errorType": "oAuthSecret", + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "123-456-7890", + "subAccount": true, + "loginCustomerId": "123-456-7890", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "phone": "912382193", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "UK", + "countryCode": "us", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "event": "Product Viewed", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currency": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "orde_id": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg", + "quantity": "2" + }, + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 400, + "error": "Conversion named \"Product Viewed\" was not specified in the RudderStack destination configuration", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "requireHash": true, + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "123-456-7890", + "subAccount": true, + "loginCustomerId": "123-456-7890", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "phone": "912382193", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "UK", + "countryCode": "us", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "event": "Page View", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currency": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "order_id": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "1234567890" + }, + "params": { + "event": "Page View", + "customerId": "1234567890" + }, + "body": { + "JSON": { + "conversionAdjustments": [ + { + "gclidDateTimePair": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00" + }, + "restatementValue": { + "adjustedValue": 10, + "currencyCode": "INR" + }, + "orderId": "10000", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "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", + "userIdentifiers": [ + { + "hashedPhoneNumber": "04387707e6cbed8c4538c81cc570ed9252d579469f36c273839b26d784e4bdbe" + }, + { + "addressInfo": { + "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", + "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", + "state": "UK", + "city": "London", + "countryCode": "us", + "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" + } + } + ], + "adjustmentType": "ENHANCEMENT" + } + ], + "partialFailure": true + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "requireHash": false, + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "123-456-7890", + "subAccount": true, + "loginCustomerId": "123-456-7890", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "phone": "912382193", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "UK", + "countryCode": "us", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "event": "Page View", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currency": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "order_id": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "1234567890" + }, + "params": { + "event": "Page View", + "customerId": "1234567890" + }, + "body": { + "JSON": { + "conversionAdjustments": [ + { + "gclidDateTimePair": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00" + }, + "restatementValue": { + "adjustedValue": 10, + "currencyCode": "INR" + }, + "orderId": "10000", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "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", + "userIdentifiers": [ + { + "hashedPhoneNumber": "912382193" + }, + { + "addressInfo": { + "hashedFirstName": "John", + "hashedLastName": "Gomes", + "state": "UK", + "city": "London", + "countryCode": "us", + "hashedStreetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + } + } + ], + "adjustmentType": "ENHANCEMENT" + } + ], + "partialFailure": true + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_enhanced_conversions", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "destination": { + "Config": { + "requireHash": false, + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "123-456-7890", + "subAccount": true, + "loginCustomerId": "123-456-7890", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "phone": "912382193", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "UK", + "countryCode": "us", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "event": "Page View", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currency": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + } + }, + "statusCode": 400, + "error": "Missing required value from [\"properties.orderId\",\"properties.order_id\"]", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/google_adwords_enhanced_conversions/router/data.ts b/test/integrations/destinations/google_adwords_enhanced_conversions/router/data.ts new file mode 100644 index 0000000000..efaa0072e2 --- /dev/null +++ b/test/integrations/destinations/google_adwords_enhanced_conversions/router/data.ts @@ -0,0 +1,447 @@ +export const data = [ + { + name: 'google_adwords_enhanced_conversions', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + }, + "jobId": 1 + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "11", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "phone": "912382193", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "UK", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "event": "Page View", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currency": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "order_id": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg", + "quantity": "2" + }, + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + }, + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + }, + "jobId": 2 + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "type": "identify", + "traits": { + "status": "elizabeth" + }, + "userId": "emrichardson820+22822@gmail.com", + "channel": "sources", + "context": { + "sources": { + "job_id": "24c5HJxHomh6YCngEOCgjS5r1KX/Syncher", + "task_id": "vw_rs_mailchimp_mocked_hg_data", + "version": "v1.8.1", + "batch_id": "f252c69d-c40d-450e-bcd2-2cf26cb62762", + "job_run_id": "c8el40l6e87v0c4hkbl0", + "task_run_id": "c8el40l6e87v0c4hkblg" + }, + "externalId": [ + { + "id": "emrichardson820+22822@gmail.com", + "type": "MAILCHIMP-92e1f1ad2c", + "identifierType": "email_address" + } + ], + "mappedToDestination": "true" + }, + "recordId": "1", + "rudderId": "4d5d0ed0-9db8-41cc-9bb0-a032f6bfa97a", + "messageId": "b3bee036-fc26-4f6d-9867-c17f85708a82" + } + }, + { + "metadata": { + "secret": {}, + "jobId": 3 + }, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "11", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "phone": "912382193", + "firstName": "John", + "lastName": "Gomes", + "city": "London", + "state": "UK", + "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" + }, + "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 + } + }, + "event": "Page View", + "type": "track", + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "originalTimestamp": "2019-10-14T11:15:18.299Z", + "anonymousId": "00000000000000000000000000", + "userId": "12345", + "properties": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "adjustedValue": "10", + "currency": "INR", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "partialFailure": true, + "campaignId": "1", + "templateId": "0", + "order_id": 10000, + "total": 1000, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "price": "19", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg", + "quantity": "2" + }, + { + "product_id": "507f1f77bcf86cd7994390112", + "sku": "45790-322", + "name": "Monopoly: 3rd Edition2", + "price": "192", + "quantity": 22, + "position": "12", + "category": "Cars2", + "url": "https://www.example.com/product/path2", + "image_url": "https://www.example.com/product/path.jpg2" + } + ] + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + } + }, + ], + destType: 'google_adwords_enhanced_conversions', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadConversionAdjustments", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "11" + }, + "params": { "event": "Page View", "customerId": "1234567890" }, + "body": { + "JSON": { + "partialFailure": true, + "conversionAdjustments": [ + { + "gclidDateTimePair": { + "gclid": "gclid1234", + "conversionDateTime": "2022-01-01 12:32:45-08:00" + }, + "restatementValue": { + "adjustedValue": 10, + "currencyCode": "INR" + }, + "orderId": "10000", + "adjustmentDateTime": "2022-01-01 12:32:45-08:00", + "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", + "userIdentifiers": [ + { + "hashedPhoneNumber": "04387707e6cbed8c4538c81cc570ed9252d579469f36c273839b26d784e4bdbe" + }, + { + "addressInfo": { + "hashedFirstName": "a8cfcd74832004951b4408cdb0a5dbcd8c7e52d43f7fe244bf720582e05241da", + "hashedLastName": "1c574b17eefa532b6d61c963550a82d2d3dfca4a7fb69e183374cfafd5328ee4", + "state": "UK", + "city": "London", + "hashedStreetAddress": "9a4d2e50828448f137f119a3ebdbbbab8d6731234a67595fdbfeb2a2315dd550" + } + } + ], + "adjustmentType": "ENHANCEMENT" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + "metadata": [ + { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + }, + "jobId": 1 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "11", + "listOfConversions": [{ "conversions": "Page View" }, { "conversions": "Product Added" }], + "authStatus": "active" + } + } + }, + { + "metadata": [ + { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl91011" + }, + "jobId": 2 + } + ], + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "batched": false, + "statusCode": 400, + "error": "Message Type identify is not supported. Aborting message.", + "statTags": { + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "feature": "router", + "implementation": "native", + "module": "destination", + } + }, + { + "metadata": [ + { + "secret": {}, + "jobId": 3 + } + ], + "destination": { + "Config": { + "rudderAccountId": "25u5whFH7gVTnCiAjn4ykoCLGoC", + "customerId": "1234567890", + "subAccount": true, + "loginCustomerId": "11", + "listOfConversions": [ + { + "conversions": "Page View" + }, + { + "conversions": "Product Added" + } + ], + "authStatus": "active" + } + }, + "batched": false, + "statusCode": 500, + "error": "OAuth - access token not found", + "statTags": { + "destType": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", + "errorCategory": "platform", + "errorType": "oAuthSecret", + "feature": "router", + "implementation": "native", + "module": "destination", + } + } + ] + , + }, + }, + }, + } +]; diff --git a/test/integrations/destinations/google_adwords_offline_conversions/dataDelivery/data.ts b/test/integrations/destinations/google_adwords_offline_conversions/dataDelivery/data.ts new file mode 100644 index 0000000000..284632ae09 --- /dev/null +++ b/test/integrations/destinations/google_adwords_offline_conversions/dataDelivery/data.ts @@ -0,0 +1,750 @@ +export const data = [ + { + name: 'google_adwords_offline_conversions', + description: 'Test 0', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/11122233331/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "logincustomerid" + }, + "params": { + "customerId": "1112223333", + "event": "Sign-up - click" + }, + "body": { + "JSON": { + "addConversionPayload": { + "enable_partial_failure": false, + "enable_warnings": false, + "operations": [ + { + "create": { + "transaction_attribute": { + "CUSTOM_KEY": "CUSTOM_VALUE", + "currency_code": "INR", + "order_id": "order id", + "store_attribute": { + "store_code": "store code" + }, + "transaction_amount_micros": "100000000", + "transaction_date_time": "2019-10-14 11:15:18+00:00" + }, + "userIdentifiers": [ + { + "hashedEmail": "6db61e6dcbcf2390e4a46af26f26a133a3bee45021422fc7ae86e9136f14110", + "userIdentifierSource": "UNSPECIFIED" + } + ] + } + } + ], + "validate_only": false + }, + "createJobPayload": { + "job": { + "storeSalesMetadata": { + "custom_key": "CUSTOM_KEY", + "loyaltyFraction": 1, + "transaction_upload_fraction": "1" + }, + "type": "STORE_SALES_UPLOAD_FIRST_PARTY" + } + }, + "event": "1112223333", + "executeJobPayload": { + "validate_only": false + }, + "isStoreConversion": true + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + "output": { + "status": 400, + "message": "[Google Ads Offline Conversions]:: Request contains an invalid argument. during google_ads_offline_store_conversions Add Conversion", + "destinationResponse": { + "error": { + "code": 400, + "details": [ + { + "@type": "type.googleapis.com/google.ads.googleads.v14.errors.GoogleAdsFailure", + "errors": [ + { + "errorCode": { + "offlineUserDataJobError": "INVALID_SHA256_FORMAT" + }, + "message": "The SHA256 encoded value is malformed.", + "location": { + "fieldPathElements": [ + { + "fieldName": "operations", + "index": 0 + }, + { + "fieldName": "create" + }, + { + "fieldName": "user_identifiers", + "index": 0 + }, + { + "fieldName": "hashed_email" + } + ] + } + } + ], + "requestId": "68697987" + } + ], + "message": "Request contains an invalid argument.", + "status": "INVALID_ARGUMENT" + } + }, + "statTags": { + "destType": "GOOGLE_ADWORDS_OFFLINE_CONVERSIONS", + "destinationId": "Non-determininable", + "errorCategory": "network", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination", + "workspaceId": "Non-determininable", + } + } + }, + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 1', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "logincustomerid" + }, + "params": { + "customerId": "1112223333", + "event": "Sign-up - click" + }, + "body": { + "JSON": { + "addConversionPayload": { + "enable_partial_failure": false, + "enable_warnings": false, + "operations": [ + { + "create": { + "transaction_attribute": { + "CUSTOM_KEY": "CUSTOM_VALUE", + "currency_code": "INR", + "order_id": "order id", + "store_attribute": { + "store_code": "store code" + }, + "transaction_amount_micros": "100000000", + "transaction_date_time": "2019-10-14 11:15:18+00:00" + }, + "userIdentifiers": [ + { + "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110", + "userIdentifierSource": "UNSPECIFIED" + } + ] + } + } + ], + "validate_only": false + }, + "createJobPayload": { + "job": { + "storeSalesMetadata": { + "custom_key": "CUSTOM_KEY", + "loyaltyFraction": 1, + "transaction_upload_fraction": "1" + }, + "type": "STORE_SALES_UPLOAD_FIRST_PARTY" + } + }, + "event": "1112223333", + "executeJobPayload": { + "validate_only": false + }, + "isStoreConversion": true + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + }, + }, + output: { + response: { + status: 200, + body: { + "output": { + "status": 200, + "message": "[Google Ads Offline Conversions Response Handler] - Request processed successfully", + "destinationResponse": { + "response": { + "name": "customers/111-222-3333/operations/abcd=" + }, + "status": 200 + } + } + }, + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 2', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/customerid/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011", + "login-customer-id": "logincustomerid" + }, + "params": { + "customerId": "1112223333", + "event": "Sign-up - click" + }, + "body": { + "JSON": { + "addConversionPayload": { + "enable_partial_failure": false, + "enable_warnings": false, + "operations": [ + { + "create": { + "transaction_attribute": { + "CUSTOM_KEY": "CUSTOM_VALUE", + "currency_code": "INR", + "order_id": "order id", + "store_attribute": { + "store_code": "store code" + }, + "transaction_amount_micros": "100000000", + "transaction_date_time": "2019-10-14 11:15:18+00:00" + }, + "userIdentifiers": [ + { + "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110", + "userIdentifierSource": "UNSPECIFIED" + } + ] + } + } + ], + "validate_only": false + }, + "createJobPayload": { + "job": { + "storeSalesMetadata": { + "custom_key": "CUSTOM_KEY", + "loyaltyFraction": 1, + "transaction_upload_fraction": "1" + }, + "type": "STORE_SALES_UPLOAD_FIRST_PARTY" + } + }, + "event": "1112223333", + "executeJobPayload": { + "validate_only": false + }, + "isStoreConversion": true + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + }, + }, + output: { + response: { + status: 401, + body: { + "output": { + "status": 401, + "message": "[Google Ads Offline Conversions]:: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project. during google_ads_offline_store_conversions Job Creation", + "authErrorCategory": "REFRESH_TOKEN", + "destinationResponse": { + "error": { + "code": 401, + "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", + "status": "UNAUTHENTICATED" + } + }, + "statTags": { + "destType": "GOOGLE_ADWORDS_OFFLINE_CONVERSIONS", + "destinationId": "Non-determininable", + "errorCategory": "network", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination", + "workspaceId": "Non-determininable" + } + } + } + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 3', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567890:uploadClickConversions", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011" + }, + "params": { + "event": "Sign-up - click", + "customerId": "1234567890", + "customVariables": [ + { + "from": "value", + "to": "revenue" + }, + { + "from": "total", + "to": "cost" + } + ], + "properties": { + "gbraid": "gbraid", + "wbraid": "wbraid", + "externalAttributionCredit": 10, + "externalAttributionModel": "externalAttributionModel", + "conversionCustomVariable": "conversionCustomVariable", + "value": "value", + "merchantId": "9876merchantId", + "feedCountryCode": "feedCountryCode", + "feedLanguageCode": "feedLanguageCode", + "localTransactionCost": 20, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "quantity": "2", + "price": "50", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + } + ], + "userIdentifierSource": "FIRST_PARTY", + "conversionEnvironment": "WEB", + "gclid": "gclid", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "conversionValue": "1", + "currency": "GBP", + "orderId": "PL-123QR" + } + }, + "body": { + "JSON": { + "conversions": [ + { + "gbraid": "gbraid", + "wbraid": "wbraid", + "externalAttributionData": { + "externalAttributionCredit": 10, + "externalAttributionModel": "externalAttributionModel" + }, + "cartData": { + "merchantId": 9876, + "feedCountryCode": "feedCountryCode", + "feedLanguageCode": "feedLanguageCode", + "localTransactionCost": 20, + "items": [ + { + "productId": "507f1f77bcf86cd799439011", + "quantity": 2, + "unitPrice": 50 + } + ] + }, + "userIdentifiers": [ + { + "userIdentifierSource": "FIRST_PARTY", + "hashedEmail": "6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110" + } + ], + "conversionEnvironment": "WEB", + "gclid": "gclid", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "conversionValue": 1, + "currencyCode": "GBP", + "orderId": "PL-123QR" + } + ], + "partialFailure": true + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + }, + }, + output: { + response: { + status: 401, + body: { + "output": { + "status": 401, + "message": "[Google Ads Offline Conversions]:: [{\"error\":{\"code\":401,\"message\":\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\",\"status\":\"UNAUTHENTICATED\"}}] during google_ads_offline_conversions response transformation", + "authErrorCategory": "REFRESH_TOKEN", + "destinationResponse": [ + { + "error": { + "code": 401, + "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", + "status": "UNAUTHENTICATED" + } + } + ], + "statTags": { + "destType": "GOOGLE_ADWORDS_OFFLINE_CONVERSIONS", + "destinationId": "Non-determininable", + "errorCategory": "network", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination", + "workspaceId": "Non-determininable", + } + } + } + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 4', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567891:uploadClickConversions", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011" + }, + "params": { + "event": "Sign-up - click", + "customerId": "1234567891", + "customVariables": [ + { + "from": "Value", + "to": "revenue" + }, + { + "from": "total", + "to": "cost" + } + ], + "properties": { + "gbraid": "gbraid", + "wbraid": "wbraid", + "externalAttributionCredit": 10, + "externalAttributionModel": "externalAttributionModel", + "conversionCustomVariable": "conversionCustomVariable", + "Value": "value", + "merchantId": "9876merchantId", + "feedCountryCode": "feedCountryCode", + "feedLanguageCode": "feedLanguageCode", + "localTransactionCost": 20, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "quantity": "2", + "price": "50", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + } + ], + "userIdentifierSource": "FIRST_PARTY", + "conversionEnvironment": "WEB", + "gclid": "gclid", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "conversionValue": "1", + "currency": "GBP", + "orderId": "PL-123QR" + } + }, + "body": { + "JSON": { + "conversions": [ + { + "gbraid": "gbraid", + "wbraid": "wbraid", + "externalAttributionData": { + "externalAttributionCredit": 10, + "externalAttributionModel": "externalAttributionModel" + }, + "cartData": { + "merchantId": 9876, + "feedCountryCode": "feedCountryCode", + "feedLanguageCode": "feedLanguageCode", + "localTransactionCost": 20, + "items": [ + { + "productId": "507f1f77bcf86cd799439011", + "quantity": 2, + "unitPrice": 50 + } + ] + }, + "userIdentifiers": [ + { + "userIdentifierSource": "FIRST_PARTY", + "hashedPhoneNumber": "04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd" + } + ], + "conversionEnvironment": "WEB", + "gclid": "gclid", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "conversionValue": 1, + "currencyCode": "GBP", + "orderId": "PL-123QR" + } + ], + "partialFailure": true + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + } + }, + output: { + response: { + status: 200, + body: { + "output": { + "status": 200, + "message": "[Google Ads Offline Conversions Response Handler] - Request processed successfully", + "destinationResponse": { + "response": [ + { + "adjustmentType": "ENHANCEMENT", + "conversionAction": "customers/1234567891/conversionActions/874224905", + "adjustmentDateTime": "2021-01-01 12:32:45-08:00", + "gclidDateTimePair": { + "gclid": "1234", + "conversionDateTime": "2021-01-01 12:32:45-08:00" + }, + "orderId": "12345" + } + ], + "status": 200 + } + } + } + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 5', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/1234567891:uploadClickConversions", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl91011" + }, + "params": { + "event": "Sign-up - click", + "customerId": "1234567891", + "customVariables": [], + "properties": { + "gbraid": "gbraid", + "wbraid": "wbraid", + "externalAttributionCredit": 10, + "externalAttributionModel": "externalAttributionModel", + "conversionCustomVariable": "conversionCustomVariable", + "value": "value", + "merchantId": "9876merchantId", + "feedCountryCode": "feedCountryCode", + "feedLanguageCode": "feedLanguageCode", + "localTransactionCost": 20, + "products": [ + { + "product_id": "507f1f77bcf86cd799439011", + "quantity": "2", + "price": "50", + "sku": "45790-32", + "name": "Monopoly: 3rd Edition", + "position": "1", + "category": "cars", + "url": "https://www.example.com/product/path", + "image_url": "https://www.example.com/product/path.jpg" + } + ], + "userIdentifierSource": "FIRST_PARTY", + "conversionEnvironment": "WEB", + "gclid": "gclid", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "conversionValue": "1", + "currency": "GBP", + "orderId": "PL-123QR" + } + }, + "body": { + "JSON": { + "conversions": [ + { + "gbraid": "gbraid", + "wbraid": "wbraid", + "externalAttributionData": { + "externalAttributionCredit": 10, + "externalAttributionModel": "externalAttributionModel" + }, + "cartData": { + "merchantId": 9876, + "feedCountryCode": "feedCountryCode", + "feedLanguageCode": "feedLanguageCode", + "localTransactionCost": 20, + "items": [ + { + "productId": "507f1f77bcf86cd799439011", + "quantity": 2, + "unitPrice": 50 + } + ] + }, + "userIdentifiers": [ + { + "userIdentifierSource": "FIRST_PARTY", + "hashedPhoneNumber": "04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd" + } + ], + "conversionEnvironment": "WEB", + "gclid": "gclid", + "conversionDateTime": "2022-01-01 12:32:45-08:00", + "conversionValue": 1, + "currencyCode": "GBP", + "orderId": "PL-123QR" + } + ], + "partialFailure": true + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + } + }, + output: { + response: { + status: 200, + body: { + "output": { + "destinationResponse": { + "response": [ + { + "adjustmentDateTime": "2021-01-01 12:32:45-08:00", + "adjustmentType": "ENHANCEMENT", + "conversionAction": "customers/1234567891/conversionActions/874224905", + "gclidDateTimePair": { + "conversionDateTime": "2021-01-01 12:32:45-08:00", + "gclid": "1234" + }, + "orderId": "12345" + } + ], + "status": 200 + }, + "message": "[Google Ads Offline Conversions Response Handler] - Request processed successfully", + "status": 200 + } + } + }, + }, + } +]; diff --git a/test/integrations/destinations/google_adwords_offline_conversions/mocks.ts b/test/integrations/destinations/google_adwords_offline_conversions/mocks.ts new file mode 100644 index 0000000000..3467949b6c --- /dev/null +++ b/test/integrations/destinations/google_adwords_offline_conversions/mocks.ts @@ -0,0 +1,7 @@ +import helper from '../../../../src/v0/destinations/google_adwords_offline_conversions/helper'; + +export const timestampMock = (_, timestampValue: string = '2019-10-14 16:45:18+05:30') => { + jest.spyOn(helper, 'formatTimestamp').mockImplementation((_v) => { + return timestampValue; + }); +}; diff --git a/test/integrations/destinations/google_adwords_offline_conversions/network.ts b/test/integrations/destinations/google_adwords_offline_conversions/network.ts new file mode 100644 index 0000000000..375879727b --- /dev/null +++ b/test/integrations/destinations/google_adwords_offline_conversions/network.ts @@ -0,0 +1,494 @@ +export const networkCallsData = [ + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/11122233331/offlineUserDataJobs:create', + data: { + job: { + storeSalesMetadata: { + custom_key: 'CUSTOM_KEY', + loyaltyFraction: 1, + transaction_upload_fraction: '1', + }, + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + }, + }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + method: 'POST', + }, + httpRes: { + data: { + resourceName: + 'customers/111-222-3333/offlineUserDataJobs/OFFLINE_USER_DATA_JOB_ID_FOR_ADD_FAILURE', + }, + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1112223333/googleAds:searchStream', + data: { + query: `SELECT conversion_action.id FROM conversion_action WHERE conversion_action.name = 'Sign-up - click'`, + }, + params: { destination: 'google_adwords_offline_conversion' }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + method: 'POST', + }, + httpRes: { + data: [ + { + results: [ + { + conversionAction: { + resourceName: 'customers/111-222-3333/offlineUserDataJobs/conversion_id', + id: '848898416', + }, + }, + ], + fieldMask: 'conversionAction.id', + requestId: 'pNnCTCWGP9XOyy3Hmj7yGA', + }, + ], + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/11122233331/offlineUserDataJobs/OFFLINE_USER_DATA_JOB_ID_FOR_ADD_FAILURE:addOperations', + data: { + enable_partial_failure: false, + enable_warnings: false, + operations: [ + { + create: { + transaction_attribute: { + CUSTOM_KEY: 'CUSTOM_VALUE', + currency_code: 'INR', + order_id: 'order id', + store_attribute: { store_code: 'store code' }, + transaction_amount_micros: '100000000', + transaction_date_time: '2019-10-14 11:15:18+00:00', + conversion_action: 'customers/111-222-3333/offlineUserDataJobs/conversion_id', + }, + userIdentifiers: [ + { + hashedEmail: '6db61e6dcbcf2390e4a46af26f26a133a3bee45021422fc7ae86e9136f14110', + userIdentifierSource: 'UNSPECIFIED', + }, + ], + }, + }, + ], + validate_only: false, + }, + params: { destination: 'google_adwords_offline_conversion' }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + method: 'POST', + }, + httpRes: { + status: 400, + data: { + error: { + code: 400, + message: 'Request contains an invalid argument.', + status: 'INVALID_ARGUMENT', + details: [ + { + '@type': 'type.googleapis.com/google.ads.googleads.v14.errors.GoogleAdsFailure', + errors: [ + { + errorCode: { + offlineUserDataJobError: 'INVALID_SHA256_FORMAT', + }, + message: 'The SHA256 encoded value is malformed.', + location: { + fieldPathElements: [ + { + fieldName: 'operations', + index: 0, + }, + { + fieldName: 'create', + }, + { + fieldName: 'user_identifiers', + index: 0, + }, + { + fieldName: 'hashed_email', + }, + ], + }, + }, + ], + requestId: '68697987', + }, + ], + }, + }, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs:create', + data: { + job: { + storeSalesMetadata: { + custom_key: 'CUSTOM_KEY', + loyaltyFraction: 1, + transaction_upload_fraction: '1', + }, + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + }, + }, + params: { destination: 'google_adwords_offline_conversion' }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + method: 'POST', + }, + httpRes: { + data: { + resourceName: 'customers/111-222-3333/offlineUserDataJobs/OFFLINE_USER_DATA_JOB_ID', + }, + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs/OFFLINE_USER_DATA_JOB_ID:addOperations', + data: { + enable_partial_failure: false, + enable_warnings: false, + operations: [ + { + create: { + transaction_attribute: { + CUSTOM_KEY: 'CUSTOM_VALUE', + currency_code: 'INR', + order_id: 'order id', + store_attribute: { store_code: 'store code' }, + transaction_amount_micros: '100000000', + transaction_date_time: '2019-10-14 11:15:18+00:00', + conversion_action: 'customers/111-222-3333/offlineUserDataJobs/conversion_id', + }, + userIdentifiers: [ + { + hashedEmail: '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + userIdentifierSource: 'UNSPECIFIED', + }, + ], + }, + }, + ], + validate_only: false, + }, + params: { destination: 'google_adwords_offline_conversion' }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + method: 'POST', + }, + httpRes: { + data: {}, + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs/OFFLINE_USER_DATA_JOB_ID:run', + data: { validate_only: false }, + params: { destination: 'google_adwords_offline_conversion' }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + method: 'POST', + }, + httpRes: { + data: { + name: 'customers/111-222-3333/operations/abcd=', + }, + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/customerid/offlineUserDataJobs:create', + data: { + job: { + storeSalesMetadata: { + custom_key: 'CUSTOM_KEY', + loyaltyFraction: 1, + transaction_upload_fraction: '1', + }, + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + }, + }, + params: { destination: 'google_adwords_offline_conversion' }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + method: 'POST', + }, + httpRes: { + status: 401, + data: { + error: { + code: 401, + message: + 'Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.', + status: 'UNAUTHENTICATED', + }, + }, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567890/googleAds:searchStream', + data: { + query: `SELECT conversion_action.id FROM conversion_action WHERE conversion_action.name = 'Sign-up - click'`, + }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + method: 'POST', + params: { destination: 'google_adwords_offline_conversion' }, + }, + httpRes: { + data: [ + { + error: { + code: 401, + message: + 'Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.', + status: 'UNAUTHENTICATED', + }, + }, + ], + status: 401, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567891/googleAds:searchStream', + data: { + query: + "SELECT conversion_action.id FROM conversion_action WHERE conversion_action.name = 'Sign-up - click'", + }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + method: 'POST', + params: { destination: 'google_adwords_offline_conversion' }, + }, + httpRes: { + data: [ + { + results: [ + { + conversionAction: { + resourceName: 'customers/1234567891/conversionActions/848898416', + id: '848898416', + }, + }, + ], + fieldMask: 'conversionAction.id', + requestId: 'pNnCTCWGP9XOyy3Hmj7yGA', + }, + ], + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567891/googleAds:searchStream', + data: { query: 'SELECT conversion_custom_variable.name FROM conversion_custom_variable' }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + method: 'POST', + params: { destination: 'google_adwords_offline_conversion' }, + }, + httpRes: { + data: [ + { + results: [ + { + conversionCustomVariable: { + resourceName: 'customers/1234567891/conversionCustomVariables/19131634', + name: 'revenue', + }, + }, + { + conversionCustomVariable: { + resourceName: 'customers/1234567891/conversionCustomVariables/19134061', + name: 'page_value', + }, + }, + ], + }, + ], + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567891:uploadClickConversions', + data: { + conversions: [ + { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionData: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + }, + cartData: { + merchantId: 9876, + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + items: [{ productId: '507f1f77bcf86cd799439011', quantity: 2, unitPrice: 50 }], + }, + userIdentifiers: [ + { + userIdentifierSource: 'FIRST_PARTY', + hashedPhoneNumber: + '04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd', + }, + ], + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: 1, + currencyCode: 'GBP', + orderId: 'PL-123QR', + conversionAction: 'customers/1234567891/conversionActions/848898416', + customVariables: [ + { + conversionCustomVariable: 'customers/1234567891/conversionCustomVariables/19131634', + value: 'value', + }, + ], + }, + ], + partialFailure: true, + }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + method: 'POST', + params: { destination: 'google_adwords_offline_conversion' }, + }, + httpRes: { + data: [ + { + adjustmentType: 'ENHANCEMENT', + conversionAction: 'customers/1234567891/conversionActions/874224905', + adjustmentDateTime: '2021-01-01 12:32:45-08:00', + gclidDateTimePair: { + gclid: '1234', + conversionDateTime: '2021-01-01 12:32:45-08:00', + }, + orderId: '12345', + }, + ], + status: 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/1234567891:uploadClickConversions', + data: { + conversions: [ + { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionData: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + }, + cartData: { + merchantId: 9876, + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + items: [{ productId: '507f1f77bcf86cd799439011', quantity: 2, unitPrice: 50 }], + }, + userIdentifiers: [ + { + userIdentifierSource: 'FIRST_PARTY', + hashedPhoneNumber: + '04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd', + }, + ], + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: 1, + currencyCode: 'GBP', + orderId: 'PL-123QR', + conversionAction: 'customers/1234567891/conversionActions/848898416', + }, + ], + partialFailure: true, + }, + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + method: 'POST', + params: { destination: 'google_adwords_offline_conversion' }, + }, + httpRes: { + data: [ + { + adjustmentType: 'ENHANCEMENT', + conversionAction: 'customers/1234567891/conversionActions/874224905', + adjustmentDateTime: '2021-01-01 12:32:45-08:00', + gclidDateTimePair: { + gclid: '1234', + conversionDateTime: '2021-01-01 12:32:45-08:00', + }, + orderId: '12345', + }, + ], + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/google_adwords_offline_conversions/processor/data.ts b/test/integrations/destinations/google_adwords_offline_conversions/processor/data.ts new file mode 100644 index 0000000000..f47deaef67 --- /dev/null +++ b/test/integrations/destinations/google_adwords_offline_conversions/processor/data.ts @@ -0,0 +1,5315 @@ +import { timestampMock } from '../mocks'; +export const data = [ + { + name: 'google_adwords_offline_conversions', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + phone: 'alex@example.com', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Promotion Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + merchantId: '9876merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionValue: '1', + currency: 'GBP', + orderId: 'PL-123QR', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'Sign-up - click', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + merchantId: '9876merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionValue: '1', + currency: 'GBP', + orderId: 'PL-123QR', + }, + }, + body: { + JSON: { + conversions: [ + { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionData: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + }, + cartData: { + merchantId: 9876, + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + items: [ + { + productId: '507f1f77bcf86cd799439011', + quantity: 2, + unitPrice: 50, + }, + ], + }, + userIdentifiers: [ + { + userIdentifierSource: 'FIRST_PARTY', + hashedPhoneNumber: + '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + }, + ], + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2019-10-14 16:45:18+05:30', + conversionValue: 1, + currencyCode: 'GBP', + orderId: 'PL-123QR', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: timestampMock, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Promotion Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + timestamp: 1675692865495, + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + merchantId: '9876merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionValue: '1', + currency: 'GBP', + orderId: 'PL-123QR', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'Sign-up - click', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + merchantId: '9876merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionValue: '1', + currency: 'GBP', + orderId: 'PL-123QR', + }, + }, + body: { + JSON: { + conversions: [ + { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionData: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + }, + cartData: { + merchantId: 9876, + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + items: [ + { + productId: '507f1f77bcf86cd799439011', + quantity: 2, + unitPrice: 50, + }, + ], + }, + userIdentifiers: [ + { + userIdentifierSource: 'FIRST_PARTY', + hashedEmail: + '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + }, + ], + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2023-02-06 19:44:25+05:30', + conversionValue: 1, + currencyCode: 'GBP', + orderId: 'PL-123QR', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: (_) => timestampMock(_, '2023-02-06 19:44:25+05:30'), + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'sign up completed', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + type: 'track', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: '10', + orderId: 'PL-123QR', + merchantId: '123123Mpowi', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + gclid: 'gclid', + conversionAction: 'customer', + conversionValue: '1', + currency: 'GBP', + total: 555, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'Sign-up - click', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: '10', + orderId: 'PL-123QR', + merchantId: '123123Mpowi', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + gclid: 'gclid', + conversionAction: 'customer', + conversionValue: '1', + currency: 'GBP', + total: 555, + }, + }, + body: { + JSON: { + conversions: [ + { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionData: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + }, + cartData: { + merchantId: 123123, + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + items: [ + { + productId: '507f1f77bcf86cd799439011', + quantity: 2, + unitPrice: 50, + }, + ], + }, + gclid: 'gclid', + conversionDateTime: '2019-10-14 16:45:18+05:30', + conversionValue: 1, + currencyCode: 'GBP', + orderId: 'PL-123QR', + userIdentifiers: [ + { + userIdentifierSource: 'THIRD_PARTY', + hashedEmail: + '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + }, + ], + conversionEnvironment: 'WEB', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: timestampMock, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Product Searched', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + merchantId: 'merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadCallConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'search', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + merchantId: 'merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + }, + }, + body: { + JSON: { + conversions: [ + { + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: 1, + currencyCode: 'GBP', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Promotion Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + merchantId: 'merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: null, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: null, + }, + statusCode: 500, + error: 'OAuth - access token not found', + statTags: { + errorCategory: 'platform', + errorType: 'oAuthSecret', + destType: 'GOOGLE_ADWORDS_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Promotion Clicked', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 400, + error: 'Message type is not present. Aborting message.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'GOOGLE_ADWORDS_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 400, + error: 'Event name is not present', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'GOOGLE_ADWORDS_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'purchase', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 400, + error: "Event name 'purchase' is not present in the mapping provided in the dashboard.", + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'GOOGLE_ADWORDS_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'download', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + merchantId: 'merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'phone', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'Page view', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + merchantId: 'merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + }, + }, + body: { + JSON: { + conversions: [ + { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionData: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + }, + cartData: { + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + items: [ + { + productId: '507f1f77bcf86cd799439011', + quantity: 2, + unitPrice: 50, + }, + ], + }, + userIdentifiers: [ + { + userIdentifierSource: 'FIRST_PARTY', + hashedPhoneNumber: + '04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd', + }, + ], + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: 1, + currencyCode: 'GBP', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadCallConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'Page view', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + merchantId: 'merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + }, + }, + body: { + JSON: { + conversions: [ + { + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: 1, + currencyCode: 'GBP', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: {}, + traits: { + email: 'alex@example.com', + }, + 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, + }, + }, + event: 'Promotion Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: true, + loginCustomerId: '861-785-9087', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'phone', + '': 'phone', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': '8617859087', + }, + params: { + event: 'Sign-up - click', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + }, + }, + body: { + JSON: { + conversions: [ + { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + userIdentifiers: [ + { + userIdentifierSource: 'THIRD_PARTY', + hashedEmail: + '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + }, + ], + conversionEnvironment: 'WEB', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: {}, + traits: {}, + 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, + }, + }, + event: 'Product Searched', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-01-01 12:32:45-08:00', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadCallConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'search', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-01-01 12:32:45-08:00', + }, + }, + body: { + JSON: { + conversions: [ + { + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-01-01 12:32:45-08:00', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Product Searched', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2022-09-20T03:20:04.000Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + merchantId: 'merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionValue: '1', + currency: 'GBP', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadCallConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'search', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + merchantId: 'merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionValue: '1', + currency: 'GBP', + }, + }, + body: { + JSON: { + conversions: [ + { + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-09-20 08:50:04+05:30', + conversionValue: 1, + currencyCode: 'GBP', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: (_) => timestampMock(_, '2022-09-20 08:50:04+05:30'), + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: {}, + traits: { + email: 'alex@example.com', + }, + 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, + }, + }, + event: 'Promotion Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + loginCustomerId: '', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: false, + defaultUserIdentifier: 'phone', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'Sign-up - click', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + }, + }, + body: { + JSON: { + conversions: [ + { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + userIdentifiers: [ + { + userIdentifierSource: 'THIRD_PARTY', + hashedEmail: 'alex@example.com', + }, + ], + conversionEnvironment: 'WEB', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: {}, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + }, + 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, + }, + }, + event: 'Promotion Clicked', + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: false, + loginCustomerId: '', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: false, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 400, + error: 'Message type page not supported', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'GOOGLE_ADWORDS_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: {}, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + }, + 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, + }, + }, + event: 'Promotion Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: true, + loginCustomerId: '', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: false, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 400, + error: '"Login Customer ID" is required as "Sub Account" is enabled', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'GOOGLE_ADWORDS_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: {}, + traits: { + email: 'alex@example.com', + }, + 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, + }, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + product_id: '123445', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: true, + loginCustomerId: '861-785-9087', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Product Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'phone', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': '8617859087', + }, + params: { + event: 'Sign-up - click', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + product_id: '123445', + quantity: 123, + }, + }, + body: { + JSON: { + conversions: [ + { + cartData: { + items: [ + { + productId: '123445', + quantity: 123, + }, + ], + }, + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + userIdentifiers: [ + { + userIdentifierSource: 'THIRD_PARTY', + hashedEmail: + '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + }, + ], + conversionEnvironment: 'WEB', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 16', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: {}, + traits: {}, + 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, + }, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + product_id: '123445', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: true, + loginCustomerId: '861-785-9087', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Product Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 400, + error: 'Either of email or phone is required for user identifier', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'GOOGLE_ADWORDS_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 17', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: {}, + traits: {}, + 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, + }, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + product_id: '123445', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + subAccount: true, + loginCustomerId: '861-785-9087', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Product Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'none', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': '8617859087', + }, + params: { + event: 'Sign-up - click', + customerId: '9625812972', + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + properties: { + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + product_id: '123445', + quantity: 123, + }, + }, + body: { + JSON: { + conversions: [ + { + cartData: { + items: [ + { + productId: '123445', + quantity: 123, + }, + ], + }, + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionEnvironment: 'WEB', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 18', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'John', + }, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + loyaltyFraction: 1, + order_id: 'order id', + currency: 'INR', + revenue: '100', + store_code: 'store code', + email: 'alex@example.com', + gclid: 'gclid', + product_id: '123445', + custom_key: 'CUSTOM_KEY', + CUSTOM_KEY: 'CUSTOM_VALUE', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '111-222-3333', + subAccount: true, + loginCustomerId: 'login-customer-id', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Product Clicked', + to: 'store', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'phone', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + params: { + event: 'Sign-up - click', + customerId: '1112223333', + }, + body: { + JSON: { + event: '1112223333', + isStoreConversion: true, + createJobPayload: { + job: { + storeSalesMetadata: { + loyaltyFraction: 1, + custom_key: 'CUSTOM_KEY', + transaction_upload_fraction: '1', + }, + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + }, + }, + addConversionPayload: { + operations: { + create: { + transaction_attribute: { + store_attribute: { + store_code: 'store code', + }, + transaction_amount_micros: '100000000', + order_id: 'order id', + currency_code: 'INR', + transaction_date_time: '2019-10-14 16:45:18+05:30', + CUSTOM_KEY: 'CUSTOM_VALUE', + }, + userIdentifiers: [ + { + hashedEmail: + '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + }, + ], + }, + }, + enable_partial_failure: false, + enable_warnings: false, + validate_only: false, + }, + executeJobPayload: { + validate_only: false, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: timestampMock, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 19', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'John', + }, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + loyaltyFraction: 1, + order_id: 'order id', + currency: 'INR', + store_code: 'store code', + userIdentifierSource: 'FIRST_PARTY', + email: 'alex@example.com', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + product_id: '123445', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '111-222-3333', + subAccount: true, + loginCustomerId: 'login-customer-id', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Product Clicked', + to: 'store', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 400, + error: + 'Missing required value from ["properties.conversionValue","properties.total","properties.value","properties.revenue"]', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'GOOGLE_ADWORDS_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 20', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'John', + }, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + loyaltyFraction: 1, + item_id: 'item id', + merchant_id: 'merchant id', + currency: 'INR', + revenue: '100', + store_code: 'store code', + gclid: 'gclid', + product_id: '123445', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + isCustomerAllowed: true, + customerId: '111-222-3333', + subAccount: true, + loginCustomerId: 'login-customer-id', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Product Clicked', + to: 'store', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + params: { + event: 'Sign-up - click', + customerId: '1112223333', + }, + body: { + JSON: { + event: '1112223333', + isStoreConversion: true, + createJobPayload: { + job: { + storeSalesMetadata: { + loyaltyFraction: 1, + transaction_upload_fraction: '1', + }, + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + }, + }, + addConversionPayload: { + operations: { + create: { + transaction_attribute: { + store_attribute: { + store_code: 'store code', + }, + transaction_amount_micros: '100000000', + currency_code: 'INR', + transaction_date_time: '2019-10-14 16:45:18+05:30', + }, + userIdentifiers: [ + { + address_info: { + hashed_first_name: + '96d9632f363564cc3032521409cf22a852f2032eec099ed5967c0d000cec607a', + }, + }, + ], + }, + }, + enable_partial_failure: false, + enable_warnings: false, + validate_only: false, + }, + executeJobPayload: { + validate_only: false, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: timestampMock, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 21', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'first_name', + streetAddress: 'street_address', + state: 'England', + }, + }, + event: 'Product Clicked', + type: 'track', + timestamp: 1675692865495, + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + item_id: 'item id', + merchant_id: 'merchant id', + currency: 'INR', + revenue: '100', + store_code: 'store code', + gclid: 'gclid', + product_id: '123445', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + isCustomerAllowed: false, + customerId: '111-222-3333', + subAccount: true, + loginCustomerId: 'login-customer-id', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Product Clicked', + to: 'store', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + conversionEnvironment: 'WEB', + hashUserIdentifier: false, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + params: { + event: 'Sign-up - click', + customerId: '1112223333', + }, + body: { + JSON: { + event: '1112223333', + isStoreConversion: true, + createJobPayload: { + job: { + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + storeSalesMetadata: { + loyaltyFraction: '1', + transaction_upload_fraction: '1', + }, + }, + }, + addConversionPayload: { + operations: { + create: { + transaction_attribute: { + store_attribute: { + store_code: 'store code', + }, + transaction_amount_micros: '100000000', + currency_code: 'INR', + transaction_date_time: '2023-02-06 19:44:25+05:30', + }, + userIdentifiers: [ + { + address_info: { + state: 'England', + hashed_first_name: 'first_name', + hashed_street_address: 'street_address', + }, + }, + ], + }, + }, + enable_partial_failure: false, + enable_warnings: false, + validate_only: false, + }, + executeJobPayload: { + validate_only: false, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: (_) => timestampMock(_, '2023-02-06 19:44:25+05:30'), + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 22', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'John', + lastName: 'Gomes', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + state: 'England', + }, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + timestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + item_id: 'item id', + merchant_id: 'merchant id', + currency: 'INR', + revenue: '100', + store_code: 'store code', + phone: '+1-202-555-0146', + gclid: 'gclid', + product_id: '123445', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + isCustomerAllowed: false, + customerId: '111-222-3333', + subAccount: true, + loginCustomerId: 'login-customer-id', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Product Clicked', + to: 'store', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'phone', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + params: { + event: 'Sign-up - click', + customerId: '1112223333', + }, + body: { + JSON: { + event: '1112223333', + isStoreConversion: true, + createJobPayload: { + job: { + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + storeSalesMetadata: { + loyaltyFraction: '1', + transaction_upload_fraction: '1', + }, + }, + }, + addConversionPayload: { + operations: { + create: { + transaction_attribute: { + store_attribute: { + store_code: 'store code', + }, + transaction_amount_micros: '100000000', + currency_code: 'INR', + transaction_date_time: '2019-10-14 16:45:18+05:30', + }, + userIdentifiers: [ + { + hashedPhoneNumber: + '04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd', + }, + ], + }, + }, + enable_partial_failure: false, + enable_warnings: false, + validate_only: false, + }, + executeJobPayload: { + validate_only: false, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: timestampMock, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 23', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'John', + lastName: 'Gomes', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + state: 'England', + }, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + item_id: 'item id', + merchant_id: 'merchant id', + currency: 'INR', + revenue: '100', + store_code: 'store code', + phone: '+1-202-555-0146', + gclid: 'gclid', + product_id: '123445', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + isCustomerAllowed: false, + customerId: '111-222-3333', + subAccount: true, + loginCustomerId: 'login-customer-id', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Product Clicked', + to: 'store', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + ], + hashUserIdentifier: true, + defaultUserIdentifier: 'phone', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNkgr4t3u4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + params: { + event: 'Sign-up - click', + customerId: '1112223333', + }, + body: { + JSON: { + event: '1112223333', + isStoreConversion: true, + createJobPayload: { + job: { + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + storeSalesMetadata: { + loyaltyFraction: '1', + transaction_upload_fraction: '1', + }, + }, + }, + addConversionPayload: { + operations: { + create: { + transaction_attribute: { + store_attribute: { + store_code: 'store code', + }, + transaction_amount_micros: '100000000', + currency_code: 'INR', + transaction_date_time: '2019-10-14 16:45:18+05:30', + }, + userIdentifiers: [ + { + hashedPhoneNumber: + '04e1dabb7c1348b72bfa87da179c9697c69af74827649266a5da8cdbb367abcd', + }, + ], + }, + }, + enable_partial_failure: false, + enable_warnings: false, + validate_only: false, + }, + executeJobPayload: { + validate_only: false, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: timestampMock, + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 24', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + email: 'alex@example.com', + }, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + item_id: 'item id', + merchant_id: 'merchant id', + currency: 'INR', + revenue: '100', + store_code: 'store code', + gclid: 'gclid', + transaction_date_time: '2022-01-01 12:32:45-08:00Z', + product_id: '123445', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + isCustomerAllowed: false, + customerId: '111-222-3333', + subAccount: true, + loginCustomerId: 'login-customer-id', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Product Clicked', + to: 'store', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + ], + hashUserIdentifier: true, + defaultUserIdentifier: 'phone', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNkgr4t3u4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + params: { + event: 'Sign-up - click', + customerId: '1112223333', + }, + body: { + JSON: { + event: '1112223333', + isStoreConversion: true, + createJobPayload: { + job: { + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + storeSalesMetadata: { + loyaltyFraction: '1', + transaction_upload_fraction: '1', + }, + }, + }, + addConversionPayload: { + operations: { + create: { + transaction_attribute: { + store_attribute: { + store_code: 'store code', + }, + transaction_amount_micros: '100000000', + currency_code: 'INR', + transaction_date_time: '2022-01-01 18:02:45+05:30', + }, + userIdentifiers: [ + { + hashedEmail: + '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + }, + ], + }, + }, + enable_partial_failure: false, + enable_warnings: false, + validate_only: false, + }, + executeJobPayload: { + validate_only: false, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: (_) => timestampMock(_, '2022-01-01 18:02:45+05:30'), + }, + { + name: 'google_adwords_offline_conversions', + description: 'Test 25', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: {}, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + item_id: 'item id', + merchant_id: 'merchant id', + currency: 'INR', + revenue: '100', + store_code: 'store code', + gclid: 'gclid', + conversionDateTime: '2019-10-14T11:15:18.299Z', + product_id: '123445', + quantity: 123, + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + isCustomerAllowed: false, + customerId: '111-222-3333', + subAccount: true, + loginCustomerId: 'login-customer-id', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Product Clicked', + to: 'store', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Product Clicked', + to: 'Sign-up - click', + }, + ], + hashUserIdentifier: true, + defaultUserIdentifier: 'phone', + validateOnly: false, + rudderAccountId: '2EOknn1JNH7WK1MfNkgr4t3u4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/1112223333/offlineUserDataJobs', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + 'login-customer-id': 'logincustomerid', + }, + params: { + event: 'Sign-up - click', + customerId: '1112223333', + }, + body: { + JSON: { + event: '1112223333', + isStoreConversion: true, + createJobPayload: { + job: { + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + storeSalesMetadata: { + loyaltyFraction: '1', + transaction_upload_fraction: '1', + }, + }, + }, + addConversionPayload: { + operations: { + create: { + transaction_attribute: { + store_attribute: { + store_code: 'store code', + }, + transaction_amount_micros: '100000000', + currency_code: 'INR', + transaction_date_time: '2019-10-14 16:45:18+05:30', + }, + userIdentifiers: [{}], + }, + }, + enable_partial_failure: false, + enable_warnings: false, + validate_only: false, + }, + executeJobPayload: { + validate_only: false, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: timestampMock, + }, +]; diff --git a/test/integrations/destinations/google_adwords_offline_conversions/router/data.ts b/test/integrations/destinations/google_adwords_offline_conversions/router/data.ts new file mode 100644 index 0000000000..c5d2f2f524 --- /dev/null +++ b/test/integrations/destinations/google_adwords_offline_conversions/router/data.ts @@ -0,0 +1,1119 @@ +import { timestampMock } from '../mocks'; + +export const data = [ + { + name: 'google_adwords_offline_conversions', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Promotion Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + merchantId: '9876merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '25u5whFH7gVTnCiAjn4ykoCLGoC', + }, + }, + }, + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + event: 'Product Searched', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + merchantId: 'merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + customerId: '962-581-2972', + eventsToOfflineConversionsTypeMapping: [ + { + from: 'Sign up completed', + to: 'click', + }, + { + from: 'Download', + to: 'call', + }, + { + from: 'Promotion Clicked', + to: 'click', + }, + { + from: 'Product Searched', + to: 'call', + }, + ], + eventsToConversionsNamesMapping: [ + { + from: 'Sign up completed', + to: 'Sign-up - click', + }, + { + from: 'Download', + to: 'Page view', + }, + { + from: 'Promotion Clicked', + to: 'Sign-up - click', + }, + { + from: 'Product Searched', + to: 'search', + }, + ], + customVariables: [ + { + from: 'value', + to: 'revenue', + }, + { + from: 'total', + to: 'cost', + }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'phone', + validateOnly: false, + rudderAccountId: '25u5whFH7gVTnCiAjn4ykoCLGoC', + }, + }, + }, + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'John', + }, + }, + event: 'Product Clicked', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + loyaltyFraction: 1, + order_id: 'order id', + currency: 'INR', + revenue: '100', + store_code: 'store code', + email: 'alex@example.com', + gclid: 'gclid', + product_id: '123445', + quantity: 123, + callerId: '1234', + callStartDateTime: '2019-10-14T11:15:18.299Z', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + jobId: 1, + }, + destination: { + Config: { + rudderAccountId: '2Hsy2iFyoG5VLDd9wQcggHLMYFA', + customerId: '769-372-9833', + subAccount: false, + UserIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'none', + defaultUserIdentifier: 'email', + hashUserIdentifier: true, + validateOnly: true, + eventsToOfflineConversionsTypeMapping: [ + { from: 'Data Reading Guide', to: 'click' }, + { from: 'Order Completed', to: 'store' }, + { from: 'Sign-up - click', to: 'click' }, + { from: 'Outbound click (rudderstack.com)', to: 'click' }, + { from: 'Page view', to: 'click' }, + { from: 'download', to: 'click' }, + { from: 'Product Clicked', to: 'store' }, + { from: 'Order Completed', to: 'call' }, + ], + loginCustomerId: '4219454086', + eventsToConversionsNamesMapping: [ + { from: 'Data Reading Guide', to: 'Data Reading Guide' }, + { from: 'Order Completed', to: 'Order Completed' }, + { from: 'Sign-up - click', to: 'Sign-up - click' }, + { + from: 'Outbound click (rudderstack.com)', + to: 'Outbound click (rudderstack.com)', + }, + { from: 'Page view', to: 'Page view' }, + { from: 'Sign up completed', to: 'Sign-up - click' }, + { from: 'download', to: 'Page view' }, + { from: 'Product Clicked', to: 'Store sales' }, + ], + authStatus: 'active', + oneTrustCookieCategories: [], + customVariables: [{ from: '', to: '' }], + }, + }, + }, + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'John', + }, + }, + event: 'Order Completed', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + loyaltyFraction: 1, + order_id: 'order id', + currency: 'INR', + revenue: '100', + store_code: 'store code2', + email: 'alex@example.com', + gclid: 'gclid', + product_id: '123445', + quantity: 123, + callerId: '1234', + callStartDateTime: '2019-10-14T11:15:18.299Z', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + jobId: 2, + }, + destination: { + Config: { + rudderAccountId: '2Hsy2iFyoG5VLDd9wQcggHLMYFA', + customerId: '769-372-9833', + subAccount: false, + UserIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'none', + defaultUserIdentifier: 'email', + hashUserIdentifier: true, + validateOnly: true, + eventsToOfflineConversionsTypeMapping: [ + { from: 'Data Reading Guide', to: 'click' }, + { from: 'Order Completed', to: 'store' }, + { from: 'Sign-up - click', to: 'click' }, + { from: 'Outbound click (rudderstack.com)', to: 'click' }, + { from: 'Page view', to: 'click' }, + { from: 'download', to: 'click' }, + { from: 'Product Clicked', to: 'store' }, + { from: 'Order Completed', to: 'call' }, + ], + loginCustomerId: '4219454086', + eventsToConversionsNamesMapping: [ + { from: 'Data Reading Guide', to: 'Data Reading Guide' }, + { from: 'Order Completed', to: 'Order Completed' }, + { from: 'Sign-up - click', to: 'Sign-up - click' }, + { + from: 'Outbound click (rudderstack.com)', + to: 'Outbound click (rudderstack.com)', + }, + { from: 'Page view', to: 'Page view' }, + { from: 'Sign up completed', to: 'Sign-up - click' }, + { from: 'download', to: 'Page view' }, + { from: 'Product Clicked', to: 'Store sales' }, + ], + authStatus: 'active', + oneTrustCookieCategories: [], + customVariables: [{ from: '', to: '' }], + }, + }, + }, + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'John', + }, + }, + event: 'Order Completed', + type: 'track', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + loyaltyFraction: 1, + order_id: 'order id', + currency: 'INR', + revenue: '100', + store_code: 'store code2', + email: 'alex@example.com', + gclid: 'gclid', + product_id: '123445', + quantity: 123, + callerId: '1234', + callStartDateTime: '2019-10-14T11:15:18.299Z', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + jobId: 3, + }, + destination: { + Config: { + rudderAccountId: '2Hsy2iFyoG5VLDd9wQcggHLMYFA', + customerId: '769-372-9833', + subAccount: false, + UserIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'none', + defaultUserIdentifier: 'email', + hashUserIdentifier: true, + validateOnly: true, + eventsToOfflineConversionsTypeMapping: [ + { from: 'Data Reading Guide', to: 'click' }, + { from: 'Sign-up - click', to: 'click' }, + { from: 'Outbound click (rudderstack.com)', to: 'click' }, + { from: 'Page view', to: 'click' }, + { from: 'download', to: 'click' }, + { from: 'Product Clicked', to: 'store' }, + { from: 'Order Completed', to: 'call' }, + ], + loginCustomerId: '4219454086', + eventsToConversionsNamesMapping: [ + { from: 'Data Reading Guide', to: 'Data Reading Guide' }, + { from: 'Sign-up - click', to: 'Sign-up - click' }, + { + from: 'Outbound click (rudderstack.com)', + to: 'Outbound click (rudderstack.com)', + }, + { from: 'Page view', to: 'Page view' }, + { from: 'Sign up completed', to: 'Sign-up - click' }, + { from: 'download', to: 'Page view' }, + { from: 'Product Clicked', to: 'Store sales' }, + ], + authStatus: 'active', + oneTrustCookieCategories: [], + customVariables: [{ from: '', to: '' }], + }, + }, + }, + ], + destType: 'google_adwords_offline_conversions', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { event: 'Store sales', customerId: '7693729833' }, + body: { + JSON: { + event: '7693729833', + isStoreConversion: true, + createJobPayload: { + job: { + storeSalesMetadata: { + loyaltyFraction: 1, + transaction_upload_fraction: '1', + }, + type: 'STORE_SALES_UPLOAD_FIRST_PARTY', + }, + }, + addConversionPayload: { + operations: [ + { + create: { + transaction_attribute: { + store_attribute: { store_code: 'store code' }, + transaction_amount_micros: '100000000', + order_id: 'order id', + currency_code: 'INR', + transaction_date_time: '2019-10-14 16:45:18+05:30', + }, + userIdentifiers: [ + { + hashedEmail: + '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + }, + ], + }, + }, + { + create: { + transaction_attribute: { + store_attribute: { store_code: 'store code2' }, + transaction_amount_micros: '100000000', + order_id: 'order id', + currency_code: 'INR', + transaction_date_time: '2019-10-14 16:45:18+05:30', + }, + userIdentifiers: [ + { + hashedEmail: + '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + }, + ], + }, + }, + ], + enable_partial_failure: false, + enable_warnings: false, + validate_only: true, + }, + executeJobPayload: { validate_only: true }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + jobId: 1, + }, + { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + jobId: 2, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + rudderAccountId: '2Hsy2iFyoG5VLDd9wQcggHLMYFA', + customerId: '769-372-9833', + subAccount: false, + UserIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'none', + defaultUserIdentifier: 'email', + hashUserIdentifier: true, + validateOnly: true, + eventsToOfflineConversionsTypeMapping: [ + { from: 'Data Reading Guide', to: 'click' }, + { from: 'Order Completed', to: 'store' }, + { from: 'Sign-up - click', to: 'click' }, + { from: 'Outbound click (rudderstack.com)', to: 'click' }, + { from: 'Page view', to: 'click' }, + { from: 'download', to: 'click' }, + { from: 'Product Clicked', to: 'store' }, + { from: 'Order Completed', to: 'call' }, + ], + loginCustomerId: '4219454086', + eventsToConversionsNamesMapping: [ + { from: 'Data Reading Guide', to: 'Data Reading Guide' }, + { from: 'Order Completed', to: 'Order Completed' }, + { from: 'Sign-up - click', to: 'Sign-up - click' }, + { + from: 'Outbound click (rudderstack.com)', + to: 'Outbound click (rudderstack.com)', + }, + { from: 'Page view', to: 'Page view' }, + { from: 'Sign up completed', to: 'Sign-up - click' }, + { from: 'download', to: 'Page view' }, + { from: 'Product Clicked', to: 'Store sales' }, + ], + authStatus: 'active', + oneTrustCookieCategories: [], + customVariables: [{ from: '', to: '' }], + }, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadClickConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'Sign-up - click', + customerId: '9625812972', + customVariables: [ + { from: 'value', to: 'revenue' }, + { from: 'total', to: 'cost' }, + ], + properties: { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + merchantId: '9876merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + }, + }, + body: { + JSON: { + conversions: [ + { + gbraid: 'gbraid', + wbraid: 'wbraid', + externalAttributionData: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + }, + cartData: { + merchantId: 9876, + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + items: [ + { productId: '507f1f77bcf86cd799439011', quantity: 2, unitPrice: 50 }, + ], + }, + userIdentifiers: [ + { + userIdentifierSource: 'FIRST_PARTY', + hashedEmail: + '6db61e6dcbcf2390e4a46af426f26a133a3bee45021422fc7ae86e9136f14110', + }, + ], + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: 1, + currencyCode: 'GBP', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + customerId: '962-581-2972', + eventsToOfflineConversionsTypeMapping: [ + { from: 'Sign up completed', to: 'click' }, + { from: 'Download', to: 'call' }, + { from: 'Promotion Clicked', to: 'click' }, + { from: 'Product Searched', to: 'call' }, + ], + eventsToConversionsNamesMapping: [ + { from: 'Sign up completed', to: 'Sign-up - click' }, + { from: 'Download', to: 'Page view' }, + { from: 'Promotion Clicked', to: 'Sign-up - click' }, + { from: 'Product Searched', to: 'search' }, + ], + customVariables: [ + { from: 'value', to: 'revenue' }, + { from: 'total', to: 'cost' }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'email', + validateOnly: false, + rudderAccountId: '25u5whFH7gVTnCiAjn4ykoCLGoC', + }, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/9625812972:uploadCallConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'search', + customerId: '9625812972', + customVariables: [ + { from: 'value', to: 'revenue' }, + { from: 'total', to: 'cost' }, + ], + properties: { + externalAttributionCredit: 10, + externalAttributionModel: 'externalAttributionModel', + merchantId: 'merchantId', + feedCountryCode: 'feedCountryCode', + feedLanguageCode: 'feedLanguageCode', + localTransactionCost: 20, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + quantity: '2', + price: '50', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + position: '1', + category: 'cars', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + userIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'WEB', + gclid: 'gclid', + conversionCustomVariable: 'conversionCustomVariable', + value: 'value', + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: '1', + currency: 'GBP', + }, + }, + body: { + JSON: { + conversions: [ + { + callerId: 'callerId', + callStartDateTime: '2022-08-28 15:01:30+05:30', + conversionDateTime: '2022-01-01 12:32:45-08:00', + conversionValue: 1, + currencyCode: 'GBP', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + customerId: '962-581-2972', + eventsToOfflineConversionsTypeMapping: [ + { from: 'Sign up completed', to: 'click' }, + { from: 'Download', to: 'call' }, + { from: 'Promotion Clicked', to: 'click' }, + { from: 'Product Searched', to: 'call' }, + ], + eventsToConversionsNamesMapping: [ + { from: 'Sign up completed', to: 'Sign-up - click' }, + { from: 'Download', to: 'Page view' }, + { from: 'Promotion Clicked', to: 'Sign-up - click' }, + { from: 'Product Searched', to: 'search' }, + ], + customVariables: [ + { from: 'value', to: 'revenue' }, + { from: 'total', to: 'cost' }, + ], + UserIdentifierSource: 'THIRD_PARTY', + conversionEnvironment: 'WEB', + hashUserIdentifier: true, + defaultUserIdentifier: 'phone', + validateOnly: false, + rudderAccountId: '25u5whFH7gVTnCiAjn4ykoCLGoC', + }, + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://googleads.googleapis.com/v14/customers/7693729833:uploadCallConversions', + headers: { + Authorization: 'Bearer abcd1234', + 'Content-Type': 'application/json', + 'developer-token': 'ijkl91011', + }, + params: { + event: 'Order Completed', + customerId: '7693729833', + customVariables: [{ from: '', to: '' }], + properties: { + loyaltyFraction: 1, + order_id: 'order id', + currency: 'INR', + revenue: '100', + store_code: 'store code2', + email: 'alex@example.com', + gclid: 'gclid', + product_id: '123445', + quantity: 123, + callerId: '1234', + callStartDateTime: '2019-10-14T11:15:18.299Z', + }, + }, + body: { + JSON: { + conversions: [ + { + callerId: '1234', + callStartDateTime: '2019-10-14T11:15:18.299Z', + conversionDateTime: '2019-10-14 16:45:18+05:30', + conversionValue: 100, + currencyCode: 'INR', + }, + ], + partialFailure: true, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + rudderAccountId: '2Hsy2iFyoG5VLDd9wQcggHLMYFA', + customerId: '769-372-9833', + subAccount: false, + UserIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'none', + defaultUserIdentifier: 'email', + hashUserIdentifier: true, + validateOnly: true, + eventsToOfflineConversionsTypeMapping: [ + { from: 'Data Reading Guide', to: 'click' }, + { from: 'Order Completed', to: 'store' }, + { from: 'Sign-up - click', to: 'click' }, + { from: 'Outbound click (rudderstack.com)', to: 'click' }, + { from: 'Page view', to: 'click' }, + { from: 'download', to: 'click' }, + { from: 'Product Clicked', to: 'store' }, + { from: 'Order Completed', to: 'call' }, + ], + loginCustomerId: '4219454086', + eventsToConversionsNamesMapping: [ + { from: 'Data Reading Guide', to: 'Data Reading Guide' }, + { from: 'Order Completed', to: 'Order Completed' }, + { from: 'Sign-up - click', to: 'Sign-up - click' }, + { + from: 'Outbound click (rudderstack.com)', + to: 'Outbound click (rudderstack.com)', + }, + { from: 'Page view', to: 'Page view' }, + { from: 'Sign up completed', to: 'Sign-up - click' }, + { from: 'download', to: 'Page view' }, + { from: 'Product Clicked', to: 'Store sales' }, + ], + authStatus: 'active', + oneTrustCookieCategories: [], + customVariables: [{ from: '', to: '' }], + }, + }, + }, + { + metadata: [ + { + secret: { + access_token: 'abcd1234', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + jobId: 3, + }, + ], + batched: false, + statusCode: 400, + error: + "Event name 'order completed' is not present in the mapping provided in the dashboard.", + statTags: { + destType: 'GOOGLE_ADWORDS_OFFLINE_CONVERSIONS', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + destination: { + Config: { + rudderAccountId: '2Hsy2iFyoG5VLDd9wQcggHLMYFA', + customerId: '769-372-9833', + subAccount: false, + UserIdentifierSource: 'FIRST_PARTY', + conversionEnvironment: 'none', + defaultUserIdentifier: 'email', + hashUserIdentifier: true, + validateOnly: true, + eventsToOfflineConversionsTypeMapping: [ + { from: 'Data Reading Guide', to: 'click' }, + { from: 'Sign-up - click', to: 'click' }, + { from: 'Outbound click (rudderstack.com)', to: 'click' }, + { from: 'Page view', to: 'click' }, + { from: 'download', to: 'click' }, + { from: 'Product Clicked', to: 'store' }, + { from: 'Order Completed', to: 'call' }, + ], + loginCustomerId: '4219454086', + eventsToConversionsNamesMapping: [ + { from: 'Data Reading Guide', to: 'Data Reading Guide' }, + { from: 'Sign-up - click', to: 'Sign-up - click' }, + { + from: 'Outbound click (rudderstack.com)', + to: 'Outbound click (rudderstack.com)', + }, + { from: 'Page view', to: 'Page view' }, + { from: 'Sign up completed', to: 'Sign-up - click' }, + { from: 'download', to: 'Page view' }, + { from: 'Product Clicked', to: 'Store sales' }, + ], + authStatus: 'active', + oneTrustCookieCategories: [], + customVariables: [{ from: '', to: '' }], + }, + }, + }, + ], + }, + }, + }, + mockFns: timestampMock, + }, +]; diff --git a/test/integrations/destinations/google_adwords_remarketing_lists/dataDelivery/data.ts b/test/integrations/destinations/google_adwords_remarketing_lists/dataDelivery/data.ts new file mode 100644 index 0000000000..b41d725799 --- /dev/null +++ b/test/integrations/destinations/google_adwords_remarketing_lists/dataDelivery/data.ts @@ -0,0 +1,247 @@ +export const data = [ + { + name: 'google_adwords_remarketing_lists', + description: 'Test 0', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "destination": "google_adwords_remarketing_lists", + "listId": "709078448", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "e56d336922eaab3be8c1244dbaa713e134a8eba50ddbd4f50fd2fe18d72595cd" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + method: 'POST' + }, + }, + output: { + response: { + status: 200, + body: { + "output": { + "status": 200, + "message": "Request Processed Successfully", + "destinationResponse": { "response": "", "status": 200 } + } + }, + }, + }, + }, + { + name: 'google_adwords_remarketing_lists', + description: 'Test 1', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729834/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "709078448", + "customerId": "7693729833", + "destination": "google_adwords_remarketing_lists" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "abcd@testmail.com" + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + method: 'POST' + }, + }, + output: { + response: { + status: 400, + body: { + output: { + "status": 400, + "message": "Request contains an invalid argument. during ga_audience response transformation", + "destinationResponse": { + "error": { + "code": 400, + "details": [ + { + "@type": "type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure", + "errors": [ + { + "errorCode": { + "offlineUserDataJobError": "INVALID_SHA256_FORMAT" + }, + "message": "The SHA256 encoded value is malformed.", + "location": { + "fieldPathElements": [ + { "fieldName": "operations", "index": 0 }, + { "fieldName": "remove" }, + { "fieldName": "user_identifiers", "index": 0 }, + { "fieldName": "hashed_email" } + ] + } + } + ] + } + ], + "message": "Request contains an invalid argument.", + "status": "INVALID_ARGUMENT" + } + }, + "statTags": { + "destType": "GOOGLE_ADWORDS_REMARKETING_LISTS", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + }, + }, + }, + }, + }, + { + name: 'google_adwords_remarketing_lists', + description: 'Test 2', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "709078448", + "customerId": "7693729833", + "destination": "google_adwords_remarketing_lists" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "e56d336922eaab3be8c1244dbaa713e134a8eba50ddbd4f50fd2fe18d72595cd" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + method: 'POST' + }, + }, + output: { + response: { + status: 200, + body: { + output: { + "status": 200, + "message": "Request Processed Successfully", + "destinationResponse": { "response": "", "status": 200 } + }, + }, + }, + }, + } +]; diff --git a/test/integrations/destinations/google_adwords_remarketing_lists/network.ts b/test/integrations/destinations/google_adwords_remarketing_lists/network.ts new file mode 100644 index 0000000000..11cbfa7cd8 --- /dev/null +++ b/test/integrations/destinations/google_adwords_remarketing_lists/network.ts @@ -0,0 +1,115 @@ +import { enhanceRequestOptions, getFormData } from '../../../../src/adapters/network'; + +export const networkCallsData = [ + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs:create', + data: { "job": { "type": "CUSTOMER_MATCH_USER_LIST", "customerMatchUserListMetadata": { "userList": "customers/7693729833/userLists/709078448" } } }, + headers: { "Authorization": "Bearer dummy-access", "Content-Type": "application/json", "developer-token": "dummy-dev-token" }, + method: 'POST', + }, + httpRes: { + "status": 200, + "data": { + "resourceName": "customers/9249589672/offlineUserDataJobs/18025019461" + } + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs/18025019461:addOperations', + data: { "enablePartialFailure": true, "operations": [{ "create": { "userIdentifiers": [{ "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" }, { "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" }, { "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" }, { "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" }, { "addressInfo": { "hashedFirstName": "e56d336922eaab3be8c1244dbaa713e134a8eba50ddbd4f50fd2fe18d72595cd" } }] } }] }, + headers: { "Authorization": "Bearer dummy-access", "Content-Type": "application/json", "developer-token": "dummy-dev-token" }, + method: 'POST', + }, + httpRes: { + "status": 200, + "data": {} + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs/18025019461:run', + headers: { "Authorization": "Bearer dummy-access", "Content-Type": "application/json", "developer-token": "dummy-dev-token" }, + method: 'POST', + }, + httpRes: { + "status": 200, + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/7693729834/offlineUserDataJobs:create', + data: { "job": { "type": "CUSTOMER_MATCH_USER_LIST", "customerMatchUserListMetadata": { "userList": "customers/7693729833/userLists/709078448" } } }, + headers: { "Authorization": "Bearer dummy-access", "Content-Type": "application/json", "developer-token": "dummy-dev-token" }, + method: 'POST', + }, + httpRes: { + "status": 200, + "data": { + "resourceName": "customers/9249589672/offlineUserDataJobs/18025019462" + } + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/7693729834/offlineUserDataJobs/18025019462:addOperations', + data: { "enablePartialFailure": true, "operations": [{ "create": { "userIdentifiers": [{ "hashedEmail": "abcd@testmail.com" }] } }] }, + headers: { "Authorization": "Bearer dummy-access", "Content-Type": "application/json", "developer-token": "dummy-dev-token" }, + method: 'POST', + }, + httpRes: { + "data": { + "error": { + "code": 400, + "details": [ + { + "@type": "type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure", + "errors": [ + { + "errorCode": { + "offlineUserDataJobError": "INVALID_SHA256_FORMAT" + }, + "message": "The SHA256 encoded value is malformed.", + "location": { + "fieldPathElements": [ + { + "fieldName": "operations", + "index": 0 + }, + { + "fieldName": "remove" + }, + { + "fieldName": "user_identifiers", + "index": 0 + }, + { + "fieldName": "hashed_email" + } + ] + } + } + ] + } + ], + "message": "Request contains an invalid argument.", + "status": "INVALID_ARGUMENT" + } + }, + "status": 400 + }, + }, + { + httpReq: { + url: 'https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs/18025019461:addOperations', + data: { "enablePartialFailure": true, "operations": [{ "remove": { "userIdentifiers": [{ "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" }, { "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" }, { "hashedEmail": "85cc9fefa1eff1baab55d10df0cecff2acb25344867a5d0f96e1b1c5e2f10f05" }, { "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" }, { "addressInfo": { "hashedFirstName": "e56d336922eaab3be8c1244dbaa713e134a8eba50ddbd4f50fd2fe18d72595cd" } }] } }] }, + headers: { "Authorization": "Bearer dummy-access", "Content-Type": "application/json", "developer-token": "dummy-dev-token" }, + method: 'POST', + }, + httpRes: { + "status": 200, + "data": {} + }, + } +]; \ No newline at end of file diff --git a/test/integrations/destinations/google_adwords_remarketing_lists/processor/data.ts b/test/integrations/destinations/google_adwords_remarketing_lists/processor/data.ts new file mode 100644 index 0000000000..a6733f5daf --- /dev/null +++ b/test/integrations/destinations/google_adwords_remarketing_lists/processor/data.ts @@ -0,0 +1,10453 @@ +export const data = [ + { + "name": "google_adwords_remarketing_lists", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", + "hashedLastName": "dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "769-372-9833", + "loginCustomerId": "870-483-0944", + "subAccount": true, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "userID" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245", + "thirdPartyUserId": "useri1234" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token", + "login-customer-id": "8704830944" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "thirdPartyUserId": "useri1234" + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "mobileDeviceID" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245", + "thirdPartyUserId": "useri1234", + "mobileId": "abcd-1234-567h" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "mobileId": "abcd-1234-567h" + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "mobileDeviceID" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "abc@abc.com", + "phone": "@09876543210", + "firstName": "abc", + "lastName": "efg", + "country": "US", + "postalCode": "1245", + "thirdPartyUserId": "useri1234" + }, + { + "email": "def@abc.com", + "phone": "@09876543210", + "firstName": "def", + "lastName": "ghi", + "country": "US", + "postalCode": "1245", + "thirdPartyUserId": "useri1234" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245", + "thirdPartyUserId": "useri1234" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 400, + "error": "Neither 'add' nor 'remove' property is present inside 'listData' or there are no attributes inside 'add' or 'remove' properties matching with the schema fields. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "GOOGLE_ADWORDS_REMARKETING_LISTS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "mobileDeviceID" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "remove": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245", + "thirdPartyUserId": "useri1234" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 400, + "error": "Neither 'add' nor 'remove' property is present inside 'listData' or there are no attributes inside 'add' or 'remove' properties matching with the schema fields. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "GOOGLE_ADWORDS_REMARKETING_LISTS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "mobileDeviceID" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "properties": { + "listData": { + "remove": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245", + "thirdPartyUserId": "useri1234" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 400, + "error": "Message Type is not present. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "GOOGLE_ADWORDS_REMARKETING_LISTS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "mobileDeviceID" + } + }, + "message": { + "type": "audiencelist", + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "properties": { + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 400, + "error": "listData is not present inside properties. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "GOOGLE_ADWORDS_REMARKETING_LISTS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": true, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "mobileDeviceID" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelisT", + "properties": { + "listData": { + "add": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 400, + "error": "loginCustomerId is required as subAccount is true.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "GOOGLE_ADWORDS_REMARKETING_LISTS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelisT", + "properties": { + "listData": { + "add": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelisT", + "properties": { + "listData": { + "add": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ], + "remove": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelisT", + "properties": { + "listData": { + "add": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ], + "remove": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelisT", + "properties": { + "listData": { + "remove": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 12", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelisT", + "properties": { + "listData": { + "delete": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 400, + "error": "Neither 'add' nor 'remove' property is present inside 'listData' or there are no attributes inside 'add' or 'remove' properties matching with the schema fields. Aborting message.", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "GOOGLE_ADWORDS_REMARKETING_LISTS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 13", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelisT", + "properties": { + "listData": { + "remove": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ], + "add": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + }, + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 14", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelisT", + "properties": { + "listData": { + "remove": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ], + "add": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 15", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelisT", + "properties": { + "listData": { + "remove": [ + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": null, + "lastName": "jkl", + "country": "US", + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ], + "add": [ + { + "email": "ghi@abc.com", + "phone": null, + "firstName": "ghi", + "lastName": "jkl", + "country": null, + "mobileId": "1245" + }, + { + "email": "ghi@abc.com", + "phone": "@09876543210", + "firstName": "ghi", + "lastName": "jkl", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1" + } + }, + { + "hashedEmail": "a3d3807256168f51fc644aef9bda6c7f15c850702be01cf4c77af26a37aec026" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb", + "hashedLastName": "268f277c6d766d31334fda0f7a5533a185598d269e61c76a805870244828a5f1", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 16", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": false, + "firstName": "test", + "lastName": null, + "country": "US", + "postalCode": 0 + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "list111", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + }, + { + "addressInfo": { + "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", + "countryCode": "US", + "postalCode": 0 + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 17", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": null + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": null + }, + "statusCode": 500, + "error": "OAuth - access token not found", + "statTags": { + "errorCategory": "platform", + "errorType": "oAuthSecret", + "destType": "GOOGLE_ADWORDS_REMARKETING_LISTS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 18", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "listId": "list111", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General", + "audienceId": "aud1234" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "sudip@abc.com", + "phone": false, + "firstName": "sudip", + "lastName": null, + "country": "US", + "postalCode": 0 + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "aud1234", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "938758751f5af66652a118e26503af824404bc13acd1cb7642ddff99916f0e1c" + }, + { + "addressInfo": { + "hashedFirstName": "a512ebb75e941411945c9a18bca4ecc315830e0b5cff8a525472c86c1f540844", + "countryCode": "US", + "postalCode": 0 + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 19", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "anonymousId": "24ed22ae-0681-4882-8c33-012e298e1c17", + "channel": "sources", + "context": { + "destinationFields": "email", + "externalId": [ + { + "identifierType": "email", + "type": "GOOGLE_ADWORDS_REMARKETING_LISTS-830441345" + } + ], + "mappedToDestination": "true", + "sources": { + "job_id": "2UcqQB4ygGtTBAvwCWl7xz8dJgt", + "job_run_id": "cjmsdip7m95b7aee7tpg", + "task_run_id": "cjmsdip7m95b7aee7tq0", + "version": "master" + } + }, + "event": "Add_Audience", + "messageId": "bd2d67ca-0c9a-4d3b-a2f8-35a3c3f75ba7", + "properties": { + "listData": { + "remove": [ + { + "email": "test1@mail.com" + }, + { + "email": "test5@xmail.com" + }, + { + "email": "test3@mail.com" + } + ] + } + }, + "recordId": "a071551c-87e0-48a7-aa5c-7c4144cec5cf/1/5", + "rudderId": "5e9ada0e-5f50-4cb8-a015-f6842a7615fd", + "sentAt": "2023-08-29 10:22:06.395377223 +0000 UTC", + "type": "audienceList", + "userId": "23423423" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "830441345", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "operations": [ + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "78310d2dd727b704ff9d9c4742d01941b1217b89f45ab71d1e9bf5a010144048" + }, + { + "hashedEmail": "34a6406a076b943abfb9e97a6761e0c6b8cf049ab15b013412c57cf8370b5436" + }, + { + "hashedEmail": "8075d00e5f006b95eb090bf50f5246bc3c18c3d771fa1edf967b033b274b8d84" + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "google_adwords_remarketing_lists", + "description": "Test 20", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "destination": { + "Config": { + "rudderAccountId": "rudder-acc-id", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": [ + "email", + "phone", + "addressInfo" + ], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "anonymousId": "24ed22ae-0681-4882-8c33-012e298e1c17", + "channel": "sources", + "context": { + "destinationFields": "email", + "externalId": [ + { + "identifierType": "email", + "type": "GOOGLE_ADWORDS_REMARKETING_LISTS-830441345" + } + ], + "mappedToDestination": "true", + "sources": { + "job_id": "2UcqQB4ygGtTBAvwCWl7xz8dJgt", + "job_run_id": "cjmsdip7m95b7aee7tpg", + "task_run_id": "cjmsdip7m95b7aee7tq0", + "version": "master" + } + }, + "event": "Add_Audience", + "messageId": "bd2d67ca-0c9a-4d3b-a2f8-35a3c3f75ba7", + "properties": { + "listData": { + "add": [ + { + "email": "test1@mail.com" + }, + { + "email": "test5@xmail.com" + }, + { + "email": "test3@mail.com" + } + ] + } + }, + "recordId": "a071551c-87e0-48a7-aa5c-7c4144cec5cf/1/5", + "rudderId": "5e9ada0e-5f50-4cb8-a015-f6842a7615fd", + "sentAt": "2023-08-29 10:22:06.395377223 +0000 UTC", + "type": "audienceList", + "userId": "23423423" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer dummy-access", + "Content-Type": "application/json", + "developer-token": "dummy-dev-token" + }, + "params": { + "listId": "830441345", + "customerId": "7693729833" + }, + "body": { + "JSON": { + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "78310d2dd727b704ff9d9c4742d01941b1217b89f45ab71d1e9bf5a010144048" + }, + { + "hashedEmail": "34a6406a076b943abfb9e97a6761e0c6b8cf049ab15b013412c57cf8370b5436" + }, + { + "hashedEmail": "8075d00e5f006b95eb090bf50f5246bc3c18c3d771fa1edf967b033b274b8d84" + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummy-access", + "refresh_token": "dummy-refresh", + "developer_token": "dummy-dev-token" + } + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/google_adwords_remarketing_lists/router/data.ts b/test/integrations/destinations/google_adwords_remarketing_lists/router/data.ts new file mode 100644 index 0000000000..3d3de6a587 --- /dev/null +++ b/test/integrations/destinations/google_adwords_remarketing_lists/router/data.ts @@ -0,0 +1,555 @@ +export const data = [ + { + name: 'google_adwords_remarketing_lists', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl9101" + }, + "jobId": 1 + }, + "destination": { + "Config": { + "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", + "listId": "7090784486", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": ["email", "phone", "addressInfo"], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + }, + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl9101" + }, + "jobId": 2 + }, + "destination": { + "Config": { + "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", + "listId": "7090784486", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": ["email", "phone", "addressInfo"], + "isHashRequired": true, + "typeOfList": "userID" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245", + "thirdPartyUserId": "useri1234" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + }, + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl9101" + }, + "jobId": 3 + }, + "destination": { + "Config": { + "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", + "listId": "7090784486", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": ["email", "phone", "addressInfo"], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "remove": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + }, + { + "metadata": { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl9101" + }, + "jobId": 4 + }, + "destination": { + "Config": { + "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", + "listId": "7090784486", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": ["email", "phone", "addressInfo"], + "isHashRequired": true, + "typeOfList": "General" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "remove": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ], + "add": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ], + destType: 'google_adwords_remarketing_lists', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl9101" + }, + "params": { "listId": "7090784486", "customerId": "7693729833" }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", + "hashedLastName": "dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + ], + "metadata": [ + { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl9101" + }, + "jobId": 1 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", + "listId": "7090784486", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": ["email", "phone", "addressInfo"], + "isHashRequired": true, + "typeOfList": "General" + } + } + }, + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl9101" + }, + "params": { "listId": "7090784486", "customerId": "7693729833" }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "thirdPartyUserId": "useri1234" + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + ], + "metadata": [ + { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl9101" + }, + "jobId": 2 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", + "listId": "7090784486", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": ["email", "phone", "addressInfo"], + "isHashRequired": true, + "typeOfList": "userID" + } + } + }, + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl9101" + }, + "params": { "listId": "7090784486", "customerId": "7693729833" }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", + "hashedLastName": "dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + ], + "metadata": [ + { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl9101" + }, + "jobId": 3 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", + "listId": "7090784486", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": ["email", "phone", "addressInfo"], + "isHashRequired": true, + "typeOfList": "General" + } + } + }, + { + "batchedRequest": [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl9101" + }, + "params": { "listId": "7090784486", "customerId": "7693729833" }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "remove": { + "userIdentifiers": [ + { + "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", + "hashedLastName": "dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs", + "headers": { + "Authorization": "Bearer abcd1234", + "Content-Type": "application/json", + "developer-token": "ijkl9101" + }, + "params": { "listId": "7090784486", "customerId": "7693729833" }, + "body": { + "JSON": { + "enablePartialFailure": true, + "operations": [ + { + "create": { + "userIdentifiers": [ + { + "hashedEmail": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + }, + { + "hashedPhoneNumber": "8846dcb6ab2d73a0e67dbd569fa17cec2d9d391e5b05d1dd42919bc21ae82c45" + }, + { + "addressInfo": { + "hashedFirstName": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", + "hashedLastName": "dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251", + "countryCode": "US", + "postalCode": "1245" + } + } + ] + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + ], + "metadata": [ + { + "secret": { + "access_token": "abcd1234", + "refresh_token": "efgh5678", + "developer_token": "ijkl9101" + }, + "jobId": 4 + } + ], + "batched": false, + "statusCode": 200, + "destination": { + "Config": { + "rudderAccountId": "258Yea7usSKNpbkIaesL9oJ9iYw", + "listId": "7090784486", + "customerId": "7693729833", + "loginCustomerId": "", + "subAccount": false, + "userSchema": ["email", "phone", "addressInfo"], + "isHashRequired": true, + "typeOfList": "General" + } + } + } + ], + }, + }, + }, + } +]; From c8baf5b2b6325d9e30200339055dcbefd780936c Mon Sep 17 00:00:00 2001 From: Sankeerth Date: Thu, 26 Oct 2023 07:54:04 +0100 Subject: [PATCH 56/98] fix: oom kill while stringifying large response json (#2754) --- src/types/index.ts | 2 +- src/v0/util/index.js | 22 +- .../__tests__/data/marketo_router_output.json | 4 +- .../destinations/autopilot/processor/data.ts | 2405 +++++++++-------- .../optimizely_fullstack/processor/data.ts | 2 +- .../destinations/zendesk/processor/data.ts | 2 +- .../destinations/zendesk/router/data.ts | 2 +- 7 files changed, 1268 insertions(+), 1171 deletions(-) diff --git a/src/types/index.ts b/src/types/index.ts index 5a35b697d6..79efaecb40 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -137,7 +137,7 @@ type SourceTransformationResponse = { type DeliveryResponse = { status: number; message: string; - destinationResponse: object; + destinationResponse: any; statTags: object; authErrorCategory?: string; }; diff --git a/src/v0/util/index.js b/src/v0/util/index.js index cd9bd82efd..4ea3d3783d 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -1473,13 +1473,22 @@ const getErrorStatusCode = (error, defaultStatusCode = HTTP_STATUS_CODES.INTERNA /** * Used for generating error response with stats from native and built errors */ -function generateErrorObject(error, defTags = {}, shouldEnrichErrorMessage = false) { - let errObject = error; +function generateErrorObject(error, defTags = {}, shouldEnrichErrorMessage = true) { + let errObject = new BaseError( + error.message, + getErrorStatusCode(error), + { + ...error.statTags, + ...defTags, + }, + error.destinationResponse, + error.authErrorCategory, + ); let errorMessage = error.message; if (shouldEnrichErrorMessage) { if (error.destinationResponse) { errorMessage = JSON.stringify({ - message: error.message, + message: errorMessage, destinationResponse: error.destinationResponse, }); } @@ -1488,13 +1497,6 @@ function generateErrorObject(error, defTags = {}, shouldEnrichErrorMessage = fal if (!(error instanceof BaseError)) { errObject = new TransformationError(errorMessage, getErrorStatusCode(error)); } - - // Add higher level default tags - errObject.statTags = { - ...errObject.statTags, - ...defTags, - }; - return errObject; } /** diff --git a/test/__tests__/data/marketo_router_output.json b/test/__tests__/data/marketo_router_output.json index aa0a50bbad..a8877399e9 100644 --- a/test/__tests__/data/marketo_router_output.json +++ b/test/__tests__/data/marketo_router_output.json @@ -328,7 +328,7 @@ { "batched": false, "statusCode": 400, - "error": "Request Failed for marketo, Lookup field 'userId' not found (Aborted).[Marketo Transformer]: During lead look up using email", + "error": "{\"message\":\"Request Failed for marketo, Lookup field 'userId' not found (Aborted).[Marketo Transformer]: During lead look up using email\",\"destinationResponse\":{\"response\":{\"requestId\":\"142e4#1835b117b76\",\"success\":false,\"errors\":[{\"code\":\"1006\",\"message\":\"Lookup field 'userId' not found\"}]},\"status\":200}}", "statTags": { "errorCategory": "network", "errorType": "aborted" @@ -479,7 +479,7 @@ { "batched": false, "statusCode": 400, - "error": "Error occurred [Marketo Transformer]: During lead look up using email -> some other problem", + "error": "{\"message\":\"Error occurred [Marketo Transformer]: During lead look up using email -> some other problem\",\"destinationResponse\":{\"response\":{\"requestId\":\"142e4#1835b117b76\",\"success\":false,\"errors\":[{\"code\":\"random_marketo_code\",\"message\":\"some other problem\"}]},\"status\":200}}", "statTags": { "errorCategory": "network", "errorType": "aborted", diff --git a/test/integrations/destinations/autopilot/processor/data.ts b/test/integrations/destinations/autopilot/processor/data.ts index 1fe7dfc97e..8ae3e28671 100644 --- a/test/integrations/destinations/autopilot/processor/data.ts +++ b/test/integrations/destinations/autopilot/processor/data.ts @@ -1,1156 +1,1251 @@ export const data = [ - { - "name": "autopilot", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "fad9b3fb-5778-4db3-9fb6-7168b554191f", - "originalTimestamp": "2020-04-17T14:42:44.722Z", - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53513", - "sentAt": "2020-04-17T14:42:44.722Z", - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "timestamp": "2020-04-17T20:12:44.758+05:30", - "type": "identify", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/contact", - "headers": { - "Accept": "application/json", - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "contact": { - "Email": "testmp@rudderstack.com", - "FirstName": "Test Kafka", - "custom": { - "age": 23 - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "autopilot", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "type": "track", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/trigger/00XX/contact/testmp@rudderstack.com", - "headers": { - "Accept": "application/json", - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "property": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "autopilot", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "type": "page", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 500, - "error": "Cannot read properties of undefined (reading 'destinationId')", - "statTags": { - "errorCategory": "transformation", - "destType": "AUTOPILOT", - "module": "destination", - "implementation": "cdkV1", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "autopilot", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "type": "track", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 500, - "error": "Cannot read properties of undefined (reading 'destinationId')", - "statTags": { - "errorCategory": "transformation", - "destType": "AUTOPILOT", - "module": "destination", - "implementation": "cdkV1", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "autopilot", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 500, - "error": "Cannot read properties of undefined (reading 'destinationId')", - "statTags": { - "errorCategory": "transformation", - "destType": "AUTOPILOT", - "module": "destination", - "implementation": "cdkV1", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "autopilot", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "type": "group", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 500, - "error": "Cannot read properties of undefined (reading 'destinationId')", - "statTags": { - "errorCategory": "transformation", - "destType": "AUTOPILOT", - "module": "destination", - "implementation": "cdkV1", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "autopilot", - "description": "Test 6", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "abc@rudderstack.com", - "firstname": "Anuraj" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "originalTimestamp": "2020-04-17T14:42:44.722Z", - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53513", - "sentAt": "2020-04-17T14:42:44.722Z", - "timestamp": "2020-04-17T20:12:44.758+05:30", - "type": "identify", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api2.autopilothq.com/v1/contact", - "headers": { - "Accept": "application/json", - "autopilotapikey": "dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "contact": { - "Email": "abc@rudderstack.com", - "FirstName": "Anuraj" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "autopilot", - "description": "Test 7", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "37b75e61-9bd2-4fb8-91ed-e3a064905f3a", - "originalTimestamp": "2020-04-17T14:42:44.724Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53512", - "sentAt": "2020-04-17T14:42:44.725Z", - "timestamp": "2020-04-17T20:12:44.757+05:30", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 500, - "error": "Cannot read properties of undefined (reading 'destinationId')", - "statTags": { - "errorCategory": "transformation", - "destType": "AUTOPILOT", - "module": "destination", - "implementation": "cdkV1", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "autopilot", - "description": "Test 8", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "abc@rudderstack.com", - "firstname": "Anuraj" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "originalTimestamp": "2020-04-17T14:42:44.722Z", - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53513", - "sentAt": "2020-04-17T14:42:44.722Z", - "timestamp": "2020-04-17T20:12:44.758+05:30", - "type": "group", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 500, - "error": "Cannot read properties of undefined (reading 'destinationId')", - "statTags": { - "errorCategory": "transformation", - "destType": "AUTOPILOT", - "module": "destination", - "implementation": "cdkV1", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "autopilot", - "description": "Test 9", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afjtc6chkhdeKsXYrNFOzR5D9v", - "Name": "Autopilot", - "DestinationDefinition": { - "ID": "1afjX4MlAucK57Q0ctTVlD27Tvo", - "Name": "AUTOPILOT", - "DisplayName": "Autopilot", - "Config": { - "cdkEnabled": true, - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "apiKey": "dummyApiKey", - "customMappings": [ - { - "from": "0001", - "to": "Signup" - } - ], - "triggerId": "00XX" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "abc@rudderstack.com", - "firstname": "Anuraj" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "originalTimestamp": "2020-04-17T14:42:44.722Z", - "receivedAt": "2020-04-17T20:12:44.758+05:30", - "request_ip": "[::1]:53513", - "sentAt": "2020-04-17T14:42:44.722Z", - "timestamp": "2020-04-17T20:12:44.758+05:30", - "type": "Tals", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 500, - "error": "Cannot read properties of undefined (reading 'destinationId')", - "statTags": { - "errorCategory": "transformation", - "destType": "AUTOPILOT", - "module": "destination", - "implementation": "cdkV1", - "feature": "processor" - } - } - ] - } - } - } -] \ No newline at end of file + { + name: 'autopilot', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + cdkEnabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'fad9b3fb-5778-4db3-9fb6-7168b554191f', + originalTimestamp: '2020-04-17T14:42:44.722Z', + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53513', + sentAt: '2020-04-17T14:42:44.722Z', + traits: { + age: 23, + email: 'testmp@rudderstack.com', + firstname: 'Test Kafka', + }, + timestamp: '2020-04-17T20:12:44.758+05:30', + type: 'identify', + userId: 'user12345', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.autopilothq.com/v1/contact', + headers: { + Accept: 'application/json', + autopilotapikey: 'dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + contact: { + Email: 'testmp@rudderstack.com', + FirstName: 'Test Kafka', + custom: { + age: 23, + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'autopilot', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + cdkEnabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'testmp@rudderstack.com', + firstname: 'Test Kafka', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: '37b75e61-9bd2-4fb8-91ed-e3a064905f3a', + originalTimestamp: '2020-04-17T14:42:44.724Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53512', + sentAt: '2020-04-17T14:42:44.725Z', + timestamp: '2020-04-17T20:12:44.757+05:30', + type: 'track', + userId: 'user12345', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://api2.autopilothq.com/v1/trigger/00XX/contact/testmp@rudderstack.com', + headers: { + Accept: 'application/json', + autopilotapikey: 'dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + property: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'autopilot', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + cdkEnabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'testmp@rudderstack.com', + firstname: 'Test Kafka', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: '37b75e61-9bd2-4fb8-91ed-e3a064905f3a', + originalTimestamp: '2020-04-17T14:42:44.724Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53512', + sentAt: '2020-04-17T14:42:44.725Z', + timestamp: '2020-04-17T20:12:44.757+05:30', + type: 'page', + userId: 'user12345', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Bad event. Original error: message type "page" not supported for "autopilot"', + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'AUTOPILOT', + module: 'destination', + implementation: 'cdkV1', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'autopilot', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + cdkEnabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + firstname: 'Test Kafka', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: '37b75e61-9bd2-4fb8-91ed-e3a064905f3a', + originalTimestamp: '2020-04-17T14:42:44.724Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53512', + sentAt: '2020-04-17T14:42:44.725Z', + timestamp: '2020-04-17T20:12:44.757+05:30', + type: 'track', + userId: 'user12345', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Unknown error occurred. Original error: Email is required for track calls', + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statTags: { + errorCategory: 'transformation', + destType: 'AUTOPILOT', + module: 'destination', + implementation: 'cdkV1', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'autopilot', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + cdkEnabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + firstname: 'Test Kafka', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: '37b75e61-9bd2-4fb8-91ed-e3a064905f3a', + originalTimestamp: '2020-04-17T14:42:44.724Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53512', + sentAt: '2020-04-17T14:42:44.725Z', + timestamp: '2020-04-17T20:12:44.757+05:30', + userId: 'user12345', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'Unknown error occurred. Original error: "type" is a required field and it must be a string', + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statTags: { + errorCategory: 'transformation', + destType: 'AUTOPILOT', + module: 'destination', + implementation: 'cdkV1', + destinationId: 'destId', + workspaceId: 'wspId', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'autopilot', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + cdkEnabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'testmp@rudderstack.com', + firstname: 'Test Kafka', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: '37b75e61-9bd2-4fb8-91ed-e3a064905f3a', + originalTimestamp: '2020-04-17T14:42:44.724Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53512', + sentAt: '2020-04-17T14:42:44.725Z', + timestamp: '2020-04-17T20:12:44.757+05:30', + type: 'group', + userId: 'user12345', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Bad event. Original error: message type "group" not supported for "autopilot"', + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'AUTOPILOT', + module: 'destination', + implementation: 'cdkV1', + destinationId: 'destId', + workspaceId: 'wspId', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'autopilot', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + cdkEnabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + email: 'abc@rudderstack.com', + firstname: 'Anuraj', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + integrations: { + All: true, + }, + originalTimestamp: '2020-04-17T14:42:44.722Z', + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53513', + sentAt: '2020-04-17T14:42:44.722Z', + timestamp: '2020-04-17T20:12:44.758+05:30', + type: 'identify', + userId: 'user12345', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api2.autopilothq.com/v1/contact', + headers: { + Accept: 'application/json', + autopilotapikey: 'dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + contact: { + Email: 'abc@rudderstack.com', + FirstName: 'Anuraj', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'autopilot', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + cdkEnabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'testmp@rudderstack.com', + firstname: 'Test Kafka', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: '37b75e61-9bd2-4fb8-91ed-e3a064905f3a', + originalTimestamp: '2020-04-17T14:42:44.724Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53512', + sentAt: '2020-04-17T14:42:44.725Z', + timestamp: '2020-04-17T20:12:44.757+05:30', + userId: 'user12345', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'Unknown error occurred. Original error: "type" is a required field and it must be a string', + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statTags: { + errorCategory: 'transformation', + destType: 'AUTOPILOT', + module: 'destination', + implementation: 'cdkV1', + destinationId: 'destId', + workspaceId: 'wspId', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'autopilot', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + cdkEnabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + email: 'abc@rudderstack.com', + firstname: 'Anuraj', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + integrations: { + All: true, + }, + originalTimestamp: '2020-04-17T14:42:44.722Z', + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53513', + sentAt: '2020-04-17T14:42:44.722Z', + timestamp: '2020-04-17T20:12:44.758+05:30', + type: 'group', + userId: 'user12345', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Bad event. Original error: message type "group" not supported for "autopilot"', + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'AUTOPILOT', + module: 'destination', + implementation: 'cdkV1', + destinationId: 'destId', + workspaceId: 'wspId', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'autopilot', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afjtc6chkhdeKsXYrNFOzR5D9v', + Name: 'Autopilot', + DestinationDefinition: { + ID: '1afjX4MlAucK57Q0ctTVlD27Tvo', + Name: 'AUTOPILOT', + DisplayName: 'Autopilot', + Config: { + cdkEnabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + apiKey: 'dummyApiKey', + customMappings: [ + { + from: '0001', + to: 'Signup', + }, + ], + triggerId: '00XX', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + email: 'abc@rudderstack.com', + firstname: 'Anuraj', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + integrations: { + All: true, + }, + originalTimestamp: '2020-04-17T14:42:44.722Z', + receivedAt: '2020-04-17T20:12:44.758+05:30', + request_ip: '[::1]:53513', + sentAt: '2020-04-17T14:42:44.722Z', + timestamp: '2020-04-17T20:12:44.758+05:30', + type: 'Tals', + userId: 'user12345', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Bad event. Original error: message type "Tals" not supported for "autopilot"', + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'AUTOPILOT', + module: 'destination', + implementation: 'cdkV1', + destinationId: 'destId', + workspaceId: 'wspId', + feature: 'processor', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/optimizely_fullstack/processor/data.ts b/test/integrations/destinations/optimizely_fullstack/processor/data.ts index 47ce3314fd..09749178ee 100644 --- a/test/integrations/destinations/optimizely_fullstack/processor/data.ts +++ b/test/integrations/destinations/optimizely_fullstack/processor/data.ts @@ -591,7 +591,7 @@ export const data = [ body: [ { error: - 'Data File Lookup Failed due to {"code":"document_not_found","message":"document_not_found"}: Workflow: procWorkflow, Step: dataFile, ChildStep: undefined, OriginalError: Data File Lookup Failed due to {"code":"document_not_found","message":"document_not_found"}', + '{"message":"Data File Lookup Failed due to {\\"code\\":\\"document_not_found\\",\\"message\\":\\"document_not_found\\"}: Workflow: procWorkflow, Step: dataFile, ChildStep: undefined, OriginalError: Data File Lookup Failed due to {\\"code\\":\\"document_not_found\\",\\"message\\":\\"document_not_found\\"}","destinationResponse":{"code":"document_not_found","message":"document_not_found"}}', statTags: { destType: 'OPTIMIZELY_FULLSTACK', errorCategory: 'platform', diff --git a/test/integrations/destinations/zendesk/processor/data.ts b/test/integrations/destinations/zendesk/processor/data.ts index 6af4e78b93..4dab6c5d5d 100644 --- a/test/integrations/destinations/zendesk/processor/data.ts +++ b/test/integrations/destinations/zendesk/processor/data.ts @@ -2355,7 +2355,7 @@ export const data = [ body: [ { error: - "Failed to fetch user with email: testemail2@email due to Couldn't find user: John Wick", + '{"message":"Failed to fetch user with email: testemail2@email due to Couldn\'t find user: John Wick","destinationResponse":{"status":400,"statTags":{"errorCategory":"network","errorType":"aborted","meta":"instrumentation"},"destinationResponse":"","authErrorCategory":""}}', statTags: { destType: 'ZENDESK', errorCategory: 'network', diff --git a/test/integrations/destinations/zendesk/router/data.ts b/test/integrations/destinations/zendesk/router/data.ts index 9ee5637282..d99ca6df03 100644 --- a/test/integrations/destinations/zendesk/router/data.ts +++ b/test/integrations/destinations/zendesk/router/data.ts @@ -383,7 +383,7 @@ export const data = [ output: [ { error: - "Failed to fetch user with email: testemail2@email due to Couldn't find user: John Wick", + '{"message":"Failed to fetch user with email: testemail2@email due to Couldn\'t find user: John Wick","destinationResponse":{"status":400,"statTags":{"errorCategory":"network","errorType":"aborted","meta":"instrumentation"},"destinationResponse":"","authErrorCategory":""}}', statTags: { destType: 'ZENDESK', errorCategory: 'network', From 9be5740d8670890b0318da3d37f258ddc5e35445 Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Mon, 30 Oct 2023 08:04:57 +0530 Subject: [PATCH 57/98] feat: onboard destination ortto (#2730) * feat: onboard destination ortto * feat: add track call support * feat: add router batching support * fix: refactor code * fix: add instance region support * fix: fix merge by values * fix: add func for birthday obj * fix: fix header * fix: fix header * fix: remove logger * fix: property mapping * fix: property mapping * fix: refactor code * fix: add router tests * fix: update tests * fix: refactor code * fix: update tags mapping * fix: update tags mapping * chore: refactor code and add tests * fix: code smell * fix: refactor birthday validation --- src/cdk/v2/destinations/ortto/config.js | 38 + .../v2/destinations/ortto/procWorkflow.yaml | 126 ++ src/cdk/v2/destinations/ortto/rtWorkflow.yaml | 70 + src/cdk/v2/destinations/ortto/utils.js | 85 ++ src/features.json | 3 +- .../destinations/ortto/processor/data.ts | 1236 +++++++++++++++++ .../destinations/ortto/router/data.ts | 496 +++++++ 7 files changed, 2053 insertions(+), 1 deletion(-) create mode 100644 src/cdk/v2/destinations/ortto/config.js create mode 100644 src/cdk/v2/destinations/ortto/procWorkflow.yaml create mode 100644 src/cdk/v2/destinations/ortto/rtWorkflow.yaml create mode 100644 src/cdk/v2/destinations/ortto/utils.js create mode 100644 test/integrations/destinations/ortto/processor/data.ts create mode 100644 test/integrations/destinations/ortto/router/data.ts diff --git a/src/cdk/v2/destinations/ortto/config.js b/src/cdk/v2/destinations/ortto/config.js new file mode 100644 index 0000000000..8187d9de76 --- /dev/null +++ b/src/cdk/v2/destinations/ortto/config.js @@ -0,0 +1,38 @@ +const IDENTIFY_ENDPOINT = { + au: 'https://api.au.ap3api.com/v1/person/merge', + eu: 'https://api.eu.ap3api.com/v1/person/merge', + other: 'https://api.ap3api.com/v1/person/merge', +}; +// https://help.ortto.com/developer/latest/api-reference/person/merge.html#person-fields +const TRACK_ENDPOINT = { + au: 'https://api.au.ap3api.com/v1/activities/create', + eu: 'https://api.eu.ap3api.com/v1/activities/create', + other: 'https://api.ap3api.com/v1/activities/create', +}; +// https://help.ortto.com/a-271-create-a-custom-activity-event-create + +const maxBatchSize = 1; + +const fieldTypeMap = { + text: 'str', + email: 'str', + longText: 'txt', + number: 'int', + decimalNumber: 'int', + currency: 'int', + date: 'dtz', + timeAndDate: 'tme', + boolean: 'bol', + phone: 'phn', + singleSelect: 'str', + multiSelect: 'sst', + link: 'str', + object: 'obj', +}; + +module.exports = { + IDENTIFY_ENDPOINT, + TRACK_ENDPOINT, + fieldTypeMap, + maxBatchSize, +}; diff --git a/src/cdk/v2/destinations/ortto/procWorkflow.yaml b/src/cdk/v2/destinations/ortto/procWorkflow.yaml new file mode 100644 index 0000000000..4b98f6246f --- /dev/null +++ b/src/cdk/v2/destinations/ortto/procWorkflow.yaml @@ -0,0 +1,126 @@ +bindings: + - name: EventType + path: ../../../../constants + - path: ../../bindings/jsontemplate + exportAll: true + - path: ./config + - name: removeUndefinedAndNullValues + path: ../../../../v0/util + - name: defaultRequestConfig + path: ../../../../v0/util + - path: ./utils + +steps: + - name: validateInput + template: | + let messageType = .message.type; + $.assert(.message.type, "message Type is not present. Aborting message."); + $.assertConfig(.destination.Config.privateApiKey, "Private Api Key is not present"); + $.assertConfig(.destination.Config.instanceRegion, "Instance Region is not present"); + $.assert(messageType in {{$.EventType.([.IDENTIFY, .TRACK])}}, "message type " + messageType + " is not supported"); + $.assert(.message.().({{{{$.getGenericPaths("email")}}}}) || .message.().({{{{$.getGenericPaths("userId")}}}}), "Either of email or userId is required. Aborting message."); + + - name: messageType + template: | + .message.type.toLowerCase() + + - name: validateInputForTrack + description: Additional validation for Track events + condition: $.outputs.messageType === {{$.EventType.TRACK}} + template: | + $.assert(.message.event, "event is not present. Aborting.") + + - name: commonFields + description: | + Builds common fields in destination payload. + template: | + let commonFields = .message.().({ + "fields": { + "str::first": {{{{$.getGenericPaths("firstName")}}}}, + "str::last": {{{{$.getGenericPaths("lastName")}}}}, + "str::email": {{{{$.getGenericPaths("email")}}}}, + "geo::city": {"name":{{{{$.getGenericPaths("city")}}}}}, + "geo::country": {"name":{{{{$.getGenericPaths("country")}}}}}, + "geo::region": {"name":{{{{$.getGenericPaths("region")}}}}}, + "str::postal": {{{{$.getGenericPaths("zipcode")}}}}, + "dtz::b": $.getBirthdayObj({{{{$.getGenericPaths("birthday")}}}}), + "str::ei": {{{{$.getGenericPaths("userId")}}}}, + "str::language": .context.traits.language || .context.locale, + "phn::phone": {"n": {{{{$.getGenericPaths("phone")}}}}}, + "bol::gdpr": .context.traits.gdpr ?? true, + "bol::p": .context.traits.emailConsent || false, + "bol::sp": .context.traits.smsConsent || false, + }, + "location": {"source_ip": .context.ip} + }); + .destination.Config.orttoPersonAttributes@attribute.( + const trimmedOrttoAttribute = attribute.orttoAttribute.trim().toLowerCase().replace(new RegExp('\\s+', 'g'),'-'); + commonFields.fields[$.fieldTypeMap[attribute.type]+":cm:"+trimmedOrttoAttribute] = $.originalInput.message.context.traits[attribute.rudderTraits] + )[] + commonFields.fields = $.removeUndefinedAndNullValues(commonFields.fields) + $.removeUndefinedAndNullValues(commonFields) + + - name: prepareIdentifyPayload + condition: $.outputs.messageType === {{$.EventType.IDENTIFY}} + template: | + const peopleObj = { + "fields": $.outputs.commonFields.fields, + "tags": .message.context.traits.tags || .message.traits.tags, + "unset_tags": .message.context.traits.unset_tags || .message.traits.unset_tags + } + const identifyPayoad = { + "people":[peopleObj], + "merge_by": ["str::ei", "str::email"] + } + $.removeUndefinedAndNullValues(identifyPayoad) + + - name: prepareTrackPayload + condition: $.outputs.messageType === {{$.EventType.TRACK}} + steps: + - name: getTrimmedEvent + template: | + let customEvent = ""; + const event = .message.event; + .destination.Config.orttoEventsMapping@order.( + customEvent = event === .rsEventName ? .orttoEventName : null; + ) + $.assert(customEvent, "Event names is not mapped"); + "act:cm:"+customEvent.trim().toLowerCase().replace(new RegExp('\\s+', 'g'),'-'); + + - name: getAttributes + template: | + let attributes = {}; + .destination.Config.orttoEventsMapping@event.eventProperties@prop.( + attributes[$.fieldTypeMap[prop.type]+":cm:"+prop.orttoProperty.trim().toLowerCase().replace(new RegExp('\\s+', 'g'),'-')] = $.originalInput.message.properties[prop.rudderProperty] + ) + $.removeUndefinedAndNullValues(attributes) + + - name: preparePayload + template: | + const activityObj = { + "fields": $.outputs.commonFields.fields, + "activity_id": $.outputs.prepareTrackPayload.getTrimmedEvent, + "attributes": $.outputs.prepareTrackPayload.getAttributes, + "location": {"source_ip": .message.context.ip} + }; + { + "activities":[activityObj], + "merge_by": ["str::ei", "str::email"] + } + + - name: payload + template: | + $.outputs.messageType === {{$.EventType.IDENTIFY}} ? $.outputs.prepareIdentifyPayload : $.outputs.prepareTrackPayload + + - name: buildResponseForProcessTransformation + description: build response + template: | + const response = $.defaultRequestConfig(); + const instanceRegion = $.originalInput.destination.Config.instanceRegion; + response.body.JSON = $.outputs.payload; + response.endpoint = response.body.JSON.people? $.IDENTIFY_ENDPOINT[instanceRegion] : $.TRACK_ENDPOINT[instanceRegion]; + response.headers = { + "X-Api-Key": .destination.Config.privateApiKey, + "Content-Type": "application/json" + }; + response; diff --git a/src/cdk/v2/destinations/ortto/rtWorkflow.yaml b/src/cdk/v2/destinations/ortto/rtWorkflow.yaml new file mode 100644 index 0000000000..d00e45c435 --- /dev/null +++ b/src/cdk/v2/destinations/ortto/rtWorkflow.yaml @@ -0,0 +1,70 @@ +bindings: + - path: ./utils + - path: ./config + +steps: + - name: validateInput + template: | + $.assert(Array.isArray(^) && ^.length > 0, "Invalid event array") + + - name: transform + externalWorkflow: + path: ./procWorkflow.yaml + bindings: + - name: batchMode + value: true + loopOverInput: true + - name: successfulEvents + template: | + $.outputs.transform#idx.output.({ + "message": .[], + "destination": ^ [idx].destination, + "metadata": ^ [idx].metadata + })[] + - name: failedEvents + template: | + $.outputs.transform#idx.error.({ + "metadata": ^[idx].metadata[], + "destination": ^[idx].destination, + "batched": false, + "statusCode": .status, + "error": .message, + "statTags": .originalError.statTags + })[] + + - name: batchSuccessfulEvents + description: Batches the successfulEvents using V3 API + condition: $.outputs.successfulEvents.length + template: | + let batches = $.batchEvents($.outputs.successfulEvents); + batches@batch.({ + "batchedRequest": { + "body": { + "JSON": batch.message, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": batch.message.people ? $.IDENTIFY_ENDPOINT[$.originalInput[0].destination.Config.instanceRegion] : $.TRACK_ENDPOINT[$.originalInput[0].destination.Config.instanceRegion], + "headers": { + "X-Api-Key": .destination.Config.privateApiKey, + "Content-Type": "application/json", + }, + "params": {}, + "files": {} + }, + "metadata": batch.metadata, + "batched": true, + "statusCode": 200, + "destination": batch.destination + })[]; + else: + name: returnEmptyOuput + template: '[]' + + - name: finalPayload + template: | + [...$.outputs.batchSuccessfulEvents, ...$.outputs.failedEvents] diff --git a/src/cdk/v2/destinations/ortto/utils.js b/src/cdk/v2/destinations/ortto/utils.js new file mode 100644 index 0000000000..027e6ce2d9 --- /dev/null +++ b/src/cdk/v2/destinations/ortto/utils.js @@ -0,0 +1,85 @@ +const lodash = require('lodash'); +const { CommonUtils } = require('../../../../util/common'); +const { maxBatchSize } = require('./config'); + +const getBirthdayObj = (birthday) => { + const dateRegex = /^\d{4}-\d{2}-\d{2}$/; // YYYY-MM-DD format + + if (!dateRegex.test(birthday)) { + return null; // Invalid birthday format + } + const date = new Date(birthday); + + const year = date.getFullYear(); + const month = date.getMonth() + 1; // Month is 0-based, so add 1 + const day = date.getDate(); + + return { year, month, day }; +}; + +const groupEventsByEndpoint = (events) => { + const eventMap = { + person: [], + activities: [], + }; + const batchErrorRespList = []; + events.forEach((result) => { + if (result.message) { + const { destination, metadata } = result; + const message = CommonUtils.toArray(result.message); + message.forEach((msg) => { + const endpoint = Object.keys(eventMap).find((key) => msg.endpoint?.includes(key)); + if (endpoint) { + eventMap[endpoint].push({ message: msg.body.JSON, destination, metadata }); + } + }); + } else if (result.error) { + batchErrorRespList.push(result); + } + }); + return { + personEvents: eventMap.person, + activitiesEvents: eventMap.activities, + batchErrorRespList, + }; +}; +const combinePersonAndActivitiesArraysofEvents = (events, identifier) => { + const batchedPersonEvents = []; + if (Array.isArray(events)) { + events.forEach((chunk) => { + const response = { destination: chunk[0].destination }; + + chunk.forEach((event, index) => { + if (index === 0) { + response.message = event.message; + response.destination = event.destination; + response.metadata = [event.metadata]; + } else { + response.message[identifier].push(...event.message[identifier]); + response.metadata.push(event.metadata); + } + }); + batchedPersonEvents.push(response); + }); + } + return batchedPersonEvents; +}; + +const batchEvents = (successfulEvents) => { + const { personEvents, activitiesEvents } = groupEventsByEndpoint(successfulEvents); + const personEventsChunks = lodash.chunk(personEvents, maxBatchSize); + const activityEventsChunks = lodash.chunk(activitiesEvents, maxBatchSize); + const batchedPersonEvents = combinePersonAndActivitiesArraysofEvents( + personEventsChunks, + 'people', + ); + const batchedActivityEvents = combinePersonAndActivitiesArraysofEvents( + activityEventsChunks, + 'activities', + ); + return [...batchedPersonEvents, ...batchedActivityEvents]; +}; +module.exports = { + getBirthdayObj, + batchEvents, +}; diff --git a/src/features.json b/src/features.json index 9784f03e44..7de214ab39 100644 --- a/src/features.json +++ b/src/features.json @@ -57,6 +57,7 @@ "BRAZE": true, "OPTIMIZELY_FULLSTACK": true, "TWITTER_ADS": true, - "CLEVERTAP": true + "CLEVERTAP": true, + "ORTTO": true } } diff --git a/test/integrations/destinations/ortto/processor/data.ts b/test/integrations/destinations/ortto/processor/data.ts new file mode 100644 index 0000000000..9c3d00b874 --- /dev/null +++ b/test/integrations/destinations/ortto/processor/data.ts @@ -0,0 +1,1236 @@ +export const data = [ + { + name: 'ortto', + description: 'Identify call for creatig/updating person', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + privateApiKey: 'dummyApiKey', + instanceRegion: 'other', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', jobId: 1 }, + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + ruddertrait0: 'abc', + ruddertrait1: 'def', + tags: ['tag1', 'tag2'], + unset_tags: ['tag3', 'tag4'], + emailConsent: true, + smsConsent: true, + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: 'wrongValue', + createDate: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + originalTimestamp: '2020-05-25T18:37:10.917Z', + type: 'identify', + userId: 'sample_user_id', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.ap3api.com/v1/person/merge', + headers: { + 'X-Api-Key': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + people: [ + { + fields: { + 'str::first': 'John', + 'str::last': 'Sparrow', + 'str::email': 'identify@test.com', + 'geo::city': { + name: 'Kolkata', + }, + 'geo::country': {}, + 'geo::region': {}, + 'str::postal': '700096', + 'str::ei': 'sample_user_id', + 'str::language': 'en-US', + 'phn::phone': { + n: '9112340345', + }, + 'bol::gdpr': true, + 'bol::p': true, + 'bol::sp': true, + 'str:cm:ortto-attirbute0': 'abc', + 'str:cm:ortto-attirbute1': 'def', + }, + tags: ['tag1', 'tag2'], + unset_tags: ['tag3', 'tag4'], + }, + ], + merge_by: ['str::ei', 'str::email'], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + jobId: 1, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'ortto', + description: 'Unsupported messageType group', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + privateApiKey: 'dummyApiKey', + instanceRegion: 'other', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', jobId: 1 }, + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + ruddertrait0: 'abc', + ruddertrait1: 'def', + tags: ['tag1', 'tag2'], + unset_tags: ['tag3', 'tag4'], + emailConsent: true, + smsConsent: true, + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createDate: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + originalTimestamp: '2020-05-25T18:37:10.917Z', + type: 'group', + userId: 'sample_user_id', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + statTags: { + destType: 'ORTTO', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + error: + 'message type group is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type group is not supported', + metadata: { + destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + jobId: 1, + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'ortto', + description: 'email or userId is not present', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + privateApiKey: 'dummyApiKey', + instanceRegion: 'other', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', jobId: 1 }, + message: { + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + ruddertrait0: 'abc', + ruddertrait1: 'def', + tags: ['tag1', 'tag2'], + unset_tags: ['tag3', 'tag4'], + emailConsent: true, + smsConsent: true, + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createDate: '18th March 2020', + description: 'Premium User for 3 years', + firstname: 'John', + lastname: 'Sparrow', + name: 'John Sparrow', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + originalTimestamp: '2020-05-25T18:37:10.917Z', + type: 'identify', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + statTags: { + destType: 'ORTTO', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + error: + 'Either of email or userId is required. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Either of email or userId is required. Aborting message.', + metadata: { + destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + jobId: 1, + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'ortto', + description: 'instance region is not present', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + privateApiKey: 'dummyApiKey', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', jobId: 1 }, + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + ruddertrait0: 'abc', + ruddertrait1: 'def', + tags: ['tag1', 'tag2'], + unset_tags: ['tag3', 'tag4'], + emailConsent: true, + smsConsent: true, + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createDate: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + originalTimestamp: '2020-05-25T18:37:10.917Z', + type: 'identify', + userId: 'sample_user_id', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + statTags: { + destType: 'ORTTO', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + error: + 'Instance Region is not present: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Instance Region is not present', + metadata: { + destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + jobId: 1, + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'ortto', + description: 'privateApi Key is not present', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + instanceRegion: 'other', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', jobId: 1 }, + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + ruddertrait0: 'abc', + ruddertrait1: 'def', + tags: ['tag1', 'tag2'], + unset_tags: ['tag3', 'tag4'], + emailConsent: true, + smsConsent: true, + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createDate: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + originalTimestamp: '2020-05-25T18:37:10.917Z', + type: 'identify', + userId: 'sample_user_id', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + statTags: { + destType: 'ORTTO', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + error: + 'Private Api Key is not present: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Private Api Key is not present', + metadata: { + destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + jobId: 1, + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'ortto', + description: 'Track call for updating activities', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + privateApiKey: 'dummyApiKey', + instanceRegion: 'other', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', jobId: 2 }, + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + ruddertrait0: 'abc', + ruddertrait1: 'def', + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createDate: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + gdpr: false, + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'RudderEvent', + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + properties: { + revenue: '30', + RudderProp: 'USD', + quantity: '5', + test_key_2: { + test_child_key_1: 'test_child_value_1', + }, + price: '58.0', + }, + originalTimestamp: '2020-05-25T18:37:10.917Z', + type: 'track', + userId: 'sample_user_id', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.ap3api.com/v1/activities/create', + headers: { + 'X-Api-Key': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + activities: [ + { + fields: { + 'str::first': 'John', + 'str::last': 'Sparrow', + 'str::email': 'identify@test.com', + 'geo::city': { + name: 'Kolkata', + }, + 'geo::country': {}, + 'geo::region': {}, + 'dtz::b': { + day: 26, + month: 5, + year: 2020, + }, + 'str::postal': '700096', + 'str::language': 'en-US', + 'str::ei': 'sample_user_id', + 'phn::phone': { + n: '9112340345', + }, + 'bol::gdpr': false, + 'bol::p': false, + 'bol::sp': false, + 'str:cm:ortto-attirbute0': 'abc', + 'str:cm:ortto-attirbute1': 'def', + }, + activity_id: 'act:cm:ortto-event', + attributes: { + 'str:cm:orttoprop': 'USD', + 'txt:cm:orttoprop': 'USD', + }, + location: {}, + }, + ], + merge_by: ['str::ei', 'str::email'], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + jobId: 2, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'ortto', + description: 'Track call for updating activities', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + privateApiKey: 'dummyApiKey', + instanceRegion: 'other', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', jobId: 2 }, + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + ruddertrait0: 'abc', + ruddertrait1: 'def', + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createDate: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + gdpr: false, + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + properties: { + revenue: '30', + RudderProp: 'USD', + quantity: '5', + test_key_2: { + test_child_key_1: 'test_child_value_1', + }, + price: '58.0', + }, + originalTimestamp: '2020-05-25T18:37:10.917Z', + type: 'track', + userId: 'sample_user_id', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + statTags: { + destType: 'ORTTO', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + error: + 'event is not present. Aborting.: Workflow: procWorkflow, Step: validateInputForTrack, ChildStep: undefined, OriginalError: event is not present. Aborting.', + metadata: { + destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + jobId: 2, + }, + statusCode: 400, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/ortto/router/data.ts b/test/integrations/destinations/ortto/router/data.ts new file mode 100644 index 0000000000..58a1dc3a5d --- /dev/null +++ b/test/integrations/destinations/ortto/router/data.ts @@ -0,0 +1,496 @@ +export const data = [ + { + name: 'ortto', + description: 'Test Identify and Track Events', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + privateApiKey: 'dummyApiKey', + instanceRegion: 'other', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', jobId: 1 }, + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + ruddertrait0: 'abc', + ruddertrait1: 'def', + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createDate: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + originalTimestamp: '2020-05-25T18:37:10.917Z', + type: 'identify', + userId: 'sample_user_id', + }, + }, + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + privateApiKey: 'dummyApiKey', + instanceRegion: 'other', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', jobId: 2 }, + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + ruddertrait0: 'abc', + ruddertrait1: 'def', + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createDate: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + gdpr: false, + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'RudderEvent', + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + properties: { + revenue: '30', + RudderProp: 'USD', + quantity: '5', + test_key_2: { + test_child_key_1: 'test_child_value_1', + }, + price: '58.0', + }, + originalTimestamp: '2020-05-25T18:37:10.917Z', + type: 'track', + userId: 'sample_user_id', + }, + }, + ], + destType: 'ortto', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + body: { + JSON: { + people: [ + { + fields: { + 'str::first': 'John', + 'str::last': 'Sparrow', + 'str::email': 'identify@test.com', + 'geo::city': { + name: 'Kolkata', + }, + 'geo::country': {}, + 'geo::region': {}, + 'str::postal': '700096', + 'dtz::b': { + year: 2020, + month: 5, + day: 26, + }, + 'str::ei': 'sample_user_id', + 'str::language': 'en-US', + 'phn::phone': { + n: '9112340345', + }, + 'bol::gdpr': true, + 'bol::p': false, + 'bol::sp': false, + 'str:cm:ortto-attirbute0': 'abc', + 'str:cm:ortto-attirbute1': 'def', + }, + }, + ], + merge_by: ['str::ei', 'str::email'], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.ap3api.com/v1/person/merge', + headers: { + 'X-Api-Key': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + files: {}, + }, + metadata: [ + { + destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + jobId: 1, + }, + ], + batched: true, + statusCode: 200, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + privateApiKey: 'dummyApiKey', + instanceRegion: 'other', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + }, + { + batchedRequest: { + body: { + JSON: { + activities: [ + { + fields: { + 'str::first': 'John', + 'str::last': 'Sparrow', + 'str::email': 'identify@test.com', + 'geo::city': { + name: 'Kolkata', + }, + 'geo::country': {}, + 'geo::region': {}, + 'str::postal': '700096', + 'dtz::b': { + year: 2020, + month: 5, + day: 26, + }, + 'str::ei': 'sample_user_id', + 'str::language': 'en-US', + 'phn::phone': { + n: '9112340345', + }, + 'bol::gdpr': false, + 'bol::p': false, + 'bol::sp': false, + 'str:cm:ortto-attirbute0': 'abc', + 'str:cm:ortto-attirbute1': 'def', + }, + activity_id: 'act:cm:ortto-event', + attributes: { + 'str:cm:orttoprop': 'USD', + 'txt:cm:orttoprop': 'USD', + }, + location: {}, + }, + ], + merge_by: ['str::ei', 'str::email'], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.ap3api.com/v1/activities/create', + headers: { + 'X-Api-Key': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + files: {}, + }, + metadata: [ + { + destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + jobId: 2, + }, + ], + batched: true, + statusCode: 200, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'ORTTO', + Config: { + privateApiKey: 'dummyApiKey', + instanceRegion: 'other', + orttoEventsMapping: [ + { + rsEventName: 'RudderEvent', + orttoEventName: 'Ortto Event', + eventProperties: [ + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'text', + }, + { + rudderProperty: 'RudderProp', + orttoProperty: 'OrttoProp', + type: 'longText', + }, + ], + }, + ], + orttoPersonAttributes: [ + { + rudderTraits: 'ruddertrait0', + orttoAttribute: 'ortto attirbute0', + type: 'email', + }, + { + rudderTraits: 'ruddertrait1', + orttoAttribute: 'ortto attirbute1', + type: 'email', + }, + ], + }, + Enabled: true, + Transformations: [], + }, + }, + ], + }, + }, + }, + }, +]; From 3387cb07b7f3bd5ae99bf055bec6da9fc31bca21 Mon Sep 17 00:00:00 2001 From: Sanjay <71065320+Sanjay-Veernala@users.noreply.github.com> Date: Mon, 30 Oct 2023 09:08:56 +0530 Subject: [PATCH 58/98] chore(INT-562): update component test suite (#2744) * component tests(chore): update component test data * componentTestSuite(chore): remove unwanted files * chore: clean-up un-used tests Signed-off-by: Sai Sankeerth * chore: clean-up vero tests Signed-off-by: Sai Sankeerth * fix: snapchat tests, remove unnecessary tests for snapchat - remove ts-ignore for attentive_tag processor tests Signed-off-by: Sai Sankeerth * fix: data-delivery component tests for salesforce * fix: remove salesforce from original proxy tests & correct the migrated transformation tests Signed-off-by: Sai Sankeerth * migrate marketo-proxy tests to component tests * chore: migrating intercom, braze, marketo_static_list, snapchat_custom_audience, fb, fbpixel, clevertap, criteo_audience * fix: move tiktok_ads data-delivery tests to component test suite Signed-off-by: Sai Sankeerth * fix: mock clone Signed-off-by: Sai Sankeerth * chore: decreasing the code-coverage to 75% Signed-off-by: Sai Sankeerth * chore: moving am to component test suite to cover generic handler tests Signed-off-by: Sai Sankeerth * chore: remove proxy.test Signed-off-by: Sai Sankeerth * chore: clean-up braze mocks, un-comment twitter_ads processor test-cases Signed-off-by: Sai Sankeerth * chore: add router component tests for tiktok offline events Signed-off-by: Sai Sankeerth * fix: salesforce router test-case format for router component tests Signed-off-by: Sai Sankeerth * fix: tiktok_ads router test-case format in component tests Signed-off-by: Sai Sankeerth * fix: vero, splitio router test-case format in component tests Signed-off-by: Sai Sankeerth * chore: move back threshold for coverage to 80 Signed-off-by: Sai Sankeerth * chore: move threshold for coverage to 75 Signed-off-by: Sai Sankeerth * chore: updated test case descriptions --------- Signed-off-by: Sai Sankeerth Co-authored-by: Sai Sankeerth Co-authored-by: Utsab Chowdhury Co-authored-by: krishnachaitanya --- jest.config.js | 6 +- jest.default.config.js | 6 +- src/v0/destinations/clevertap/transform.js | 2 +- src/v0/destinations/hs/HSTransform-v1.js | 2 +- src/v0/destinations/hs/util.js | 38 +- src/v0/destinations/redis/transform.js | 2 +- .../data/TrackEventCommonConfig.json | 176 +- .../snapchat_conversion/transform.js | 2 +- .../data/marketo/proxy_response.json | 282 - .../__tests__/data/hs_router_rETL_output.json | 2 +- test/__tests__/data/marketo_proxy_input.json | 272 - test/__tests__/data/marketo_proxy_output.json | 193 - test/__tests__/data/redis_input.json | 405 - test/__tests__/data/redis_output.json | 90 - test/__tests__/data/revenue_cat_input.json | 449 - test/__tests__/data/revenue_cat_output.json | 424 - test/__tests__/data/salesforce_input.json | 793 - test/__tests__/data/salesforce_output.json | 320 - .../data/salesforce_proxy_input.json | 326 - .../data/salesforce_proxy_output.json | 260 - .../data/salesforce_router_input.json | 277 - .../data/salesforce_router_output.json | 233 - test/__tests__/data/segment_input.json | 368 - test/__tests__/data/segment_output.json | 187 - test/__tests__/data/shynet.json | 166 - test/__tests__/data/slack_input.json | 1415 -- test/__tests__/data/slack_output.json | 164 - test/__tests__/data/slack_router_input.json | 247 - test/__tests__/data/slack_router_output.json | 172 - test/__tests__/data/snapchat_conversion.json | 3028 --- .../snapchat_conversion_router_input.json | 315 - .../snapchat_conversion_router_output.json | 72 - .../data/snapchat_custom_audience.json | 939 - ...snapchat_custom_audience_router_input.json | 46 - ...napchat_custom_audience_router_output.json | 49 - test/__tests__/data/splitio_input.json | 367 - test/__tests__/data/splitio_output.json | 261 - test/__tests__/data/splitio_router_input.json | 82 - .../__tests__/data/splitio_router_output.json | 90 - test/__tests__/data/statsig_cdk_output.json | 607 - test/__tests__/data/statsig_input.json | 627 - test/__tests__/data/statsig_output.json | 607 - test/__tests__/data/tiktok_ads_input.json | 2500 --- .../data/tiktok_ads_offline_events.json | 469 - test/__tests__/data/tiktok_ads_output.json | 1545 -- .../data/tiktok_ads_router_input.json | 439 - .../data/tiktok_ads_router_output.json | 287 - test/__tests__/data/twitter_ads.json | 708 - test/__tests__/data/variance_input.json | 410 - test/__tests__/data/variance_output.json | 421 - test/__tests__/data/vero.json | 559 - test/__tests__/data/vero_router_input.json | 88 - test/__tests__/data/vero_router_output.json | 175 - test/__tests__/proxy.test.ts | 106 - test/__tests__/redis.test.js | 28 - test/__tests__/revenue_cat.test.js | 33 - test/__tests__/salesforce.test.js | 70 - test/__tests__/segment.test.js | 33 - test/__tests__/shynet.test.js | 29 - test/__tests__/slack.test.js | 48 - test/__tests__/snapchat_conversion.test.js | 48 - .../snapchat_custom_audience.test.js | 51 - test/__tests__/splitio.test.js | 7 - test/__tests__/statsig-cdk.test.ts | 33 - test/__tests__/statsig.test.js | 3 - test/__tests__/tiktok_ads.test.js | 50 - .../tiktok_ads_offline_events.test.js | 46 - test/__tests__/twitter_ads.test.js | 44 - test/__tests__/variance-cdk.test.ts | 33 - test/__tests__/variance.test.js | 3 - test/__tests__/vero.test.js | 46 - test/integrations/component.test.ts | 9 +- .../destinations/algolia/processor/data.ts | 2473 ++- .../destinations/am/dataDelivery/data.ts | 547 + test/integrations/destinations/am/network.ts | 209 +- .../destinations/appcues/processor/data.ts | 12 +- .../destinations/appcues/router/data.ts | 2 +- .../attentive_tag/processor/data.ts | 1 - .../azure_event_hub/processor/data.ts | 1658 +- .../destinations/blueshift/processor/data.ts | 3986 ++-- .../destinations/braze/dataDelivery/data.ts | 488 + .../destinations/braze/network.ts | 206 +- .../campaign_manager/processor/data.ts | 1653 +- .../destinations/candu/processor/data.ts | 24 +- .../clevertap/dataDelivery/data.ts | 227 + .../destinations/clevertap/network.ts | 91 +- .../confluent_cloud/processor/data.ts | 1658 +- .../destinations/courier/processor/data.ts | 664 +- .../criteo_audience/dataDelivery/data.ts | 530 + .../destinations/criteo_audience/network.ts | 230 + .../criteo_audience/processor/data.ts | 3252 ++- .../destinations/customerio/processor/data.ts | 16759 ++++++++-------- .../processor/data.ts | 3571 ++-- .../facebook_pixel/dataDelivery/data.ts | 585 + .../destinations/facebook_pixel/network.ts | 190 + .../destinations/fb/dataDelivery/data.ts | 357 + test/integrations/destinations/fb/network.ts | 55 + .../destinations/firehose/processor/data.ts | 1733 +- .../googlepubsub/processor/data.ts | 2609 +-- .../googlesheets/processor/data.ts | 2149 +- .../destinations/googlesheets/router/data.ts | 929 +- .../destinations/heap/router/data.ts | 1558 +- .../destinations/impact/processor/data.ts | 4680 ++--- .../destinations/impact/router/data.ts | 634 +- .../destinations/indicative/processor/data.ts | 6545 +++--- .../destinations/indicative/router/data.ts | 609 +- .../intercom/dataDelivery/data.ts | 90 + .../destinations/intercom/network.ts | 54 +- .../destinations/kafka/processor/data.ts | 1588 +- .../destinations/keen/processor/data.ts | 969 +- .../destinations/keen/router/data.ts | 581 +- .../kissmetrics/processor/data.ts | 1780 +- .../destinations/kissmetrics/router/data.ts | 568 +- .../destinations/marketo/dataDelivery/data.ts | 490 + .../destinations/marketo/network.ts | 244 + .../marketo_static_list/dataDelivery/data.ts | 368 + .../marketo_static_list/network.ts | 180 + test/integrations/destinations/mp/network.ts | 18 + .../destinations/redis/processor/data.ts | 661 + .../revenue_cat/processor/data.ts | 1079 + .../destinations/rockerbox/processor/data.ts | 749 + .../destinations/rockerbox/router/data.ts | 314 + .../salesforce/dataDelivery/data.ts | 833 + .../destinations/salesforce/network.ts | 326 + .../destinations/salesforce/processor/data.ts | 1384 ++ .../destinations/salesforce/router/data.ts | 635 + .../destinations/segment/processor/data.ts | 670 + .../destinations/shynet/processor/data.ts | 218 + .../destinations/slack/processor/data.ts | 1982 ++ .../destinations/slack/router/data.ts | 425 + .../snapchat_conversion/processor/data.ts | 4300 ++++ .../snapchat_conversion/router/data.ts | 449 + .../dataDelivery/data.ts | 222 + .../snapchat_custom_audience/network.ts | 84 + .../processor/data.ts | 1404 ++ .../snapchat_custom_audience/router/data.ts | 124 + .../destinations/splitio/processor/data.ts | 915 + .../destinations/splitio/router/data.ts | 224 + .../destinations/statsig/processor/data.ts | 1511 ++ .../tiktok_ads/dataDelivery/data.ts | 672 + .../destinations/tiktok_ads/network.ts | 241 + .../destinations/tiktok_ads/processor/data.ts | 4690 +++++ .../destinations/tiktok_ads/router/data.ts | 809 + .../processor/data.ts | 618 + .../tiktok_ads_offline_events/router/data.ts | 416 + .../twitter_ads/processor/data.ts | 906 + .../destinations/variance/processor/data.ts | 953 + .../destinations/vero/processor/data.ts | 818 + .../destinations/vero/router/data.ts | 367 + 149 files changed, 65567 insertions(+), 53926 deletions(-) delete mode 100644 test/__mocks__/data/marketo/proxy_response.json delete mode 100644 test/__tests__/data/marketo_proxy_input.json delete mode 100644 test/__tests__/data/marketo_proxy_output.json delete mode 100644 test/__tests__/data/redis_input.json delete mode 100644 test/__tests__/data/redis_output.json delete mode 100644 test/__tests__/data/revenue_cat_input.json delete mode 100644 test/__tests__/data/revenue_cat_output.json delete mode 100644 test/__tests__/data/salesforce_input.json delete mode 100644 test/__tests__/data/salesforce_output.json delete mode 100644 test/__tests__/data/salesforce_proxy_input.json delete mode 100644 test/__tests__/data/salesforce_proxy_output.json delete mode 100644 test/__tests__/data/salesforce_router_input.json delete mode 100644 test/__tests__/data/salesforce_router_output.json delete mode 100644 test/__tests__/data/segment_input.json delete mode 100644 test/__tests__/data/segment_output.json delete mode 100644 test/__tests__/data/shynet.json delete mode 100644 test/__tests__/data/slack_input.json delete mode 100644 test/__tests__/data/slack_output.json delete mode 100644 test/__tests__/data/slack_router_input.json delete mode 100644 test/__tests__/data/slack_router_output.json delete mode 100644 test/__tests__/data/snapchat_conversion.json delete mode 100644 test/__tests__/data/snapchat_conversion_router_input.json delete mode 100644 test/__tests__/data/snapchat_conversion_router_output.json delete mode 100644 test/__tests__/data/snapchat_custom_audience.json delete mode 100644 test/__tests__/data/snapchat_custom_audience_router_input.json delete mode 100644 test/__tests__/data/snapchat_custom_audience_router_output.json delete mode 100644 test/__tests__/data/splitio_input.json delete mode 100644 test/__tests__/data/splitio_output.json delete mode 100644 test/__tests__/data/splitio_router_input.json delete mode 100644 test/__tests__/data/splitio_router_output.json delete mode 100644 test/__tests__/data/statsig_cdk_output.json delete mode 100644 test/__tests__/data/statsig_input.json delete mode 100644 test/__tests__/data/statsig_output.json delete mode 100644 test/__tests__/data/tiktok_ads_input.json delete mode 100644 test/__tests__/data/tiktok_ads_offline_events.json delete mode 100644 test/__tests__/data/tiktok_ads_output.json delete mode 100644 test/__tests__/data/tiktok_ads_router_input.json delete mode 100644 test/__tests__/data/tiktok_ads_router_output.json delete mode 100644 test/__tests__/data/twitter_ads.json delete mode 100644 test/__tests__/data/variance_input.json delete mode 100644 test/__tests__/data/variance_output.json delete mode 100644 test/__tests__/data/vero.json delete mode 100644 test/__tests__/data/vero_router_input.json delete mode 100644 test/__tests__/data/vero_router_output.json delete mode 100644 test/__tests__/proxy.test.ts delete mode 100644 test/__tests__/redis.test.js delete mode 100644 test/__tests__/revenue_cat.test.js delete mode 100644 test/__tests__/salesforce.test.js delete mode 100644 test/__tests__/segment.test.js delete mode 100644 test/__tests__/shynet.test.js delete mode 100644 test/__tests__/slack.test.js delete mode 100644 test/__tests__/snapchat_conversion.test.js delete mode 100644 test/__tests__/snapchat_custom_audience.test.js delete mode 100644 test/__tests__/splitio.test.js delete mode 100644 test/__tests__/statsig-cdk.test.ts delete mode 100644 test/__tests__/statsig.test.js delete mode 100644 test/__tests__/tiktok_ads.test.js delete mode 100644 test/__tests__/tiktok_ads_offline_events.test.js delete mode 100644 test/__tests__/twitter_ads.test.js delete mode 100644 test/__tests__/variance-cdk.test.ts delete mode 100644 test/__tests__/variance.test.js delete mode 100644 test/__tests__/vero.test.js create mode 100644 test/integrations/destinations/am/dataDelivery/data.ts create mode 100644 test/integrations/destinations/braze/dataDelivery/data.ts create mode 100644 test/integrations/destinations/clevertap/dataDelivery/data.ts create mode 100644 test/integrations/destinations/criteo_audience/dataDelivery/data.ts create mode 100644 test/integrations/destinations/criteo_audience/network.ts create mode 100644 test/integrations/destinations/facebook_pixel/dataDelivery/data.ts create mode 100644 test/integrations/destinations/facebook_pixel/network.ts create mode 100644 test/integrations/destinations/fb/dataDelivery/data.ts create mode 100644 test/integrations/destinations/fb/network.ts create mode 100644 test/integrations/destinations/intercom/dataDelivery/data.ts create mode 100644 test/integrations/destinations/marketo/dataDelivery/data.ts create mode 100644 test/integrations/destinations/marketo/network.ts create mode 100644 test/integrations/destinations/marketo_static_list/dataDelivery/data.ts create mode 100644 test/integrations/destinations/redis/processor/data.ts create mode 100644 test/integrations/destinations/revenue_cat/processor/data.ts create mode 100644 test/integrations/destinations/rockerbox/processor/data.ts create mode 100644 test/integrations/destinations/rockerbox/router/data.ts create mode 100644 test/integrations/destinations/salesforce/dataDelivery/data.ts create mode 100644 test/integrations/destinations/salesforce/network.ts create mode 100644 test/integrations/destinations/salesforce/processor/data.ts create mode 100644 test/integrations/destinations/salesforce/router/data.ts create mode 100644 test/integrations/destinations/segment/processor/data.ts create mode 100644 test/integrations/destinations/shynet/processor/data.ts create mode 100644 test/integrations/destinations/slack/processor/data.ts create mode 100644 test/integrations/destinations/slack/router/data.ts create mode 100644 test/integrations/destinations/snapchat_conversion/processor/data.ts create mode 100644 test/integrations/destinations/snapchat_conversion/router/data.ts create mode 100644 test/integrations/destinations/snapchat_custom_audience/dataDelivery/data.ts create mode 100644 test/integrations/destinations/snapchat_custom_audience/network.ts create mode 100644 test/integrations/destinations/snapchat_custom_audience/processor/data.ts create mode 100644 test/integrations/destinations/snapchat_custom_audience/router/data.ts create mode 100644 test/integrations/destinations/splitio/processor/data.ts create mode 100644 test/integrations/destinations/splitio/router/data.ts create mode 100644 test/integrations/destinations/statsig/processor/data.ts create mode 100644 test/integrations/destinations/tiktok_ads/dataDelivery/data.ts create mode 100644 test/integrations/destinations/tiktok_ads/network.ts create mode 100644 test/integrations/destinations/tiktok_ads/processor/data.ts create mode 100644 test/integrations/destinations/tiktok_ads/router/data.ts create mode 100644 test/integrations/destinations/tiktok_ads_offline_events/processor/data.ts create mode 100644 test/integrations/destinations/tiktok_ads_offline_events/router/data.ts create mode 100644 test/integrations/destinations/twitter_ads/processor/data.ts create mode 100644 test/integrations/destinations/variance/processor/data.ts create mode 100644 test/integrations/destinations/vero/processor/data.ts create mode 100644 test/integrations/destinations/vero/router/data.ts diff --git a/jest.config.js b/jest.config.js index 875c8f8893..412d8d2733 100644 --- a/jest.config.js +++ b/jest.config.js @@ -36,9 +36,9 @@ module.exports = { coverageThreshold: { global: { branches: 60, - functions: 80, - lines: 80, - statements: 80, + functions: 75, + lines: 75, + statements: 75, }, }, diff --git a/jest.default.config.js b/jest.default.config.js index 895b8aa075..fed1dcef31 100644 --- a/jest.default.config.js +++ b/jest.default.config.js @@ -36,9 +36,9 @@ module.exports = { coverageThreshold: { global: { branches: 60, - functions: 80, - lines: 80, - statements: 80, + functions: 75, + lines: 75, + statements: 75, }, }, diff --git a/src/v0/destinations/clevertap/transform.js b/src/v0/destinations/clevertap/transform.js index 7bbc4dc59c..5c1e28c086 100644 --- a/src/v0/destinations/clevertap/transform.js +++ b/src/v0/destinations/clevertap/transform.js @@ -419,7 +419,7 @@ const processRouterDest = (inputs, reqMetadata) => { batchedEvents.forEach((batch) => { const batchedRequest = generateClevertapBatchedPayload(batch.events, batch.destination); batchResponseList.push( - getSuccessRespEvents(batchedRequest, batch.metadata, batch.destination) + getSuccessRespEvents(batchedRequest, batch.metadata, batch.destination), ); }); } diff --git a/src/v0/destinations/hs/HSTransform-v1.js b/src/v0/destinations/hs/HSTransform-v1.js index 5cb80f10f5..30546ad8f6 100644 --- a/src/v0/destinations/hs/HSTransform-v1.js +++ b/src/v0/destinations/hs/HSTransform-v1.js @@ -81,7 +81,7 @@ const processLegacyIdentify = async (message, destination, propertyMap) => { )}/${hsSearchId}`; response.method = defaultPatchRequestConfig.requestMethod; } - + traits = await populateTraits(propertyMap, traits, destination); response.body.JSON = removeUndefinedAndNullValues({ properties: traits }); response.source = 'rETL'; diff --git a/src/v0/destinations/hs/util.js b/src/v0/destinations/hs/util.js index 31c4252a4b..eb062b0c39 100644 --- a/src/v0/destinations/hs/util.js +++ b/src/v0/destinations/hs/util.js @@ -158,14 +158,16 @@ const validatePayloadDataTypes = (propertyMap, hsSupportedKey, value, traitsKey) if (propertyMap[hsSupportedKey] === 'bool' && typeof propValue === 'object') { throw new InstrumentationError( - `Property ${traitsKey} data type ${typeof propValue} is not matching with Hubspot property data type ${propertyMap[hsSupportedKey] + `Property ${traitsKey} data type ${typeof propValue} is not matching with Hubspot property data type ${ + propertyMap[hsSupportedKey] }`, ); } if (propertyMap[hsSupportedKey] === 'number' && typeof propValue !== 'number') { throw new InstrumentationError( - `Property ${traitsKey} data type ${typeof propValue} is not matching with Hubspot property data type ${propertyMap[hsSupportedKey] + `Property ${traitsKey} data type ${typeof propValue} is not matching with Hubspot property data type ${ + propertyMap[hsSupportedKey] }`, ); } @@ -175,15 +177,15 @@ const validatePayloadDataTypes = (propertyMap, hsSupportedKey, value, traitsKey) /** * Converts date to UTC Midnight TimeStamp - * @param {*} propValue - * @returns + * @param {*} propValue + * @returns */ const getUTCMidnightTimeStampValue = (propValue) => { const time = propValue; const date = new Date(time); date.setUTCHours(0, 0, 0, 0); return date.getTime(); -} +}; /** * add addtional properties in the payload that is provided in traits @@ -532,15 +534,15 @@ const getExistingData = async (inputs, destination) => { searchResponse = Config.authorizationType === 'newPrivateAppApi' ? await httpPOST(url, requestData, requestOptions, { - destType: 'hs', - feature: 'transformation', - endpointPath, - }) + destType: 'hs', + feature: 'transformation', + endpointPath, + }) : await httpPOST(url, requestData, { - destType: 'hs', - feature: 'transformation', - endpointPath, - }); + destType: 'hs', + feature: 'transformation', + endpointPath, + }); searchResponse = processAxiosResponse(searchResponse); if (searchResponse.status !== 200) { @@ -637,9 +639,9 @@ const getHsSearchId = (message) => { /** * returns updated traits - * @param {*} propertyMap - * @param {*} traits - * @param {*} destination + * @param {*} propertyMap + * @param {*} traits + * @param {*} destination */ const populateTraits = async (propertyMap, traits, destination) => { const populatedTraits = traits; @@ -655,10 +657,10 @@ const populateTraits = async (propertyMap, traits, destination) => { if (propertyToTypeMap[key] === 'date') { populatedTraits[key] = getUTCMidnightTimeStampValue(value); } - }) + }); return populatedTraits; -} +}; module.exports = { validateDestinationConfig, diff --git a/src/v0/destinations/redis/transform.js b/src/v0/destinations/redis/transform.js index e9442d8487..ffc4a33c43 100644 --- a/src/v0/destinations/redis/transform.js +++ b/src/v0/destinations/redis/transform.js @@ -51,7 +51,7 @@ const process = (event) => { const messageType = message && message.type && message.type.toLowerCase(); if (messageType !== EventType.IDENTIFY) { - return []; + throw new InstrumentationError('Only Identify calls are supported'); } if (isEmpty(message.userId)) { diff --git a/src/v0/destinations/snapchat_conversion/data/TrackEventCommonConfig.json b/src/v0/destinations/snapchat_conversion/data/TrackEventCommonConfig.json index 39187f47b0..42b61fd605 100644 --- a/src/v0/destinations/snapchat_conversion/data/TrackEventCommonConfig.json +++ b/src/v0/destinations/snapchat_conversion/data/TrackEventCommonConfig.json @@ -1,90 +1,90 @@ [ - { - "destKey": "description", - "sourceKeys": "properties.description", - "required": false - }, - { - "destKey": "brands", - "sourceKeys": "properties.brands", - "required": false, - "metadata": { - "type": "IsArray" - } - }, - { - "destKey": "event_tag", - "sourceKeys": "properties.event_tag", - "required": false - }, - { - "destKey": "click_id", - "sourceKeys": "properties.click_id", - "required": false - }, - { - "destKey": "level", - "sourceKeys": "properties.level", - "required": false - }, - { - "destKey": "uuid_c1", - "sourceKeys": "properties.uuid_c1", - "required": false - }, - { - "destKey": "customer_status", - "sourceKeys": "properties.customer_status", - "required": false - }, - { - "destKey": "data", - "sourceKeys": "properties.data", - "required": false - }, - { - "destKey": "att_status", - "sourceKeys": "properties.att_status", - "required": false - }, - { - "destKey": "sign_up_method", - "sourceKeys": "properties.sign_up_method", - "required": false - }, - { - "destKey": "advertiser_cookie_1", - "sourceKeys": "properties.advertiser_cookie_1", - "required": false - }, - { - "destKey": "delivery_method", - "sourceKeys": "properties.delivery_method", - "required": false - }, - { - "sourceKeys": "context.device.model", - "destKey": "device_model", - "required": false - }, - { - "sourceKeys": "country", - "destKey": "country", - "sourceFromGenericMap": true, - "required": false - }, - { - "sourceKeys": "region", - "destKey": "region", - "sourceFromGenericMap": true, - "required": false - }, - { - "sourceKeys": "context.userAgent", - "destKey": "user_agent", - "metadata": { - "type": "toLower" - }, - "required": false + { + "destKey": "description", + "sourceKeys": "properties.description", + "required": false + }, + { + "destKey": "brands", + "sourceKeys": "properties.brands", + "required": false, + "metadata": { + "type": "IsArray" } -] \ No newline at end of file + }, + { + "destKey": "event_tag", + "sourceKeys": "properties.event_tag", + "required": false + }, + { + "destKey": "click_id", + "sourceKeys": "properties.click_id", + "required": false + }, + { + "destKey": "level", + "sourceKeys": "properties.level", + "required": false + }, + { + "destKey": "uuid_c1", + "sourceKeys": "properties.uuid_c1", + "required": false + }, + { + "destKey": "customer_status", + "sourceKeys": "properties.customer_status", + "required": false + }, + { + "destKey": "data", + "sourceKeys": "properties.data", + "required": false + }, + { + "destKey": "att_status", + "sourceKeys": "properties.att_status", + "required": false + }, + { + "destKey": "sign_up_method", + "sourceKeys": "properties.sign_up_method", + "required": false + }, + { + "destKey": "advertiser_cookie_1", + "sourceKeys": "properties.advertiser_cookie_1", + "required": false + }, + { + "destKey": "delivery_method", + "sourceKeys": "properties.delivery_method", + "required": false + }, + { + "sourceKeys": "context.device.model", + "destKey": "device_model", + "required": false + }, + { + "sourceKeys": "country", + "destKey": "country", + "sourceFromGenericMap": true, + "required": false + }, + { + "sourceKeys": "region", + "destKey": "region", + "sourceFromGenericMap": true, + "required": false + }, + { + "sourceKeys": "context.userAgent", + "destKey": "user_agent", + "metadata": { + "type": "toLower" + }, + "required": false + } +] diff --git a/src/v0/destinations/snapchat_conversion/transform.js b/src/v0/destinations/snapchat_conversion/transform.js index 8af5b2dadc..49776935de 100644 --- a/src/v0/destinations/snapchat_conversion/transform.js +++ b/src/v0/destinations/snapchat_conversion/transform.js @@ -397,4 +397,4 @@ const processRouterDest = async (inputs, reqMetadata) => { return [...batchResponseList, ...errorRespList]; }; -module.exports = { process, processRouterDest }; \ No newline at end of file +module.exports = { process, processRouterDest }; diff --git a/test/__mocks__/data/marketo/proxy_response.json b/test/__mocks__/data/marketo/proxy_response.json deleted file mode 100644 index 4f5bfea7a6..0000000000 --- a/test/__mocks__/data/marketo/proxy_response.json +++ /dev/null @@ -1,282 +0,0 @@ -{ - "https://testMunchkin3.mktorest.com/bulk/v1/leads/batch/12345/warnings.json": { - "status": 200 - }, - "https://testMunchkin3.mktorest.com/bulk/v1/leads/batch/12345/failures.json": { - "status": 200 - }, - "https://a.mktorest.com/bulk/v1/leads/batch/12345/warnings.json": { - "status": 200, - "data": "data" - }, - "https://a.mktorest.com/bulk/v1/leads/batch/12345/failures.json": { - "status": 200, - "data": "data" - }, - "https://testMunchkin3.mktorest.com/bulk/v1/leads/batch/1234.json": { - "status": 200, - "data": { - "errors": [ - { - "message": "Any 400 error", - "code": 500 - } - ] - }, - "response": { - "statusText": "Any 500 error", - "status": 502 - } - }, - "https://testMunchkin4.mktorest.com/bulk/v1/leads/batch/1234.json": { - "status": 200, - "data": { - "errors": [ - { - "message": "Any 400 error", - "code": 1000 - } - ] - } - }, - "https://a.mktorest.com/bulk/v1/leads/batch/1234.json": { - "status": 200, - "data": { - "requestId": "13402#17e7238a1b9", - "result": [ - { - "batchId": 1234, - "importId": "1234", - "status": "Complete", - "numOfLeadsProcessed": 1, - "numOfRowsFailed": 0, - "numOfRowsWithWarning": 0, - "message": "Import succeeded, 1 records imported (1 members)" - } - ], - "success": true - } - }, - "https://testMunchkin4.mktorest.com/bulk/v1/leads.json": { - "status": 200, - "data": { - "requestId": "125f1#17e710ba1fd", - "success": false, - "errors": [ - { - "message": "Any other error" - } - ] - } - }, - "https://testMunchkin4.mktorest.com/identity/oauth/token?client_id=b&client_secret=c&grant_type=client_credentials": { - "status": 200, - "data": { - "access_token": "abc", - "token_type": "bearer", - "expires_in": 2340, - "scope": "integrations@rudderstack.com" - } - }, - "https://testMunchkin3.mktorest.com/bulk/v1/leads.json": { - "status": 200, - "data": { - "requestId": "125f1#17e710ba1fd", - "success": false, - "errors": [ - { - "message": "Empty file" - } - ] - } - }, - "https://testMunchkin3.mktorest.com/identity/oauth/token?client_id=b&client_secret=c&grant_type=client_credentials": { - "status": 200, - "data": { - "access_token": "abc", - "token_type": "bearer", - "expires_in": 2340, - "scope": "integrations@rudderstack.com" - } - }, - "https://testMunchkin2.mktorest.com/bulk/v1/leads.json": { - "status": 200, - "data": { - "requestId": "125f1#17e710ba1fd", - "success": false, - "errors": [ - { - "message": "There are 10 imports currently being processed. Please try again later" - } - ] - } - }, - "https://testMunchkin2.mktorest.com/identity/oauth/token?client_id=b&client_secret=c&grant_type=client_credentials": { - "status": 200, - "data": { - "access_token": "abc", - "token_type": "bearer", - "expires_in": 2340, - "scope": "integrations@rudderstack.com" - } - }, - "https://testMunchkin1.mktorest.com/bulk/v1/leads.json": { - "status": 400 - }, - "https://testMunchkin1.mktorest.com/identity/oauth/token?client_id=b&client_secret=c&grant_type=client_credentials": { - "status": 200, - "data": { - "access_token": "abc", - "token_type": "bearer", - "expires_in": 2340, - "scope": "integrations@rudderstack.com" - } - }, - "https://testMunchkin.mktorest.com/bulk/v1/leads.json": { - "status": 200, - "data": { - "requestId": "125f1#17e710ba1fd", - "success": false, - "errors": [ - { - "code": "1006", - "message": "Header field 'a' not found" - } - ] - } - }, - "https://testMunchkin.mktorest.com/identity/oauth/token?client_id=b&client_secret=c&grant_type=client_credentials": { - "status": 200, - "data": { - "access_token": "abc", - "token_type": "bearer", - "expires_in": 2340, - "scope": "integrations@rudderstack.com" - } - }, - "https://a.mktorest.com/identity/oauth/token?client_id=b&client_secret=forThrottle&grant_type=client_credentials": { - "status": 500, - "response": { - "status": 502, - "statusText": "throttled" - } - }, - "https://a.mktorest.com/identity/oauth/token?client_id=wrongClientId&client_secret=c&grant_type=client_credentials": { - "status": 400, - "code": 401, - "statusText": "Unauthorized" - }, - "https://wrongMunchkin.mktorest.com/identity/oauth/token?client_id=b&client_secret=c&grant_type=client_credentials": { - "status": 400, - "code": "ENOTFOUND" - }, - "https://a.mktorest.com/identity/oauth/token?client_id=b&client_secret=c&grant_type=client_credentials": { - "status": 200, - "data": { - "access_token": "abc", - "token_type": "bearer", - "expires_in": 2340, - "scope": "integrations@rudderstack.com" - } - }, - "https://a.mktorest.com/bulk/v1/leads.json": { - "status": 200, - "data": { - "success": true, - "result": [ - { - "importId": "TestImportId" - } - ], - "access_token": "abc", - "token_type": "bearer", - "expires_in": 2340, - "scope": "integrations@rudderstack.com" - } - }, - "https://mktId.mktorest.com/rest/v1/leads.json/test1": { - "data": { - "requestId": "664#17dae8c3d48", - "result": [ - { - "id": 1328328, - "status": "updated" - } - ], - "success": true - }, - "status": 200, - "statusText": "OK" - }, - "https://mktId.mktorest.com/rest/v1/leads.json/test2": { - "data": { - "requestId": "a61c#17daea5968a", - "success": false, - "errors": [ - { - "code": "601", - "message": "Access token invalid" - } - ] - }, - "status": 200, - "statusText": "OK" - }, - "https://mktId.mktorest.com/rest/v1/leads.json/test3": { - "data": { - "requestId": "a61c#17daea5968a", - "success": false, - "errors": [ - { - "code": "610", - "message": "Requested resource not found" - } - ] - }, - "status": 200, - "statusText": "OK" - }, - "https://mktId.mktorest.com/rest/v1/leads.json/test4": { - "response": { - "data": { - "code": 413, - "payload_size_bytes": 86321233, - "message": "Payload exceeded 1MB limit." - }, - "status": 413, - "statusText": "Request Entity Too Large", - "headers": { - "date": "Sat, 11 Dec 2021 15:08:22 GMT", - "content-type": "application/json", - "content-length": "93", - "connection": "keep-alive", - "access-control-allow-origin": "*", - "access-control-allow-methods": "GET, POST", - "strict-transport-security": "max-age=15768000" - } - } - }, - "https://mktId.mktorest.com/rest/v1/leads.json/test5": { - "response": {} - }, - "https://mktId.mktorest.com/rest/v1/leads.json/test6": { - "response": "" - }, - "https://mktId.mktorest.com/rest/v1/leads.json/test7": { - "code": "[ENOTFOUND] :: DNS lookup failed" - }, - "https://unhandled_exception_in_proxy_req.mktorest.com/rest/v1/leads.json": { - "data": { - "requestId": "142e4#1835b117b76", - "success": false, - "errors": [ - { - "code": "random_marketo_code", - "message": "problem" - } - ] - }, - "status": 200, - "statusText": "OK" - } -} diff --git a/test/__tests__/data/hs_router_rETL_output.json b/test/__tests__/data/hs_router_rETL_output.json index dc7507220c..c20694cdf4 100644 --- a/test/__tests__/data/hs_router_rETL_output.json +++ b/test/__tests__/data/hs_router_rETL_output.json @@ -228,4 +228,4 @@ "isProcessorEnabled": true } } -] \ No newline at end of file +] diff --git a/test/__tests__/data/marketo_proxy_input.json b/test/__tests__/data/marketo_proxy_input.json deleted file mode 100644 index b846f02419..0000000000 --- a/test/__tests__/data/marketo_proxy_input.json +++ /dev/null @@ -1,272 +0,0 @@ -[ - { - "type": "REST", - "endpoint": "https://mktId.mktorest.com/rest/v1/leads.json/test1", - "method": "POST", - "userId": "", - "headers": { - "Authorization": "Bearer token", - "Content-Type": "application/json" - }, - "body": { - "FORM": {}, - "JSON": { - "action": "createOrUpdate", - "input": [ - { - "City": "Tokyo", - "Country": "JP", - "Email": "gabi29@gmail.com", - "PostalCode": "100-0001", - "Title": "Owner", - "id": 1328328, - "userId": "gabi_userId_45" - } - ], - "lookupField": "id" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "files": {}, - "params": { - "destination": "marketo" - } - }, - { - "type": "REST", - "endpoint": "https://mktId.mktorest.com/rest/v1/leads.json/test2", - "method": "POST", - "userId": "", - "headers": { - "Authorization": "Bearer token", - "Content-Type": "application/json" - }, - "body": { - "FORM": {}, - "JSON": { - "action": "createOrUpdate", - "input": [ - { - "City": "Tokyo", - "Country": "JP", - "Email": "gabi29@gmail.com", - "PostalCode": "100-0001", - "Title": "Owner", - "id": 1328328, - "userId": "gabi_userId_45" - } - ], - "lookupField": "id" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "files": {}, - "params": { - "destination": "marketo" - } - }, - { - "type": "REST", - "endpoint": "https://mktId.mktorest.com/rest/v1/leads.json/test3", - "method": "POST", - "userId": "", - "headers": { - "Authorization": "Bearer token", - "Content-Type": "application/json" - }, - "body": { - "FORM": {}, - "JSON": { - "action": "createOrUpdate", - "input": [ - { - "City": "Tokyo", - "Country": "JP", - "Email": "gabi29@gmail.com", - "PostalCode": "100-0001", - "Title": "Owner", - "id": 1328328, - "userId": "gabi_userId_45" - } - ], - "lookupField": "id" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "files": {}, - "params": { - "destination": "marketo" - } - }, - { - "type": "REST", - "endpoint": "https://mktId.mktorest.com/rest/v1/leads.json/test4", - "method": "POST", - "userId": "", - "headers": { - "Authorization": "Bearer token", - "Content-Type": "application/json" - }, - "body": { - "FORM": {}, - "JSON": { - "action": "createOrUpdate", - "input": [ - { - "City": "Tokyo", - "Country": "JP", - "Email": "gabi29@gmail.com", - "PostalCode": "100-0001", - "Title": "Owner", - "id": 1328328, - "userId": "gabi_userId_45" - } - ], - "lookupField": "id" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "files": {}, - "params": { - "destination": "marketo" - } - }, - { - "type": "REST", - "endpoint": "https://mktId.mktorest.com/rest/v1/leads.json/test5", - "method": "POST", - "userId": "", - "headers": { - "Authorization": "Bearer token", - "Content-Type": "application/json" - }, - "body": { - "FORM": {}, - "JSON": { - "action": "createOrUpdate", - "input": [ - { - "City": "Tokyo", - "Country": "JP", - "Email": "gabi29@gmail.com", - "PostalCode": "100-0001", - "Title": "Owner", - "id": 1328328, - "userId": "gabi_userId_45" - } - ], - "lookupField": "id" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "files": {}, - "params": { - "destination": "marketo" - } - }, - { - "type": "REST", - "endpoint": "https://mktId.mktorest.com/rest/v1/leads.json/test6", - "method": "POST", - "userId": "", - "headers": { - "Authorization": "Bearer token", - "Content-Type": "application/json" - }, - "body": { - "FORM": {}, - "JSON": { - "action": "createOrUpdate", - "input": [ - { - "City": "Tokyo", - "Country": "JP", - "Email": "gabi29@gmail.com", - "PostalCode": "100-0001", - "Title": "Owner", - "id": 1328328, - "userId": "gabi_userId_45" - } - ], - "lookupField": "id" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "files": {}, - "params": { - "destination": "marketo" - } - }, - { - "type": "REST", - "endpoint": "https://mktId.mktorest.com/rest/v1/leads.json/test7", - "method": "POST", - "userId": "", - "headers": { - "Authorization": "Bearer token", - "Content-Type": "application/json" - }, - "body": { - "FORM": {}, - "JSON": { - "action": "createOrUpdate", - "input": [ - { - "City": "Tokyo", - "Country": "JP", - "Email": "gabi29@gmail.com", - "PostalCode": "100-0001", - "Title": "Owner", - "id": 1328328, - "userId": "gabi_userId_45" - } - ], - "lookupField": "id" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "files": {}, - "params": { - "destination": "marketo" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://unhandled_exception_in_proxy_req.mktorest.com/rest/v1/leads.json", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer access_token_success" - }, - "body": { - "JSON": { - "action": "createOrUpdate", - "input": [ - { - "Email": "0c7b8b80-9c43-4f8e-b2d2-5e2448a25040@j.mail", - "FirstName": "A", - "LastName": "M", - "id": 4, - "userId": "e17c5a5e-5e2f-430b-b497-fe3f1ea3a704" - } - ], - "lookupField": "id" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "params": { - "destination": "marketo" - } - } -] \ No newline at end of file diff --git a/test/__tests__/data/marketo_proxy_output.json b/test/__tests__/data/marketo_proxy_output.json deleted file mode 100644 index a17eb1d47d..0000000000 --- a/test/__tests__/data/marketo_proxy_output.json +++ /dev/null @@ -1,193 +0,0 @@ -[ - { - "output": { - "status": 200, - "message": "Request Processed Successfully", - "destinationResponse": { - "response": { - "requestId": "664#17dae8c3d48", - "result": [ - { - "id": 1328328, - "status": "updated" - } - ], - "success": true - }, - "status": 200 - } - } - }, - { - "output": { - "status": 500, - "message": "Request Failed for marketo, Access token invalid (Retryable).during Marketo Response Handling", - "destinationResponse": { - "response": { - "requestId": "a61c#17daea5968a", - "success": false, - "errors": [ - { - "code": "601", - "message": "Access token invalid" - } - ] - }, - "status": 200 - }, - "statTags": { - "destType": "MARKETO", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 400, - "message": "Request Failed for marketo, Requested resource not found (Aborted).during Marketo Response Handling", - "destinationResponse": { - "response": { - "requestId": "a61c#17daea5968a", - "success": false, - "errors": [ - { - "code": "610", - "message": "Requested resource not found" - } - ] - }, - "status": 200 - }, - "statTags": { - "destType": "MARKETO", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 413, - "message": "Request failed with status: 413", - "destinationResponse": { - "response": { - "code": 413, - "payload_size_bytes": 86321233, - "message": "Payload exceeded 1MB limit." - }, - "status": 413 - }, - "statTags": { - "destType": "MARKETO", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 500, - "message": "Request failed with status: 500", - "destinationResponse": { - "response": "", - "status": 500 - }, - "statTags": { - "destType": "MARKETO", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 500, - "message": "Request failed with status: 500", - "destinationResponse": { - "response": "", - "status": 500 - }, - "statTags": { - "destType": "MARKETO", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 400, - "message": "Request failed with status: 400", - "destinationResponse": { - "response": "[[ENOTFOUND] :: DNS lookup failed]", - "status": 400 - }, - "statTags": { - "destType": "MARKETO", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 400, - "message": "Error occurred during Marketo Response Handling -> problem", - "destinationResponse": { - "response": { - "requestId": "142e4#1835b117b76", - "success": false, - "errors": [ - { - "code": "random_marketo_code", - "message": "problem" - } - ] - }, - "status": 200 - }, - "statTags": { - "destType": "MARKETO", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "meta": "unhandledStatusCode", - "module": "destination" - } - } - } -] \ No newline at end of file diff --git a/test/__tests__/data/redis_input.json b/test/__tests__/data/redis_input.json deleted file mode 100644 index e3407c837a..0000000000 --- a/test/__tests__/data/redis_input.json +++ /dev/null @@ -1,405 +0,0 @@ -[ - { - "destination": { - "Config": { - "address": "localhost:6379", - "database": "test", - "prefix": " " - }, - "DestinationDefinition": { - "DisplayName": "Redis", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "REDIS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Redis", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "country": "UK", - "lastname": "Mouse", - "omega": "test", - "omega v2": "test", - "9mega": "test", - "mega&": "test", - "ome$ga": "test", - "alpha$": "test", - "ome_ ga": "test", - "9mega________-________90": "test", - "Cízǔ": "test", - "CamelCase123Key": "test", - "1CComega": "test", - "arrayProp": [{ "x": 1, "y": 2 }], - "nestedProp": { - "innerProp1": "innerPropVal1", - "innerProp2": "innerPropVal2", - "innerProp3": {} - } - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33" - }, - "request": {} - }, - { - "destination": { - "Config": { - "address": "localhost:6379", - "database": "test", - "prefix": "TestPrefix" - }, - "DestinationDefinition": { - "DisplayName": "Redis", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "REDIS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Redis", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "country": "UK", - "lastname": "Mouse", - "omega": "test", - "omega v2": "test", - "9mega": "test", - "mega&": "test", - "ome$ga": "test", - "alpha$": "test", - "ome_ ga": "test", - "9mega________-________90": "test", - "Cízǔ": "test", - "CamelCase123Key": "test", - "1CComega": "test", - "arrayProp": [{ "x": 1, "y": 2 }], - "nestedProp": { - "innerProp1": "innerPropVal1", - "innerProp2": "innerPropVal2", - "innerProp3": {} - } - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33" - }, - "request": {} - }, - { - "destination": { - "Config": { - "address": "localhost:6379", - "database": "test", - "prefix": "TestPrefix" - }, - "DestinationDefinition": { - "DisplayName": "Redis", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "REDIS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Redis", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "country": "UK", - "lastname": "Mouse", - "arrayProp": [{ "x": 1, "y": 2 }], - "nestedProp": { - "innerProp1": "innerPropVal1", - "innerProp2": "innerPropVal2", - "innerProp3": {} - } - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "traits": { - "country": "USA", - "firstname": "Mickey" - }, - "integrations": { - "All": true - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33" - }, - "request": {} - }, - { - "destination": { - "Config": { - "address": "localhost:6379", - "database": "test", - "prefix": "TestEmptyKey" - }, - "DestinationDefinition": { - "DisplayName": "Redis", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "REDIS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Redis", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "country": "UK", - "lastname": "Mouse", - "arrayProp": [{ "x": 1, "y": 2 }], - "emptyKey": "", - "nestedProp": { - "innerProp1": "innerPropVal1", - "innerProp2": "innerPropVal2", - "innerProp3": {} - } - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "traits": { - "country": "USA", - "firstname": "Mickey" - }, - "integrations": { - "All": true - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33" - }, - "request": {} - }, - { - "destination": { - "Config": { - "address": "localhost:6379", - "database": "test", - "prefix": "TestPrefix" - }, - "DestinationDefinition": { - "DisplayName": "Redis", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "REDIS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Redis", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33" - }, - "request": {} - }, - { - "destination": { - "Config": { - "address": "localhost:6379", - "database": "test", - "prefix": "TestPrefix" - }, - "DestinationDefinition": { - "DisplayName": "Redis", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "REDIS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Redis", - "Transformations": [] - }, - "metadata": { - "workspaceId": "some-workspace-id" - }, - "message": { - "userId": "some-user-id", - "channel": "sources", - "context": { - "sources": { - "job_id": "some-job-id", - "version": "some-version", - "job_run_id": "c8el40l6e87v0c4hkbl0", - "task_run_id": "c8el40l6e87v0c4hkblg", - "profiles_model": "some-model", - "profiles_entity": "some-entity", - "profiles_id_type": "some-id-type" - } - }, - "traits": { - "MODEL_ID": "1691755780", - "VALID_AT": "2023-08-11T11:32:44.963062Z", - "USER_MAIN_ID": "rid5530313526204a95efe71d98cd17d5a1", - "CHURN_SCORE_7_DAYS": 0.027986, - "PERCENTILE_CHURN_SCORE_7_DAYS": 0 - }, - "messageId": "some-message-id", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify" - }, - "request": {} - } -] diff --git a/test/__tests__/data/redis_output.json b/test/__tests__/data/redis_output.json deleted file mode 100644 index 69d2aa20c2..0000000000 --- a/test/__tests__/data/redis_output.json +++ /dev/null @@ -1,90 +0,0 @@ -[ - { - "message": { - "key": "user:9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33", - "fields": { - "country": "UK", - "lastname": "Mouse", - "omega": "test", - "omega v2": "test", - "9mega": "test", - "mega&": "test", - "ome$ga": "test", - "alpha$": "test", - "ome_ ga": "test", - "9mega________-________90": "test", - "Cízǔ": "test", - "CamelCase123Key": "test", - "1CComega": "test", - "arrayProp": "[{\"x\":1,\"y\":2}]", - "nestedProp.innerProp1": "innerPropVal1", - "nestedProp.innerProp2": "innerPropVal2" - } - }, - "userId": "9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33" - }, - { - "message": { - "key": "TestPrefix:user:9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33", - "fields": { - "country": "UK", - "lastname": "Mouse", - "omega": "test", - "omega v2": "test", - "9mega": "test", - "mega&": "test", - "ome$ga": "test", - "alpha$": "test", - "ome_ ga": "test", - "9mega________-________90": "test", - "Cízǔ": "test", - "CamelCase123Key": "test", - "1CComega": "test", - "arrayProp": "[{\"x\":1,\"y\":2}]", - "nestedProp.innerProp1": "innerPropVal1", - "nestedProp.innerProp2": "innerPropVal2" - } - }, - "userId": "9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33" - }, - { - "message": { - "key": "TestPrefix:user:9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33", - "fields": { - "country": "USA", - "firstname": "Mickey", - "lastname": "Mouse", - "arrayProp": "[{\"x\":1,\"y\":2}]", - "nestedProp.innerProp1": "innerPropVal1", - "nestedProp.innerProp2": "innerPropVal2" - } - }, - "userId": "9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33" - }, - { - "message": { - "key": "TestEmptyKey:user:9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33", - "fields": { - "country": "USA", - "firstname": "Mickey", - "lastname": "Mouse", - "arrayProp": "[{\"x\":1,\"y\":2}]", - "emptyKey": "", - "nestedProp.innerProp1": "innerPropVal1", - "nestedProp.innerProp2": "innerPropVal2" - } - }, - "userId": "9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33" - }, - { - "error": "context or context.traits or traits is empty" - }, - { - "message": { - "hash": "some-workspace-id:1WhcOCGgj9asZu850HvugU2C3Aq:some-entity:some-id-type:some-user-id", - "key": "some-model", - "value": "{\"MODEL_ID\":\"1691755780\",\"VALID_AT\":\"2023-08-11T11:32:44.963062Z\",\"USER_MAIN_ID\":\"rid5530313526204a95efe71d98cd17d5a1\",\"CHURN_SCORE_7_DAYS\":0.027986,\"PERCENTILE_CHURN_SCORE_7_DAYS\":0}" - }, - "userId": "some-user-id" - } -] diff --git a/test/__tests__/data/revenue_cat_input.json b/test/__tests__/data/revenue_cat_input.json deleted file mode 100644 index 0e56415545..0000000000 --- a/test/__tests__/data/revenue_cat_input.json +++ /dev/null @@ -1,449 +0,0 @@ -[ - { - "destination": { - "Config": { - "apiKey": "as9d920a5e75a18acb4a29abd9ec1e2e", - "xPlatform": "stripe" - } - }, - "message": { - "userId": "rudder1235678", - "channel": "web", - "context": { - "ip": "14.5.67.21", - "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" - }, - "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)" - }, - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "phone": "92374162212", - "lastname": "Doe", - "density": "420", - "height": "1794", - "width": "1080", - "iterableCampaignId": "1234", - "iterableTemplateId": "1234" - } - } - }, - { - "destination": { - "Config": { - "apiKey": "a5e75dfda29abd920ec1ec8a18acb42e", - "xPlatform": "stripe" - } - }, - "message": { - "userId": "rudder1235678", - "channel": "web", - "context": { - "ip": "14.5.67.21", - "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" - }, - "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)" - }, - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "phone": "92374162212", - "firstname": "James", - "density": 420, - "height": 1794, - "width": 1080, - "iterableCampaignId": "1234", - "iterableTemplateId": "1234" - } - } - }, - { - "destination": { - "Config": { - "xPlatform": "stripe" - } - }, - "message": { - "userId": "rudder1235678", - "channel": "web", - "context": { - "ip": "14.5.67.21", - "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" - }, - "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)" - }, - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "phone": "92374162212", - "name": "John Doe" - } - } - }, - { - "destination": { - "Config": { - "apiKey": "a5e75d99c8a18acb4a29abd920ec1e2e" - } - }, - "message": { - "userId": "rudder1235678", - "channel": "web", - "context": { - "ip": "14.5.67.21", - "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" - }, - "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)" - }, - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "phone": "92374162212", - "name": "John Doe" - } - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - }, - "message": { - "type": "track", - "userId": "rudder123", - "properties": { - "checkout_id": "12345", - "order_id": "1234", - "affiliation": "Apple Store", - "total": 20, - "revenue": 15.0, - "shipping": 22, - "tax": 1, - "discount": 1.5, - "coupon": "ImagePro", - "currency": "USD", - "fetch_token": "dummyFetchToken", - "product_id": "123", - "products": [ - { - "sku": "G-32", - "name": "Monopoly", - "price": 14, - "quantity": 1, - "introductory_price": "350", - "is_restore": true, - "presented_offering_identifier": "123erd" - }, - { - "product_id": "345", - "sku": "F-32", - "name": "UNO", - "price": 3.45, - "quantity": 2, - "category": "Games", - "introductory_price": "250", - "is_restore": false, - "presented_offering_identifier": "123erd" - } - ] - } - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "xPlatform": "stripe" - } - }, - "message": { - "type": "track", - "userId": "rudder123", - "properties": { - "checkout_id": "12345", - "order_id": "1234", - "affiliation": "Apple Store", - "total": 20, - "revenue": 15.0, - "shipping": 22, - "tax": 1, - "discount": 1.5, - "coupon": "ImagePro", - "currency": "USD", - "fetch_token": "dummyFetchToken", - "product_id": "123", - "products": [ - { - "sku": "G-32", - "name": "Monopoly", - "price": 14, - "quantity": 1, - "introductory_price": "350", - "is_restore": true, - "presented_offering_identifier": "123erd" - }, - { - "product_id": "345", - "sku": "F-32", - "name": "UNO", - "price": 3.45, - "quantity": 2, - "category": "Games", - "introductory_price": "250", - "is_restore": false, - "presented_offering_identifier": "123erd" - } - ] - } - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "xPlatform": "stripe" - } - }, - "message": { - "type": "track", - "userId": "rudder123", - "properties": { - "checkout_id": "12345", - "order_id": "1234", - "affiliation": "Apple Store", - "total": 20, - "revenue": 15.0, - "shipping": 22, - "tax": 1, - "discount": 1.5, - "coupon": "ImagePro", - "currency": "USD", - "fetch_token": "dummyFetchToken", - "product_id": "123-sa", - "products": [ - { - "sku": "G-32", - "name": "Monopoly", - "price": 14, - "quantity": 1, - "introductory_price": "350", - "is_restore": true, - "presented_offering_identifier": "123erd" - }, - { - "product_id": "345", - "sku": "F-32", - "name": "UNO", - "price": 3.45, - "quantity": 2, - "category": "Games", - "introductory_price": "250", - "is_restore": false, - "presented_offering_identifier": "123erd" - }, - { - "sku": "G-33", - "name": "SunGlass", - "price": 14, - "quantity": 1, - "introductory_price": "350", - "is_restore": true, - "presented_offering_identifier": "123erd" - }, - { - "sku": "G-35", - "product_id": "1234sb", - "name": "Real-me", - "price": 14, - "quantity": 1, - "introductory_price": "350", - "is_restore": true, - "presented_offering_identifier": "123erd" - } - ] - } - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "xPlatform": "stripe" - } - }, - "message": { - "type": "track", - "userId": "rudder123", - "properties": { - "checkout_id": "12345", - "order_id": "1234", - "affiliation": "Apple Store", - "total": 20, - "revenue": 15.0, - "shipping": 22, - "tax": 1, - "discount": 1.5, - "coupon": "ImagePro", - "currency": "USD", - "fetch_token": "dummyFetchToken", - "product_id": "123-sa", - "sku": "G-32", - "name": "Monopoly", - "price": 14, - "quantity": 1, - "introductory_price": "350", - "is_restore": true, - "presented_offering_identifier": "123erd" - } - } - } -] diff --git a/test/__tests__/data/revenue_cat_output.json b/test/__tests__/data/revenue_cat_output.json deleted file mode 100644 index a4e49c25d0..0000000000 --- a/test/__tests__/data/revenue_cat_output.json +++ /dev/null @@ -1,424 +0,0 @@ -[ - [ - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678", - "headers": { - "Authorization": "Basic as9d920a5e75a18acb4a29abd9ec1e2e", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678/attributes", - "headers": { - "Authorization": "Basic as9d920a5e75a18acb4a29abd9ec1e2e", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "attributes": { - "app_user_id": { - "value": "rudder1235678" - }, - "$email": { - "value": "chandan@companyname.com" - }, - "$phoneNumber": { - "value": "92374162212" - }, - "$ip": { - "value": "14.5.67.21" - }, - "$iterableCampaignId": { - "value": "1234" - }, - "$iterableTemplateId": { - "value": "1234" - }, - "$displayName": { - "value": "Doe" - }, - "lastname": { - "value": "Doe" - }, - "density": { - "value": "420" - }, - "height": { - "value": "1794" - }, - "width": { - "value": "1080" - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678", - "headers": { - "Authorization": "Basic a5e75dfda29abd920ec1ec8a18acb42e", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678/attributes", - "headers": { - "Authorization": "Basic a5e75dfda29abd920ec1ec8a18acb42e", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "attributes": { - "app_user_id": { - "value": "rudder1235678" - }, - "$email": { - "value": "chandan@companyname.com" - }, - "$phoneNumber": { - "value": "92374162212" - }, - "$ip": { - "value": "14.5.67.21" - }, - "$iterableCampaignId": { - "value": "1234" - }, - "$iterableTemplateId": { - "value": "1234" - }, - "$displayName": { - "value": "James" - }, - "firstname": { - "value": "James" - }, - "density": { - "value": "420" - }, - "height": { - "value": "1794" - }, - "width": { - "value": "1080" - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "statusCode": 400, - "error": "Public API Key required for Authentication", - "statTags": { - "destination": "revenue_cat", - "stage": "transform", - "scope": "exception" - } - }, - [ - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678", - "headers": { - "Authorization": "Basic a5e75d99c8a18acb4a29abd920ec1e2e", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678/attributes", - "headers": { - "Authorization": "Basic a5e75d99c8a18acb4a29abd920ec1e2e", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "attributes": { - "app_user_id": { - "value": "rudder1235678" - }, - "$displayName": { - "value": "John Doe" - }, - "$email": { - "value": "chandan@companyname.com" - }, - "$phoneNumber": { - "value": "92374162212" - }, - "$ip": { - "value": "14.5.67.21" - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "statusCode": 400, - "error": "X-Platform is required field", - "statTags": { - "destination": "revenue_cat", - "stage": "transform", - "scope": "exception" - } - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.revenuecat.com/v1/receipts", - "headers": { - "Authorization": "Basic dummyApiKey", - "Content-Type": "application/json", - "X-Platform": "stripe" - }, - "params": {}, - "body": { - "JSON": { - "app_user_id": "rudder123", - "fetch_token": "dummyFetchToken", - "product_id": "123", - "currency": "USD", - "price": 14, - "introductory_price": "350", - "is_restore": true, - "presented_offering_identifier": "123erd" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.revenuecat.com/v1/receipts", - "headers": { - "Authorization": "Basic dummyApiKey", - "Content-Type": "application/json", - "X-Platform": "stripe" - }, - "params": {}, - "body": { - "JSON": { - "app_user_id": "rudder123", - "fetch_token": "dummyFetchToken", - "product_id": "345", - "currency": "USD", - "price": 3.45, - "introductory_price": "250", - "is_restore": false, - "presented_offering_identifier": "123erd" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.revenuecat.com/v1/receipts", - "headers": { - "Authorization": "Basic dummyApiKey", - "Content-Type": "application/json", - "X-Platform": "stripe" - }, - "params": {}, - "body": { - "JSON": { - "app_user_id": "rudder123", - "fetch_token": "dummyFetchToken", - "product_id": "123-sa", - "currency": "USD", - "price": 14, - "introductory_price": "350", - "is_restore": true, - "presented_offering_identifier": "123erd" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.revenuecat.com/v1/receipts", - "headers": { - "Authorization": "Basic dummyApiKey", - "Content-Type": "application/json", - "X-Platform": "stripe" - }, - "params": {}, - "body": { - "JSON": { - "app_user_id": "rudder123", - "fetch_token": "dummyFetchToken", - "product_id": "345", - "currency": "USD", - "price": 3.45, - "introductory_price": "250", - "is_restore": false, - "presented_offering_identifier": "123erd" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.revenuecat.com/v1/receipts", - "headers": { - "Authorization": "Basic dummyApiKey", - "Content-Type": "application/json", - "X-Platform": "stripe" - }, - "params": {}, - "body": { - "JSON": { - "app_user_id": "rudder123", - "fetch_token": "dummyFetchToken", - "product_id": "123-sa", - "currency": "USD", - "price": 14, - "introductory_price": "350", - "is_restore": true, - "presented_offering_identifier": "123erd" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.revenuecat.com/v1/receipts", - "headers": { - "Authorization": "Basic dummyApiKey", - "Content-Type": "application/json", - "X-Platform": "stripe" - }, - "params": {}, - "body": { - "JSON": { - "app_user_id": "rudder123", - "fetch_token": "dummyFetchToken", - "product_id": "1234sb", - "currency": "USD", - "price": 14, - "introductory_price": "350", - "is_restore": true, - "presented_offering_identifier": "123erd" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "price": 14, - "currency": "USD", - "is_restore": true, - "product_id": "123-sa", - "app_user_id": "rudder123", - "fetch_token": "dummyFetchToken", - "introductory_price": "350", - "presented_offering_identifier": "123erd" - }, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "X-Platform": "stripe", - "Content-Type": "application/json", - "Authorization": "Basic dummyApiKey" - }, - "version": "1", - "endpoint": "https://api.revenuecat.com/v1/receipts" - } -] diff --git a/test/__tests__/data/salesforce_input.json b/test/__tests__/data/salesforce_input.json deleted file mode 100644 index 32115abf15..0000000000 --- a/test/__tests__/data/salesforce_input.json +++ /dev/null @@ -1,793 +0,0 @@ -[ - { - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "company": "Initech", - "address": { - "city": "east greenwich", - "country": "USA", - "state": "California", - "street": "19123 forest lane", - "postalCode": "94115" - }, - "email": "peter.gibbons@initech.com", - "name": "Peter Gibbons", - "phone": "570-690-4150", - "rating": "Hot", - "title": "VP of Derp" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - }, - { - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "company": "Initech", - "address": { - "city": "east greenwich", - "country": "USA", - "state": "California", - "street": "19123 forest lane", - "postalCode": "94115" - }, - "email": "peter.gibbons@initech.com", - "name": "Peter Gibbons", - "phone": "570-690-4150", - "rating": "Hot", - "title": "VP of Derp" - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - }, - { - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "company": "Initech", - "address": { - "city": "east greenwich", - "country": "USA", - "state": "California", - "street": "19123 forest lane", - "postalCode": "94115" - }, - "email": "peter.gibbons@initech.com", - "name": "Peter Gibbons", - "phone": "570-690-4150", - "rating": "Hot", - "title": "VP of Derp", - "LeadSource": "RudderLabs" - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - }, - { - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "company": "Initech", - "address": { - "city": "east greenwich", - "country": "USA", - "state": "California", - "street": "19123 forest lane", - "postalCode": "94115" - }, - "email": "peter.gibbons@initech.com", - "name": "Peter Gibbons", - "phone": "570-690-4150", - "rating": "Hot", - "title": "VP of Derp", - "LeadSource": "RudderLabs" - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "track", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - }, - { - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "company": "Initech", - "address": { - "city": "east greenwich", - "country": "USA", - "state": "California", - "street": "19123 forest lane", - "postalCode": "94115" - }, - "email": "peter.gibbons@initech.com", - "name": "Peter Gibbons", - "phone": "570-690-4150", - "rating": "Hot", - "title": "VP of Derp", - "LeadSource": "RudderLabs", - "customKey": "customValue", - "customNullValue": null - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - }, - { - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "address": { - "city": "east greenwich", - "country": "USA", - "state": "California", - "street": "19123 forest lane", - "postalCode": "94115" - }, - "email": "peter.gibbons@initech.com", - "phone": "570-690-4150", - "rating": "Hot", - "title": "VP of Derp", - "LeadSource": "RudderLabs", - "customKey": "customValue", - "customNullValue": null - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - }, - { - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "City": "east greenwich", - "Company": "Initech", - "Country": "USA", - "Email": "peter.gibbons@initech.com", - "FirstName": "Peter", - "LastName": "Gibbons", - "Phone": "570-690-4150", - "PostalCode": "94115", - "Rating": "Hot", - "State": "California", - "Street": "19123 forest lane", - "Title": "VP of Derp" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36", - "externalId": [ - { - "type": "Salesforce-Contact", - "id": "sf-contact-id" - } - ] - }, - "integrations": { - "All": true - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - }, - { - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com", - "mapProperty": false - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36", - "externalId": [ - { - "type": "Salesforce-Lead", - "id": "sf-contact-id" - } - ] - }, - "integrations": { - "All": true - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - }, - { - "destination": { - "Config": { - "initialAccessToken": "7fiy1FKcO9sohsxq1v6J88sg", - "password": "dummyPassword2", - "userName": "test.c97-qvpd@force.com.test", - "sandbox": true - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1ut7LcVW1QC56y2EoTNo7ZwBWSY", - "Name": "Test SF", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "company": "Initech", - "address": { - "city": "east greenwich", - "country": "USA", - "state": "California", - "street": "19123 forest lane", - "postalCode": "94115" - }, - "email": "peter.gibbons@initech.com", - "name": "Peter Gibbons", - "phone": "570-690-4150", - "rating": "Hot", - "title": "VP of Derp" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - }, - { - "destination": { - "Config": { - "initialAccessToken": "7fiy1FKcO9sohsxq1v6J88sg", - "password": "dummyPassword2", - "userName": "test.c97-qvpd@force.com.test", - "sandbox": true - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1ut7LcVW1QC56y2EoTNo7ZwBWSY", - "Name": "Test SF", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "mappedToDestination": true, - "externalId": [ - { - "id": "a005g0000383kmUAAQ", - "type": "SALESFORCE-custom_object__c", - "identifierType": "Id" - } - ], - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "john@rs.com", - "firstname": "john doe" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - }, - { - "destination": { - "Config": { - "initialAccessToken": "7fiy1FKcO9sohsxq1v6J88sg", - "password": "dummyPassword2", - "userName": "test.c97-qvpd@force.com.test", - "sandbox": true - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1ut7LcVW1QC56y2EoTNo7ZwBWSY", - "Name": "Test SF", - "Transformations": [] - }, - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "mappedToDestination": true, - "externalId": [ - { - "id": "a005g0000383kmUAAQ", - "type": "SALESFORCE-custom_object__c", - "identifierType": "Id" - } - ], - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "john@rs.com", - "firstname": "john doe", - "Id": "some-id" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - } - } -] diff --git a/test/__tests__/data/salesforce_output.json b/test/__tests__/data/salesforce_output.json deleted file mode 100644 index 69b383d23a..0000000000 --- a/test/__tests__/data/salesforce_output.json +++ /dev/null @@ -1,320 +0,0 @@ -[ - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "peter.gibbons@initech.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "peter.gibbons@initech.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "peter.gibbons@initech.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech", - "LeadSource": "RudderLabs" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "statusCode": 400, - "error": "message type track is not supported" - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "peter.gibbons@initech.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech", - "LeadSource": "RudderLabs", - "customKey__c": "customValue" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "peter.gibbons@initech.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "PostalCode": "94115", - "LastName": "n/a", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "n/a", - "LeadSource": "RudderLabs", - "customKey__c": "customValue" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Contact/sf-contact-id?_HttpMethod=PATCH", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email__c": "peter.gibbons@initech.com", - "Phone__c": "570-690-4150", - "Rating__c": "Hot", - "Title__c": "VP of Derp", - "FirstName__c": "Peter", - "LastName": "n/a", - "LastName__c": "Gibbons", - "PostalCode__c": "94115", - "City__c": "east greenwich", - "Country__c": "USA", - "State__c": "California", - "Street__c": "19123 forest lane", - "Company__c": "Initech" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead/sf-contact-id?_HttpMethod=PATCH", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "peter.gibbons@initech.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/custom_object__c/a005g0000383kmUAAQ?_HttpMethod=PATCH", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "email": "john@rs.com", - "firstname": "john doe" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/custom_object__c/a005g0000383kmUAAQ?_HttpMethod=PATCH", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "email": "john@rs.com", - "firstname": "john doe" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ] -] diff --git a/test/__tests__/data/salesforce_proxy_input.json b/test/__tests__/data/salesforce_proxy_input.json deleted file mode 100644 index f1aeef71ab..0000000000 --- a/test/__tests__/data/salesforce_proxy_input.json +++ /dev/null @@ -1,326 +0,0 @@ -[ - { - "type": "REST", - "files": {}, - "method": "POST", - "userId": "", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer token" - }, - "version": "1", - "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/101", - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "Email": "denis.kornilov@sbermarket.ru", - "Company": "sbermarket.ru", - "LastName": "Корнилов", - "FirstName": "Денис", - "LeadSource": "App Signup", - "account_type__c": "free_trial" - }, - "JSON_ARRAY": {} - }, - "metadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "params": { - "destination": "salesforce" - } - }, - { - "type": "REST", - "files": {}, - "method": "POST", - "userId": "", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer token" - }, - "version": "1", - "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/102", - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "Email": "denis.kornilov@sbermarket.ru", - "Company": "sbermarket.ru", - "LastName": "Корнилов", - "FirstName": "Денис", - "LeadSource": "App Signup", - "account_type__c": "free_trial" - }, - "JSON_ARRAY": {} - }, - "metadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "params": { - "destination": "salesforce" - } - }, - { - "type": "REST", - "files": {}, - "method": "POST", - "userId": "", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer token" - }, - "version": "1", - "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/1", - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "Email": "denis.kornilov@sbermarket.ru", - "Company": "sbermarket.ru", - "LastName": "Корнилов", - "FirstName": "Денис", - "LeadSource": "App Signup", - "account_type__c": "free_trial" - }, - "JSON_ARRAY": {} - }, - "metadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "params": { - "destination": "salesforce" - } - }, - { - "type": "REST", - "files": {}, - "method": "POST", - "userId": "", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer token" - }, - "version": "1", - "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/3", - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "Email": "denis.kornilov@sbermarket.ru", - "Company": "sbermarket.ru", - "LastName": "Корнилов", - "FirstName": "Денис", - "LeadSource": "App Signup", - "account_type__c": "free_trial" - }, - "JSON_ARRAY": {} - }, - "metadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "params": { - "destination": "salesforce" - } - }, - { - "type": "REST", - "files": {}, - "method": "POST", - "userId": "", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer Incorrect_token" - }, - "version": "1", - "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/2", - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "Email": "denis.kornilov@sbermarket.ru", - "Company": "sbermarket.ru", - "LastName": "Корнилов", - "FirstName": "Денис", - "LeadSource": "App Signup", - "account_type__c": "free_trial" - }, - "JSON_ARRAY": {} - }, - "metadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "params": { - "destination": "salesforce" - } - }, - { - "type": "REST", - "files": {}, - "method": "POST", - "userId": "", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer token" - }, - "version": "1", - "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/4", - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "Email": "denis.kornilov@sbermarket.ru", - "Company": "sbermarket.ru", - "LastName": "Корнилов", - "FirstName": "Денис", - "LeadSource": "App Signup", - "account_type__c": "free_trial" - }, - "JSON_ARRAY": {} - }, - "metadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "params": { - "destination": "salesforce" - } - }, - { - "type": "REST", - "files": {}, - "method": "POST", - "userId": "", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer token" - }, - "version": "1", - "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/5", - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "Email": "denis.kornilov@sbermarket.ru", - "Company": "sbermarket.ru", - "LastName": "Корнилов", - "FirstName": "Денис", - "LeadSource": "App Signup", - "account_type__c": "free_trial" - }, - "JSON_ARRAY": {} - }, - "metadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "params": { - "destination": "salesforce" - } - }, - { - "type": "REST", - "files": {}, - "method": "POST", - "userId": "", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer token" - }, - "version": "1", - "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/6", - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "Email": "denis.kornilov@sbermarket.ru", - "Company": "sbermarket.ru", - "LastName": "Корнилов", - "FirstName": "Денис", - "LeadSource": "App Signup", - "account_type__c": "free_trial" - }, - "JSON_ARRAY": {} - }, - "metadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "params": { - "destination": "salesforce" - } - }, - { - "type": "REST", - "files": {}, - "method": "POST", - "userId": "", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer token" - }, - "version": "1", - "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/7", - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "Email": "denis.kornilov@sbermarket.ru", - "Company": "sbermarket.ru", - "LastName": "Корнилов", - "FirstName": "Денис", - "LeadSource": "App Signup", - "account_type__c": "free_trial" - }, - "JSON_ARRAY": {} - }, - "metadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "params": { - "destination": "salesforce" - } - }, - { - "type": "REST", - "method": "POST", - "endpoint": "https://rudderstack.my.salesforce.com/services/data/v50.0/parameterizedSearch/?q=123&sobject=object_name&in=External_ID__c&object_name.fields=id,External_ID__c", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer token" - }, - "body": { - "JSON": { - "Planning_Categories__c": "pc", - "External_ID__c": 123 - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "metadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "params": { - "destination": "salesforce" - } - } -] diff --git a/test/__tests__/data/salesforce_proxy_output.json b/test/__tests__/data/salesforce_proxy_output.json deleted file mode 100644 index c900661b75..0000000000 --- a/test/__tests__/data/salesforce_proxy_output.json +++ /dev/null @@ -1,260 +0,0 @@ -[ - { - "output": { - "status": 500, - "message": "Salesforce Request Failed - due to \"\"[ECONNABORTED] :: Connection aborted\"\", (Retryable) during Salesforce Response Handling", - "destinationResponse": { - "response": "[ECONNABORTED] :: Connection aborted", - "status": 500, - "rudderJobMetadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - } - }, - "statTags": { - "destType": "SALESFORCE", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 500, - "message": "Salesforce Request Failed - due to \"\"[EAI_AGAIN] :: Temporary failure in name resolution\"\", (Retryable) during Salesforce Response Handling", - "destinationResponse": { - "response": "[EAI_AGAIN] :: Temporary failure in name resolution", - "status": 500, - "rudderJobMetadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - } - }, - "statTags": { - "destType": "SALESFORCE", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 200, - "message": "Request for destination: salesforce Processed Successfully", - "destinationResponse": { - "response": { - "statusText": "No Content" - }, - "status": 204, - "rudderJobMetadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - } - } - } - }, - { - "output": { - "status": 500, - "message": "Salesforce Request Failed - due to \"INVALID_SESSION_ID\", (Retryable) during Salesforce Response Handling", - "destinationResponse": { - "response": [ - { - "message": "Session expired or invalid", - "errorCode": "INVALID_SESSION_ID" - } - ], - "status": 401, - "rudderJobMetadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - } - }, - "statTags": { - "destType": "SALESFORCE", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 400, - "message": "Salesforce Request Failed: \"401\" due to \"INVALID_HEADER_TYPE\", (Aborted) during Salesforce Response Handling", - "destinationResponse": { - "response": [ - { - "message": "INVALID_HEADER_TYPE", - "errorCode": "INVALID_AUTH_HEADER" - } - ], - "status": 401, - "rudderJobMetadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - } - }, - "statTags": { - "destType": "SALESFORCE", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 429, - "message": "Salesforce Request Failed - due to \"REQUEST_LIMIT_EXCEEDED\", (Throttled) during Salesforce Response Handling", - "destinationResponse": { - "response": [ - { - "message": "Request limit exceeded", - "errorCode": "REQUEST_LIMIT_EXCEEDED" - } - ], - "status": 403, - "rudderJobMetadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - } - }, - "statTags": { - "destType": "SALESFORCE", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "throttled", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 500, - "message": "Salesforce Request Failed - due to \"Server Unavailable\", (Retryable) during Salesforce Response Handling", - "destinationResponse": { - "response": [ - { - "message": "Server Unavailable", - "errorCode": "SERVER_UNAVAILABLE" - } - ], - "status": 503, - "rudderJobMetadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - } - }, - "statTags": { - "destType": "SALESFORCE", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "status": 400, - "message": "Salesforce Request Failed: \"400\" due to \"{\"error\":\"invalid_grant\",\"error_description\":\"authentication failure\"}\", (Aborted) during Salesforce Response Handling", - "destinationResponse": { - "response": { - "error": "invalid_grant", - "error_description": "authentication failure" - }, - "status": 400, - "rudderJobMetadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - } - }, - "statTags": { - "destType": "SALESFORCE", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "aborted", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - }, - { - "output": { - "destinationResponse": { - "response": { - "errorCode": "SERVER_UNAVAILABLE", - "message": "Server Unavailable" - }, - "rudderJobMetadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - }, - "status": 503 - }, - "message": "Salesforce Request Failed - due to \"{\"message\":\"Server Unavailable\",\"errorCode\":\"SERVER_UNAVAILABLE\"}\", (Retryable) during Salesforce Response Handling", - "statTags": { - "destType": "SALESFORCE", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - }, - "status": 500 - } - }, - { - "output": { - "status": 200, - "message": "Request for destination: salesforce Processed Successfully", - "destinationResponse": { - "response": "", - "status": 200, - "rudderJobMetadata": { - "destInfo": { - "authKey": "2HezPl1w11opbFSxnLDEgZ7kWTf" - } - } - } - } - } -] \ No newline at end of file diff --git a/test/__tests__/data/salesforce_router_input.json b/test/__tests__/data/salesforce_router_input.json deleted file mode 100644 index 39451af0f1..0000000000 --- a/test/__tests__/data/salesforce_router_input.json +++ /dev/null @@ -1,277 +0,0 @@ -[ - { - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "company": "Initech", - "address": { - "city": "east greenwich", - "country": "USA", - "state": "California", - "street": "19123 forest lane", - "postalCode": "94115" - }, - "email": "peter.gibbons@initech.com", - "name": "Peter Gibbons", - "phone": "570-690-4150", - "rating": "Hot", - "title": "VP of Derp" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - } - }, - { - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "company": "Initech", - "address": { - "city": "east greenwich", - "country": "USA", - "state": "California", - "street": "19123 forest lane", - "postalCode": "94115" - }, - "email": "ddv_ua+{{1234*245}}@bugFix.com", - "name": "Peter Gibbons", - "phone": "570-690-4150", - "rating": "Hot", - "title": "VP of Derp" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - } - }, - { - "message": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "1e7673da-9473-49c6-97f7-da848ecafa76", - "company": "Initech", - "address": { - "city": "east greenwich", - "country": "USA", - "state": "California", - "street": "19123 forest lane", - "postalCode": "94115" - }, - "email": "peter.gibbons@initech.com", - "name": "Peter Gibbons", - "phone": "570-690-4150", - "rating": "Hot", - "title": "VP of Derp" - }, - "messageId": "f19c35da-e9de-4c6e-b6e5-9e60cccc12c8", - "originalTimestamp": "2020-01-27T12:20:55.301Z", - "receivedAt": "2020-01-27T17:50:58.657+05:30", - "request_ip": "14.98.244.60", - "sentAt": "2020-01-27T12:20:56.849Z", - "timestamp": "2020-01-27T17:50:57.109+05:30", - "type": "identify", - "userId": "1e7673da-9473-49c6-97f7-da848ecafa76" - }, - "metadata": { - "jobId": 3 - }, - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - } - }, - { - "message": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "peter.gibbons@initech.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "statusCode": 200 - }, - "metadata": { - "jobId": 4 - }, - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - } - } -] diff --git a/test/__tests__/data/salesforce_router_output.json b/test/__tests__/data/salesforce_router_output.json deleted file mode 100644 index 698b4fa821..0000000000 --- a/test/__tests__/data/salesforce_router_output.json +++ /dev/null @@ -1,233 +0,0 @@ -[ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "peter.gibbons@initech.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead/leadId?_HttpMethod=PATCH", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "ddv_ua+{{1234*245}}@bugFix.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "peter.gibbons@initech.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "jobId": 3 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY" - }, - "params": {}, - "body": { - "JSON": { - "Email": "peter.gibbons@initech.com", - "Phone": "570-690-4150", - "Rating": "Hot", - "Title": "VP of Derp", - "FirstName": "Peter", - "LastName": "Gibbons", - "PostalCode": "94115", - "City": "east greenwich", - "Country": "USA", - "State": "California", - "Street": "19123 forest lane", - "Company": "Initech" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "statusCode": 200 - }, - "metadata": [ - { - "jobId": 4 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "initialAccessToken": "dummyInitialAccessToken", - "password": "dummyPassword1", - "userName": "testsalesforce1453@gmail.com" - }, - "DestinationDefinition": { - "DisplayName": "Salesforce", - "ID": "1T96GHZ0YZ1qQSLULHCoJkow9KC", - "Name": "SALESFORCE" - }, - "Enabled": true, - "ID": "1WqFFH5esuVPnUgHkvEoYxDcX3y", - "Name": "tst", - "Transformations": [] - } - } -] diff --git a/test/__tests__/data/segment_input.json b/test/__tests__/data/segment_input.json deleted file mode 100644 index c21cb93f6e..0000000000 --- a/test/__tests__/data/segment_input.json +++ /dev/null @@ -1,368 +0,0 @@ -[ - { - "destination": { - "ID": "1afmecIpsJm7D72aRTksxyODrwR", - "Name": "Segment", - "DestinationDefinition": { - "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", - "Name": "SEGMENT", - "DisplayName": "Segment", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "writeKey": "abcdefghijklmnopqrstuvwxyz" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "258b77c6-442d-4bdc-8729-f0e4cef41353", - "name": "home", - "originalTimestamp": "2020-04-17T14:55:31.367Z", - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "receivedAt": "2020-04-17T20:25:31.381+05:30", - "request_ip": "[::1]:57363", - "sentAt": "2020-04-17T14:55:31.367Z", - "timestamp": "2020-04-17T20:25:31.381+05:30", - "type": "page", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afmecIpsJm7D72aRTksxyODrwR", - "Name": "Segment", - "DestinationDefinition": { - "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", - "Name": "SEGMENT", - "DisplayName": "Segment", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "writeKey": "abcdefghijklmnopqrstuvwxyz" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@email.com", - "firstname": "Test Transformer" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "023a3a48-190a-4968-9394-a8e99b81a3c0", - "originalTimestamp": "2020-04-17T14:55:31.37Z", - "receivedAt": "2020-04-17T20:25:31.401+05:30", - "request_ip": "[::1]:57364", - "sentAt": "2020-04-17T14:55:31.37Z", - "timestamp": "2020-04-17T20:25:31.401+05:30", - "type": "identify", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afmecIpsJm7D72aRTksxyODrwR", - "Name": "Segment", - "DestinationDefinition": { - "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", - "Name": "SEGMENT", - "DisplayName": "Segment", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "writeKey": "abcdefghijklmnopqrstuvwxyz" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@email.com", - "firstname": "Test Transformer" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "584fde02-901a-4964-a4a0-4078b999d5b2", - "originalTimestamp": "2020-04-17T14:55:31.372Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:25:31.401+05:30", - "request_ip": "[::1]:57365", - "sentAt": "2020-04-17T14:55:31.372Z", - "timestamp": "2020-04-17T20:25:31.401+05:30", - "type": "track", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afmecIpsJm7D72aRTksxyODrwR", - "Name": "Segment", - "DestinationDefinition": { - "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", - "Name": "SEGMENT", - "DisplayName": "Segment", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "writeKey": "abcdefghijklmnopqrstuvwxyz" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "258b77c6-442d-4bdc-8729-f0e4cef41353", - "name": "home", - "originalTimestamp": "2020-04-17T14:55:31.367Z", - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "receivedAt": "2020-04-17T20:25:31.381+05:30", - "request_ip": "[::1]:57363", - "sentAt": "2020-04-17T14:55:31.367Z", - "timestamp": "2020-04-17T20:25:31.381+05:30", - "type": "page", - "userId": "user12345" - } - }, - { - "destination": { - "ID": "1afmecIpsJm7D72aRTksxyODrwR", - "Name": "Segment", - "DestinationDefinition": { - "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", - "Name": "SEGMENT", - "DisplayName": "Segment", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "writeKey": "abcdefghijklmnopqrstuvwxyz" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "584fde02-901a-4964-a4a0-4078b999d5b2", - "originalTimestamp": "2020-04-17T14:55:31.372Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-04-17T20:25:31.401+05:30", - "request_ip": "[::1]:57365", - "sentAt": "2020-04-17T14:55:31.372Z", - "timestamp": "2020-04-17T20:25:31.401+05:30", - "type": "track", - "userId": "user12345" - } - } -] diff --git a/test/__tests__/data/segment_output.json b/test/__tests__/data/segment_output.json deleted file mode 100644 index 0d8ca2c784..0000000000 --- a/test/__tests__/data/segment_output.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "userId": "user12345", - "endpoint": "https://api.segment.io/v1/batch", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo6" - }, - "params": {}, - "body": { - "JSON": { - "batch": [ - { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "type": "page", - "userId": "user12345", - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "timeStamp": "2020-04-17T20:25:31.381+05:30" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "userId": "user12345", - "method": "POST", - "endpoint": "https://api.segment.io/v1/batch", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo6" - }, - "params": {}, - "body": { - "JSON": { - "batch": [ - { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "type": "identify", - "userId": "user12345", - "traits": { - "age": 23, - "email": "testmp@email.com", - "firstname": "Test Transformer" - }, - "timeStamp": "2020-04-17T20:25:31.401+05:30" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "userId": "user12345", - "method": "POST", - "endpoint": "https://api.segment.io/v1/batch", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo6" - }, - "params": {}, - "body": { - "JSON": { - "batch": [ - { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "type": "track", - "userId": "user12345", - "event": "test track with property", - "traits": { - "age": 23, - "email": "testmp@email.com", - "firstname": "Test Transformer" - }, - "properties": { "test_prop_1": "test prop", "test_prop_2": 1232 }, - "timeStamp": "2020-04-17T20:25:31.401+05:30" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.segment.io/v1/batch", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo6" - }, - "params": {}, - "body": { - "JSON": { - "batch": [ - { - "type": "page", - "userId": "user12345", - "traits": { - "age": 23, - "email": "testmp@rudderstack.com", - "firstname": "Test Kafka" - }, - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "timeStamp": "2020-04-17T20:25:31.381+05:30" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "user12345", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.segment.io/v1/batch", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo6" - }, - "params": {}, - "body": { - "JSON": { - "batch": [ - { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "type": "track", - "userId": "user12345", - "event": "test track with property", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "timeStamp": "2020-04-17T20:25:31.401+05:30" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "user12345", - "statusCode": 200 - } -] diff --git a/test/__tests__/data/shynet.json b/test/__tests__/data/shynet.json deleted file mode 100644 index 16673e09cf..0000000000 --- a/test/__tests__/data/shynet.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "description": "Page Call", - "input": { - "destination": { - "Config": { - "shynetServiceUrl": "https://9710-103-211-12-1.in.ngrok.io/ingress/5b3470a9-be69-4298-9ec1-3fe3f483738c/script.js", - "heartBeat": 5000 - } - }, - "message": { - "type": "page", - "sentAt": "2022-08-22T13:39:21.034Z", - "channel": "web", - "context": { - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/test/ourSdk.html", - "path": "/Testing/test/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/test/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/test/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 689 - }, - "traits": { - "email": "12312@!fma", - "city": "Pune", - "revenue": 93889 - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "bf412108-0357-4330-b119-7305e767823c", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-08-22T13:39:21.032Z" - } - }, - "output": { - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "location": "http://127.0.0.1:7307/Testing/test/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/test/" - }, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://9710-103-211-12-1.in.ngrok.io/ingress/5b3470a9-be69-4298-9ec1-3fe3f483738c/script.js" - } - }, - { - "description": "Page Call without heartBeat Mentioned", - "input": { - "destination": { - "Config": { - "shynetServiceUrl": "https://9710-103-211-12-1.in.ngrok.io/ingress/5b3470a9-be69-4298-9ec1-3fe3f483738c/script.js" - } - }, - "message": { - "type": "page", - "sentAt": "2022-08-22T13:39:21.034Z", - "channel": "web", - "context": { - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.2.20", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/test/ourSdk.html", - "path": "/Testing/test/ourSdk.html", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/test/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/test/", - "initial_referrer": "$direct", - "referring_domain": "127.0.0.1:7307", - "initial_referring_domain": "", - "loadTime": 45 - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 900, - "density": 2, - "innerWidth": 536, - "innerHeight": 689 - }, - "traits": { - "email": "12312@!fma", - "city": "Pune", - "revenue": 93889 - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.2.20" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" - }, - "properties": { - "loadTime": 45 - }, - "rudderId": "553b5522-c575-40a7-8072-9741c5f9a647", - "anonymousId": "675467tfhjgjhfcghjc", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-08-22T13:39:21.032Z" - } - }, - "output": { - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "loadTime": 45, - "location": "http://127.0.0.1:7307/Testing/test/ourSdk.html", - "referrer": "http://127.0.0.1:7307/Testing/test/" - }, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/json" - }, - "version": "1", - "endpoint": "https://9710-103-211-12-1.in.ngrok.io/ingress/5b3470a9-be69-4298-9ec1-3fe3f483738c/script.js" - } - } -] diff --git a/test/__tests__/data/slack_input.json b/test/__tests__/data/slack_input.json deleted file mode 100644 index e29624490c..0000000000 --- a/test/__tests__/data/slack_input.json +++ /dev/null @@ -1,1415 +0,0 @@ -[ - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", - "eventName": "is", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", - "originalTimestamp": "2020-03-23T03:46:30.916Z", - "properties": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "receivedAt": "2020-03-23T09:16:31.041+05:30", - "request_ip": "[::1]:52056", - "sentAt": "2020-03-23T03:46:30.916Z", - "timestamp": "2020-03-23T09:16:31.041+05:30", - "type": "identify", - "userId": "12345" - }, - "metadata": { - "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 126, - "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", - "eventName": "is", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ], - "denyListOfEvents": [ - { - "eventName": "black_event" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", - "originalTimestamp": "2020-03-23T03:46:30.916Z", - "properties": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "receivedAt": "2020-03-23T09:16:31.041+05:30", - "request_ip": "[::1]:52056", - "sentAt": "2020-03-23T03:46:30.916Z", - "timestamp": "2020-03-23T09:16:31.041+05:30", - "type": "page", - "userId": "12345" - }, - "metadata": { - "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 126, - "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example", - "eventName": "is", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "12345", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "", - "referrer": "", - "search": "", - "title": "", - "url": "" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "traits": { - "country": "USA", - "email": "test@domain.com", - "hiji": "hulala-1", - "name": "my-name-1" - }, - "integrations": { - "All": true - }, - "messageId": "4aaecff2-a513-4bbf-9824-c471f4ac9777", - "originalTimestamp": "2020-03-23T03:41:46.122Z", - "receivedAt": "2020-03-23T09:11:46.244+05:30", - "request_ip": "[::1]:52055", - "sentAt": "2020-03-23T03:41:46.123Z", - "timestamp": "2020-03-23T09:11:46.243+05:30", - "type": "identify", - "userId": "12345" - }, - "metadata": { - "anonymousId": "12345", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 123, - "messageId": "4aaecff2-a513-4bbf-9824-c471f4ac9777", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "incomingWebhooksType": "modern", - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/demo", - "eventName": "is", - "eventRegex": true - }, - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", - "eventName": "is", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}} and traits {{traitsList.hiji}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ], - "denyListOfEvents": [ - { - "eventName": "black_event" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "00000000000000000000000000", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "event": "test_isent1", - "integrations": { - "All": true - }, - "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", - "originalTimestamp": "2020-03-23T03:46:30.921Z", - "properties": { - "currency": "USD", - "key1": "test_val1", - "key2": "test_val2", - "revenue": 30, - "user_actual_id": 12345 - }, - "receivedAt": "2020-03-23T09:16:31.064+05:30", - "request_ip": "[::1]:52057", - "sentAt": "2020-03-23T03:46:30.921Z", - "timestamp": "2020-03-23T09:16:31.064+05:30", - "type": "track", - "userId": "12345" - }, - "metadata": { - "anonymousId": "00000000000000000000000000", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 128, - "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "incomingWebhooksType": "modern", - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example", - "eventName": "is", - "eventChannel": "example_channel", - "eventRegex": true - }, - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", - "eventName": "is", - "eventChannel": "example_channel", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ], - "denyListOfEvents": [ - { - "eventName": "black_event" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "00000000000000000000000000", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "event": "test_eventing_testis", - "integrations": { - "All": true - }, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "originalTimestamp": "2020-03-23T03:46:30.922Z", - "properties": { - "currency": "USD", - "key1": "test_val1", - "key2": "test_val2", - "revenue": 30, - "user_actual_id": 12345 - }, - "receivedAt": "2020-03-23T09:16:31.064+05:30", - "request_ip": "[::1]:52054", - "sentAt": "2020-03-23T03:46:30.923Z", - "timestamp": "2020-03-23T09:16:31.063+05:30", - "type": "track", - "userId": "12345" - }, - "metadata": { - "anonymousId": "00000000000000000000000000", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 129, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "incomingWebhooksType": "modern", - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example", - "eventName": "test_eventing_test", - "eventChannel": "example_channel", - "eventRegex": false - }, - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", - "eventName": "", - "eventChannel": "example_channel", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ], - "denyListOfEvents": [ - { - "eventName": "black_event" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "00000000000000000000000000", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "event": "test_eventing_test", - "integrations": { - "All": true - }, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "originalTimestamp": "2020-03-23T03:46:30.922Z", - "properties": { - "currency": "USD", - "key1": "test_val1", - "key2": "test_val2", - "revenue": 30, - "user_actual_id": 12345 - }, - "receivedAt": "2020-03-23T09:16:31.064+05:30", - "request_ip": "[::1]:52054", - "sentAt": "2020-03-23T03:46:30.923Z", - "timestamp": "2020-03-23T09:16:31.063+05:30", - "type": "track", - "userId": "12345" - }, - "metadata": { - "anonymousId": "00000000000000000000000000", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 129, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "incomingWebhooksType": "legacy", - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/demo", - "eventName": "is", - "eventRegex": true - }, - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", - "eventName": "is", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}} and traits {{traitsList.hiji}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ], - "denyListOfEvents": [ - { - "eventName": "black_event" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "00000000000000000000000000", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "event": "test_isent1", - "integrations": { - "All": true - }, - "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", - "originalTimestamp": "2020-03-23T03:46:30.921Z", - "properties": { - "currency": "USD", - "key1": "test_val1", - "key2": "test_val2", - "revenue": 30, - "user_actual_id": 12345 - }, - "receivedAt": "2020-03-23T09:16:31.064+05:30", - "request_ip": "[::1]:52057", - "sentAt": "2020-03-23T03:46:30.921Z", - "timestamp": "2020-03-23T09:16:31.064+05:30", - "type": "track", - "userId": "12345" - }, - "metadata": { - "anonymousId": "00000000000000000000000000", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 128, - "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "incomingWebhooksType": "legacy", - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example", - "eventName": "is", - "eventRegex": true - }, - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", - "eventChannel": "example-of-legacy", - "eventName": "is", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ], - "denyListOfEvents": [ - { - "eventName": "black_event" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "00000000000000000000000000", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "event": "test_eventing_testis", - "integrations": { - "All": true - }, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "originalTimestamp": "2020-03-23T03:46:30.922Z", - "properties": { - "currency": "USD", - "key1": "test_val1", - "key2": "test_val2", - "revenue": 30, - "user_actual_id": 12345 - }, - "receivedAt": "2020-03-23T09:16:31.064+05:30", - "request_ip": "[::1]:52054", - "sentAt": "2020-03-23T03:46:30.923Z", - "timestamp": "2020-03-23T09:16:31.063+05:30", - "type": "track", - "userId": "12345" - }, - "metadata": { - "anonymousId": "00000000000000000000000000", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 129, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", - "eventName": "is", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "00000000000000000000000000", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "event": "test_eventing_testis", - "integrations": { - "All": true - }, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "originalTimestamp": "2020-03-23T03:46:30.922Z", - "properties": { - "currency": "USD", - "key1": "test_val1", - "key2": "test_val2", - "revenue": 30, - "user_actual_id": 12345 - }, - "receivedAt": "2020-03-23T09:16:31.064+05:30", - "request_ip": "[::1]:52054", - "sentAt": "2020-03-23T03:46:30.923Z", - "timestamp": "2020-03-23T09:16:31.063+05:30", - "userId": "12345" - }, - "metadata": { - "anonymousId": "00000000000000000000000000", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 129, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", - "eventName": "is", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "00000000000000000000000000", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "originalTimestamp": "2020-03-23T03:46:30.922Z", - "properties": { - "currency": "USD", - "key1": "test_val1", - "key2": "test_val2", - "revenue": 30, - "user_actual_id": 12345 - }, - "receivedAt": "2020-03-23T09:16:31.064+05:30", - "request_ip": "[::1]:52054", - "sentAt": "2020-03-23T03:46:30.923Z", - "timestamp": "2020-03-23T09:16:31.063+05:30", - "type": "track", - "userId": "12345" - }, - "metadata": { - "anonymousId": "00000000000000000000000000", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 129, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", - "eventName": "is", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties. key1}} {{properties.key2}} and traits {{traitsList.hiji}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "00000000000000000000000000", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "event": "test_isent1", - "integrations": { - "All": true - }, - "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", - "originalTimestamp": "2020-03-23T03:46:30.921Z", - "properties": { - "currency": "USD", - "key1": "test_val1", - "key2": "test_val2", - "revenue": 30, - "user_actual_id": 12345 - }, - "receivedAt": "2020-03-23T09:16:31.064+05:30", - "request_ip": "[::1]:52057", - "sentAt": "2020-03-23T03:46:30.921Z", - "timestamp": "2020-03-23T09:16:31.064+05:30", - "type": "track", - "userId": "12345" - }, - "metadata": { - "anonymousId": "00000000000000000000000000", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 128, - "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "incomingWebhooksType": "legacy", - "eventChannelSettings": [ - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example", - "eventName": "is", - "eventRegex": true - }, - { - "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", - "eventChannel": "example-of-legacy", - "eventName": "is", - "eventRegex": true - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ], - "denyListOfEvents": [ - { - "eventName": "black_event" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "00000000000000000000000000", - "channel": "web", - "context": {}, - "event": "black_event", - "integrations": { - "All": true - }, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "originalTimestamp": "2020-03-23T03:46:30.922Z", - "properties": { - "currency": "USD", - "key1": "test_val1", - "key2": "test_val2", - "revenue": 30, - "user_actual_id": 12345 - }, - "receivedAt": "2020-03-23T09:16:31.064+05:30", - "request_ip": "[::1]:52054", - "sentAt": "2020-03-23T03:46:30.923Z", - "timestamp": "2020-03-23T09:16:31.063+05:30", - "type": "track", - "userId": "12345" - }, - "metadata": { - "anonymousId": "00000000000000000000000000", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 129, - "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - } -] diff --git a/test/__tests__/data/slack_output.json b/test/__tests__/data/slack_output.json deleted file mode 100644 index c772aa3b19..0000000000 --- a/test/__tests__/data/slack_output.json +++ /dev/null @@ -1,164 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "headers": { - "Content-Type": "application/x-www-form-urlencoded" - }, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "payload": "{\"text\":\"Identified my-namehiji: hulala \",\"username\":\"RudderStack\",\"icon_url\":\"https://cdn.rudderlabs.com/rudderstack.png\"}" - } - }, - "files": {}, - "userId": "12345", - "statusCode": 200 - }, - { - "error": "Event type page is not supported" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "headers": { - "Content-Type": "application/x-www-form-urlencoded" - }, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "payload": "{\"text\":\"identified my-name-1 with hiji: hulala-1 \",\"username\":\"RudderStack\",\"icon_url\":\"https://cdn.rudderlabs.com/rudderstack.png\"}" - } - }, - "files": {}, - "userId": "12345", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://hooks.slack.com/services/id1/id2/demo", - "headers": { - "Content-Type": "application/x-www-form-urlencoded" - }, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "payload": "{\"text\":\"my-name performed test_isent1 with test_val1 test_val2 and traits hulala\"}" - } - }, - "files": {}, - "userId": "12345", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://hooks.slack.com/services/id1/id2/example", - "headers": { - "Content-Type": "application/x-www-form-urlencoded" - }, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "payload": "{\"text\":\"my-name performed test_eventing_testis with test_val1 test_val2\"}" - } - }, - "files": {}, - "userId": "12345", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://hooks.slack.com/services/id1/id2/example", - "headers": { - "Content-Type": "application/x-www-form-urlencoded" - }, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "payload": "{\"text\":\"my-name did test_eventing_test\"}" - } - }, - "files": {}, - "userId": "12345", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "headers": { - "Content-Type": "application/x-www-form-urlencoded" - }, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "payload": "{\"text\":\"my-name performed test_isent1 with test_val1 test_val2 and traits hulala\",\"username\":\"RudderStack\",\"icon_url\":\"https://cdn.rudderlabs.com/rudderstack.png\"}" - } - }, - "files": {}, - "userId": "12345", - "statusCode": 200 - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "headers": { - "Content-Type": "application/x-www-form-urlencoded" - }, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "payload": "{\"channel\":\"example-of-legacy\",\"text\":\"my-name performed test_eventing_testis with test_val1 test_val2\",\"username\":\"RudderStack\",\"icon_url\":\"https://cdn.rudderlabs.com/rudderstack.png\"}" - } - }, - "files": {}, - "userId": "12345", - "statusCode": 200 - }, - { - "error": "Event type is required" - }, - { - "error": "Event name is required" - }, - { - "error": "Something is wrong with the event template: '{{name}} performed {{event}} with {{properties. key1}} {{properties.key2}} and traits {{traitsList.hiji}}'" - }, - { - "error": "Event is denied. Please check configuration." - } -] diff --git a/test/__tests__/data/slack_router_input.json b/test/__tests__/data/slack_router_input.json deleted file mode 100644 index f2bf20466d..0000000000 --- a/test/__tests__/data/slack_router_input.json +++ /dev/null @@ -1,247 +0,0 @@ -[ - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "eventChannelSettings": [ - { - "eventChannel": "#slack_integration", - "eventName": "is", - "eventRegex": true - }, - { - "eventChannel": "", - "eventName": "", - "eventRegex": false - }, - { - "eventChannel": "", - "eventName": "", - "eventRegex": false - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", - "originalTimestamp": "2020-03-23T03:46:30.916Z", - "properties": { - "path": "/tests/html/script-test.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/script-test.html" - }, - "receivedAt": "2020-03-23T09:16:31.041+05:30", - "request_ip": "[::1]:52056", - "sentAt": "2020-03-23T03:46:30.916Z", - "timestamp": "2020-03-23T09:16:31.041+05:30", - "type": "page", - "userId": "12345" - }, - "metadata": { - "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 126, - "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - }, - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "eventChannelSettings": [ - { - "eventChannel": "#slack_integration", - "eventName": "is", - "eventRegex": true - }, - { - "eventChannel": "", - "eventName": "", - "eventRegex": false - }, - { - "eventChannel": "", - "eventName": "", - "eventRegex": false - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "12345", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.1" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "", - "referrer": "", - "search": "", - "title": "", - "url": "" - }, - "screen": { - "density": 1.7999999523162842 - }, - "traits": { - "country": "India", - "email": "name@domain.com", - "hiji": "hulala", - "name": "my-name" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "traits": { - "country": "USA", - "email": "test@domain.com", - "hiji": "hulala-1", - "name": "my-name-1" - }, - "integrations": { - "All": true - }, - "messageId": "4aaecff2-a513-4bbf-9824-c471f4ac9777", - "originalTimestamp": "2020-03-23T03:41:46.122Z", - "receivedAt": "2020-03-23T09:11:46.244+05:30", - "request_ip": "[::1]:52055", - "sentAt": "2020-03-23T03:41:46.123Z", - "timestamp": "2020-03-23T09:11:46.243+05:30", - "type": "identify", - "userId": "12345" - }, - "metadata": { - "anonymousId": "12345", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 123, - "messageId": "4aaecff2-a513-4bbf-9824-c471f4ac9777", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - } -] diff --git a/test/__tests__/data/slack_router_output.json b/test/__tests__/data/slack_router_output.json deleted file mode 100644 index 6b1658b5e0..0000000000 --- a/test/__tests__/data/slack_router_output.json +++ /dev/null @@ -1,172 +0,0 @@ -[ - { - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "eventChannelSettings": [ - { - "eventChannel": "#slack_integration", - "eventName": "is", - "eventRegex": true - }, - { - "eventChannel": "", - "eventName": "", - "eventRegex": false - }, - { - "eventChannel": "", - "eventName": "", - "eventRegex": false - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "metadata": [ - { - "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 126, - "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - ], - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - }, - "batched": false, - "statusCode": 400, - "error": "Event type page is not supported" - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "headers": { - "Content-Type": "application/x-www-form-urlencoded" - }, - "params": {}, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": { - "payload": "{\"text\":\"identified my-name-1 with hiji: hulala-1 \",\"username\":\"RudderStack\",\"icon_url\":\"https://cdn.rudderlabs.com/rudderstack.png\"}" - } - }, - "files": {}, - "userId": "12345", - "statusCode": 200 - } - ], - "metadata": [ - { - "anonymousId": "12345", - "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "destinationType": "SLACK", - "jobId": 123, - "messageId": "4aaecff2-a513-4bbf-9824-c471f4ac9777", - "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", - "Name": "test-slack", - "DestinationDefinition": { - "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", - "Name": "SLACK", - "DisplayName": "Slack", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "eventChannelSettings": [ - { - "eventChannel": "#slack_integration", - "eventName": "is", - "eventRegex": true - }, - { - "eventChannel": "", - "eventName": "", - "eventRegex": false - }, - { - "eventChannel": "", - "eventName": "", - "eventRegex": false - } - ], - "eventTemplateSettings": [ - { - "eventName": "is", - "eventRegex": true, - "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" - }, - { - "eventName": "", - "eventRegex": false, - "eventTemplate": "" - } - ], - "identifyTemplate": "identified {{name}} with {{traits}}", - "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", - "whitelistedTraitsSettings": [ - { - "trait": "hiji" - }, - { - "trait": "" - } - ] - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } -] diff --git a/test/__tests__/data/snapchat_conversion.json b/test/__tests__/data/snapchat_conversion.json deleted file mode 100644 index f4b896d73c..0000000000 --- a/test/__tests__/data/snapchat_conversion.json +++ /dev/null @@ -1,3028 +0,0 @@ -[ - { - "description": "Test case for Page event-> PAGE_VIEW ", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "channel": "web", - "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", - "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": "page", - "name": "Home Page Viewed", - "properties": { - "title": "Home | RudderStack", - "url": "http://www.rudderstack.com" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId" - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event_type": "PAGE_VIEW", - "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": "WEB", - "page_url": "http://www.rudderstack.com", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Test case for Prodcuts Searched event for conversion type offline", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "anonymousId": "ea5cfab2-3961-4d8a-8187-3d1858c99090", - "context": { - "traits": { - "email": "test@email.com", - "phone": "+91 2111111 ", - "firstName": "john", - "middleName": "victor", - "lastName": "doe", - "city": "some_city", - "state": "some_state" - }, - "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", - "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": "Products Searched", - "properties": { - "brands": "abc", - "query": "t-shirts", - "event_conversion_type": "web", - "number_items": 4, - "click_id": "some_click_id", - "description": "Products Searched event for conversion type offline" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "search_string": "t-shirts", - "event_type": "SEARCH", - "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": "OFFLINE", - "pixel_id": "dummyPixelId", - "number_items": 4, - "click_id": "some_click_id", - "description": "Products Searched event for conversion type offline", - "hashed_first_name_sha": "96d9632f363564cc3032521409cf22a852f2032eec099ed5967c0d000cec607a", - "hashed_last_name_sha": "799ef92a11af918e3fb741df42934f3b568ed2d93ac1df74f1b8d41a27932a6f", - "hashed_state_sha": "6db488fc98e30afdf67a05a6da916805b02891ce58f03970c6deff79129c5f1c", - "hashed_middle_name_sha": "99bde068af2d49ed7fc8b8fa79abe13a6059e0db320bb73459fd96624bb4b33f" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case for Track event without event Key", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "anonymousId": "ea5cfab2-3961-4d8a-8187-3d1858c99090", - "context": { - "traits": { - "email": "test@email.com", - "phone": "+91 2111111 ", - "country": "IN", - "zicode": "Sxp-12345", - "region": "some_region" - }, - "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", - "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", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey" - } - } - }, - "output": { - "statusCode": 400, - "error": "Event name is required" - } - }, - { - "description": "Test case for Identify event which is not supported in this destination", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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": "identify", - "event": "Products Searched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey" - } - } - }, - "output": { - "statusCode": 400, - "error": "Event type identify is not supported" - } - }, - { - "description": "Pixel id is not set as a destination config field", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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": "Products Searched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - } - }, - "output": { - "statusCode": 400, - "error": "Pixel Id is required for web and offline events" - } - }, - { - "description": "Test case for Prodcuts Searched event for conversion type web", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "channel": "web", - "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", - "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": "Products Searched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "search_string": "t-shirts", - "event_type": "SEARCH", - "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": "WEB", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case where appId is not present in destination config", - "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", - "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": "Products Searched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId" - } - } - }, - "output": { - "statusCode": 400, - "error": "Snap App Id is required for app events" - } - }, - { - "description": "Test case where snap app id is not present in destination config", - "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", - "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": "Products Searched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f" - } - } - }, - "output": { - "statusCode": 400, - "error": "Snap App Id is required for app events" - } - }, - { - "description": "Product Searched event where conversion type is mobile app", - "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": "Products Searched", - "properties": { - "delivery_method": "in_store", - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "delivery_method": "in_store", - "device_model": "AOSP on IA Emulator", - "search_string": "t-shirts", - "event_type": "SEARCH", - "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": "Test Case for Product List Viewed event where conversion type is mobile app", - "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 ", - "country": "IN", - "zipcode": "Sxp-12345", - "region": "some_region" - }, - "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", - "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 - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event_type": "VIEW_CONTENT", - "item_ids": [ - "123", - "123" - ], - "price": "56", - "country": "IN", - "hashed_zip": "cbb2704f5b334a0cec32e5463d1fd9355f6ef73987bfe0ebb8389b7617452152", - "region": "some_region", - "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": "Test case for checkout_started event where conversion type is mobile app", - "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", - "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": "checkout_started", - "properties": { - "products": [ - { - "product_id": "123", - "price": "14" - }, - { - "product_id": "123", - "price": 14, - "quantity": "2" - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event_type": "START_CHECKOUT", - "item_ids": [ - "123", - "123" - ], - "price": "42", - "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": "Test Case for Order Completed event where conversion type is mobile app", - "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", - "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": { - "brands": [ - "brand01", - "brand02" - ], - "products": [ - { - "product_id": "123", - "price": "14", - "quantity": 1 - }, - { - "product_id": "124", - "price": 14, - "quantity": 3 - } - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event_type": "PURCHASE", - "item_ids": [ - "123", - "124" - ], - "brands": [ - "brand01", - "brand02" - ], - "price": "56", - "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": "Test Case for Product Added event where conversion type is mobile app", - "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", - "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 Added", - "properties": { - "product_id": "123", - "price": "14", - "category": "shoes", - "currency": "USD" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "item_ids": "123", - "item_category": "shoes", - "price": "14", - "currency": "USD", - "event_type": "ADD_CART", - "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": "Test case for Product Viewed event where conversion type is web", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "channel": "web", - "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", - "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 Viewed", - "properties": { - "product_id": "123", - "price": "14", - "category": "shoes", - "currency": "USD", - "number_items": 14, - "quantity": 1 - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "item_ids": "123", - "item_category": "shoes", - "price": "14", - "currency": "USD", - "event_type": "VIEW_CONTENT", - "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": "WEB", - "pixel_id": "dummyPixelId", - "number_items": 14 - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case for Product Viewed event where conversion type is offline", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "channel": "", - "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", - "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 Viewed", - "properties": { - "product_id": "123", - "price": "14", - "category": "shoes", - "currency": "USD", - "quantity": 1 - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "item_ids": "123", - "item_category": "shoes", - "price": "14", - "currency": "USD", - "event_type": "VIEW_CONTENT", - "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": "OFFLINE", - "pixel_id": "dummyPixelId", - "number_items": 1 - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case for Payment Info Entered event where conversion type is offline", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "channel": "", - "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", - "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": "Payment Info Entered", - "properties": { - "checkout_id": "12dfdfdf3" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "transaction_id": "12dfdfdf3", - "event_type": "ADD_BILLING", - "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": "OFFLINE", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case for Subscribe event where conversion type is web", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "channel": "", - "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", - "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": "subscribe", - "properties": { - "checkout_id": "123", - "price": "14", - "category": "shoes", - "currency": "USD" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "item_category": "shoes", - "price": "14", - "currency": "USD", - "event_type": "SUBSCRIBE", - "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": "OFFLINE", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case for Promotion Viewed event for conversion type offline", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "channel": "", - "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", - "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": "Promotion Viewed", - "properties": { - "checkout_id": "123", - "price": "14", - "category": "shoes", - "currency": "USD" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "item_category": "shoes", - "price": "14", - "currency": "USD", - "event_type": "AD_VIEW", - "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": "OFFLINE", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case for Promotion Clicked event for conversion type offline", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "channel": "", - "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", - "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": "Promotion clicked", - "properties": { - "checkout_id": "123", - "price": "14", - "category": "shoes", - "currency": "USD" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "item_category": "shoes", - "price": "14", - "currency": "USD", - "event_type": "AD_CLICK", - "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": "OFFLINE", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case for save event for conversion type offline", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "channel": "", - "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", - "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": "save", - "properties": { - "checkout_id": "123", - "price": "14", - "category": "shoes", - "currency": "USD" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "item_category": "shoes", - "price": "14", - "currency": "USD", - "event_type": "SAVE", - "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": "OFFLINE", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case for Product Viewed event where conversion type is web", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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", - "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 Viewed", - "properties": { - "eventConversionType": "web", - "checkout_id": "123", - "price": "14", - "category": "shoes", - "currency": "USD", - "url": "hjhb.com" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "item_category": "shoes", - "page_url": "hjhb.com", - "price": "14", - "currency": "USD", - "event_type": "VIEW_CONTENT", - "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": "WEB", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case for Product Viewed event where conversion type is offline", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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", - "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 Viewed", - "properties": { - "eventConversionType": "offline", - "checkout_id": "123", - "price": "14", - "category": "shoes", - "currency": "USD", - "url": "hjhb.com" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "item_category": "shoes", - "price": "14", - "currency": "USD", - "event_type": "VIEW_CONTENT", - "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": "OFFLINE", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test case for Product Searched event where conversion type is offline", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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", - "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": "Products Searched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web", - "event_tag": "offline" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "search_string": "t-shirts", - "event_type": "SEARCH", - "event_tag": "offline", - "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": "OFFLINE", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Test Case for Product Added To Whishlist event where conversion type is mobile app", - "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", - "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 Added to Wishlist", - "properties": { - "product_id": "123", - "price": "14", - "category": "shoes", - "currency": "USD" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "item_category": "shoes", - "item_ids": "123", - "price": "14", - "currency": "USD", - "event_type": "ADD_TO_WISHLIST", - "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": "Test case for Products Searched event using event mapping", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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", - "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": "ProdSearched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey", - "rudderEventsToSnapEvents": [ - { - "from": "ProdSearched", - "to": "products_searched" - } - ] - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "search_string": "t-shirts", - "event_type": "SEARCH", - "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": "OFFLINE", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Test case event doesn't match with snapchat events", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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", - "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": "ProdSearched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey", - "rudderEventsToSnapEvents": [] - } - } - }, - "output": { - "statusCode": 400, - "error": "Event ProdSearched doesn't match with Snapchat Events!" - } - }, - { - "description": "test event naming (i.e passed vs the names provided in webapp) by bringing them to a common ground", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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", - "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 - }, - "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 Added to Cart", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey", - "rudderEventsToSnapEvents": [ - { - "from": "Product_Added_To_Cart", - "to": "products_searched" - } - ] - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "search_string": "t-shirts", - "event_type": "SEARCH", - "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": "OFFLINE", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "test event naming (i.e passed vs the names provided in webapp) by bringing them to a common ground - here destination config need to be modified", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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", - "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 - }, - "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_Added_to_Cart", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey", - "rudderEventsToSnapEvents": [ - { - "from": "Product Added To Cart", - "to": "products_searched" - } - ] - } - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "search_string": "t-shirts", - "event_type": "SEARCH", - "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": "OFFLINE", - "pixel_id": "dummyPixelId" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Enable deduplication with duplication key as email", - "input": { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "channel": "mobile", - "anonymousId": "ea5cfab2-3961-4d8a-8187-3d1858c99090", - "request_ip": "127.0.0.1", - "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", - "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", - "custom_dedup_id": "1234" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "pixelId": "dummyPixelId", - "deduplicationKey": "properties.custom_dedup_id", - "enableDeduplication": true, - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event_type": "PURCHASE", - "item_ids": [ - "123", - "123" - ], - "client_dedup_id": "1234", - "hashed_ip_address": "12ca17b49af2289436f303e0166030a21e525d266e209267433801a8fd4071a0", - "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", - "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": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "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": {} - } - }, - { - "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", - "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": "dummyApiKey", - "pixelId": "dummyPixelId", - "appId": "dhfeih44f", - "snapAppId": "hfhdhfd" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Authorization": "Bearer dummyApiKey", - "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": {} - } - } -] \ No newline at end of file diff --git a/test/__tests__/data/snapchat_conversion_router_input.json b/test/__tests__/data/snapchat_conversion_router_input.json deleted file mode 100644 index 0509cef312..0000000000 --- a/test/__tests__/data/snapchat_conversion_router_input.json +++ /dev/null @@ -1,315 +0,0 @@ -[ - { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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", - "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": "Products Searched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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", - "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": "Products Searched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2022-04-22T10:57:58Z", - "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", - "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": "Products Searched", - "properties": { - "query": "t-shirts", - "event_conversion_type": "web" - }, - "integrations": { - "All": true - }, - "sentAt": "2022-04-22T10:57:58Z" - }, - "metadata": { - "jobId": 3 - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey" - } - } - }, - { - "message": { - "type": "track", - "event": "Product List Viewed", - "sentAt": "2022-08-01T15:04:58.764Z", - "userId": "d131b5f1fc@nana.sa", - "channel": "mobile", - "context": { - "os": { - "name": "iOS", - "version": "15.5" - }, - "app": { - "name": "CFBundleDisplayName", - "build": "12.43.0.16", - "version": "12.43.0", - "namespace": "iShopCloud.com" - }, - "device": { - "id": "f244e389-d899-40a0-9673-1db87a8db7d3", - "name": "iPhone Monerah", - "type": "iOS", - "model": "iPhone", - "manufacturer": "Apple" - }, - "locale": "ar-SA", - "screen": { - "width": 896, - "height": 414, - "density": 2 - }, - "traits": { - "email": "m@gmail.com", - "phone": "00966556747779", - "userId": "d131b5f1fc@nana.sa", - "address": { - "city": "الرياض", - "country": "sa" - }, - "country": "sa", - "lastName": "", - "firstName": "منيرة ام عمر", - "anonymousId": "f244e389-d899-40a0-9673-1db87a8db7d3", - "Mobile Number": "00966556747779", - "Last App Close": "2022-07-29T21:43:30.342Z", - "Activation code": "9997", - "Activation date": "2022-03-24 19:37:42", - "First App Close": "2022-05-18 07:53:03", - "Mobile Number Status": "Active", - "Last Activated Device": { - "UUID": "F244E389-D899-40A0-9673-1DB87A8DB7D3", - "Platform": "IOS", - "App Version": "12.38.0", - "App Language": "AR", - "Platform Version": "15.4" - }, - "ml_availability_segment": -1 - }, - "library": { - "name": "rudder-ios-library", - "version": "1.0.7" - }, - "network": { - "wifi": true, - "carrier": "unavailable", - "cellular": false, - "bluetooth": false - }, - "timezone": "Asia/Riyadh", - "userAgent": "unknown", - "externalId": [ - { - "id": "CBEDC847-F22C-447C-85DE-2BB693240F8E", - "type": "brazeExternalId" - } - ] - }, - "rudderId": "8fd7a036-fcbd-4ec3-b498-ea2cbf1df629", - "messageId": "1659366289-4126c107-c1e1-4ee1-b534-fb49afca197b", - "timestamp": "2022-08-01T15:04:49.593Z", - "properties": { - "Parent": "Testing", - "List ID": "CAT00002903", - "store_id": "STR00001959", - "List Name": "User", - "session_id": "", - "Viewed From": "home", - "Category Position": 2, - "Banner Position Segment": "B", - "category_personalise_segment": "B" - }, - "receivedAt": "2022-08-01T15:04:59.091Z", - "request_ip": "78.95.64.84", - "anonymousId": "f244e389-d899-40a0-9673-1db87a8db7d3", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-08-01T15:04:49.266Z" - }, - "metadata": { - "jobId": 4 - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey", - "appId": "jahsdfjk-5487-asdfa-9957-7c74eb8d3e80", - "snapAppId": "", - "enableDeduplication": false, - "rudderEventsToSnapEvents": [ - { - "from": "Product List Viewed", - "to": "product_list_viewed" - } - ] - } - } - } -] \ No newline at end of file diff --git a/test/__tests__/data/snapchat_conversion_router_output.json b/test/__tests__/data/snapchat_conversion_router_output.json deleted file mode 100644 index bc68d01086..0000000000 --- a/test/__tests__/data/snapchat_conversion_router_output.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://tr.snapchat.com/v2/conversion", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"search_string\":\"t-shirts\",\"event_type\":\"SEARCH\",\"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\",\"hashed_email\":\"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2\",\"hashed_phone_number\":\"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492\",\"hashed_idfv\":\"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f\",\"hashed_mobile_ad_id\":\"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2\",\"timestamp\":\"1650625078\",\"event_conversion_type\":\"OFFLINE\",\"pixel_id\":\"dummyPixelId\"},{\"search_string\":\"t-shirts\",\"event_type\":\"SEARCH\",\"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\",\"hashed_email\":\"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2\",\"hashed_phone_number\":\"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492\",\"hashed_idfv\":\"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f\",\"hashed_mobile_ad_id\":\"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2\",\"timestamp\":\"1650625078\",\"event_conversion_type\":\"OFFLINE\",\"pixel_id\":\"dummyPixelId\"},{\"search_string\":\"t-shirts\",\"event_type\":\"SEARCH\",\"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\",\"hashed_email\":\"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2\",\"hashed_phone_number\":\"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492\",\"hashed_idfv\":\"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f\",\"hashed_mobile_ad_id\":\"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2\",\"timestamp\":\"1650625078\",\"event_conversion_type\":\"OFFLINE\",\"pixel_id\":\"dummyPixelId\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 1 - }, - { - "jobId": 2 - }, - { - "jobId": 3 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey" - } - } - }, - { - "metadata": [ - { - "jobId": 4 - } - ], - "batched": false, - "statusCode": 400, - "error": "Snap App Id is required for app events", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration" - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "apiKey": "dummyApiKey", - "appId": "jahsdfjk-5487-asdfa-9957-7c74eb8d3e80", - "snapAppId": "", - "enableDeduplication": false, - "rudderEventsToSnapEvents": [ - { - "from": "Product List Viewed", - "to": "product_list_viewed" - } - ] - } - } - } -] diff --git a/test/__tests__/data/snapchat_custom_audience.json b/test/__tests__/data/snapchat_custom_audience.json deleted file mode 100644 index 5c06632200..0000000000 --- a/test/__tests__/data/snapchat_custom_audience.json +++ /dev/null @@ -1,939 +0,0 @@ -[ - { - "description": "adding user", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", - "headers": { - "Authorization": "Bearer dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "schema": ["EMAIL_SHA256"], - "data": [["d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419"]] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "removing user", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": true, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "remove": [ - { - "email": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", - "headers": { - "Authorization": "Bearer dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "id": "123", - "schema": ["EMAIL_SHA256"], - "data": [["d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419"]] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "adding and removing users", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ], - "remove": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", - "headers": { - "Authorization": "Bearer dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "schema": ["EMAIL_SHA256"], - "data": [["d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419"]] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", - "headers": { - "Authorization": "Bearer dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "id": "123", - "schema": ["EMAIL_SHA256"], - "data": [["d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419"]] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "adding multiple users", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - }, - { - "email": "test@rudderstack.com", - "phone": "@09876543210", - "firstName": "rudderlabs", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", - "headers": { - "Authorization": "Bearer dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "schema": ["EMAIL_SHA256"], - "data": [ - ["d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419"], - ["1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd"] - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "removing multiple users", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "remove": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - }, - { - "email": "test@rudderstack.com", - "phone": "@09876543210", - "firstName": "rudderlabs", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", - "headers": { - "Authorization": "Bearer dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "id": "123", - "schema": ["EMAIL_SHA256"], - "data": [ - ["d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419"], - ["1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd"] - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "message type is not audiencelist", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audience", - "properties": { - "listData": { - "add": [ - { - "email": "test@rudderstack.com", - "phone": "@09876543210", - "firstName": "rudderlabs", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": { - "statusCode": 400, - "error": "Event type audience is not supported" - } - }, - { - "description": "without message type", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "properties": { - "listData": { - "add": [ - { - "email": "test@rudderstack.com", - "phone": "@09876543210", - "firstName": "rudderlabs", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": { - "statusCode": 400, - "error": "Event type is required" - } - }, - { - "description": "without sending properties", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": { - "statusCode": 400, - "error": "Message properties is not present. Aborting message" - } - }, - { - "description": "without listData inside properties", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": { - "statusCode": 400, - "error": "listData is not present inside properties. Aborting message" - } - }, - { - "description": "without add or remove lists inside listData", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "abc": "123" - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": { - "statusCode": 400, - "error": "Neither 'add' nor 'remove' property is present inside 'listData'. Aborting message" - } - }, - { - "description": "not providing required field for chosen schema in all the cases", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "remove": [ - { - "email": "", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - }, - { - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": { - "statusCode": 400, - "error": "Required schema parameter email is not found from payload" - } - }, - { - "description": "not providing required field for chosen schema in some cases", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "remove": [ - { - "email": "abcd@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - }, - { - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "DELETE", - "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", - "headers": { - "Authorization": "Bearer dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "id": "123", - "schema": ["EMAIL_SHA256"], - "data": [["8c37cbc5d9abb3082303c6548571cfc7655a4546ddc1e943f041fc9126e7274a"]] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "schema= phone", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "phone" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", - "headers": { - "Authorization": "Bearer dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "schema": ["PHONE_SHA256"], - "data": [["7619ee8cea49187f309616e30ecf54be072259b43760f1f550a644945d5572f2"]] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "schema= mobileAdId", - "input": { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "mobileAdId" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "09876543210", - "mobileId": "1334", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", - "headers": { - "Authorization": "Bearer dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "schema": ["MOBILE_AD_ID_SHA256"], - "data": [["eb43272640b269219a01caf99c5a4122d6edc0916d45ac13c0ce80ca3ad2def0"]] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - } -] diff --git a/test/__tests__/data/snapchat_custom_audience_router_input.json b/test/__tests__/data/snapchat_custom_audience_router_input.json deleted file mode 100644 index a36eb21365..0000000000 --- a/test/__tests__/data/snapchat_custom_audience_router_input.json +++ /dev/null @@ -1,46 +0,0 @@ -[ - { - "metadata": { - "secret": { - "access_token": "dummyAccessToken", - "refresh_token": "dummyRefreshToken", - "developer_token": "dummyDeveloperToken" - } - }, - "destination": { - "Config": { - "segmentId": "123", - "disableHashing": false, - "schema": "email" - } - }, - "message": { - "userId": "user 1", - "anonymousId": "anon-id-new", - "event": "event1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "email": "test@abc.com", - "phone": "@09876543210", - "firstName": "test", - "lastName": "rudderlabs", - "country": "US", - "postalCode": "1245" - } - ] - }, - "enablePartialFailure": true - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - } -] diff --git a/test/__tests__/data/snapchat_custom_audience_router_output.json b/test/__tests__/data/snapchat_custom_audience_router_output.json deleted file mode 100644 index 2d0eac36a1..0000000000 --- a/test/__tests__/data/snapchat_custom_audience_router_output.json +++ /dev/null @@ -1,49 +0,0 @@ -[ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer dummyAccessToken" - }, - "params": {}, - "body": { - "JSON": { - "users": [ - { - "data": [["d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419"]], - "schema": ["EMAIL_SHA256"] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "metadata": [ - { - "secret": { - "access_token": "dummyAccessToken", - "developer_token": "dummyDeveloperToken", - "refresh_token": "dummyRefreshToken" - } - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "disableHashing": false, - "schema": "email", - "segmentId": "123" - } - } - } -] diff --git a/test/__tests__/data/splitio_input.json b/test/__tests__/data/splitio_input.json deleted file mode 100644 index a8b8f5480d..0000000000 --- a/test/__tests__/data/splitio_input.json +++ /dev/null @@ -1,367 +0,0 @@ -[ - { - "message": { - "traits": { - "martin": 21.565000000000001, - "trafficTypeName": "user", - "vertical": "restaurant", - "eventTypeId": "page_load end to end", - "timestamp": 1513357833000, - "GMV": false - }, - "userId": "user123", - "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", - "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", - "context": { - "ip": "14.5.67.21", - "traits": { - "abc": "new-val", - "key": "key_user_0", - "value": "0.93" - }, - "library": { - "name": "http" - } - }, - "type": "group", - "groupId": "group1", - "timestamp": "2020-01-21T00:21:34.208Z", - "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", - "receivedAt": "2021-04-19T14:53:18.215+05:30", - "requestIP": "[::1]" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - }, - { - "message": { - "traits": { - "martin": 21.565000000000001, - "trafficTypeName": "user", - "eventTypeId": "page_load end to end", - "timestamp": 1513357833000, - "address": { - "city": "San Francisco", - "state": "CA", - "country": "USA" - }, - "key1": { - "a": "a" - }, - "key2": [1, 2, 3], - "key3": { - "key4": {} - }, - "key5": null - }, - "userId": "user123", - "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", - "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", - "context": { - "ip": "14.5.67.21", - "traits": { - "abc": "new-val", - "key": "key_user_0" - }, - "library": { - "name": "http" - } - }, - "type": "identify", - "timestamp": "2020-01-21T00:21:34.208Z", - "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", - "receivedAt": "2021-04-19T14:53:18.215+05:30", - "requestIP": "[::1]" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - }, - { - "message": { - "event": "splitio_test_1", - "messageId": "9b200548-5961-4448-9dbc-098b7ce85751", - "properties": { - "eventTypeId": "page_load", - "trafficTypeName": "user", - "key": "key_user_0", - "timestamp": 1513357833000, - "value": "0.93", - "martin": 21.565, - "vertical": "restaurant", - "GMV": true, - "abc": "new-val", - "property1": { - "property2": 1, - "property3": "test", - "property4": { - "subProp1": { - "a": "a", - "b": "b" - }, - "subProp2": ["a", "b"], - "subProp3": { - "prop": {} - } - } - }, - "properties5": null - }, - "receivedAt": "2021-03-01T22:55:54.806Z", - "rudderId": "6886eb9e-215d-4f61-a651-4b8ef18aaea3", - "timestamp": "2021-03-01T22:55:54.771Z", - "type": "track", - "userId": "user 1" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "production", - "trafficType": "user" - } - } - }, - { - "message": { - "name": "splitio_test_1", - "messageId": "9b200548-5961-4448-9dbc-098b7ce85751", - "properties": { - "eventTypeId": "page_load", - "trafficTypeName": "user", - "key": "key_user_0", - "timestamp": 1513357833000, - "value": "0.93", - "martin": 21.565, - "vertical": "restaurant", - "GMV": true, - "abc": "new-val" - }, - "receivedAt": "2021-03-01T22:55:54.806Z", - "rudderId": "6886eb9e-215d-4f61-a651-4b8ef18aaea3", - "timestamp": "2021-03-01T22:55:54.771Z", - "type": "page", - "userId": "user 1" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "production", - "trafficType": "user" - } - } - }, - { - "message": { - "name": "splitio_test_1", - "messageId": "9b200548-5961-4448-9dbc-098b7ce85751", - "properties": { - "eventTypeId": "page_load", - "trafficTypeName": "user", - "key": "key_user_0", - "timestamp": 1513357833000, - "value": "0.93", - "martin": 21.565, - "vertical": "restaurant", - "GMV": true, - "abc": "new-val" - }, - "receivedAt": "2021-03-01T22:55:54.806Z", - "rudderId": "6886eb9e-215d-4f61-a651-4b8ef18aaea3", - "timestamp": "2021-03-01T22:55:54.771Z", - "type": "screen", - "userId": "user 1" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - }, - { - "message": { - "userId": "user123", - "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", - "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", - "context": { - "ip": "14.5.67.21", - "traits": { - "abc": "new-val", - "key": "key_user_0", - "newProperty": "1", - "martin": 21.565000000000001, - "vertical": "restaurant", - "GMV": false - }, - "library": { - "name": "http" - } - }, - "type": "identify", - "timestamp": "2020-01-21T00:21:34.208Z", - "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", - "receivedAt": "2021-04-19T14:53:18.215+05:30", - "requestIP": "[::1]" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - }, - { - "message": { - "userId": "user123", - "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", - "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", - "context": { - "ip": "14.5.67.21", - "traits": { - "abc": "new-val", - "key": "key_user_0", - "newProperty": "1" - }, - "library": { - "name": "http" - } - }, - "timestamp": "2020-01-21T00:21:34.208Z", - "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", - "receivedAt": "2021-04-19T14:53:18.215+05:30", - "requestIP": "[::1]" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - }, - { - "message": { - "userId": "user123", - "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", - "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", - "context": { - "ip": "14.5.67.21", - "traits": { - "abc": "new-val", - "key": "key_user_0", - "newProperty": "1" - }, - "library": { - "name": "http" - } - }, - "type": "abc", - "timestamp": "2020-01-21T00:21:34.208Z", - "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", - "receivedAt": "2021-04-19T14:53:18.215+05:30", - "requestIP": "[::1]" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - }, - { - "message": { - "name": "@$%%^&", - "messageId": "9b200548-5961-4448-9dbc-098b7ce85751", - "properties": { - "eventTypeId": "page_load", - "trafficTypeName": "user", - "key": "key_user_0", - "timestamp": 1513357833000, - "value": "0.93", - "martin": 21.565, - "vertical": "restaurant", - "GMV": true, - "abc": "new-val" - }, - "receivedAt": "2021-03-01T22:55:54.806Z", - "rudderId": "6886eb9e-215d-4f61-a651-4b8ef18aaea3", - "timestamp": "2021-03-01T22:55:54.771Z", - "type": "page", - "userId": "user 1" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "production", - "trafficType": "user" - } - } - }, - { - "message": { - "name": "1pplication accepted", - "messageId": "9b200548-5961-4448-9dbc-098b7ce85751", - "category": "food", - "properties": { - "eventTypeId": "page_load", - "trafficTypeName": "user", - "key": "key_user_0", - "timestamp": 1513357833000, - "value": "bc2", - "martin": 21.565, - "vertical": ["restaurant", "mall"], - "GMV": true, - "abc": "new-val" - }, - "receivedAt": "2021-03-01T22:55:54.806Z", - "rudderId": "6886eb9e-215d-4f61-a651-4b8ef18aaea3", - "timestamp": "2021-03-01T22:55:54.771Z", - "type": "page", - "userId": "user 1" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "production", - "trafficType": "user" - } - } - }, - { - "message": { - "userId": "user123", - "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", - "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "type": "identify", - "timestamp": "2020-01-21T00:21:34.208Z", - "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", - "receivedAt": "2021-04-19T14:53:18.215+05:30", - "requestIP": "[::1]" - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - } -] diff --git a/test/__tests__/data/splitio_output.json b/test/__tests__/data/splitio_output.json deleted file mode 100644 index bb51be1d17..0000000000 --- a/test/__tests__/data/splitio_output.json +++ /dev/null @@ -1,261 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://events.split.io/api/events", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer abcde" - }, - "params": {}, - "body": { - "JSON": { - "eventTypeId": "group", - "key": "user123", - "timestamp": 1579566094208, - "environmentName": "staging", - "trafficTypeName": "user", - "properties": { - "martin": 21.565, - "vertical": "restaurant", - "GMV": false - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://events.split.io/api/events", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer abcde" - }, - "params": {}, - "body": { - "JSON": { - "eventTypeId": "identify", - "key": "user123", - "timestamp": 1579566094208, - "environmentName": "staging", - "trafficTypeName": "user", - "properties": { - "martin": 21.565, - "address.city": "San Francisco", - "address.state": "CA", - "address.country": "USA", - "key1.a": "a", - "key2[0]": 1, - "key2[1]": 2, - "key2[2]": 3 - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://events.split.io/api/events", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer abcde" - }, - "params": {}, - "body": { - "JSON": { - "eventTypeId": "splitio_test_1", - "key": "user 1", - "timestamp": 1614639354771, - "value": 0.93, - "environmentName": "production", - "trafficTypeName": "user", - "properties": { - "martin": 21.565, - "vertical": "restaurant", - "GMV": true, - "abc": "new-val", - "property1.property2": 1, - "property1.property3": "test", - "property1.property4.subProp1.a": "a", - "property1.property4.subProp1.b": "b", - "property1.property4.subProp2[0]": "a", - "property1.property4.subProp2[1]": "b" - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://events.split.io/api/events", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer abcde" - }, - "params": {}, - "body": { - "JSON": { - "eventTypeId": "Viewed_splitio_test_1_page", - "key": "user 1", - "timestamp": 1614639354771, - "value": 0.93, - "environmentName": "production", - "trafficTypeName": "user", - "properties": { - "martin": 21.565, - "vertical": "restaurant", - "GMV": true, - "abc": "new-val" - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://events.split.io/api/events", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer abcde" - }, - "params": {}, - "body": { - "JSON": { - "eventTypeId": "Viewed_splitio_test_1_screen", - "key": "user 1", - "timestamp": 1614639354771, - "value": 0.93, - "environmentName": "staging", - "trafficTypeName": "user", - "properties": { - "martin": 21.565, - "vertical": "restaurant", - "GMV": true, - "abc": "new-val" - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://events.split.io/api/events", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer abcde" - }, - "params": {}, - "body": { - "JSON": { - "eventTypeId": "identify", - "key": "user123", - "timestamp": 1579566094208, - "environmentName": "staging", - "trafficTypeName": "user", - "properties": { - "abc": "new-val", - "newProperty": "1", - "martin": 21.565000000000001, - "vertical": "restaurant", - "GMV": false - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "error": "Event type is required" - }, - { - "error": "Event type abc is not supported" - }, - { - "error": "eventTypeId does not match with ideal format /^[\\dA-Za-z][\\w.-]{0,79}$/" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://events.split.io/api/events", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer abcde" - }, - "params": {}, - "body": { - "JSON": { - "eventTypeId": "Viewed_1pplication_accepted_page", - "key": "user 1", - "timestamp": 1614639354771, - "environmentName": "production", - "trafficTypeName": "user", - "properties": { - "martin": 21.565, - "GMV": true, - "abc": "new-val", - "category": "food", - "vertical[0]": "restaurant", - "vertical[1]": "mall" - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://events.split.io/api/events", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer abcde" - }, - "params": {}, - "body": { - "JSON": { - "eventTypeId": "identify", - "key": "user123", - "timestamp": 1579566094208, - "environmentName": "staging", - "trafficTypeName": "user", - "properties": {} - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } -] diff --git a/test/__tests__/data/splitio_router_input.json b/test/__tests__/data/splitio_router_input.json deleted file mode 100644 index b84fccb474..0000000000 --- a/test/__tests__/data/splitio_router_input.json +++ /dev/null @@ -1,82 +0,0 @@ -[ - { - "message": { - "traits": { - "martin": 21.565000000000001, - "trafficTypeName": "user", - "vertical": "restaurant", - "eventTypeId": "page_load end to end", - "timestamp": 1513357833000, - "GMV": false - }, - "userId": "user123", - "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", - "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", - "context": { - "ip": "14.5.67.21", - "traits": { - "abc": "new-val", - "key": "key_user_0", - "value": "0.93" - }, - "library": { - "name": "http" - } - }, - "type": "group", - "groupId": "group1", - "timestamp": "2020-01-21T00:21:34.208Z", - "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", - "receivedAt": "2021-04-19T14:53:18.215+05:30", - "requestIP": "[::1]" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - }, - { - "message": { - "traits": { - "martin": 21.565000000000001, - "trafficTypeName": "user", - "eventTypeId": "page_load end to end", - "timestamp": 1513357833000 - }, - "userId": "user123", - "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", - "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", - "context": { - "ip": "14.5.67.21", - "traits": { - "abc": "new-val", - "key": "key_user_0" - }, - "library": { - "name": "http" - } - }, - "type": "identify", - "timestamp": "2020-01-21T00:21:34.208Z", - "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", - "receivedAt": "2021-04-19T14:53:18.215+05:30", - "requestIP": "[::1]" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - } -] diff --git a/test/__tests__/data/splitio_router_output.json b/test/__tests__/data/splitio_router_output.json deleted file mode 100644 index 9f07c02d08..0000000000 --- a/test/__tests__/data/splitio_router_output.json +++ /dev/null @@ -1,90 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://events.split.io/api/events", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer abcde" - }, - "params": {}, - "body": { - "JSON": { - "eventTypeId": "group", - "key": "user123", - "timestamp": 1579566094208, - "environmentName": "staging", - "trafficTypeName": "user", - "properties": { - "martin": 21.565, - "vertical": "restaurant", - "GMV": false - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://events.split.io/api/events", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer abcde" - }, - "params": {}, - "body": { - "JSON": { - "eventTypeId": "identify", - "key": "user123", - "timestamp": 1579566094208, - "environmentName": "staging", - "trafficTypeName": "user", - "properties": { - "martin": 21.565 - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "abcde", - "environment": "staging", - "trafficType": "user" - } - } - } -] diff --git a/test/__tests__/data/statsig_cdk_output.json b/test/__tests__/data/statsig_cdk_output.json deleted file mode 100644 index d0601e8df9..0000000000 --- a/test/__tests__/data/statsig_cdk_output.json +++ /dev/null @@ -1,607 +0,0 @@ -[ - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSPonIAEmulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "identify@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9112340345", - "username": "john_sparrow" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "Product Clicked", - "integrations": { - "All": true - }, - "messageId": "1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06", - "properties": { - "revenue": "30", - "currency": "USD", - "quantity": "5", - "test_key_2": { - "test_child_key_1": "test_child_value_1" - }, - "price": "58.0" - }, - "originalTimestamp": "2020-05-25T18:37:10.917Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "track", - "userId": "sample_user_id" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "identify@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "identify", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "identify", - "userId": "sample_user_id" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "page@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "page", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "page", - "userId": "sample_user_id" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "screen@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "screen", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "screen", - "userId": "sample_user_id" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "screen@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "screen", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "screen", - "userId": "sample_user_id" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-4n07h3rsecr3t" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.5" - }, - "traits": { - "name": "Shehan Study", - "category": "SampleIdentify", - "email": "test@rudderstack.com", - "plan": "Open source", - "logins": 5, - "createdAt": 1599264000 - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.5" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 0.8999999761581421 - }, - "campaign": { - "source": "google", - "medium": "medium", - "term": "keyword", - "content": "some content", - "name": "some campaign", - "test": "other value" - }, - "page": { - "path": "/destinations/amplitude", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/amplitude", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "alias", - "messageId": "dd46338d-5f83-493b-bd28-3b48f55d0be8", - "originalTimestamp": "2020-10-20T08:14:28.778Z", - "anonymousId": "my-anonymous-id-new", - "userId": "newUserIdAlias", - "integrations": { - "All": true - }, - "previousId": "sampleusrRudder3", - "sentAt": "2020-10-20T08:14:28.778Z" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "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", - "anonymousId": "123456", - "userId": "123456", - "type": "group", - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "error": "message type NOT_A_TYPE is not supported" - } -] diff --git a/test/__tests__/data/statsig_input.json b/test/__tests__/data/statsig_input.json deleted file mode 100644 index dbcf0666e9..0000000000 --- a/test/__tests__/data/statsig_input.json +++ /dev/null @@ -1,627 +0,0 @@ -[ - { - "message": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSPonIAEmulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "identify@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9112340345", - "username": "john_sparrow" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "Product Clicked", - "integrations": { - "All": true - }, - "messageId": "1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06", - "properties": { - "revenue": "30", - "currency": "USD", - "quantity": "5", - "test_key_2": { - "test_child_key_1": "test_child_value_1" - }, - "price": "58.0" - }, - "originalTimestamp": "2020-05-25T18:37:10.917Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "track", - "userId": "sample_user_id" - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "secretKey": "secret-tHe5ecr37" - } - } - }, - { - "message": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "identify@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "identify", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "identify", - "userId": "sample_user_id" - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "secretKey": "secret-tHe5ecr37" - } - } - }, - { - "message": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "page@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "page", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "page", - "userId": "sample_user_id" - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "secretKey": "secret-tHe5ecr37" - } - } - }, - { - "message": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "screen@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "screen", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "screen", - "userId": "sample_user_id" - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "secretKey": "secret-tHe5ecr37" - } - } - }, - { - "message": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "screen@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "screen", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "screen", - "userId": "sample_user_id" - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "secretKey": "secret-4n07h3rsecr3t" - } - } - }, - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.5" - }, - "traits": { - "name": "Shehan Study", - "category": "SampleIdentify", - "email": "test@rudderstack.com", - "plan": "Open source", - "logins": 5, - "createdAt": 1599264000 - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.5" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 0.8999999761581421 - }, - "campaign": { - "source": "google", - "medium": "medium", - "term": "keyword", - "content": "some content", - "name": "some campaign", - "test": "other value" - }, - "page": { - "path": "/destinations/amplitude", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/amplitude", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "alias", - "messageId": "dd46338d-5f83-493b-bd28-3b48f55d0be8", - "originalTimestamp": "2020-10-20T08:14:28.778Z", - "anonymousId": "my-anonymous-id-new", - "userId": "newUserIdAlias", - "integrations": { - "All": true - }, - "previousId": "sampleusrRudder3", - "sentAt": "2020-10-20T08:14:28.778Z" - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "secretKey": "secret-tHe5ecr37" - } - } - }, - { - "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", - "anonymousId": "123456", - "userId": "123456", - "type": "group", - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "secretKey": "secret-tHe5ecr37" - } - } - }, - { - "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", - "anonymousId": "123456", - "userId": "123456", - "type": "NOT_A_TYPE", - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "secretKey": "secret-tHe5ecr37" - } - } - } -] diff --git a/test/__tests__/data/statsig_output.json b/test/__tests__/data/statsig_output.json deleted file mode 100644 index 11b3553f4c..0000000000 --- a/test/__tests__/data/statsig_output.json +++ /dev/null @@ -1,607 +0,0 @@ -[ - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSPonIAEmulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "identify@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9112340345", - "username": "john_sparrow" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "Product Clicked", - "integrations": { - "All": true - }, - "messageId": "1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06", - "properties": { - "revenue": "30", - "currency": "USD", - "quantity": "5", - "test_key_2": { - "test_child_key_1": "test_child_value_1" - }, - "price": "58.0" - }, - "originalTimestamp": "2020-05-25T18:37:10.917Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "track", - "userId": "sample_user_id" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "identify@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "identify", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "identify", - "userId": "sample_user_id" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "page@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "page", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "page", - "userId": "sample_user_id" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "screen@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "screen", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "screen", - "userId": "sample_user_id" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "Kolkata", - "country": "India", - "postalcode": "700096", - "state": "West bengal", - "street": "Park Street" - }, - "age": "30", - "anonymousId": "8d872292709c6fbe", - "birthday": "2020-05-26", - "createdat": "18th March 2020", - "description": "Premium User for 3 years", - "email": "screen@test.com", - "firstname": "John", - "userId": "sample_user_id", - "lastname": "Sparrow", - "name": "John Sparrow", - "id": "sample_user_id", - "phone": "9876543210", - "username": "john_sparrow", - "quantity": "5", - "price": "56.0" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "screen", - "integrations": { - "All": true - }, - "messageId": "1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9", - "originalTimestamp": "2020-05-25T18:37:10.865Z", - "sentAt": "2020-05-25T18:37:10.917Z", - "type": "screen", - "userId": "sample_user_id" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-4n07h3rsecr3t" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.5" - }, - "traits": { - "name": "Shehan Study", - "category": "SampleIdentify", - "email": "test@rudderstack.com", - "plan": "Open source", - "logins": 5, - "createdAt": 1599264000 - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.5" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 0.8999999761581421 - }, - "campaign": { - "source": "google", - "medium": "medium", - "term": "keyword", - "content": "some content", - "name": "some campaign", - "test": "other value" - }, - "page": { - "path": "/destinations/amplitude", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/amplitude", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "alias", - "messageId": "dd46338d-5f83-493b-bd28-3b48f55d0be8", - "originalTimestamp": "2020-10-20T08:14:28.778Z", - "anonymousId": "my-anonymous-id-new", - "userId": "newUserIdAlias", - "integrations": { - "All": true - }, - "previousId": "sampleusrRudder3", - "sentAt": "2020-10-20T08:14:28.778Z" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "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", - "anonymousId": "123456", - "userId": "123456", - "type": "group", - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.statsig.com/v1/webhooks/rudderstack", - "headers": { - "content-type": "application/json", - "STATSIG-API-KEY": "secret-tHe5ecr37" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "error": "message type \"NOT_A_TYPE\" not supported for \"statsig\"" - } -] diff --git a/test/__tests__/data/tiktok_ads_input.json b/test/__tests__/data/tiktok_ads_input.json deleted file mode 100644 index 89919e866f..0000000000 --- a/test/__tests__/data/tiktok_ads_input.json +++ /dev/null @@ -1,2500 +0,0 @@ -[ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout started", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "Product Added to Wishlist", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "Product Added to Wishlist1", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "Product Added to Wishlist", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "Product Added to Wishlist", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "1234" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "SubscriBe", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "+868987675687", - "email": "sample@sample.com" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "payment info entered", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "type": "track", - "event": "payment info entered", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "submitform", - "properties": { - "eventId": "16163186328257", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "submitform", - "properties": { - "eventId": "16163186328257", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "contact", - "properties": { - "eventId": "16163186328257", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "identify", - "event": "contact", - "properties": { - "eventId": "16163186328257", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "order completed", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "user@sample.com", - "phone": "+919912345678" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "SubscriBe", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "TEST0000000011", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "+918987674657", - "email": "sample@rudder.com" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "user@sample.com", - "phone": "+919912345678" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "SubscriBe", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "TEST0000000011", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "", - "email": "" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "ad": { - "callback": "999ATXSfe" - }, - "page": { - "url": "http://rudder.mywebsite.com/purchase", - "referrer": "http://rudder.mywebsite.com" - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "abc", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false, - "eventsToStandard": [ - { - "from": "abc", - "to": "download" - }, - { - "from": "abc", - "to": "search" - }, - { - "from": "def", - "to": "search" - } - ] - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "abc", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false, - "eventsToStandard": [ - { - "from": "def", - "to": "download" - } - ] - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "abc", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false, - "eventsToStandard": [ - { - "from": "abc", - "to": "download" - }, - { - "from": "def", - "to": "download" - } - ] - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "abc", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "+371234567890123", - "email": "sample@sample.com" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true, - "eventsToStandard": [ - { - "from": "abc", - "to": "download" - }, - { - "from": "def", - "to": "download" - } - ] - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "abc", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "+3712345678", - "email": "sample@sample.com" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true, - "eventsToStandard": [ - { - "from": "abc", - "to": "download" - }, - { - "from": "def", - "to": "download" - } - ] - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "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" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "products": [ - { - "product_id": 123, - "sku": "G-32", - "name": "Monopoly", - "price": 14, - "quantity": 1, - "contentType": "product_group", - "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, - "contentType": "product_group", - "quantity": 2 - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "products": [ - { - "contentType": "product_group", - "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" - }, - { - "contentType": "product_group", - "product_id": "345", - "sku": "F-32", - "name": "UNO", - "price": 3.45, - "quantity": 2, - "category": "Games" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "category": "Urban", - "status": "processed", - "name": "games", - "contentType": "product_group", - "productId": "qqw21221341234", - "eventId": "1616318632825_357", - "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" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } -] diff --git a/test/__tests__/data/tiktok_ads_offline_events.json b/test/__tests__/data/tiktok_ads_offline_events.json deleted file mode 100644 index 24bdb2ed4e..0000000000 --- a/test/__tests__/data/tiktok_ads_offline_events.json +++ /dev/null @@ -1,469 +0,0 @@ -[ - { - "description": "Identify call not supported error message", - "input": { - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "hashUserProperties": true - } - }, - "message": { - "type": "Identify", - "userId": "yash001", - "originalTimestamp": "2019-10-14T09:03:17.562Z" - } - }, - "output": { - "error": "Event type identify is not supported" - } - }, - { - "description": "Regular track call", - "input": { - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "hashUserProperties": false - } - }, - "message": { - "event": "subscribe", - "context": { - "traits": { - "phone": "c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646" - }, - "channel": "web" - }, - "properties": { - "eventSetId": "7181537436256731137", - "eventId": "1616318632825_352", - "order_id": "abc_xyz", - "shop_id": "123abc", - "currency": "USD", - "value": 46.0, - "price": 8, - "quantity": 2, - "content_type": "product1234", - "product_id": "1077218", - "name": "socks", - "category": "Men's cloth" - }, - "type": "track", - "userId": "eventIdn01", - "timestamp": "2023-01-03" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/offline/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event_set_id": "7181537436256731137", - "event": "Subscribe", - "event_id": "1616318632825_352", - "timestamp": "2023-01-03", - "partner_name": "RudderStack", - "context": { - "user": { - "phone_numbers": [ - "c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646" - ] - } - }, - "properties": { - "order_id": "abc_xyz", - "shop_id": "123abc", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "product1234", - "content_id": "1077218", - "content_name": "socks", - "content_category": "Men's cloth" - } - ], - "event_channel": "web", - "currency": "USD", - "value": 46.0 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "event_set_id": "7181537436256731137" - } - ] - }, - { - "description": "Track call with hashUserProperties set to true", - "input": { - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "hashUserProperties": true - } - }, - "message": { - "event": "subscribe", - "context": { - "traits": { - "phone": "1234567890" - }, - "channel": "web" - }, - "properties": { - "eventSetId": "7181537436256731137", - "eventId": "1616318632825_352", - "prop1": "val1" - }, - "type": "track", - "userId": "eventIdn01", - "timestamp": "2023-01-03" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/offline/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event_set_id": "7181537436256731137", - "event": "Subscribe", - "event_id": "1616318632825_352", - "timestamp": "2023-01-03", - "partner_name": "RudderStack", - "context": { - "user": { - "phone_numbers": [ - "c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646" - ] - } - }, - "properties": { - "event_channel": "web" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "event_set_id": "7181537436256731137" - } - ] - }, - { - "description": "Track call with event mapping", - "input": { - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "hashUserProperties": true, - "eventsToStandard": [ - { - "from": "RandomEvent", - "to": "SubmitForm" - } - ] - } - }, - "message": { - "event": "RandomEvent", - "context": { - "traits": { - "phone": "1234567890" - }, - "channel": "web" - }, - "properties": { - "eventSetId": "7185009018564395009", - "eventId": "1616318632003_004", - "prop1": "val1" - }, - "userId": "eventIdn01", - "timestamp": "2023-01-03", - "type": "track" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/offline/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event": "SubmitForm", - "context": { - "user": { - "phone_numbers": [ - "c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646" - ] - } - }, - "event_id": "1616318632003_004", - "timestamp": "2023-01-03", - "properties": { - "event_channel": "web" - }, - "event_set_id": "7185009018564395009", - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "event_set_id": "7185009018564395009" - } - ] - }, - { - "description": "Track call with no Access-Token", - "input": { - "destination": { - "Config": { - "hashUserProperties": true - } - }, - "message": { - "type": "track", - "userId": "yash001", - "originalTimestamp": "2019-10-14T09:03:17.562Z" - } - }, - "output": { - "error": "Access Token not found" - } - }, - { - "description": "Track call with product details in properties", - "input": { - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "hashUserProperties": true - } - }, - "message": { - "event": "subscribe", - "context": { - "traits": { - "phone": "1234567890", - "email": "random@mail.com" - }, - "channel": "web" - }, - "properties": { - "eventSetId": "7181537436256731137", - "eventId": "1616318632825_352", - "products": [ - { - "price": 8, - "quantity": 2, - "content_type": "product1", - "product_id": "1077218", - "name": "socks", - "category": "Men's cloth" - }, - { - "price": 18, - "quantity": 12, - "content_type": "product2", - "product_id": "1077219", - "name": "socks1", - "category": "Men's cloth1" - } - ] - }, - "type": "track", - "userId": "eventIdn01", - "timestamp": "2023-01-03" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/offline/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event_set_id": "7181537436256731137", - "event": "Subscribe", - "event_id": "1616318632825_352", - "timestamp": "2023-01-03", - "partner_name": "RudderStack", - "context": { - "user": { - "phone_numbers": [ - "c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646" - ], - "emails": ["d9fcca64ec1b250da4261a3f89a8e0f7749c4e0f5a1a918e5397194c8b5a9f16"] - } - }, - "properties": { - "event_channel": "web", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "product1", - "content_id": "1077218", - "content_name": "socks", - "content_category": "Men's cloth" - }, - { - "price": 18, - "quantity": 12, - "content_type": "product2", - "content_id": "1077219", - "content_name": "socks1", - "content_category": "Men's cloth1" - } - ] - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "event_set_id": "7181537436256731137" - } - ] - }, - { - "description": "Track call with email and phone number parameter as an array", - "input": { - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "hashUserProperties": true, - "eventsToStandard": [ - { - "from": "CompletePayment", - "to": "Purchase" - } - ] - } - }, - "message": { - "type": "track", - "event": "CompletePayment", - "sentAt": "2023-03-22T00:02:33.802Z", - "traits": { - "email": [ - "efaaf5c8803af4fbf305d7a110c832673d89ed40983770329092fd04b0ba7900", - "078d6c8e19f24093368d1712d7801970467f59216f7ccc087bf81b91e0e1f68f" - ], - "phone": [ - "c4994d14e724936f1169147dddf1673a09af69b55cc54bc695dbe246bd093b05", - "078d6c8e19f24093368d1712d7801970467f59216f7ccc087bf81b91e0e1f68f" - ] - }, - "userId": "60241286212", - "channel": "sources", - "context": { - "sources": { - "job_id": "2N4WuoNQpGYmCPASUvnV86QyhY4/Syncher", - "version": "v1.20.0", - "job_run_id": "cgd4a063b2fn2e1j0q90", - "task_run_id": "cgd4a063b2fn2e1j0qa0" - } - }, - "recordId": "16322", - "rudderId": "5b4ed73f-69aa-4198-88d1-3d4d509acbf1", - "messageId": "cgd4b663b2fn2e1j8th0", - "timestamp": "2023-03-22T00:02:33.170Z", - "properties": { - "phone": "c4994d14e724936f1169147dddf1673a09af69b55cc54bc695dbe246bd093b05", - "value": 32.839999999999996, - "emails": "[\"efaaf5c8803af4fbf305d7a110c832673d89ed40983770329092fd04b0ba7900\",\"078d6c8e19f24093368d1712d7801970467f59216f7ccc087bf81b91e0e1f68f\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]", - "eventId": "8965fb56-090f-47a5-aa7f-bbab22d9ec90", - "currency": "USD", - "order_id": 60241286212, - "eventSetId": "7211223771099742210", - "event_name": "CompletePayment" - }, - "receivedAt": "2023-03-22T00:02:33.171Z", - "request_ip": "10.7.78.187", - "anonymousId": "60241286212", - "originalTimestamp": "2023-03-22T00:02:33.802Z" - } - }, - "output": [ - { - "body": { - "FORM": {}, - "JSON": { - "context": { - "user": { - "emails": [ - "4dc75b075057df6f6b729e74a9feed1244dcf8ceb7903eaba13203f3268ae4b9", - "77b639edeb3cd6c801ea05176b8acbfa38d5f38490b764cd0c80756d0cf9ec68" - ], - "phone_numbers": [ - "28b7b205c2936d2ded022d2587fb2677a76e560e921b3ad615b739b0238baa5d", - "77b639edeb3cd6c801ea05176b8acbfa38d5f38490b764cd0c80756d0cf9ec68" - ] - } - }, - "event": "Purchase", - "event_id": "8965fb56-090f-47a5-aa7f-bbab22d9ec90", - "event_set_id": "7211223771099742210", - "partner_name": "RudderStack", - "properties": { - "currency": "USD", - "order_id": 60241286212, - "value": 32.839999999999996 - }, - "timestamp": "2023-03-22T00:02:33.170Z" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/offline/track/", - "event_set_id": "7211223771099742210", - "files": {}, - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - } - ] - } -] diff --git a/test/__tests__/data/tiktok_ads_output.json b/test/__tests__/data/tiktok_ads_output.json deleted file mode 100644 index a5ca42e5cb..0000000000 --- a/test/__tests__/data/tiktok_ads_output.json +++ /dev/null @@ -1,1545 +0,0 @@ -[ - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "InitiateCheckout", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "AddToWishlist", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "test_event_code": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "statusCode": 400, - "error": "Event name (product added to wishlist1) is not valid, must be mapped to one of standard events", - "statTags": { - "destination": "tiktok_ads", - "stage": "transform", - "scope": "exception" - } - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "AddToWishlist", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "test_event_code": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "AddToWishlist", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "test_event_code": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "body": { - "FORM": {}, - "JSON": { - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "ip": "13.57.97.131", - "page": { - "referrer": "http://demo.mywebsite.com", - "url": "http://demo.mywebsite.com/purchase" - }, - "user": { - "email": "774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa", - "external_id": "03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4", - "phone_number": "1d96e70d2bf54087e33586457cde2790825bee7b1a3b05d26481cb12ec8e63fd" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "event": "Subscribe", - "event_id": "1616318632825_357", - "partner_name": "RudderStack", - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "properties": { - "contents": [ - { - "content_id": "1077218", - "content_type": "socks", - "price": 8, - "quantity": 2 - }, - { - "content_id": "1197218", - "content_type": "dress", - "price": 30, - "quantity": 1 - } - ], - "currency": "USD", - "value": 46 - }, - "timestamp": "2020-09-17T19:49:27Z" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "files": {}, - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "AddPaymentInfo", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "statusCode": 400, - "error": "Event name is required", - "statTags": { - "destination": "tiktok_ads", - "stage": "transform", - "scope": "exception" - } - }, - { - "statusCode": 400, - "error": "Event type is required", - "statTags": { - "destination": "tiktok_ads", - "stage": "transform", - "scope": "exception" - } - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "AddPaymentInfo", - "event_id": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "SubmitForm", - "event_id": "16163186328257", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "SubmitForm", - "event_id": "16163186328257", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "Contact", - "event_id": "16163186328257", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "statusCode": 400, - "error": "Event type identify is not supported", - "statTags": { - "destination": "tiktok_ads", - "stage": "transform", - "scope": "exception" - } - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "PlaceAnOrder", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "Subscribe", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "test_event_code": "TEST0000000011", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "1b6abcebb79b2208929967160ba291656f3fcd4f00e93b6a846c1e56c0e177c6", - "email": "02e47a94635c1ffd6f6a69fe2c7a92dbfbb9d5e2ebddb54810520b34989b66a7", - "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "Subscribe", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "test_event_code": "TEST0000000011", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "241102c24fa8a642e3d1346a31fbce3dd312563c015ae577a2253cb8652581eb", - "email": "a344da1fac6201ed1c1f20a07e1b55bb896a5ac0abd269c1e9daf1afbbffca3b", - "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "999ATXSfe" - }, - "page": { - "url": "http://rudder.mywebsite.com/purchase", - "referrer": "http://rudder.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "download", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "search", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - { - "statusCode": 400, - "error": "Event name (abc) is not valid, must be mapped to one of standard events", - "statTags": { - "destination": "tiktok_ads", - "stage": "transform", - "scope": "exception" - } - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "download", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "download", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "6080191ec608e10062e9257702cbca694cfe1bfa53944ba5701119d8f8b99ad6", - "email": "774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa", - "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "download", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "6e6c1bb39126b3ecf537e62847909b1372a1a22de9b28d85960e12c78f322035", - "email": "774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa", - "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "content_id": "123", - "content_type": "product_group", - "content_name": "Monopoly", - "price": 14, - "quantity": 1, - "content_category": "Games" - }, - { - "content_id": "345", - "content_type": "product_group", - "content_name": "UNO", - "price": 3.45, - "quantity": 2 - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "currency": "USD", - "value": 46, - "contents": [ - { - "content_type": "product_group", - "content_id": "123", - "content_category": "Games", - "content_name": "Monopoly", - "price": 14, - "quantity": 1 - }, - { - "content_type": "product_group", - "content_id": "345", - "content_category": "Games", - "content_name": "UNO", - "price": 3.45, - "quantity": 2 - } - ] - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "content_category": "Urban", - "status": "processed", - "content_name": "games", - "content_id": "qqw21221341234", - "content_type": "product_group", - "currency": "USD", - "value": 46, - "contents": [ - { - "content_type": "product_group", - "content_id": "123", - "content_category": "Games", - "content_name": "Monopoly", - "price": 14, - "quantity": 1 - }, - { - "content_type": "product_group", - "content_id": "345", - "content_category": "Games", - "content_name": "UNO", - "price": 3.45, - "quantity": 2 - } - ] - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] -] diff --git a/test/__tests__/data/tiktok_ads_router_input.json b/test/__tests__/data/tiktok_ads_router_input.json deleted file mode 100644 index 7ed27e8fcf..0000000000 --- a/test/__tests__/data/tiktok_ads_router_input.json +++ /dev/null @@ -1,439 +0,0 @@ -[ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 5 - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout started", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 1 - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "download", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "search", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 4 - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "1234" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "Product Added to Wishlist", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "+858987675687", - "email": "sample@sample.com" - }, - "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46.0 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 3 - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true - } - } - } -] diff --git a/test/__tests__/data/tiktok_ads_router_output.json b/test/__tests__/data/tiktok_ads_router_output.json deleted file mode 100644 index c13c2b9c13..0000000000 --- a/test/__tests__/data/tiktok_ads_router_output.json +++ /dev/null @@ -1,287 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/batch/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "batch": [ - { - "event": "CompletePayment", - "event_id": "1616318632825_357", - "type": "track", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "email": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - } - }, - { - "event": "InitiateCheckout", - "event_id": "1616318632825_357", - "type": "track", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "ip": "13.57.97.131", - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "email": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "properties": { - "value": 46, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_id": "1077218", - "content_type": "socks" - }, - { - "price": 30, - "quantity": 1, - "content_id": "1197218", - "content_type": "dress" - } - ], - "currency": "USD" - } - }, - { - "event": "Download", - "event_id": "1616318632825_357", - "type": "track", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "ip": "13.57.97.131", - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "email": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "properties": { - "value": 46, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_id": "1077218", - "content_type": "socks" - }, - { - "price": 30, - "quantity": 1, - "content_id": "1197218", - "content_type": "dress" - } - ], - "currency": "USD" - } - }, - { - "event": "Search", - "event_id": "1616318632825_357", - "type": "track", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "ip": "13.57.97.131", - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "email": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc", - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "properties": { - "value": 46, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_id": "1077218", - "content_type": "socks" - }, - { - "price": 30, - "quantity": 1, - "content_id": "1197218", - "content_type": "dress" - } - ], - "currency": "USD" - } - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 5 - }, - { - "jobId": 1 - }, - { - "jobId": 2 - }, - { - "jobId": 4 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - }, - { - "batched": false, - "batchedRequest": [ - { - "body": { - "FORM": {}, - "JSON": { - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "ip": "13.57.97.131", - "page": { - "referrer": "http://demo.mywebsite.com", - "url": "http://demo.mywebsite.com/purchase" - }, - "user": { - "external_id": "03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4", - "phone_number": "4443dd476f2be18201447ef046731c1a715accee4edc5192641a3b4c3ba921c7", - "email": "774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa" - }, - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "event": "AddToWishlist", - "event_id": "1616318632825_357", - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "partner_name": "RudderStack", - "properties": { - "contents": [ - { - "content_id": "1077218", - "content_type": "socks", - "price": 8, - "quantity": 2 - }, - { - "content_id": "1197218", - "content_type": "dress", - "price": 30, - "quantity": 1 - } - ], - "currency": "USD", - "value": 46 - }, - "test_event_code": "sample rudder test_event_code", - "timestamp": "2020-09-17T19:49:27Z" - }, - "JSON_ARRAY": {}, - "XML": {} - }, - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "files": {}, - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "method": "POST", - "params": {}, - "type": "REST", - "version": "1" - } - ], - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true - } - }, - "metadata": [ - { - "jobId": 3 - } - ], - "statusCode": 200 - } -] diff --git a/test/__tests__/data/twitter_ads.json b/test/__tests__/data/twitter_ads.json deleted file mode 100644 index 53c7c19929..0000000000 --- a/test/__tests__/data/twitter_ads.json +++ /dev/null @@ -1,708 +0,0 @@ -[ - { - "description": "Track - success call", - "input": { - "message": { - "type": "track", - "event": "ABC Searched", - "channel": "web", - "context": { - "source": "test", - "userAgent": "chrome", - "traits": { - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "email": "abc@gmail.com", - "phone": "+1234589947", - "ge": "male", - "db": "19950715", - "lastname": "Rudderlabs", - "firstName": "Test", - "address": { - "city": "Kolkata", - "state": "WB", - "zip": "700114", - "country": "IN" - } - }, - "device": { - "advertisingId": "abc123" - }, - "library": { - "name": "rudder-sdk-ruby-sync", - "version": "1.0.6" - } - }, - "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", - "timestamp": "2020-08-14T05:30:30.118Z", - "properties": { - "conversionTime": "2023-06-01T06:03:08.739Z", - "tax": 2, - "total": 27.5, - "coupon": "hasbros", - "revenue": 48, - "price": 25, - "quantity": 2, - "currency": "USD", - "priceCurrency": "USD", - "conversionId": "213123", - "numberItems": "2323", - "phone": "+919927455678", - "twclid": "543", - "shipping": 3, - "subtotal": 22.5, - "affiliation": "Google Store", - "checkout_id": "fksdjfsdjfisjf9sdfjsd9f", - "email": "abc@ax.com", - "contents": [ - { - "price": "123.3345", - "quantity": "12", - "id": "12" - }, - { - "price": 200, - "quantity": 11, - "id": "4" - } - ] - }, - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "integrations": { - "All": true - } - }, - "metadata": { - "secret": { - "consumerKey": "qwe", - "consumerSecret": "fdghv", - "accessToken": "dummyAccessToken", - "accessTokenSecret": "testAccessTokenSecret" - } - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK", - "twitterAdsEventNames": [ - { - "rudderEventName": "ABC Searched", - "twitterEventId": "tw-234234324234" - }, - { - "rudderEventName": "Home Page Viewed", - "twitterEventId": "tw-odt2o-odt2q" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ads-api.twitter.com/12/measurement/conversions/dummyPixelId", - "headers": { - "Authorization": "OAuth oauth_consumer_key=\"qwe\", oauth_nonce=\"V1kMh028kZLLhfeYozuL0B45Pcx6LvuW\", oauth_signature=\"Di4cuoGv4PnCMMEeqfWTcqhvdwc%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1685603652\", oauth_token=\"dummyAccessToken\", oauth_version=\"1.0\"", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "conversions": [ - { - "number_items": 2, - "price_currency": "USD", - "value": "25", - "conversion_id": "213123", - "contents": [ - { - "content_price": 123.3345, - "num_items": 12, - "content_id": "12" - }, - { - "content_price": 200.0, - "num_items": 11, - "content_id": "4" - } - ], - "event_id": "tw-234234324234", - "conversion_time": "2023-06-01T06:03:08.739Z", - "identifiers": [ - { - "hashed_email": "4c3c8a8cba2f3bb1e9e617301f85d1f68e816a01c7b716f482f2ab9adb8181fb" - }, - { - "hashed_phone_number": "b308962b96b40cce7981493a372db9478edae79f83c2d8ca6cd15a39566f8c56" - }, - { - "twclid": "543" - } - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track - validation fail call", - "input": { - "message": { - "type": "track", - "event": "Home Page Viewed", - "channel": "web", - "context": { - "source": "test", - "userAgent": "chrome", - "traits": { - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "email": "abc@gmail.com", - "phone": "+1234589947", - "ge": "male", - "db": "19950715", - "lastname": "Rudderlabs", - "firstName": "Test", - "address": { - "city": "Kolkata", - "state": "WB", - "zip": "700114", - "country": "IN" - } - }, - "device": { - "advertisingId": "abc123" - }, - "library": { - "name": "rudder-sdk-ruby-sync", - "version": "1.0.6" - } - }, - "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", - "timestamp": "2020-08-14T05:30:30.118Z", - "properties": { - "conversionTime": "2023-06-01T06:03:08.739Z", - "eventId": "429047995", - "tax": 2, - "total": 27.5, - "coupon": "hasbros", - "revenue": 48, - "price": 25, - "quantity": 2, - "currency": "USD", - "priceCurrency": "USD", - "conversionId": "213123", - "numberItems": "2323", - "shipping": 3, - "subtotal": 22.5, - "affiliation": "Google Store", - "checkout_id": "fksdjfsdjfisjf9sdfjsd9f" - }, - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "integrations": { - "All": true - } - }, - "metadata": { - "secret": { - "consumerKey": "qwe", - "consumerSecret": "fdghv", - "accessToken": "dummyAccessToken", - "accessTokenSecret": "testAccessTokenSecret" - } - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK", - "twitterAdsEventNames": [ - { - "rudderEventName": "ABC Searched", - "twitterEventId": "tw-234234324234" - }, - { - "rudderEventName": "Home Page Viewed", - "twitterEventId": "tw-2dfsdf" - } - ] - } - } - }, - "output": { - "statusCode": 400, - "error": "[TWITTER ADS]: one of twclid, phone or email must be present in properties.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "TWITTER_ADS", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - }, - { - "description": "Track - pixelId from payload call", - "input": { - "message": { - "type": "track", - "event": "Home Page Viewed", - "channel": "web", - "context": { - "source": "test", - "userAgent": "chrome", - "traits": { - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "email": "abc@gmail.com", - "phone": "+1234589947", - "ge": "male", - "db": "19950715", - "lastname": "Rudderlabs", - "firstName": "Test", - "address": { - "city": "Kolkata", - "state": "WB", - "zip": "700114", - "country": "IN" - } - }, - "device": { - "advertisingId": "abc123" - }, - "library": { - "name": "rudder-sdk-ruby-sync", - "version": "1.0.6" - } - }, - "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", - "timestamp": "2020-08-14T05:30:30.118Z", - "properties": { - "pixelId": "dummyPixelId", - "conversionTime": "2023-06-01T06:03:08.739Z", - "eventId": "429047995", - "tax": 2, - "total": 27.5, - "coupon": "hasbros", - "revenue": 48, - "price": 25.55, - "quantity": 2, - "currency": "USD", - "priceCurrency": "USD", - "conversionId": "213123", - "numberItems": "2323", - "phone": "+919927455678", - "twclid": "543", - "shipping": 3, - "subtotal": 22.5, - "affiliation": "Google Store", - "checkout_id": "fksdjfsdjfisjf9sdfjsd9f", - "email": "abc@ax.com" - }, - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "integrations": { - "All": true - } - }, - "metadata": { - "secret": { - "consumerKey": "qwe", - "consumerSecret": "fdghv", - "accessToken": "dummyAccessToken", - "accessTokenSecret": "testAccessTokenSecret" - } - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK", - "twitterAdsEventNames": [ - { - "rudderEventName": "ABC Searched", - "twitterEventId": "tw-234234324234" - }, - { - "rudderEventName": "Home Page Viewed", - "twitterEventId": "tw-324fdsf" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ads-api.twitter.com/12/measurement/conversions/dummyPixelId", - "headers": { - "Authorization": "OAuth oauth_consumer_key=\"qwe\", oauth_nonce=\"V1kMh028kZLLhfeYozuL0B45Pcx6LvuW\", oauth_signature=\"Di4cuoGv4PnCMMEeqfWTcqhvdwc%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1685603652\", oauth_token=\"dummyAccessToken\", oauth_version=\"1.0\"", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "conversions": [ - { - "number_items": 2, - "price_currency": "USD", - "value": "25.55", - "conversion_id": "213123", - "event_id": "429047995", - "conversion_time": "2023-06-01T06:03:08.739Z", - "identifiers": [ - { - "hashed_email": "4c3c8a8cba2f3bb1e9e617301f85d1f68e816a01c7b716f482f2ab9adb8181fb" - }, - { - "hashed_phone_number": "b308962b96b40cce7981493a372db9478edae79f83c2d8ca6cd15a39566f8c56" - }, - { - "twclid": "543" - } - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track - event name with no corresponding eventId", - "input": { - "message": { - "type": "track", - "event": "Home Page", - "channel": "web", - "context": { - "source": "test", - "userAgent": "chrome", - "traits": { - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "email": "abc@gmail.com", - "phone": "+1234589947", - "ge": "male", - "db": "19950715", - "lastname": "Rudderlabs", - "firstName": "Test", - "address": { - "city": "Kolkata", - "state": "WB", - "zip": "700114", - "country": "IN" - } - }, - "device": { - "advertisingId": "abc123" - }, - "library": { - "name": "rudder-sdk-ruby-sync", - "version": "1.0.6" - } - }, - "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", - "timestamp": "2020-08-14T05:30:30.118Z", - "properties": { - "pixelId": "dummyPixelId", - "conversionTime": "2023-06-01T06:03:08.739Z", - "tax": 2, - "total": 27.5, - "coupon": "hasbros", - "revenue": 48, - "price": 25, - "quantity": 2, - "currency": "USD", - "priceCurrency": "USD", - "conversionId": "213123", - "numberItems": "2323", - "phone": "+919927455678", - "twclid": "543", - "shipping": 3, - "subtotal": 22.5, - "affiliation": "Google Store", - "checkout_id": "fksdjfsdjfisjf9sdfjsd9f", - "email": "abc@ax.com" - }, - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "integrations": { - "All": true - } - }, - "metadata": { - "secret": { - "consumerKey": "qwe", - "consumerSecret": "fdghv", - "accessToken": "dummyAccessToken", - "accessTokenSecret": "testAccessTokenSecret" - } - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK", - "twitterAdsEventNames": [ - { - "rudderEventName": "ABC Searched", - "twitterEventId": "tw-234234324234" - }, - { - "rudderEventName": "Home Page Viewed", - "twitterEventId": "tw-324fdsf" - } - ] - } - } - }, - "output": { - "statusCode": 400, - "error": "[TWITTER ADS]: Event - 'Home Page' do not have a corresponding eventId in configuration. Aborting" - } - }, - { - "description": "Track - event name with no corresponding eventId", - "input": { - "message": { - "type": "track", - "event": "Home Page", - "channel": "web", - "context": { - "source": "test", - "userAgent": "chrome", - "traits": { - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "email": "abc@gmail.com", - "phone": "+1234589947", - "ge": "male", - "db": "19950715", - "lastname": "Rudderlabs", - "firstName": "Test", - "address": { - "city": "Kolkata", - "state": "WB", - "zip": "700114", - "country": "IN" - } - }, - "device": { - "advertisingId": "abc123" - }, - "library": { - "name": "rudder-sdk-ruby-sync", - "version": "1.0.6" - } - }, - "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", - "timestamp": "2020-08-14T05:30:30.118Z", - "properties": { - "pixelId": "dummyPixelId", - "conversionTime": "2023-06-01T06:03:08.739Z", - "tax": 2, - "total": 27.5, - "coupon": "hasbros", - "revenue": 48, - "price": 25, - "quantity": 2, - "currency": "USD", - "priceCurrency": "USD", - "conversionId": "213123", - "numberItems": "2323", - "phone": "+919927455678", - "twclid": "543", - "shipping": 3, - "subtotal": 22.5, - "affiliation": "Google Store", - "checkout_id": "fksdjfsdjfisjf9sdfjsd9f", - "email": "abc@ax.com" - }, - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "integrations": { - "All": true - } - }, - "metadata": { - "secret": { - "consumerKey": "qwe", - "consumerSecret": "fdghv", - "accessToken": "dummyAccessToken", - "accessTokenSecret": "testAccessTokenSecret" - } - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK", - "twitterAdsEventNames": [ - { - "rudderEventName": " ", - "twitterEventId": "tw-324fdsf" - }, - { - "rudderEventName": "Home Page Viewed", - "twitterEventId": "tw-324fdsf" - } - ] - } - } - }, - "output": { - "statusCode": 400, - "error": "[TWITTER ADS]: Event - 'Home Page' do not have a corresponding eventId in configuration. Aborting" - } - }, - { - "description": "Track - success call", - "input": { - "message": { - "type": "track", - "event": "Home Page Viewed", - "channel": "web", - "context": { - "source": "test", - "userAgent": "chrome", - "traits": { - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "email": "abc@gmail.com", - "phone": "+1234589947", - "ge": "male", - "db": "19950715", - "lastname": "Rudderlabs", - "firstName": "Test", - "address": { - "city": "Kolkata", - "state": "WB", - "zip": "700114", - "country": "IN" - } - }, - "device": { - "advertisingId": "abc123" - }, - "library": { - "name": "rudder-sdk-ruby-sync", - "version": "1.0.6" - } - }, - "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", - "timestamp": "2020-08-14T05:30:30.118Z", - "properties": { - "conversionTime": "2023-06-01T06:03:08.739Z", - "tax": 2, - "total": 27.5, - "coupon": "hasbros", - "revenue": 48, - "price": 25, - "quantity": 2, - "currency": "USD", - "priceCurrency": "USD", - "conversionId": "213123", - "numberItems": "2323", - "phone": "+919927455678", - "twclid": "543", - "shipping": 3, - "subtotal": 22.5, - "affiliation": "Google Store", - "checkout_id": "fksdjfsdjfisjf9sdfjsd9f", - "email": "abc@ax.com", - "contents": [ - { - "price": "123.3345", - "quantity": "12", - "id": "12" - }, - { - "price": 200, - "quantity": 11, - "id": "4" - } - ] - }, - "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", - "integrations": { - "All": true - } - }, - "metadata": { - "secret": { - "consumerKey": "qwe", - "consumerSecret": "fdghv", - "accessToken": "dummyAccessToken", - "accessTokenSecret": "testAccessTokenSecret" - } - }, - "destination": { - "Config": { - "pixelId": "dummyPixelId", - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK", - "twitterAdsEventNames": [ - { - "rudderEventName": "ABC Searched", - "twitterEventId": "tw-234234324234" - }, - { - "rudderEventName": "Home Page Viewed", - "twitterEventId": "tw-odt2o-odt2q" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://ads-api.twitter.com/12/measurement/conversions/dummyPixelId", - "headers": { - "Authorization": "OAuth oauth_consumer_key=\"qwe\", oauth_nonce=\"V1kMh028kZLLhfeYozuL0B45Pcx6LvuW\", oauth_signature=\"Di4cuoGv4PnCMMEeqfWTcqhvdwc%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1685603652\", oauth_token=\"dummyAccessToken\", oauth_version=\"1.0\"", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "conversions": [ - { - "number_items": 2, - "price_currency": "USD", - "value": "25", - "conversion_id": "213123", - "contents": [ - { - "content_price": 123.3345, - "num_items": 12, - "content_id": "12" - }, - { - "content_price": 200.0, - "num_items": 11, - "content_id": "4" - } - ], - "event_id": "tw-odt2o-odt2q", - "conversion_time": "2023-06-01T06:03:08.739Z", - "identifiers": [ - { - "hashed_email": "4c3c8a8cba2f3bb1e9e617301f85d1f68e816a01c7b716f482f2ab9adb8181fb" - }, - { - "hashed_phone_number": "b308962b96b40cce7981493a372db9478edae79f83c2d8ca6cd15a39566f8c56" - }, - { - "twclid": "543" - } - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } -] diff --git a/test/__tests__/data/variance_input.json b/test/__tests__/data/variance_input.json deleted file mode 100644 index bb95160e9c..0000000000 --- a/test/__tests__/data/variance_input.json +++ /dev/null @@ -1,410 +0,0 @@ -[ - { - "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": "spin_result", - "integrations": { - "All": 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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "sentAt": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "webhookUrl": "http://6b0e6a60.ngrok.io", - "authHeader": "Basic MVA4dUtGOF=" - } - } - }, - { - "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": "spin_result", - "integrations": { - "All": 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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "sentAt": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "webhookUrl": "https://6b0e6a60.ngrok.io/n" - } - } - }, - { - "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": "spin_result", - "integrations": { - "All": 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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "sentAt": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "user_properties": { - "coin_balance": 9466052, - "current_module_name": "CasinoGameModule", - "fb_profile": "0", - "game_fps": 30, - "game_name": "FireEagleSlots", - "gem_balance": 0, - "graphicsQuality": "HD", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "internetReachability": "ReachableViaLocalAreaNetwork", - "isLowEndDevice": false, - "level": 6, - "lifetime_gem_balance": 0, - "player_total_battles": 0, - "player_total_shields": 0, - "start_date": "2019-08-01", - "total_payments": 0, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2 - } - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "webhookUrl": "https://6b0e6a60." - } - } - }, - { - "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": "spin_result", - "integrations": { - "All": 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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "sentAt": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "request_ip": "127.0.0.1" - }, - "destination": { - "DestinationDefinition": { - "Config": { - "cdkEnabled": true - } - }, - "Config": { - "webhookUrl": "http://6b0e6a60.ngrok.io", - "header": [ - { - "from": "test1", - "to": "value1" - }, - { - "from": "test2", - "to": "value2" - } - ] - } - } - } -] diff --git a/test/__tests__/data/variance_output.json b/test/__tests__/data/variance_output.json deleted file mode 100644 index 2295fdbe7b..0000000000 --- a/test/__tests__/data/variance_output.json +++ /dev/null @@ -1,421 +0,0 @@ -[ - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "sentAt": "2019-09-01T15:46:51.693229+05:30", - "user_properties": { - "total_payments": 0, - "internetReachability": "ReachableViaLocalAreaNetwork", - "level": 6, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "coin_balance": 9466052, - "player_total_shields": 0, - "isLowEndDevice": false, - "game_fps": 30, - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "graphicsQuality": "HD", - "current_module_name": "CasinoGameModule", - "player_total_battles": 0, - "lifetime_gem_balance": 0, - "gem_balance": 0, - "fb_profile": "0", - "start_date": "2019-08-01", - "versionSessionCount": 2, - "game_name": "FireEagleSlots" - }, - "integrations": { - "All": true - }, - "event": "spin_result", - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "model": "Redmi 6", - "manufacturer": "Xiaomi", - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "name": "xiaomi" - }, - "traits": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "address": { - "city": "Dhaka", - "country": "Bangladesh" - } - }, - "os": { - "version": "8.1.0", - "name": "android" - }, - "network": { - "carrier": "Banglalink" - } - }, - "type": "track", - "properties": { - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "jackpot_win_type": "Silver", - "coin_balance": 9466052, - "bet_level": 1, - "ishighroller": "False", - "tournament_id": "T1561970819", - "battle_id": "N/A", - "bet_amount": 9, - "fb_profile": "0", - "player_total_shields": 0, - "is_turbo": "False", - "player_total_battles": 0, - "bet_multiplier": 1, - "start_date": "2019-08-01", - "versionSessionCount": 2, - "graphicsQuality": "HD", - "is_auto_spin": "False", - "days_in_game": 0, - "additional_bet_index": 0, - "isLowEndDevice": "False", - "game_fps": 30, - "extra_param": "N/A", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "current_module_name": "CasinoGameModule", - "game_id": "fireEagleBase", - "featureGameType": "N/A", - "gem_balance": 0, - "internetReachability": "ReachableViaLocalAreaNetwork", - "total_payments": 0, - "level": 6, - "win_amount": 0, - "no_of_spin": 1, - "game_name": "FireEagleSlots", - "jackpot_win_amount": 90, - "lifetime_gem_balance": 0, - "isf": "False" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "http://6b0e6a60.ngrok.io", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "content-type": "application/json", - "authorization": "Basic MVA4dUtGOF=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "sentAt": "2019-09-01T15:46:51.693229+05:30", - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "user_properties": { - "total_payments": 0, - "internetReachability": "ReachableViaLocalAreaNetwork", - "level": 6, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "coin_balance": 9466052, - "player_total_shields": 0, - "isLowEndDevice": false, - "game_fps": 30, - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "graphicsQuality": "HD", - "current_module_name": "CasinoGameModule", - "player_total_battles": 0, - "lifetime_gem_balance": 0, - "gem_balance": 0, - "fb_profile": "0", - "start_date": "2019-08-01", - "versionSessionCount": 2, - "game_name": "FireEagleSlots" - }, - "integrations": { - "All": true - }, - "event": "spin_result", - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "model": "Redmi 6", - "manufacturer": "Xiaomi", - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "name": "xiaomi" - }, - "traits": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "address": { - "city": "Dhaka", - "country": "Bangladesh" - } - }, - "os": { - "version": "8.1.0", - "name": "android" - }, - "network": { - "carrier": "Banglalink" - } - }, - "type": "track", - "properties": { - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "jackpot_win_type": "Silver", - "coin_balance": 9466052, - "bet_level": 1, - "ishighroller": "False", - "tournament_id": "T1561970819", - "battle_id": "N/A", - "bet_amount": 9, - "fb_profile": "0", - "player_total_shields": 0, - "is_turbo": "False", - "player_total_battles": 0, - "bet_multiplier": 1, - "start_date": "2019-08-01", - "versionSessionCount": 2, - "graphicsQuality": "HD", - "is_auto_spin": "False", - "days_in_game": 0, - "additional_bet_index": 0, - "isLowEndDevice": "False", - "game_fps": 30, - "extra_param": "N/A", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "current_module_name": "CasinoGameModule", - "game_id": "fireEagleBase", - "featureGameType": "N/A", - "gem_balance": 0, - "internetReachability": "ReachableViaLocalAreaNetwork", - "total_payments": 0, - "level": 6, - "win_amount": 0, - "no_of_spin": 1, - "game_name": "FireEagleSlots", - "jackpot_win_amount": 90, - "lifetime_gem_balance": 0, - "isf": "False" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://6b0e6a60.ngrok.io/n", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "content-type": "application/json" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "sentAt": "2019-09-01T15:46:51.693229+05:30", - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "user_properties": { - "total_payments": 0, - "internetReachability": "ReachableViaLocalAreaNetwork", - "level": 6, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "coin_balance": 9466052, - "player_total_shields": 0, - "isLowEndDevice": false, - "game_fps": 30, - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "graphicsQuality": "HD", - "current_module_name": "CasinoGameModule", - "player_total_battles": 0, - "lifetime_gem_balance": 0, - "gem_balance": 0, - "fb_profile": "0", - "start_date": "2019-08-01", - "versionSessionCount": 2, - "game_name": "FireEagleSlots" - }, - "integrations": { - "All": true - }, - "event": "spin_result", - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "context": { - "device": { - "model": "Redmi 6", - "manufacturer": "Xiaomi", - "id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", - "name": "xiaomi" - }, - "traits": { - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "address": { - "city": "Dhaka", - "country": "Bangladesh" - } - }, - "os": { - "version": "8.1.0", - "name": "android" - }, - "network": { - "carrier": "Banglalink" - } - }, - "type": "track", - "properties": { - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "jackpot_win_type": "Silver", - "coin_balance": 9466052, - "bet_level": 1, - "ishighroller": "False", - "tournament_id": "T1561970819", - "battle_id": "N/A", - "bet_amount": 9, - "fb_profile": "0", - "player_total_shields": 0, - "is_turbo": "False", - "player_total_battles": 0, - "bet_multiplier": 1, - "start_date": "2019-08-01", - "versionSessionCount": 2, - "graphicsQuality": "HD", - "is_auto_spin": "False", - "days_in_game": 0, - "additional_bet_index": 0, - "isLowEndDevice": "False", - "game_fps": 30, - "extra_param": "N/A", - "idfa": "2bf99787-33d2-4ae2-a76a-c49672f97252", - "current_module_name": "CasinoGameModule", - "game_id": "fireEagleBase", - "featureGameType": "N/A", - "gem_balance": 0, - "internetReachability": "ReachableViaLocalAreaNetwork", - "total_payments": 0, - "level": 6, - "win_amount": 0, - "no_of_spin": 1, - "game_name": "FireEagleSlots", - "jackpot_win_amount": 90, - "lifetime_gem_balance": 0, - "isf": "False" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://6b0e6a60.", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "content-type": "application/json" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "http://6b0e6a60.ngrok.io", - "headers": { - "content-type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "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" - }, - "ip": "127.0.0.1" - }, - "event": "spin_result", - "integrations": { - "All": 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", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "versionSessionCount": 2, - "win_amount": 0 - }, - "timestamp": "2019-09-01T15:46:51.693229+05:30", - "originalTimestamp": "2019-09-01T15:46:51.693229+05:30", - "sentAt": "2019-09-01T15:46:51.693229+05:30", - "type": "track", - "request_ip": "127.0.0.1" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" - } -] diff --git a/test/__tests__/data/vero.json b/test/__tests__/data/vero.json deleted file mode 100644 index 7a524a7da0..0000000000 --- a/test/__tests__/data/vero.json +++ /dev/null @@ -1,559 +0,0 @@ -[ - { - "description": "Identify Call with userId only", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "context": { - "traits": { - "homwTown": "kanpur", - "age": "24" - } - }, - "type": "Identify", - "userId": "yash001", - "originalTimestamp": "2019-10-14T09:03:17.562Z" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/users/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "id": "yash001", - "data": { - "homwTown": "kanpur", - "age": "24" - }, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Identify Call with both userId and email", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "context": { - "traits": { - "email": "user1001@tech.com" - } - }, - "type": "Identify", - "userId": "user1001" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/users/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "id": "user1001", - "email": "user1001@tech.com", - "data": {}, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Identify Call with anonymousId and email only", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "context": { - "traits": { - "email": "user1002@tech.com" - } - }, - "type": "Identify", - "anonymousId": "b4ffheww8eisndbdjgdewifewfgerwibderv" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/users/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "id": "b4ffheww8eisndbdjgdewifewfgerwibderv", - "email": "user1002@tech.com", - "data": {}, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Add tags in identify call", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "context": { - "traits": { - "address": "Caravela Beach Goa", - "homwTown": "Mawsynram", - "email": "user1005@tech.com" - } - }, - "integrations": { - "vero": { - "tags": { - "add": ["a", "b"] - } - } - }, - "type": "Identify", - "userId": "fprediruser001" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/users/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "id": "fprediruser001", - "email": "user1005@tech.com", - "data": { - "address": "Caravela Beach Goa", - "homwTown": "Mawsynram" - }, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://api.getvero.com/api/v2/users/tags/edit", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "auth_token": "testAuthToken", - "id": "fprediruser001", - "add": ["a", "b"] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Track Call with nonexistent userId- Creates new user with event", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "event": "Random event with nonexisting userId and email", - "properties": { - "movieWatched": 3, - "gamesPlayed": 4, - "email": "eventIdn01@sample.com" - }, - "type": "track", - "userId": "eventIdn01" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/events/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "identity": { - "id": "eventIdn01", - "email": "eventIdn01@sample.com" - }, - "event_name": "Random event with nonexisting userId and email", - "data": { - "movieWatched": 3, - "gamesPlayed": 4, - "email": "eventIdn01@sample.com" - }, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Track Call with already existing userId and removing tags", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "event": "Random event with existing userId and some tags removed", - "properties": { - "movieWatched": 3, - "gamesPlayed": 4, - "email": "eventIdn01@sample.com" - }, - "integrations": { - "Vero": { - "tags": { - "remove": ["a"] - } - } - }, - "type": "track", - "userId": "fprediruser001" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/events/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "identity": { - "id": "fprediruser001", - "email": "eventIdn01@sample.com" - }, - "event_name": "Random event with existing userId and some tags removed", - "data": { - "movieWatched": 3, - "gamesPlayed": 4, - "email": "eventIdn01@sample.com" - }, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://api.getvero.com/api/v2/users/tags/edit", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "auth_token": "testAuthToken", - "id": "fprediruser001", - "remove": ["a"] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Alias Call - Merge two user profiles", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "type": "alias", - "userId": "sample101", - "previousId": "newsamplel01" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://api.getvero.com/api/v2/users/reidentify", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "new_id": "sample101", - "id": "newsamplel01", - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Identify Call with valid channels", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "context": { - "traits": { - "email": "user1001@tech.com" - }, - "os": { - "name": "android" - }, - "device": { - "token": "qwertyuioiuytrewwertyu", - "name": "Mi" - } - }, - "type": "Identify", - "userId": "user1001" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/users/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "id": "user1001", - "email": "user1001@tech.com", - "channels": { - "platform": "android", - "address": "qwertyuioiuytrewwertyu", - "device": "Mi", - "type": "push" - }, - "data": {}, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Identify Call with invalid channels", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "context": { - "traits": { - "email": "user1001@tech.com" - }, - "device": { - "token": "qwertyuioiuytrewwertyu", - "name": "Mi" - } - }, - "type": "Identify", - "userId": "user1001" - } - }, - "output": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/users/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "id": "user1001", - "email": "user1001@tech.com", - "data": {}, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ] - }, - { - "description": "Track Call to unsubscribe a userId", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "event": "unsubscribe", - "type": "track", - "userId": "eventIdn01" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/users/unsubscribe", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "id": "eventIdn01", - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Page Call with an existing userID", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "name": "Rudderstack", - "properties": { - "title": "rudderstack", - "path": "/" - }, - "type": "page", - "userId": "eventIdn01" - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/events/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "identity": { - "id": "eventIdn01" - }, - "event_name": "Viewed Rudderstack Page", - "data": { - "title": "rudderstack", - "path": "/" - }, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Error flow - message type not supported", - "input": { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "message": { - "groupId": "1234", - "traits": { - "name": "MyGroup", - "industry": "IT", - "employees": 450, - "plan": "basic" - }, - "type": "group", - "userId": "eventIdn01" - } - }, - "output": { - "error": "Event type group is not supported" - } - } -] diff --git a/test/__tests__/data/vero_router_input.json b/test/__tests__/data/vero_router_input.json deleted file mode 100644 index 749ea11dfd..0000000000 --- a/test/__tests__/data/vero_router_input.json +++ /dev/null @@ -1,88 +0,0 @@ -[ - { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "metadata": { - "jobId": 1 - }, - "message": { - "context": { - "traits": { - "email": "user001@tech.com" - } - }, - "type": "Identify", - "userId": "user001" - } - }, - { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "metadata": { - "jobId": 2 - }, - "message": { - "context": { - "traits": { - "email": "user002@tech.com" - } - }, - "type": "Identify", - "anonymousId": "b4ffheww8eisndbdjgdewifewfgerwibderv" - } - }, - { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "metadata": { - "jobId": 3 - }, - "message": { - "context": { - "traits": { - "address": "Caravela Beach Goa", - "homwTown": "Mawsynram", - "email": "user005@tech.com" - } - }, - "integrations": { - "vero": { - "tags": { - "add": ["a", "b"] - } - } - }, - "type": "Identify", - "userId": "fprediruser001" - } - }, - { - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "metadata": { - "jobId": 4 - }, - "message": { - "event": "Random event with nonexisting userId and email", - "properties": { - "movieWatched": 3, - "gamesPlayed": 4, - "email": "eventIdn02@sample.com" - }, - "type": "track", - "userId": "eventIdn01" - } - } -] diff --git a/test/__tests__/data/vero_router_output.json b/test/__tests__/data/vero_router_output.json deleted file mode 100644 index 293b351251..0000000000 --- a/test/__tests__/data/vero_router_output.json +++ /dev/null @@ -1,175 +0,0 @@ -[ - { - "batched": false, - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/users/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "id": "user001", - "email": "user001@tech.com", - "data": {}, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "metadata": [ - { - "jobId": 1 - } - ], - "statusCode": 200 - }, - { - "batched": false, - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/users/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "id": "b4ffheww8eisndbdjgdewifewfgerwibderv", - "email": "user002@tech.com", - "data": {}, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "metadata": [ - { - "jobId": 2 - } - ], - "statusCode": 200 - }, - { - "batched": false, - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/users/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "id": "fprediruser001", - "email": "user005@tech.com", - "data": { - "address": "Caravela Beach Goa", - "homwTown": "Mawsynram" - }, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://api.getvero.com/api/v2/users/tags/edit", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "auth_token": "testAuthToken", - "id": "fprediruser001", - "add": ["a", "b"] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "metadata": [ - { - "jobId": 3 - } - ], - "statusCode": 200 - }, - { - "batched": false, - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getvero.com/api/v2/events/track", - "headers": {}, - "params": {}, - "body": { - "JSON": { - "identity": { - "id": "eventIdn01", - "email": "eventIdn02@sample.com" - }, - "event_name": "Random event with nonexisting userId and email", - "data": { - "movieWatched": 3, - "gamesPlayed": 4, - "email": "eventIdn02@sample.com" - }, - "auth_token": "testAuthToken" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - ], - "destination": { - "Config": { - "authToken": "testAuthToken" - } - }, - "metadata": [ - { - "jobId": 4 - } - ], - "statusCode": 200 - } -] diff --git a/test/__tests__/proxy.test.ts b/test/__tests__/proxy.test.ts deleted file mode 100644 index abccf8dbb4..0000000000 --- a/test/__tests__/proxy.test.ts +++ /dev/null @@ -1,106 +0,0 @@ -const name = 'Proxy'; -import fs, { appendFileSync } from 'fs'; -import path, { join } from 'path'; -import request from 'supertest'; -import { createHttpTerminator } from 'http-terminator'; -import { mockedAxiosClient } from '../__mocks__/network'; -import Koa from 'koa'; -import bodyParser from 'koa-bodyparser'; -import { applicationRoutes } from '../../src/routes'; -import { responses } from '../testHelper'; - -let server: any; -const OLD_ENV = process.env; - -beforeAll(async () => { - process.env = { ...OLD_ENV }; // Make a copy - const app = new Koa(); - app.use( - bodyParser({ - jsonLimit: '200mb', - }), - ); - applicationRoutes(app); - server = app.listen(9090); -}); - -afterAll(async () => { - process.env = OLD_ENV; // Restore old environment - const httpTerminator = createHttpTerminator({ - server, - }); - await httpTerminator.terminate(); -}); - -jest.mock('axios', () => jest.fn(mockedAxiosClient)); - -const version = '1'; -const destinations = [ - 'marketo', - 'braze', - 'facebook_pixel', - 'fb', - 'snapchat_custom_audience', - 'clevertap', - 'salesforce', - 'marketo_static_list', - 'criteo_audience', - 'tiktok_ads', - 'intercom', -]; - -// start of generic tests -const inputDataFile = fs.readFileSync(path.resolve(__dirname, `./data/proxy_input.json`)); -const outputDataFile = fs.readFileSync(path.resolve(__dirname, `./data/proxy_output.json`)); -const inputData = JSON.parse(inputDataFile.toString()); -const expectedData = JSON.parse(outputDataFile.toString()); - -inputData.forEach((input, index) => { - it(`${name} Tests: payload - ${index}`, async () => { - const response = await request(server) - .post(`/${version}/destinations/any/proxy`) - .set('Accept', 'application/json') - .send(input); - expect(response.body).toEqual(expectedData[index]); - }); -}); -// end of generic tests - -// destination tests start -destinations.forEach((destination) => { - const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${destination}_proxy_input.json`), - ); - const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${destination}_proxy_output.json`), - ); - const inputData = JSON.parse(inputDataFile.toString()); - const expectedData = JSON.parse(outputDataFile.toString()); - - describe(`Proxy Test for ${destination}`, () => { - inputData.forEach((input, index) => { - it(`${name} Tests: ${destination} - Payload ${index}`, async () => { - const response = await request(server) - .post(`/${version}/destinations/${destination}/proxy`) - .set('Accept', 'application/json') - .send(input); - expect(response.body).toEqual(expectedData[index]); - }); - }); - afterAll(() => { - if (process.env.GEN_AXIOS_FOR_TESTS === 'true') { - const callsDataStr = responses.join('\n'); - const calls = ` - export const networkCallsData = [ - ${callsDataStr} - ] - `; - appendFileSync( - join(__dirname, '..', 'integrations', 'destinations', destination, 'network.ts'), - calls, - ); - } - }); - }); -}); -// destination tests end diff --git a/test/__tests__/redis.test.js b/test/__tests__/redis.test.js deleted file mode 100644 index be3a1a497f..0000000000 --- a/test/__tests__/redis.test.js +++ /dev/null @@ -1,28 +0,0 @@ -const integration = "redis"; -const name = "Redis"; - -const fs = require("fs"); -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 outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -inputData.forEach((input, index) => { - it(`${name} Tests: payload - ${index}`, () => { - try { - const output = transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); -}); diff --git a/test/__tests__/revenue_cat.test.js b/test/__tests__/revenue_cat.test.js deleted file mode 100644 index 8b4487e764..0000000000 --- a/test/__tests__/revenue_cat.test.js +++ /dev/null @@ -1,33 +0,0 @@ -const integration = "revenue_cat"; -const name = "revenue_cat"; - -const fs = require("fs"); -const path = require("path"); -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test Data -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -describe(`${name} Tests`, () => { - describe("Processor Tests", () => { - inputData.forEach((input, index) => { - it(`${name} - payload: ${index}`, async () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); -}); diff --git a/test/__tests__/salesforce.test.js b/test/__tests__/salesforce.test.js deleted file mode 100644 index 7315017376..0000000000 --- a/test/__tests__/salesforce.test.js +++ /dev/null @@ -1,70 +0,0 @@ -jest.mock("axios"); -const integration = "salesforce"; -const name = "Salesforce"; -const version = "v0"; - -const fs = require("fs"); -const path = require("path"); - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test files -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// Router Test files -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); - -// Router Metadata Test files -const inputRouterMetadataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router_metadata_input.json`) -); -const outputRouterMetadataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router_metadata_output.json`) -); -const inputRouterMetadata = JSON.parse(inputRouterMetadataFile); -const expectedRouterMetadata = JSON.parse(outputRouterMetadataFile); - -describe(`${name} Tests`, () => { - describe("Processor", () => { - inputData.forEach(async (input, index) => { - it(`Payload - ${index}`, async () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); - - describe("Router Metadata Tests", () => { - it("Payload", async () => { - const routerMetadataOutput = await transformer.processMetadataForRouter( - inputRouterMetadata - ); - expect(routerMetadataOutput).toEqual(expectedRouterMetadata); - }); - }); -}); diff --git a/test/__tests__/segment.test.js b/test/__tests__/segment.test.js deleted file mode 100644 index a1f9812f22..0000000000 --- a/test/__tests__/segment.test.js +++ /dev/null @@ -1,33 +0,0 @@ -const integration = "segment"; -const name = "Segment"; - -const fs = require("fs"); -const path = require("path"); -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); -// const { compareJSON } = require("./util"); - -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); - -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -inputData.forEach((input, index) => { - test(`${name} Tests: payload - ${index}`, () => { - let output, expected; - try { - output = transformer.process(input); - expected = expectedData[index]; - } catch (error) { - output = error.message; - expected = expectedData[index].message; - } - expect(output).toEqual(expected); - }); -}); diff --git a/test/__tests__/shynet.test.js b/test/__tests__/shynet.test.js deleted file mode 100644 index b7027d14c3..0000000000 --- a/test/__tests__/shynet.test.js +++ /dev/null @@ -1,29 +0,0 @@ -const integration = "shynet"; -const name = "shynet"; - -const fs = require("fs"); -const path = require("path"); -const version = "v0"; -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test Data -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -describe(`${name} Tests`, () => { - describe("Processor", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - let output = await transformer.process(dataPoint.input); - delete output.body.JSON.idempotency; - expect(output).toEqual(dataPoint.output); - } catch (error) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - }); -}); diff --git a/test/__tests__/slack.test.js b/test/__tests__/slack.test.js deleted file mode 100644 index eec0f4054f..0000000000 --- a/test/__tests__/slack.test.js +++ /dev/null @@ -1,48 +0,0 @@ -const integration = "slack"; -const name = "Slack"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); -// const { compareJSON } = require("./util"); - -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// 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); - -inputData.forEach((input, index) => { - test(`${name} Tests - payload: ${index}`, () => { - try { - const output = transformer.process(input); - expect(output).toEqual([expectedData[index]]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); -}); -describe(`${name} Tests`, () => { - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/snapchat_conversion.test.js b/test/__tests__/snapchat_conversion.test.js deleted file mode 100644 index 17fd363cc7..0000000000 --- a/test/__tests__/snapchat_conversion.test.js +++ /dev/null @@ -1,48 +0,0 @@ -const integration = "snapchat_conversion"; -const name = "Snapchat Conversion"; - -const fs = require("fs"); -const path = require("path"); -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test files -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -// Router Test files -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); - -Date.now = jest.fn(() => new Date("2022-04-22T10:57:58Z")); - -describe(`${name} Tests`, () => { - describe("Processor", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, () => { - try { - const output = transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (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__/snapchat_custom_audience.test.js b/test/__tests__/snapchat_custom_audience.test.js deleted file mode 100644 index 41c4217562..0000000000 --- a/test/__tests__/snapchat_custom_audience.test.js +++ /dev/null @@ -1,51 +0,0 @@ -const integration = "snapchat_custom_audience"; -const name = "Snapchat Custom Audience"; - -const fs = require("fs"); -const path = require("path"); -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test files -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -// Router Test files -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", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - const output = await transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (error) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - }); - describe("Router", () => { - it("Payload", async () => { - try { - const routerOutput = await transformer.processRouterDest( - inputRouterData - ); - expect(routerOutput).toEqual(expectedRouterData); - } catch (error) { - expect(error.message).toEqual(expectedRouterData.error); - } - }); - }); -}); diff --git a/test/__tests__/splitio.test.js b/test/__tests__/splitio.test.js deleted file mode 100644 index d2b226aea3..0000000000 --- a/test/__tests__/splitio.test.js +++ /dev/null @@ -1,7 +0,0 @@ -const { - getDestFromTestFile, - executeTransformationTest -} = require("./utilities/test-utils"); - -executeTransformationTest(getDestFromTestFile(__filename), "processor"); -executeTransformationTest(getDestFromTestFile(__filename), "router"); diff --git a/test/__tests__/statsig-cdk.test.ts b/test/__tests__/statsig-cdk.test.ts deleted file mode 100644 index 79bb3e9fae..0000000000 --- a/test/__tests__/statsig-cdk.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -import fs from 'fs'; -import path from 'path'; -import { processCdkV2Workflow } from '../../src/cdk/v2/handler'; -import tags from '../../src/v0/util/tags'; - -const integration = 'statsig'; -const destName = 'Statsig'; - -const inputDataFile = fs.readFileSync(path.resolve(__dirname, `./data/${integration}_input.json`), { - encoding: 'utf8', -}); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_cdk_output.json`), - { encoding: 'utf8' }, -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -describe(`${destName} Tests`, () => { - describe('Processor Tests', () => { - inputData.forEach((input, index) => { - it(`${destName} - payload: ${index}`, async () => { - const expected = expectedData[index]; - try { - const output = await processCdkV2Workflow(integration, input, tags.FEATURES.PROCESSOR); - expect(output).toEqual(expected); - } catch (error: any) { - expect(error.message).toEqual(expected.error); - } - }); - }); - }); -}); diff --git a/test/__tests__/statsig.test.js b/test/__tests__/statsig.test.js deleted file mode 100644 index b0b36ba187..0000000000 --- a/test/__tests__/statsig.test.js +++ /dev/null @@ -1,3 +0,0 @@ -const { executeTransformationTest } = require("./utilities/test-utils"); - -executeTransformationTest("statsig", "processor"); diff --git a/test/__tests__/tiktok_ads.test.js b/test/__tests__/tiktok_ads.test.js deleted file mode 100644 index 8b61fabf3d..0000000000 --- a/test/__tests__/tiktok_ads.test.js +++ /dev/null @@ -1,50 +0,0 @@ -const integration = "tiktok_ads"; -const name = "TikTok"; - -const fs = require("fs"); -const path = require("path"); -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test files -const inputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_input.json`) -); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`) -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -// Router Test files -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", () => { - inputData.forEach(async (input, index) => { - it(`Payload - ${index}`, async () => { - try { - const output = await transformer.process(input); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - - describe("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/tiktok_ads_offline_events.test.js b/test/__tests__/tiktok_ads_offline_events.test.js deleted file mode 100644 index 849f73befc..0000000000 --- a/test/__tests__/tiktok_ads_offline_events.test.js +++ /dev/null @@ -1,46 +0,0 @@ -const integration = "tiktok_ads_offline_events"; -const name = "TikTok Ads Offline Events"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test Data -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -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", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - const output = await transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (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__/twitter_ads.test.js b/test/__tests__/twitter_ads.test.js deleted file mode 100644 index 08811aad52..0000000000 --- a/test/__tests__/twitter_ads.test.js +++ /dev/null @@ -1,44 +0,0 @@ -const integration = "twitter_ads"; -const name = "twitter_ads"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test Data -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -const testData = JSON.parse(testDataFile); - -const authHeaderConstant = "OAuth oauth_consumer_key=\"qwe\", oauth_nonce=\"V1kMh028kZLLhfeYozuL0B45Pcx6LvuW\", oauth_signature=\"Di4cuoGv4PnCMMEeqfWTcqhvdwc%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1685603652\", oauth_token=\"dummyAccessToken\", oauth_version=\"1.0\""; - -jest.mock("../../src/v0/destinations/twitter_ads/util", () => { - const originalModule = jest.requireActual("../../src/v0/destinations/twitter_ads/util"); - return { - ...originalModule, - getAuthHeaderForRequest: jest.fn(() => { - return { - Authorization: authHeaderConstant - } - }) - } -}) - -describe(`${name} Tests`, () => { - describe("Processor", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - let output = await transformer.process(dataPoint.input); - delete output.body.JSON.idempotency; - expect(output).toEqual(dataPoint.output); - } catch (error) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - }); -}); diff --git a/test/__tests__/variance-cdk.test.ts b/test/__tests__/variance-cdk.test.ts deleted file mode 100644 index 648ddaddbb..0000000000 --- a/test/__tests__/variance-cdk.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -import fs from 'fs'; -import path from 'path'; -import { processCdkV2Workflow } from '../../src/cdk/v2/handler'; -import tags from '../../src/v0/util/tags'; - -const integration = 'variance'; -const destName = 'Variance'; - -const inputDataFile = fs.readFileSync(path.resolve(__dirname, `./data/${integration}_input.json`), { - encoding: 'utf8', -}); -const outputDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_output.json`), - { encoding: 'utf8' }, -); -const inputData = JSON.parse(inputDataFile); -const expectedData = JSON.parse(outputDataFile); - -describe(`${destName} Tests`, () => { - describe('Processor Tests', () => { - inputData.forEach((input, index) => { - it(`${destName} - payload: ${index}`, async () => { - const expected = expectedData[index]; - try { - const output = await processCdkV2Workflow(integration, input, tags.FEATURES.PROCESSOR); - expect(output).toEqual(expected); - } catch (error: any) { - expect(error.message).toEqual(expected.error); - } - }); - }); - }); -}); diff --git a/test/__tests__/variance.test.js b/test/__tests__/variance.test.js deleted file mode 100644 index ac6e247191..0000000000 --- a/test/__tests__/variance.test.js +++ /dev/null @@ -1,3 +0,0 @@ -const { executeTransformationTest } = require("./utilities/test-utils"); - -executeTransformationTest("variance", "processor"); diff --git a/test/__tests__/vero.test.js b/test/__tests__/vero.test.js deleted file mode 100644 index b0b1d130ff..0000000000 --- a/test/__tests__/vero.test.js +++ /dev/null @@ -1,46 +0,0 @@ -const integration = "vero"; -const name = "vero"; - -const fs = require("fs"); -const path = require("path"); - -const version = "v0"; -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// Processor Test Data -const testDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}.json`) -); -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", () => { - testData.forEach((dataPoint, index) => { - it(`${index}. ${integration} - ${dataPoint.description}`, async () => { - try { - const output = await transformer.process(dataPoint.input); - expect(output).toEqual(dataPoint.output); - } catch (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/integrations/component.test.ts b/test/integrations/component.test.ts index 8b2a2ec7bd..847dd4c91f 100644 --- a/test/integrations/component.test.ts +++ b/test/integrations/component.test.ts @@ -73,18 +73,17 @@ afterAll(async () => { } await createHttpTerminator({ server }).terminate(); }); -let mock; +let mockAdapter; if (!opts.generate || opts.generate === 'false') { // unmock already existing axios-mocking - mock = new MockAxiosAdapter(axios, { onNoMatch: 'passthrough' }); + mockAdapter = new MockAxiosAdapter(axios, { onNoMatch: 'throwException' }); const registerAxiosMocks = (axiosMocks: MockHttpCallsData[]) => { - axiosMocks.forEach((axiosMock) => addMock(mock, axiosMock)); + axiosMocks.forEach((axiosMock) => addMock(mockAdapter, axiosMock)); }; // // all the axios requests will be stored in this map const allTestMockDataFilePaths = getAllTestMockDataFilePaths(__dirname, opts.destination); const allAxiosRequests = allTestMockDataFilePaths - .filter((d) => !d.includes('/af/')) .map((currPath) => { const mockNetworkCallsData: MockHttpCallsData[] = getMockHttpCallsData(currPath); return mockNetworkCallsData; @@ -184,7 +183,7 @@ describe.each(allTestDataFilePaths)('%s Tests', (testDataPath) => { } describe(`${testData[0].name} ${testData[0].module}`, () => { test.each(testData)('$feature -> $description', async (tcData) => { - tcData?.mockFns?.(mock); + tcData?.mockFns?.(mockAdapter); switch (tcData.module) { case tags.MODULES.DESTINATION: diff --git a/test/integrations/destinations/algolia/processor/data.ts b/test/integrations/destinations/algolia/processor/data.ts index fa76b6376e..f5c01e47e5 100644 --- a/test/integrations/destinations/algolia/processor/data.ts +++ b/test/integrations/destinations/algolia/processor/data.ts @@ -1,1243 +1,1232 @@ export const data = [ - { - "name": "algolia", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product clicked", - "userId": "testuserId1", - "properties": { - "index": "products", - "filters": [ - "field1:hello", - "val1:val2" - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "cLick " - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "FORM": {}, - "JSON_ARRAY": {}, - "JSON": { - "events": [ - { - "eventName": "product clicked", - "eventType": "click", - "filters": [ - "field1:hello", - "val1:val2" - ], - "index": "products", - "userToken": "testuserId1" - } - ] - }, - "XML": {} - }, - "endpoint": "https://insights.algolia.io/1/events", - "files": {}, - "headers": { - "X-Algolia-API-Key": "dummyApiKey", - "X-Algolia-Application-Id": "O2YARRI15I" - }, - "method": "POST", - "params": {}, - "type": "REST", - "userId": "", - "version": "1" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "algolia", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": 7 - }, - { - "objectId": "9780439784542", - "position": 8 - } - ], - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product list viewed", - "to": "click" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "FORM": {}, - "JSON_ARRAY": {}, - "JSON": { - "events": [ - { - "eventName": "product list viewed", - "eventType": "click", - "objectIDs": [ - "ecommerce-sample-data-919", - "9780439784542" - ], - "positions": [ - 7, - 8 - ], - "index": "products", - "userToken": "testuserId1", - "queryID": "43b15df305339e827f0ac0bdc5ebcaa7" - } - ] - }, - "XML": {} - }, - "endpoint": "https://insights.algolia.io/1/events", - "files": {}, - "headers": { - "X-Algolia-API-Key": "dummyApiKey", - "X-Algolia-Application-Id": "O2YARRI15I" - }, - "method": "POST", - "params": {}, - "type": "REST", - "userId": "", - "version": "1" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "algolia", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product clicked", - "userId": "testuserId1", - "properties": { - "eventType": "click", - "index": "products", - "queryId": "43b15df305339e827f0ac0bdc5ebcaa8" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "Either filters or objectIds is required.", - "statTags": { - "destType": "ALGOLIA", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "algolia", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "testuserId1", - "event": "product clicked", - "properties": { - "index": "products", - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "eventType is mandatory for track call", - "statTags": { - "destType": "ALGOLIA", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "algolia", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": 7 - }, - { - "objectId": "9780439784542", - "position": 8 - } - ], - "queryId": "" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product list viewed", - "to": "click" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "for click eventType either both positions and queryId should be present or none", - "statTags": { - "destType": "ALGOLIA", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "algolia", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": 7 - }, - { - "objectId": "9780439784542", - "position": 8 - } - ], - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product list viewed", - "to": "view" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "FORM": {}, - "JSON_ARRAY": {}, - "JSON": { - "events": [ - { - "eventName": "product list viewed", - "eventType": "view", - "index": "products", - "objectIDs": [ - "ecommerce-sample-data-919", - "9780439784542" - ], - "userToken": "testuserId1", - "queryID": "43b15df305339e827f0ac0bdc5ebcaa7" - } - ] - }, - "XML": {} - }, - "endpoint": "https://insights.algolia.io/1/events", - "files": {}, - "headers": { - "X-Algolia-API-Key": "dummyApiKey", - "X-Algolia-Application-Id": "O2YARRI15I" - }, - "method": "POST", - "params": {}, - "type": "REST", - "userId": "", - "version": "1" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "algolia", - "description": "Test 6", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": "7" - }, - { - "objectId": "9780439784542", - "position": "a" - } - ], - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product list viewed", - "to": "click" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "for click eventType either both positions and queryId should be present or none", - "statTags": { - "destType": "ALGOLIA", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "algolia", - "description": "Test 7", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": "7" - }, - { - "objectId": "9780439784542", - "position": "a" - } - ], - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product list viewed", - "to": "check" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "eventType can be either click, view or conversion", - "statTags": { - "destType": "ALGOLIA", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "algolia", - "description": "Test 8", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product list viewed", - "userId": "testuserId1", - "properties": { - "index": "products", - "products": [ - { - "objectId": "ecommerce-sample-data-919", - "position": "7" - }, - { - "objectId": "9780439784542", - "position": "a" - } - ], - "queryId": "43b15df305339e827f0ac0bdc5ebcaa7" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "eventType is mandatory for track call", - "statTags": { - "destType": "ALGOLIA", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "algolia", - "description": "Test 9", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": "product clicked", - "userId": "testuserId1", - "properties": { - "filters": [ - "field1:hello", - "val1:val2" - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "cLick " - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "Missing required value from \"properties.index\"", - "statTags": { - "destType": "ALGOLIA", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "algolia", - "description": "Test 10", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "testone@gmail.com", - "firstName": "test", - "lastName": "one" - }, - "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 - }, - "page": { - "path": "/destinations/ometria", - "referrer": "", - "search": "", - "title": "", - "url": "https://docs.rudderstack.com/destinations/ometria", - "category": "destination", - "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com" - } - }, - "type": "track", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "event": [ - "abc", - "def" - ], - "userId": "testuserId1", - "properties": { - "filters": [ - "field1:hello", - "val1:val2" - ] - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "applicationId": "O2YARRI15I", - "eventTypeSettings": [ - { - "from": "product clicked", - "to": "cLick " - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "event name should be a string", - "statTags": { - "destType": "ALGOLIA", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'algolia', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'product clicked', + userId: 'testuserId1', + properties: { + index: 'products', + filters: ['field1:hello', 'val1:val2'], + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [ + { + from: 'product clicked', + to: 'cLick ', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + FORM: {}, + JSON_ARRAY: {}, + JSON: { + events: [ + { + eventName: 'product clicked', + eventType: 'click', + filters: ['field1:hello', 'val1:val2'], + index: 'products', + userToken: 'testuserId1', + }, + ], + }, + XML: {}, + }, + endpoint: 'https://insights.algolia.io/1/events', + files: {}, + headers: { + 'X-Algolia-API-Key': 'dummyApiKey', + 'X-Algolia-Application-Id': 'O2YARRI15I', + }, + method: 'POST', + params: {}, + type: 'REST', + userId: '', + version: '1', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'algolia', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'product list viewed', + userId: 'testuserId1', + properties: { + index: 'products', + products: [ + { + objectId: 'ecommerce-sample-data-919', + position: 7, + }, + { + objectId: '9780439784542', + position: 8, + }, + ], + queryId: '43b15df305339e827f0ac0bdc5ebcaa7', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [ + { + from: 'product list viewed', + to: 'click', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + FORM: {}, + JSON_ARRAY: {}, + JSON: { + events: [ + { + eventName: 'product list viewed', + eventType: 'click', + objectIDs: ['ecommerce-sample-data-919', '9780439784542'], + positions: [7, 8], + index: 'products', + userToken: 'testuserId1', + queryID: '43b15df305339e827f0ac0bdc5ebcaa7', + }, + ], + }, + XML: {}, + }, + endpoint: 'https://insights.algolia.io/1/events', + files: {}, + headers: { + 'X-Algolia-API-Key': 'dummyApiKey', + 'X-Algolia-Application-Id': 'O2YARRI15I', + }, + method: 'POST', + params: {}, + type: 'REST', + userId: '', + version: '1', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'algolia', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'product clicked', + userId: 'testuserId1', + properties: { + eventType: 'click', + index: 'products', + queryId: '43b15df305339e827f0ac0bdc5ebcaa8', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Either filters or objectIds is required.', + statTags: { + destType: 'ALGOLIA', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'algolia', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + userId: 'testuserId1', + event: 'product clicked', + properties: { + index: 'products', + queryId: '43b15df305339e827f0ac0bdc5ebcaa7', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'eventType is mandatory for track call', + statTags: { + destType: 'ALGOLIA', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'algolia', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'product list viewed', + userId: 'testuserId1', + properties: { + index: 'products', + products: [ + { + objectId: 'ecommerce-sample-data-919', + position: 7, + }, + { + objectId: '9780439784542', + position: 8, + }, + ], + queryId: '', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [ + { + from: 'product list viewed', + to: 'click', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + 'for click eventType either both positions and queryId should be present or none', + statTags: { + destType: 'ALGOLIA', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'algolia', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'product list viewed', + userId: 'testuserId1', + properties: { + index: 'products', + products: [ + { + objectId: 'ecommerce-sample-data-919', + position: 7, + }, + { + objectId: '9780439784542', + position: 8, + }, + ], + queryId: '43b15df305339e827f0ac0bdc5ebcaa7', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [ + { + from: 'product list viewed', + to: 'view', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + FORM: {}, + JSON_ARRAY: {}, + JSON: { + events: [ + { + eventName: 'product list viewed', + eventType: 'view', + index: 'products', + objectIDs: ['ecommerce-sample-data-919', '9780439784542'], + userToken: 'testuserId1', + queryID: '43b15df305339e827f0ac0bdc5ebcaa7', + }, + ], + }, + XML: {}, + }, + endpoint: 'https://insights.algolia.io/1/events', + files: {}, + headers: { + 'X-Algolia-API-Key': 'dummyApiKey', + 'X-Algolia-Application-Id': 'O2YARRI15I', + }, + method: 'POST', + params: {}, + type: 'REST', + userId: '', + version: '1', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'algolia', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'product list viewed', + userId: 'testuserId1', + properties: { + index: 'products', + products: [ + { + objectId: 'ecommerce-sample-data-919', + position: '7', + }, + { + objectId: '9780439784542', + position: 'a', + }, + ], + queryId: '43b15df305339e827f0ac0bdc5ebcaa7', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [ + { + from: 'product list viewed', + to: 'click', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + 'for click eventType either both positions and queryId should be present or none', + statTags: { + destType: 'ALGOLIA', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'algolia', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'product list viewed', + userId: 'testuserId1', + properties: { + index: 'products', + products: [ + { + objectId: 'ecommerce-sample-data-919', + position: '7', + }, + { + objectId: '9780439784542', + position: 'a', + }, + ], + queryId: '43b15df305339e827f0ac0bdc5ebcaa7', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [ + { + from: 'product list viewed', + to: 'check', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'eventType can be either click, view or conversion', + statTags: { + destType: 'ALGOLIA', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'algolia', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'product list viewed', + userId: 'testuserId1', + properties: { + index: 'products', + products: [ + { + objectId: 'ecommerce-sample-data-919', + position: '7', + }, + { + objectId: '9780439784542', + position: 'a', + }, + ], + queryId: '43b15df305339e827f0ac0bdc5ebcaa7', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'eventType is mandatory for track call', + statTags: { + destType: 'ALGOLIA', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'algolia', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'product clicked', + userId: 'testuserId1', + properties: { + filters: ['field1:hello', 'val1:val2'], + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [ + { + from: 'product clicked', + to: 'cLick ', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Missing required value from "properties.index"', + statTags: { + destType: 'ALGOLIA', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'algolia', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'testone@gmail.com', + firstName: 'test', + lastName: 'one', + }, + 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, + }, + page: { + path: '/destinations/ometria', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/ometria', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'track', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: ['abc', 'def'], + userId: 'testuserId1', + properties: { + filters: ['field1:hello', 'val1:val2'], + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + applicationId: 'O2YARRI15I', + eventTypeSettings: [ + { + from: 'product clicked', + to: 'cLick ', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'event name should be a string', + statTags: { + destType: 'ALGOLIA', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/am/dataDelivery/data.ts b/test/integrations/destinations/am/dataDelivery/data.ts new file mode 100644 index 0000000000..a4faa7e60c --- /dev/null +++ b/test/integrations/destinations/am/dataDelivery/data.ts @@ -0,0 +1,547 @@ +import { AxiosError } from 'axios'; +import MockAdapter from 'axios-mock-adapter'; +import { isMatch } from 'lodash'; + +// Note: This destination makes use of generic network handler +export const data = [ + { + name: 'am', + description: 'Test 0', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://api.amplitude.com/2/httpapi/test1', + method: 'POST', + userId: 'gabi_anonId_45', + headers: { + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { + min_id_length: 1, + }, + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'am', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + status: 200, + message: + '[Generic Response Handler] Request for destination: am Processed Successfully', + destinationResponse: { + response: { + code: 200, + server_upload_time: 1639235302252, + payload_size_bytes: 863, + events_ingested: 1, + }, + status: 200, + }, + }, + }, + }, + }, + }, + { + name: 'am', + description: 'Test 1', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://api.amplitude.com/2/httpapi/test2', + method: 'POST', + userId: 'gabi_anonId_45', + headers: { + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { + min_id_length: 1, + }, + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'am', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: + '[Generic Response Handler] Request failed for destination am with status: 400', + destinationResponse: { + response: { + code: 400, + server_upload_time: 1639235302252, + payload_size_bytes: 863, + events_ingested: 0, + }, + status: 400, + }, + statTags: { + destType: 'AM', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'am', + description: 'Test 2', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://api.amplitude.com/2/httpapi/test3', + method: 'POST', + userId: 'gabi_anonId_45', + headers: { + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { + min_id_length: 1, + }, + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'am', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: + '[Generic Response Handler] Request failed for destination am with status: 400', + destinationResponse: { + response: '[ENOTFOUND] :: DNS lookup failed', + status: 400, + }, + statTags: { + destType: 'AM', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + mockFns: (mockAdapter: MockAdapter) => { + mockAdapter + .onPost( + 'https://api.amplitude.com/2/httpapi/test3', + { + asymmetricMatch: (actual) => { + const expected = { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { min_id_length: 1 }, + }; + const isMatched = isMatch(actual, expected); + return isMatched; + }, + }, + { + asymmetricMatch: (actual) => { + const expected = { 'Content-Type': 'application/json', 'User-Agent': 'RudderLabs' }; + const isMatched = isMatch(actual, expected); + return isMatched; + }, + }, + ) + .replyOnce((config) => { + // @ts-ignore + const err = AxiosError.from('DNS not found', 'ENOTFOUND', config); + return Promise.reject(err); + }); + }, + }, + { + name: 'am', + description: 'Test 3', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://api.amplitude.com/2/httpapi/test4', + method: 'POST', + userId: 'gabi_anonId_45', + headers: { + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { + min_id_length: 1, + }, + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'am', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: + '[Generic Response Handler] Request failed for destination am with status: 400', + destinationResponse: { + response: '', + status: 400, + }, + statTags: { + destType: 'AM', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'am', + description: 'Test 4', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://api.amplitude.com/2/httpapi/test5', + method: 'POST', + userId: 'gabi_anonId_45', + headers: { + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { + min_id_length: 1, + }, + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'am', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + status: 500, + message: + '[Generic Response Handler] Request failed for destination am with status: 500', + destinationResponse: { + response: '', + status: 500, + }, + statTags: { + destType: 'AM', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'am', + description: 'Test 5', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://api.amplitude.com/2/httpapi/test6', + method: 'POST', + userId: 'gabi_anonId_45', + headers: { + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { + min_id_length: 1, + }, + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'am', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + status: 500, + message: + '[Generic Response Handler] Request failed for destination am with status: 500', + destinationResponse: { + response: '', + status: 500, + }, + statTags: { + destType: 'AM', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/am/network.ts b/test/integrations/destinations/am/network.ts index 81daa29621..5cd016069c 100644 --- a/test/integrations/destinations/am/network.ts +++ b/test/integrations/destinations/am/network.ts @@ -206,4 +206,211 @@ const deleteNwData = [ }, }, ]; -export const networkCallsData = [...deleteNwData]; + +const deliveryNwData = [ + { + httpReq: { + url: 'https://api.amplitude.com/2/httpapi/test1', + data: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { min_id_length: 1 }, + }, + params: { destination: 'am' }, + headers: { 'Content-Type': 'application/json', 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + code: 200, + server_upload_time: 1639235302252, + payload_size_bytes: 863, + events_ingested: 1, + }, + status: 200, + statusText: 'OK', + headers: { + date: 'Sat, 11 Dec 2021 15:08:22 GMT', + 'content-type': 'application/json', + 'content-length': '93', + connection: 'keep-alive', + 'access-control-allow-origin': '*', + 'access-control-allow-methods': 'GET, POST', + 'strict-transport-security': 'max-age=15768000', + }, + }, + }, + { + httpReq: { + url: 'https://api.amplitude.com/2/httpapi/test2', + data: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { + min_id_length: 1, + }, + }, + params: { destination: 'am' }, + headers: { 'Content-Type': 'application/json', 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + code: 400, + server_upload_time: 1639235302252, + payload_size_bytes: 863, + events_ingested: 0, + }, + status: 400, + statusText: 'Bad Request', + headers: { + date: 'Sat, 11 Dec 2021 15:08:22 GMT', + 'content-type': 'application/json', + 'content-length': '93', + connection: 'keep-alive', + 'access-control-allow-origin': '*', + 'access-control-allow-methods': 'GET, POST', + 'strict-transport-security': 'max-age=15768000', + }, + }, + }, + { + httpReq: { + url: 'https://api.amplitude.com/2/httpapi/test4', + data: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { min_id_length: 1 }, + }, + params: { destination: 'am' }, + headers: { 'Content-Type': 'application/json', 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { status: 400, statusText: 'Bad Request' }, + }, + { + httpReq: { + url: 'https://api.amplitude.com/2/httpapi/test5', + data: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { min_id_length: 1 }, + }, + params: { destination: 'am' }, + headers: { 'Content-Type': 'application/json', 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: {}, + }, + { + httpReq: { + url: 'https://api.amplitude.com/2/httpapi/test6', + data: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { min_id_length: 1 }, + }, + params: { destination: 'am' }, + headers: { 'Content-Type': 'application/json', 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: {}, + }, +]; + +export const networkCallsData = [...deleteNwData, ...deliveryNwData]; diff --git a/test/integrations/destinations/appcues/processor/data.ts b/test/integrations/destinations/appcues/processor/data.ts index c01abc241e..ab47e5c857 100644 --- a/test/integrations/destinations/appcues/processor/data.ts +++ b/test/integrations/destinations/appcues/processor/data.ts @@ -1160,7 +1160,7 @@ export const data = [ status: 200, body: [ { - error: "User id is absent. Aborting event as userId is mandatory for Appcues", + error: 'User id is absent. Aborting event as userId is mandatory for Appcues', statTags: { destType: 'APPCUES', errorCategory: 'dataValidation', @@ -1169,7 +1169,7 @@ export const data = [ implementation: 'native', module: 'destination', }, - statusCode: 400, + statusCode: 400, }, ], }, @@ -1258,7 +1258,7 @@ export const data = [ status: 200, body: [ { - error: 'Message Type is not present. Aborting message.', + error: 'Message Type is not present. Aborting message.', statTags: { destType: 'APPCUES', errorCategory: 'dataValidation', @@ -1267,7 +1267,7 @@ export const data = [ implementation: 'native', module: 'destination', }, - statusCode: 400, + statusCode: 400, }, ], }, @@ -1369,7 +1369,7 @@ export const data = [ status: 200, body: [ { - error: 'Message type is not supported', + error: 'Message type is not supported', statTags: { destType: 'APPCUES', errorCategory: 'dataValidation', @@ -1378,7 +1378,7 @@ export const data = [ implementation: 'native', module: 'destination', }, - statusCode: 400, + statusCode: 400, }, ], }, diff --git a/test/integrations/destinations/appcues/router/data.ts b/test/integrations/destinations/appcues/router/data.ts index 28a52c8bdc..ddc8dddf57 100644 --- a/test/integrations/destinations/appcues/router/data.ts +++ b/test/integrations/destinations/appcues/router/data.ts @@ -217,5 +217,5 @@ export const data = [ }, }, }, - } + }, ]; diff --git a/test/integrations/destinations/attentive_tag/processor/data.ts b/test/integrations/destinations/attentive_tag/processor/data.ts index 42e6492d10..f585fb58d8 100644 --- a/test/integrations/destinations/attentive_tag/processor/data.ts +++ b/test/integrations/destinations/attentive_tag/processor/data.ts @@ -1,5 +1,4 @@ export const mockFns = (_) => { - // @ts-ignore jest.useFakeTimers().setSystemTime(new Date('2023-10-14')); }; diff --git a/test/integrations/destinations/azure_event_hub/processor/data.ts b/test/integrations/destinations/azure_event_hub/processor/data.ts index 8784bf4d60..2f7acf742e 100644 --- a/test/integrations/destinations/azure_event_hub/processor/data.ts +++ b/test/integrations/destinations/azure_event_hub/processor/data.ts @@ -1,825 +1,835 @@ export const data = [ - { - "name": "azure_event_hub", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "Purchase", - "integrations": { - "All": true - }, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "originalTimestamp": "2020-05-21T10:23:15.984Z", - "properties": { - "currency": "USD", - "revenue": 100 - }, - "receivedAt": "2020-05-21T15:53:16.013+05:30", - "request_ip": "[::1]:59371", - "sentAt": "2020-05-21T10:23:15.985Z", - "timestamp": "2020-05-21T15:53:16.012+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 46, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "Purchase", - "integrations": { - "All": true - }, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "originalTimestamp": "2020-05-21T10:23:15.984Z", - "properties": { - "currency": "USD", - "revenue": 100 - }, - "receivedAt": "2020-05-21T15:53:16.013+05:30", - "request_ip": "[::1]:59371", - "sentAt": "2020-05-21T10:23:15.985Z", - "timestamp": "2020-05-21T15:53:16.012+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 46, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "azure_event_hub", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "originalTimestamp": "2020-05-21T10:23:15.975Z", - "properties": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:58616", - "sentAt": "2020-05-21T10:23:15.975Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "page", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 47, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "originalTimestamp": "2020-05-21T10:23:15.975Z", - "properties": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:58616", - "sentAt": "2020-05-21T10:23:15.975Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "page", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 47, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "azure_event_hub", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "originalTimestamp": "2020-05-21T10:23:15.979Z", - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59372", - "sentAt": "2020-05-21T10:23:15.979Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "identify", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 48, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "originalTimestamp": "2020-05-21T10:23:15.979Z", - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59372", - "sentAt": "2020-05-21T10:23:15.979Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "identify", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 48, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "azure_event_hub", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track without property", - "integrations": { - "All": true - }, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "originalTimestamp": "2020-05-21T10:23:15.981Z", - "properties": {}, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59374", - "sentAt": "2020-05-21T10:23:15.981Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 49, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track without property", - "integrations": { - "All": true - }, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "originalTimestamp": "2020-05-21T10:23:15.981Z", - "properties": {}, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59374", - "sentAt": "2020-05-21T10:23:15.981Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 49, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "azure_event_hub", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "originalTimestamp": "2020-05-21T10:23:15.982Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59373", - "sentAt": "2020-05-21T10:23:15.983Z", - "timestamp": "2020-05-21T15:53:16.013+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 50, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "originalTimestamp": "2020-05-21T10:23:15.982Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59373", - "sentAt": "2020-05-21T10:23:15.983Z", - "timestamp": "2020-05-21T15:53:16.013+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 50, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'azure_event_hub', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1cCz8hts5rp3YWglzhU1GPmVdjE', + Name: 'Azure Event Hub', + DestinationDefinition: { + ID: '1cCs4qQ72QY8vovP7BlJ47mkjBh', + Name: 'AZURE_EVENT_HUB', + DisplayName: 'Azure Event Hub', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: null, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'Purchase', + integrations: { + All: true, + }, + messageId: 'ce46866c-6f19-42f0-86cb-18c51863b817', + originalTimestamp: '2020-05-21T10:23:15.984Z', + properties: { + currency: 'USD', + revenue: 100, + }, + receivedAt: '2020-05-21T15:53:16.013+05:30', + request_ip: '[::1]:59371', + sentAt: '2020-05-21T10:23:15.985Z', + timestamp: '2020-05-21T15:53:16.012+05:30', + type: 'track', + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 46, + messageId: 'ce46866c-6f19-42f0-86cb-18c51863b817', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'Purchase', + integrations: { + All: true, + }, + messageId: 'ce46866c-6f19-42f0-86cb-18c51863b817', + originalTimestamp: '2020-05-21T10:23:15.984Z', + properties: { + currency: 'USD', + revenue: 100, + }, + receivedAt: '2020-05-21T15:53:16.013+05:30', + request_ip: '[::1]:59371', + sentAt: '2020-05-21T10:23:15.985Z', + timestamp: '2020-05-21T15:53:16.012+05:30', + type: 'track', + userId: 'user-12345', + }, + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 46, + messageId: 'ce46866c-6f19-42f0-86cb-18c51863b817', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'azure_event_hub', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1cCz8hts5rp3YWglzhU1GPmVdjE', + Name: 'Azure Event Hub', + DestinationDefinition: { + ID: '1cCs4qQ72QY8vovP7BlJ47mkjBh', + Name: 'AZURE_EVENT_HUB', + DisplayName: 'Azure Event Hub', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: null, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'e02dafb0-9df8-4fa2-becd-f4d8617956a4', + originalTimestamp: '2020-05-21T10:23:15.975Z', + properties: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:58616', + sentAt: '2020-05-21T10:23:15.975Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'page', + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 47, + messageId: 'e02dafb0-9df8-4fa2-becd-f4d8617956a4', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'e02dafb0-9df8-4fa2-becd-f4d8617956a4', + originalTimestamp: '2020-05-21T10:23:15.975Z', + properties: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:58616', + sentAt: '2020-05-21T10:23:15.975Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'page', + userId: 'user-12345', + }, + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 47, + messageId: 'e02dafb0-9df8-4fa2-becd-f4d8617956a4', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'azure_event_hub', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1cCz8hts5rp3YWglzhU1GPmVdjE', + Name: 'Azure Event Hub', + DestinationDefinition: { + ID: '1cCs4qQ72QY8vovP7BlJ47mkjBh', + Name: 'AZURE_EVENT_HUB', + DisplayName: 'Azure Event Hub', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: null, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '41b62b30-db5d-450c-98ed-cec14ead27cc', + originalTimestamp: '2020-05-21T10:23:15.979Z', + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59372', + sentAt: '2020-05-21T10:23:15.979Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'identify', + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 48, + messageId: '41b62b30-db5d-450c-98ed-cec14ead27cc', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '41b62b30-db5d-450c-98ed-cec14ead27cc', + originalTimestamp: '2020-05-21T10:23:15.979Z', + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59372', + sentAt: '2020-05-21T10:23:15.979Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'identify', + userId: 'user-12345', + }, + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 48, + messageId: '41b62b30-db5d-450c-98ed-cec14ead27cc', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'azure_event_hub', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1cCz8hts5rp3YWglzhU1GPmVdjE', + Name: 'Azure Event Hub', + DestinationDefinition: { + ID: '1cCs4qQ72QY8vovP7BlJ47mkjBh', + Name: 'AZURE_EVENT_HUB', + DisplayName: 'Azure Event Hub', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: null, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'test track without property', + integrations: { + All: true, + }, + messageId: 'c409577d-5dd4-430a-8965-a20aed7b9c9e', + originalTimestamp: '2020-05-21T10:23:15.981Z', + properties: {}, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59374', + sentAt: '2020-05-21T10:23:15.981Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'track', + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 49, + messageId: 'c409577d-5dd4-430a-8965-a20aed7b9c9e', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'test track without property', + integrations: { + All: true, + }, + messageId: 'c409577d-5dd4-430a-8965-a20aed7b9c9e', + originalTimestamp: '2020-05-21T10:23:15.981Z', + properties: {}, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59374', + sentAt: '2020-05-21T10:23:15.981Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'track', + userId: 'user-12345', + }, + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 49, + messageId: 'c409577d-5dd4-430a-8965-a20aed7b9c9e', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'azure_event_hub', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1cCz8hts5rp3YWglzhU1GPmVdjE', + Name: 'Azure Event Hub', + DestinationDefinition: { + ID: '1cCs4qQ72QY8vovP7BlJ47mkjBh', + Name: 'AZURE_EVENT_HUB', + DisplayName: 'Azure Event Hub', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: null, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: 'f8b6e882-3186-446a-b589-51eba60930d7', + originalTimestamp: '2020-05-21T10:23:15.982Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59373', + sentAt: '2020-05-21T10:23:15.983Z', + timestamp: '2020-05-21T15:53:16.013+05:30', + type: 'track', + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 50, + messageId: 'f8b6e882-3186-446a-b589-51eba60930d7', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: 'f8b6e882-3186-446a-b589-51eba60930d7', + originalTimestamp: '2020-05-21T10:23:15.982Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59373', + sentAt: '2020-05-21T10:23:15.983Z', + timestamp: '2020-05-21T15:53:16.013+05:30', + type: 'track', + userId: 'user-12345', + }, + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 50, + messageId: 'f8b6e882-3186-446a-b589-51eba60930d7', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/blueshift/processor/data.ts b/test/integrations/destinations/blueshift/processor/data.ts index 990515f40a..d489a38bd6 100644 --- a/test/integrations/destinations/blueshift/processor/data.ts +++ b/test/integrations/destinations/blueshift/processor/data.ts @@ -1,1997 +1,1991 @@ export const data = [ - { - "name": "blueshift", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "dataCenter": "standard" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.5" - }, - "traits": { - "name": "hardik", - "email": "hardik@rudderstack.com", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830 - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.5" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36", - "locale": "en-US", - "os": { - "name": "", - "version": "" - } - }, - "type": "group", - "messageId": "e5034df0-a404-47b4-a463-76df99934fea", - "anonymousId": "my-anonymous-id-new", - "userId": "sampleusrRudder7", - "traits": { - "groupType": "company", - "name_trait": "Company", - "value_trait": "Comapny-ABC" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Missing required value from \"groupId\"", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "BLUESHIFT", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.5" - }, - "traits": { - "name": "hardik", - "email": "hardik@rudderstack.com", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830 - } - }, - "type": "group", - "userId": "rudderstack8", - "groupId": "35838" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "group_id": "35838", - "customer_id": "rudderstack8", - "email": "hardik@rudderstack.com", - "event": "identify" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "context": { - "ip": "14.5.67.21", - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 3 - }, - "os": { - "name": "Android", - "version": "9" - }, - "network": { - "bluetooth": false, - "carrier": "Android", - "cellular": true, - "wifi": true - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "latitude": "37.7672319", - "longitude": "-122.4021353", - "state": "WB", - "street": "rajnagar" - } - }, - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "messageId": "34abcd-efghijkj-1234kf", - "type": "track", - "event": "identify", - "userId": "sampleusrRudder7" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "customer_id": "sampleusrRudder7", - "event": "identify", - "device_type": "Android", - "device_id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "ip": "14.5.67.21", - "latitude": "37.7672319", - "longitude": "-122.4021353", - "event_uuid": "34abcd-efghijkj-1234kf", - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "type": "track", - "event": "Product Viewed", - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123", - "checkout_id": "C324532", - "order_id": "T1230", - "value": 15.98, - "revenue": 16.98, - "shipping": 3, - "coupon": "FY21", - "currency": "INR", - "products": [ - { - "product_id": "product-mixedfruit-jam", - "sku": "sku-1", - "category": "Food", - "name": "Food/Drink", - "brand": "Sample", - "variant": "None", - "price": 10, - "quantity": 2, - "currency": "INR", - "position": 1, - "value": 6, - "typeOfProduct": "Food", - "url": "https://www.example.com/product/bacon-jam", - "image_url": "https://www.example.com/product/bacon-jam.jpg" - } - ] - }, - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - } - }, - "messageId": "34abcd-efghijkj-1234kf", - "userId": "sampleRudderstack9" - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event": "view", - "device_type": "android", - "device_id": "7e32188a4dab669f", - "device_idfv": "7e32188a4dab669f", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123", - "checkout_id": "C324532", - "order_id": "T1230", - "value": 15.98, - "revenue": 16.98, - "shipping": 3, - "coupon": "FY21", - "currency": "INR", - "products": [ - { - "product_id": "product-mixedfruit-jam", - "sku": "sku-1", - "category": "Food", - "name": "Food/Drink", - "brand": "Sample", - "variant": "None", - "price": 10, - "quantity": 2, - "currency": "INR", - "position": 1, - "value": 6, - "typeOfProduct": "Food", - "url": "https://www.example.com/product/bacon-jam", - "image_url": "https://www.example.com/product/bacon-jam.jpg" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "type": "track", - "event": "Products Searched", - "properties": { - "description": "Sneaker purchase", - "brand": "Victory Sneakers", - "colors": [ - "red", - "blue" - ], - "items": [ - { - "text": "New Line Sneakers", - "price": "$ 79.95" - }, - { - "text": "Old Line Sneakers", - "price": "$ 79.95" - }, - { - "text": "Blue Line Sneakers", - "price": "$ 79.95" - } - ], - "name": "Hugh Manbeing", - "userLocation": { - "state": "CO", - "zip": "80202" - } - }, - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - } - }, - "messageId": "34abcd-efghijkj-1234kf", - "userId": "sampleRudderstack9" - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.eu.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "event": "search", - "device_type": "android", - "device_id": "7e32188a4dab669f", - "device_idfv": "7e32188a4dab669f", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "description": "Sneaker purchase", - "brand": "Victory Sneakers", - "colors": [ - "red", - "blue" - ], - "items": [ - { - "text": "New Line Sneakers", - "price": "$ 79.95" - }, - { - "text": "Old Line Sneakers", - "price": "$ 79.95" - }, - { - "text": "Blue Line Sneakers", - "price": "$ 79.95" - } - ], - "name": "Hugh Manbeing", - "userLocation": { - "state": "CO", - "zip": "80202" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "type": "track", - "event": "Product_purchased", - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "messageId": "34abcd-efghijkj-1234kf", - "context": { - "ip": "14.5.67.21", - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 3 - }, - "os": { - "name": "Android", - "version": "9" - }, - "network": { - "bluetooth": false, - "carrier": "Android", - "cellular": true, - "wifi": true - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "latitude": "37.7672319", - "longitude": "-122.4021353", - "state": "WB", - "street": "rajnagar" - } - }, - "userId": "sampleRudderstack9" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "[BLUESHIFT] event Api Keys required for Authentication.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration", - "destType": "BLUESHIFT", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 6", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "type": "identify", - "event": "Product_purchased", - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "messageId": "34abcd-efghijkj-1234kf", - "context": { - "ip": "14.5.67.21", - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 3 - }, - "os": { - "name": "Android", - "version": "9" - }, - "network": { - "bluetooth": false, - "carrier": "Android", - "cellular": true, - "wifi": true - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "latitude": "37.7672319", - "longitude": "-122.4021353", - "state": "WB", - "street": "rajnagar" - } - }, - "userId": "sampleRudderstack9" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Missing required value from \"email\"", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "BLUESHIFT", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 7", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "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", - "anonymousId": "anon_id", - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe", - "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": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getblueshift.com/api/v1/customers", - "headers": { - "Authorization": "Basic YjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q5MjBlYzFlMmU=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "email": "chandan@companyname.com", - "customer_id": "rudder123", - "phone_number": "92374162212", - "firstname": "James", - "lastname": "Doe", - "gender": "M", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "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": "" - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 8", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "dataCenter": "eu" - } - }, - "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", - "anonymousId": "anon_id", - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe", - "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": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "[BLUESHIFT] User API Key required for Authentication.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration", - "destType": "BLUESHIFT", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 9", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "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" - }, - "locale": "en-US", - "ip": "0.0.0.0" - }, - "type": "identify", - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.eu.getblueshift.com/api/v1/customers", - "headers": { - "Authorization": "Basic YjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q5MjBlYzFlMmU=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "email": "chandan@companyname.com", - "customer_id": "rudder123", - "phone_number": "92374162212", - "firstname": "James", - "lastname": "Doe", - "gender": "M", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 10", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "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" - }, - "locale": "en-US", - "ip": "0.0.0.0" - }, - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Message Type is not present. Aborting message.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "BLUESHIFT", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 11", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "a5e75d99c8a18acb4a29abd920ec1e2e", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "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" - }, - "locale": "en-US", - "ip": "0.0.0.0" - }, - "type": "page", - "traits": { - "email": "chandan@companyname.com", - "userId": "rudder123", - "anonymousId": "anon_id", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "firstname": "James", - "lastname": "Doe" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Message type page not supported", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "BLUESHIFT", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 12", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "type": "track", - "event": "Order Completed", - "properties": { - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - }, - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "quantity": "2", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ] - }, - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "userId": "sampleRudderstack11" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.eu.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "customer_id": "sampleRudderstack11", - "event": "purchase", - "device_type": "android", - "device_id": "7e32188a4dab669f", - "device_idfv": "7e32188a4dab669f", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - }, - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "quantity": "2", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 13", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75d99c8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "context": { - "ip": "14.5.67.21", - "device": { - "adTrackingEnabled": true, - "advertisingId": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "manufacturer": "Google", - "model": "AOSP on IA Emulator", - "name": "generic_x86_arm", - "type": "Android", - "attTrackingStatus": 3 - }, - "os": { - "name": "Android", - "version": "9" - }, - "network": { - "bluetooth": false, - "carrier": "Android", - "cellular": true, - "wifi": true - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "latitude": "37.7672319", - "longitude": "-122.4021353", - "state": "WB", - "street": "rajnagar" - } - }, - "properties": { - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "messageId": "34abcd-efghijkj-1234kf", - "type": "track", - "event": "Custom Events", - "userId": "sampleusrRudder7" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.eu.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "customer_id": "sampleusrRudder7", - "event": "Custom_Events", - "device_type": "Android", - "device_id": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_idfa": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_idfv": "3f034872-5e28-45a1-9eda-ce22a3e36d1a", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "ip": "14.5.67.21", - "latitude": "37.7672319", - "longitude": "-122.4021353", - "event_uuid": "34abcd-efghijkj-1234kf", - "cookie": "1234abcd-efghijkj-1234kfjadslk-34iu123" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 14", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "type": "track", - "event": "Order 9Completed", - "properties": { - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - }, - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "quantity": "2", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ] - }, - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "userId": "sampleRudderstack11" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "[Blueshift] Event shouldn't contain period(.), numeric value and contains not more than 64 characters", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "BLUESHIFT", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 15", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "type": "track", - "event": "Order.Completed", - "properties": { - "total": 1000, - "products": [ - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - }, - { - "product_id": "507f1f77bcf86cd799439011", - "sku": "45790-32", - "name": "Monopoly: 3rd Edition", - "price": "19", - "quantity": "2", - "position": "1", - "category": "Games,Gifts,Entertainment,Toys", - "url": "https://www.example.com/product/path", - "image_url": "https://www.example.com/product/path.jpg" - } - ] - }, - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "userId": "sampleRudderstack11" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "[Blueshift] Event shouldn't contain period(.), numeric value and contains not more than 64 characters", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "BLUESHIFT", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 16", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "eventApiKey": "efeb4a29aba5e75d99c8a18acd620ec1", - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "standard" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "type": "group", - "messageId": "e5034jh0-a404-47b4-a463-76df99934kl2", - "userId": "sampleusrRudder1", - "groupId": "group22222", - "traits": { - "name": "hardik", - "email": "hardik@rudderstack.com", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830, - "gender": "male" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.getblueshift.com/api/v1/event", - "headers": { - "Authorization": "Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "group_id": "group22222", - "customer_id": "sampleusrRudder1", - "email": "hardik@rudderstack.com", - "device_type": "android", - "device_id": "7e32188a4dab669f", - "device_idfv": "7e32188a4dab669f", - "device_manufacturer": "Google", - "os_name": "Android", - "network_carrier": "Android", - "event_uuid": "e5034jh0-a404-47b4-a463-76df99934kl2", - "event": "identify", - "name": "hardik", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830, - "gender": "male" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "blueshift", - "description": "Test 17", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "usersApiKey": "b4a29aba5e75duic8a18acd920ec1e2e", - "dataCenter": "eu" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "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", - "name": "some campaign" - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Mumbai", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "type": "group", - "messageId": "e5034jh0-a404-47b4-a463-76df99934kl2", - "userId": "sampleusrRudder1", - "groupId": "group22222", - "traits": { - "name": "hardik", - "email": "hardik@rudderstack.com", - "cookie": "1234abcd-efghklkj-1234kfjadslk-34iu123", - "industry": "Education", - "employees": 399, - "plan": "enterprise", - "total billed": 830, - "gender": "male" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "[BLUESHIFT] event API Key required for Authentication.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration", - "destType": "BLUESHIFT", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - } -] \ No newline at end of file + { + name: 'blueshift', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + dataCenter: 'standard', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.5', + }, + traits: { + name: 'hardik', + email: 'hardik@rudderstack.com', + cookie: '1234abcd-efghklkj-1234kfjadslk-34iu123', + industry: 'Education', + employees: 399, + plan: 'enterprise', + 'total billed': 830, + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.5', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36', + locale: 'en-US', + os: { + name: '', + version: '', + }, + }, + type: 'group', + messageId: 'e5034df0-a404-47b4-a463-76df99934fea', + anonymousId: 'my-anonymous-id-new', + userId: 'sampleusrRudder7', + traits: { + groupType: 'company', + name_trait: 'Company', + value_trait: 'Comapny-ABC', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Missing required value from "groupId"', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'BLUESHIFT', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + dataCenter: 'standard', + }, + }, + message: { + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.5', + }, + traits: { + name: 'hardik', + email: 'hardik@rudderstack.com', + cookie: '1234abcd-efghklkj-1234kfjadslk-34iu123', + industry: 'Education', + employees: 399, + plan: 'enterprise', + 'total billed': 830, + }, + }, + type: 'group', + userId: 'rudderstack8', + groupId: '35838', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getblueshift.com/api/v1/event', + headers: { + Authorization: 'Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + group_id: '35838', + customer_id: 'rudderstack8', + email: 'hardik@rudderstack.com', + event: 'identify', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75d99c8a18acd920ec1e2e', + dataCenter: 'standard', + }, + }, + message: { + context: { + ip: '14.5.67.21', + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'Android', + attTrackingStatus: 3, + }, + os: { + name: 'Android', + version: '9', + }, + network: { + bluetooth: false, + carrier: 'Android', + cellular: true, + wifi: true, + }, + address: { + city: 'kolkata', + country: 'India', + postalCode: 789223, + latitude: '37.7672319', + longitude: '-122.4021353', + state: 'WB', + street: 'rajnagar', + }, + }, + properties: { + cookie: '1234abcd-efghijkj-1234kfjadslk-34iu123', + }, + messageId: '34abcd-efghijkj-1234kf', + type: 'track', + event: 'identify', + userId: 'sampleusrRudder7', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getblueshift.com/api/v1/event', + headers: { + Authorization: 'Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + customer_id: 'sampleusrRudder7', + event: 'identify', + device_type: 'Android', + device_id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + device_idfa: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + device_idfv: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + device_manufacturer: 'Google', + os_name: 'Android', + network_carrier: 'Android', + ip: '14.5.67.21', + latitude: '37.7672319', + longitude: '-122.4021353', + event_uuid: '34abcd-efghijkj-1234kf', + cookie: '1234abcd-efghijkj-1234kfjadslk-34iu123', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + dataCenter: 'standard', + }, + }, + message: { + type: 'track', + event: 'Product Viewed', + properties: { + cookie: '1234abcd-efghijkj-1234kfjadslk-34iu123', + checkout_id: 'C324532', + order_id: 'T1230', + value: 15.98, + revenue: 16.98, + shipping: 3, + coupon: 'FY21', + currency: 'INR', + products: [ + { + product_id: 'product-mixedfruit-jam', + sku: 'sku-1', + category: 'Food', + name: 'Food/Drink', + brand: 'Sample', + variant: 'None', + price: 10, + quantity: 2, + currency: 'INR', + position: 1, + value: 6, + typeOfProduct: 'Food', + url: 'https://www.example.com/product/bacon-jam', + image_url: 'https://www.example.com/product/bacon-jam.jpg', + }, + ], + }, + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.rudderstack.demo.android', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + 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', + name: 'some campaign', + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Mumbai', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + }, + messageId: '34abcd-efghijkj-1234kf', + userId: 'sampleRudderstack9', + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getblueshift.com/api/v1/event', + headers: { + Authorization: 'Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'view', + device_type: 'android', + device_id: '7e32188a4dab669f', + device_idfv: '7e32188a4dab669f', + device_manufacturer: 'Google', + os_name: 'Android', + network_carrier: 'Android', + cookie: '1234abcd-efghijkj-1234kfjadslk-34iu123', + checkout_id: 'C324532', + order_id: 'T1230', + value: 15.98, + revenue: 16.98, + shipping: 3, + coupon: 'FY21', + currency: 'INR', + products: [ + { + product_id: 'product-mixedfruit-jam', + sku: 'sku-1', + category: 'Food', + name: 'Food/Drink', + brand: 'Sample', + variant: 'None', + price: 10, + quantity: 2, + currency: 'INR', + position: 1, + value: 6, + typeOfProduct: 'Food', + url: 'https://www.example.com/product/bacon-jam', + image_url: 'https://www.example.com/product/bacon-jam.jpg', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + dataCenter: 'eu', + }, + }, + message: { + type: 'track', + event: 'Products Searched', + properties: { + description: 'Sneaker purchase', + brand: 'Victory Sneakers', + colors: ['red', 'blue'], + items: [ + { + text: 'New Line Sneakers', + price: '$ 79.95', + }, + { + text: 'Old Line Sneakers', + price: '$ 79.95', + }, + { + text: 'Blue Line Sneakers', + price: '$ 79.95', + }, + ], + name: 'Hugh Manbeing', + userLocation: { + state: 'CO', + zip: '80202', + }, + }, + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.rudderstack.demo.android', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + 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', + name: 'some campaign', + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Mumbai', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + }, + messageId: '34abcd-efghijkj-1234kf', + userId: 'sampleRudderstack9', + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.eu.getblueshift.com/api/v1/event', + headers: { + Authorization: 'Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'search', + device_type: 'android', + device_id: '7e32188a4dab669f', + device_idfv: '7e32188a4dab669f', + device_manufacturer: 'Google', + os_name: 'Android', + network_carrier: 'Android', + description: 'Sneaker purchase', + brand: 'Victory Sneakers', + colors: ['red', 'blue'], + items: [ + { + text: 'New Line Sneakers', + price: '$ 79.95', + }, + { + text: 'Old Line Sneakers', + price: '$ 79.95', + }, + { + text: 'Blue Line Sneakers', + price: '$ 79.95', + }, + ], + name: 'Hugh Manbeing', + userLocation: { + state: 'CO', + zip: '80202', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + usersApiKey: 'b4a29aba5e75d99c8a18acd920ec1e2e', + dataCenter: 'standard', + }, + }, + message: { + type: 'track', + event: 'Product_purchased', + properties: { + cookie: '1234abcd-efghijkj-1234kfjadslk-34iu123', + }, + messageId: '34abcd-efghijkj-1234kf', + context: { + ip: '14.5.67.21', + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'Android', + attTrackingStatus: 3, + }, + os: { + name: 'Android', + version: '9', + }, + network: { + bluetooth: false, + carrier: 'Android', + cellular: true, + wifi: true, + }, + address: { + city: 'kolkata', + country: 'India', + postalCode: 789223, + latitude: '37.7672319', + longitude: '-122.4021353', + state: 'WB', + street: 'rajnagar', + }, + }, + userId: 'sampleRudderstack9', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: '[BLUESHIFT] event Api Keys required for Authentication.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'BLUESHIFT', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'a5e75d99c8a18acb4a29abd920ec1e2e', + usersApiKey: 'b4a29aba5e75d99c8a18acd920ec1e2e', + dataCenter: 'standard', + }, + }, + message: { + type: 'identify', + event: 'Product_purchased', + properties: { + cookie: '1234abcd-efghijkj-1234kfjadslk-34iu123', + }, + messageId: '34abcd-efghijkj-1234kf', + context: { + ip: '14.5.67.21', + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'Android', + attTrackingStatus: 3, + }, + os: { + name: 'Android', + version: '9', + }, + network: { + bluetooth: false, + carrier: 'Android', + cellular: true, + wifi: true, + }, + address: { + city: 'kolkata', + country: 'India', + postalCode: 789223, + latitude: '37.7672319', + longitude: '-122.4021353', + state: 'WB', + street: 'rajnagar', + }, + }, + userId: 'sampleRudderstack9', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Missing required value from "email"', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'BLUESHIFT', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'a5e75d99c8a18acb4a29abd920ec1e2e', + usersApiKey: 'b4a29aba5e75d99c8a18acd920ec1e2e', + dataCenter: 'standard', + }, + }, + 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', + anonymousId: 'anon_id', + type: 'identify', + traits: { + email: 'chandan@companyname.com', + userId: 'rudder123', + anonymousId: 'anon_id', + name: 'James Doe', + phone: '92374162212', + gender: 'M', + firstname: 'James', + lastname: 'Doe', + 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: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getblueshift.com/api/v1/customers', + headers: { + Authorization: 'Basic YjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q5MjBlYzFlMmU=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + email: 'chandan@companyname.com', + customer_id: 'rudder123', + phone_number: '92374162212', + firstname: 'James', + lastname: 'Doe', + gender: 'M', + userId: 'rudder123', + anonymousId: 'anon_id', + name: 'James Doe', + 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: '', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'a5e75d99c8a18acb4a29abd920ec1e2e', + dataCenter: 'eu', + }, + }, + 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', + anonymousId: 'anon_id', + type: 'identify', + traits: { + email: 'chandan@companyname.com', + userId: 'rudder123', + anonymousId: 'anon_id', + name: 'James Doe', + phone: '92374162212', + gender: 'M', + firstname: 'James', + lastname: 'Doe', + 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: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: '[BLUESHIFT] User API Key required for Authentication.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'BLUESHIFT', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'a5e75d99c8a18acb4a29abd920ec1e2e', + usersApiKey: 'b4a29aba5e75d99c8a18acd920ec1e2e', + dataCenter: 'eu', + }, + }, + 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', + }, + locale: 'en-US', + ip: '0.0.0.0', + }, + type: 'identify', + traits: { + email: 'chandan@companyname.com', + userId: 'rudder123', + anonymousId: 'anon_id', + name: 'James Doe', + phone: '92374162212', + gender: 'M', + firstname: 'James', + lastname: 'Doe', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.eu.getblueshift.com/api/v1/customers', + headers: { + Authorization: 'Basic YjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q5MjBlYzFlMmU=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + email: 'chandan@companyname.com', + customer_id: 'rudder123', + phone_number: '92374162212', + firstname: 'James', + lastname: 'Doe', + gender: 'M', + userId: 'rudder123', + anonymousId: 'anon_id', + name: 'James Doe', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'a5e75d99c8a18acb4a29abd920ec1e2e', + usersApiKey: 'b4a29aba5e75d99c8a18acd920ec1e2e', + dataCenter: 'eu', + }, + }, + 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', + }, + locale: 'en-US', + ip: '0.0.0.0', + }, + traits: { + email: 'chandan@companyname.com', + userId: 'rudder123', + anonymousId: 'anon_id', + name: 'James Doe', + phone: '92374162212', + gender: 'M', + firstname: 'James', + lastname: 'Doe', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Message Type is not present. Aborting message.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'BLUESHIFT', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'a5e75d99c8a18acb4a29abd920ec1e2e', + usersApiKey: 'b4a29aba5e75d99c8a18acd920ec1e2e', + dataCenter: 'eu', + }, + }, + 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', + }, + locale: 'en-US', + ip: '0.0.0.0', + }, + type: 'page', + traits: { + email: 'chandan@companyname.com', + userId: 'rudder123', + anonymousId: 'anon_id', + name: 'James Doe', + phone: '92374162212', + gender: 'M', + firstname: 'James', + lastname: 'Doe', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Message type page not supported', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'BLUESHIFT', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + dataCenter: 'eu', + }, + }, + message: { + type: 'track', + event: 'Order Completed', + properties: { + total: 1000, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + position: '1', + category: 'Games,Gifts,Entertainment,Toys', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + quantity: '2', + position: '1', + category: 'Games,Gifts,Entertainment,Toys', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + }, + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.rudderstack.demo.android', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + 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', + name: 'some campaign', + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Mumbai', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + userId: 'sampleRudderstack11', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.eu.getblueshift.com/api/v1/event', + headers: { + Authorization: 'Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + customer_id: 'sampleRudderstack11', + event: 'purchase', + device_type: 'android', + device_id: '7e32188a4dab669f', + device_idfv: '7e32188a4dab669f', + device_manufacturer: 'Google', + os_name: 'Android', + network_carrier: 'Android', + total: 1000, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + position: '1', + category: 'Games,Gifts,Entertainment,Toys', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + quantity: '2', + position: '1', + category: 'Games,Gifts,Entertainment,Toys', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75d99c8a18acd920ec1e2e', + dataCenter: 'eu', + }, + }, + message: { + context: { + ip: '14.5.67.21', + device: { + adTrackingEnabled: true, + advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'Android', + attTrackingStatus: 3, + }, + os: { + name: 'Android', + version: '9', + }, + network: { + bluetooth: false, + carrier: 'Android', + cellular: true, + wifi: true, + }, + address: { + city: 'kolkata', + country: 'India', + postalCode: 789223, + latitude: '37.7672319', + longitude: '-122.4021353', + state: 'WB', + street: 'rajnagar', + }, + }, + properties: { + cookie: '1234abcd-efghijkj-1234kfjadslk-34iu123', + }, + messageId: '34abcd-efghijkj-1234kf', + type: 'track', + event: 'Custom Events', + userId: 'sampleusrRudder7', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.eu.getblueshift.com/api/v1/event', + headers: { + Authorization: 'Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + customer_id: 'sampleusrRudder7', + event: 'Custom_Events', + device_type: 'Android', + device_id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + device_idfa: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + device_idfv: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + device_manufacturer: 'Google', + os_name: 'Android', + network_carrier: 'Android', + ip: '14.5.67.21', + latitude: '37.7672319', + longitude: '-122.4021353', + event_uuid: '34abcd-efghijkj-1234kf', + cookie: '1234abcd-efghijkj-1234kfjadslk-34iu123', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + dataCenter: 'eu', + }, + }, + message: { + type: 'track', + event: 'Order 9Completed', + properties: { + total: 1000, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + position: '1', + category: 'Games,Gifts,Entertainment,Toys', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + quantity: '2', + position: '1', + category: 'Games,Gifts,Entertainment,Toys', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + }, + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.rudderstack.demo.android', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + 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', + name: 'some campaign', + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Mumbai', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + userId: 'sampleRudderstack11', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + "[Blueshift] Event shouldn't contain period(.), numeric value and contains not more than 64 characters", + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'BLUESHIFT', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + dataCenter: 'eu', + }, + }, + message: { + type: 'track', + event: 'Order.Completed', + properties: { + total: 1000, + products: [ + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + position: '1', + category: 'Games,Gifts,Entertainment,Toys', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + { + product_id: '507f1f77bcf86cd799439011', + sku: '45790-32', + name: 'Monopoly: 3rd Edition', + price: '19', + quantity: '2', + position: '1', + category: 'Games,Gifts,Entertainment,Toys', + url: 'https://www.example.com/product/path', + image_url: 'https://www.example.com/product/path.jpg', + }, + ], + }, + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.rudderstack.demo.android', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + 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', + name: 'some campaign', + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Mumbai', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + userId: 'sampleRudderstack11', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + "[Blueshift] Event shouldn't contain period(.), numeric value and contains not more than 64 characters", + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'BLUESHIFT', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 16', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + eventApiKey: 'efeb4a29aba5e75d99c8a18acd620ec1', + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + dataCenter: 'standard', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.rudderstack.demo.android', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + 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', + name: 'some campaign', + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Mumbai', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + type: 'group', + messageId: 'e5034jh0-a404-47b4-a463-76df99934kl2', + userId: 'sampleusrRudder1', + groupId: 'group22222', + traits: { + name: 'hardik', + email: 'hardik@rudderstack.com', + cookie: '1234abcd-efghklkj-1234kfjadslk-34iu123', + industry: 'Education', + employees: 399, + plan: 'enterprise', + 'total billed': 830, + gender: 'male', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getblueshift.com/api/v1/event', + headers: { + Authorization: 'Basic ZWZlYjRhMjlhYmE1ZTc1ZDk5YzhhMThhY2Q2MjBlYzE=', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + group_id: 'group22222', + customer_id: 'sampleusrRudder1', + email: 'hardik@rudderstack.com', + device_type: 'android', + device_id: '7e32188a4dab669f', + device_idfv: '7e32188a4dab669f', + device_manufacturer: 'Google', + os_name: 'Android', + network_carrier: 'Android', + event_uuid: 'e5034jh0-a404-47b4-a463-76df99934kl2', + event: 'identify', + name: 'hardik', + cookie: '1234abcd-efghklkj-1234kfjadslk-34iu123', + industry: 'Education', + employees: 399, + plan: 'enterprise', + 'total billed': 830, + gender: 'male', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'blueshift', + description: 'Test 17', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + usersApiKey: 'b4a29aba5e75duic8a18acd920ec1e2e', + dataCenter: 'eu', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.rudderstack.demo.android', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + 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', + name: 'some campaign', + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Mumbai', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + type: 'group', + messageId: 'e5034jh0-a404-47b4-a463-76df99934kl2', + userId: 'sampleusrRudder1', + groupId: 'group22222', + traits: { + name: 'hardik', + email: 'hardik@rudderstack.com', + cookie: '1234abcd-efghklkj-1234kfjadslk-34iu123', + industry: 'Education', + employees: 399, + plan: 'enterprise', + 'total billed': 830, + gender: 'male', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: '[BLUESHIFT] event API Key required for Authentication.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'BLUESHIFT', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/braze/dataDelivery/data.ts b/test/integrations/destinations/braze/dataDelivery/data.ts new file mode 100644 index 0000000000..3e1805c01d --- /dev/null +++ b/test/integrations/destinations/braze/dataDelivery/data.ts @@ -0,0 +1,488 @@ +import MockAdapter from "axios-mock-adapter"; + +export const data = [ + { + "name": "braze", + "description": "Test 0", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://rest.iad-03.braze.com/users/identify/test1", + "method": "POST", + "userId": "gabi_userId_45", + "headers": { + "Accept": "application/json", + "Authorization": "Bearer api_key", + "Content-Type": "application/json" + }, + "body": { + "FORM": {}, + "JSON": { + "aliases_to_identify": [ + { + "external_id": "gabi_userId_45", + "user_alias": { + "alias_label": "rudder_id", + "alias_name": "gabi_anonId_45" + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {}, + "params": { + "destination": "braze" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "status": 201, + "message": "Request for braze Processed Successfully", + "destinationResponse": { + "response": { + "aliases_processed": 1, + "message": "success" + }, + "status": 201 + } + } + } + } + } + }, + { + "name": "braze", + "description": "Test 1", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://rest.iad-03.braze.com/users/identify/test2", + "method": "POST", + "userId": "gabi_userId_45", + "headers": { + "Accept": "application/json", + "Authorization": "Bearer api_key", + "Content-Type": "application/json" + }, + "body": { + "FORM": {}, + "JSON": { + "aliases_to_identify": [ + { + "external_id": "gabi_userId_45", + "user_alias": { + "alias_label": "rudder_id", + "alias_name": "gabi_anonId_45" + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {}, + "params": { + "destination": "braze" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "status": 201, + "message": "Request for braze Processed Successfully", + "destinationResponse": { + "response": { + "message": "success", + "errors": [ + "minor error message" + ] + }, + "status": 201 + } + } + } + } + } + }, + { + "name": "braze", + "description": "Test 2", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://rest.iad-03.braze.com/users/identify/test3", + "method": "POST", + "userId": "gabi_userId_45", + "headers": { + "Accept": "application/json", + "Authorization": "Bearer api_key", + "Content-Type": "application/json" + }, + "body": { + "FORM": {}, + "JSON": { + "aliases_to_identify": [ + { + "external_id": "gabi_userId_45", + "user_alias": { + "alias_label": "rudder_id", + "alias_name": "gabi_anonId_45" + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {}, + "params": { + "destination": "braze" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "status": 201, + "message": "Request failed for braze with status: 201", + "destinationResponse": { + "response": { + "message": "fatal error message", + "errors": [ + "minor error message" + ] + }, + "status": 201 + }, + "statTags": { + "destType": "BRAZE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + }, + { + "name": "braze", + "description": "Test 3", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://rest.iad-03.braze.com/users/identify/test4", + "method": "POST", + "userId": "gabi_userId_45", + "headers": { + "Accept": "application/json", + "Authorization": "Bearer api_key", + "Content-Type": "application/json" + }, + "body": { + "FORM": {}, + "JSON": { + "aliases_to_identify": [ + { + "external_id": "gabi_userId_45", + "user_alias": { + "alias_label": "rudder_id", + "alias_name": "gabi_anonId_45" + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {}, + "params": { + "destination": "braze" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "status": 201, + "message": "Request for braze Processed Successfully", + "destinationResponse": { + "response": "", + "status": 201 + } + } + } + } + } + }, + { + "name": "braze", + "description": "Test 4", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://rest.iad-03.braze.com/users/identify/test5", + "method": "POST", + "userId": "gabi_userId_45", + "headers": { + "Accept": "application/json", + "Authorization": "Bearer api_key", + "Content-Type": "application/json" + }, + "body": { + "FORM": {}, + "JSON": { + "aliases_to_identify": [ + { + "external_id": "gabi_userId_45", + "user_alias": { + "alias_label": "rudder_id", + "alias_name": "gabi_anonId_45" + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {}, + "params": { + "destination": "braze" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 500, + "body": { + "output": { + "status": 500, + "message": "Request failed for braze with status: 500", + "destinationResponse": { + "response": "", + "status": 500 + }, + "statTags": { + "destType": "BRAZE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "retryable", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + }, + { + "name": "braze", + "description": "Test 5", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://rest.iad-03.braze.com/users/identify/test6", + "method": "POST", + "userId": "gabi_userId_45", + "headers": { + "Accept": "application/json", + "Authorization": "Bearer api_key", + "Content-Type": "application/json" + }, + "body": { + "FORM": {}, + "JSON": { + "aliases_to_identify": [ + { + "external_id": "gabi_userId_45", + "user_alias": { + "alias_label": "rudder_id", + "alias_name": "gabi_anonId_45" + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {}, + "params": { + "destination": "braze" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 500, + "body": { + "output": { + "status": 500, + "message": "Request failed for braze with status: 500", + "destinationResponse": { + "response": "", + "status": 500 + }, + "statTags": { + "destType": "BRAZE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "retryable", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + }, + mockFns: (mockAdapter: MockAdapter) => { + // params has `{ destination: salesforce }` + mockAdapter + .onPost( + 'https://rest.iad-03.braze.com/users/identify/test6', + { + aliases_to_identify: [ + { + external_id: 'gabi_userId_45', + user_alias: { alias_label: 'rudder_id', alias_name: 'gabi_anonId_45' }, + }, + ], + }, + { + Accept: 'application/json', + Authorization: 'Bearer api_key', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + ).replyOnce((config) => { + // @ts-ignore + const err = AxiosError.from('DNS not found', 'ENOTFOUND', config) + return Promise.reject(err); + }); + } + }, + { + "name": "braze", + "description": "Test 6", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://rest.iad-03.braze.com/users/identify/test7", + "method": "POST", + "userId": "gabi_userId_45", + "headers": { + "Accept": "application/json", + "Authorization": "Bearer api_key", + "Content-Type": "application/json" + }, + "body": { + "FORM": {}, + "JSON": { + "aliases_to_identify": [ + { + "external_id": "gabi_userId_45", + "user_alias": { + "alias_label": "rudder_id", + "alias_name": "gabi_anonId_45" + } + } + ] + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {}, + "params": { + "destination": "braze" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 500, + "body": { + "output": { + "status": 500, + "message": "Request failed for braze with status: 500", + "destinationResponse": { + "response": "", + "status": 500 + }, + "statTags": { + "destType": "BRAZE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "retryable", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/braze/network.ts b/test/integrations/destinations/braze/network.ts index 4dfd5fa2a5..1c39a247e4 100644 --- a/test/integrations/destinations/braze/network.ts +++ b/test/integrations/destinations/braze/network.ts @@ -1,3 +1,207 @@ +const dataDeliveryMocksData = [ + { + httpReq: { + url: 'https://api.amplitude.com/2/httpapi/test5', + data: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { min_id_length: 1 }, + }, + params: { destination: 'any' }, + headers: { 'Content-Type': 'application/json', 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { response: {} }, + }, + { + httpReq: { + url: 'https://api.amplitude.com/2/httpapi/test6', + data: { + api_key: 'c9d8a13b8bcab46a547f7be5200c483d', + events: [ + { + app_name: 'Rudder-CleverTap_Example', + app_version: '1.0', + time: 1619006730330, + user_id: 'gabi_userId_45', + user_properties: { + Residence: 'Shibuya', + city: 'Tokyo', + country: 'JP', + email: 'gabi29@gmail.com', + gender: 'M', + name: 'User2 Gabi2', + organization: 'Company', + region: 'ABC', + title: 'Owner', + zip: '100-0001', + }, + }, + ], + options: { min_id_length: 1 }, + }, + params: { destination: 'any' }, + headers: { 'Content-Type': 'application/json', 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: {}, + }, + { + httpReq: { + url: 'https://rest.iad-03.braze.com/users/identify/test1', + data: { + aliases_to_identify: [ + { + external_id: 'gabi_userId_45', + user_alias: { alias_label: 'rudder_id', alias_name: 'gabi_anonId_45' }, + }, + ], + }, + params: { destination: 'braze' }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer api_key', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { data: { aliases_processed: 1, message: 'success' }, status: 201 }, + }, + { + httpReq: { + url: 'https://rest.iad-03.braze.com/users/identify/test2', + data: { + aliases_to_identify: [ + { + external_id: 'gabi_userId_45', + user_alias: { alias_label: 'rudder_id', alias_name: 'gabi_anonId_45' }, + }, + ], + }, + params: { destination: 'braze' }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer api_key', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { data: { message: 'success', errors: ['minor error message'] }, status: 201 }, + }, + { + httpReq: { + url: 'https://rest.iad-03.braze.com/users/identify/test3', + data: { + aliases_to_identify: [ + { + external_id: 'gabi_userId_45', + user_alias: { alias_label: 'rudder_id', alias_name: 'gabi_anonId_45' }, + }, + ], + }, + params: { destination: 'braze' }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer api_key', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { message: 'fatal error message', errors: ['minor error message'] }, + status: 201, + }, + }, + { + httpReq: { + url: 'https://rest.iad-03.braze.com/users/identify/test4', + data: { + aliases_to_identify: [ + { + external_id: 'gabi_userId_45', + user_alias: { alias_label: 'rudder_id', alias_name: 'gabi_anonId_45' }, + }, + ], + }, + params: { destination: 'braze' }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer api_key', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { data: '', status: 201 }, + }, + { + httpReq: { + url: 'https://rest.iad-03.braze.com/users/identify/test5', + data: { + aliases_to_identify: [ + { + external_id: 'gabi_userId_45', + user_alias: { alias_label: 'rudder_id', alias_name: 'gabi_anonId_45' }, + }, + ], + }, + params: { destination: 'braze' }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer api_key', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: {}, + }, + { + httpReq: { + url: 'https://rest.iad-03.braze.com/users/identify/test7', + data: { + aliases_to_identify: [ + { + external_id: 'gabi_userId_45', + user_alias: { alias_label: 'rudder_id', alias_name: 'gabi_anonId_45' }, + }, + ], + }, + params: { destination: 'braze' }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer api_key', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { response: {} }, + }, +]; + const deleteNwData = [ { httpReq: { @@ -188,4 +392,4 @@ const deleteNwData = [ }, }, ]; -export const networkCallsData = [...deleteNwData]; +export const networkCallsData = [...deleteNwData, ...dataDeliveryMocksData]; diff --git a/test/integrations/destinations/campaign_manager/processor/data.ts b/test/integrations/destinations/campaign_manager/processor/data.ts index 6721cf2631..beff44c928 100644 --- a/test/integrations/destinations/campaign_manager/processor/data.ts +++ b/test/integrations/destinations/campaign_manager/processor/data.ts @@ -1,825 +1,830 @@ export const data = [ - { - "name": "campaign_manager", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "profileId": "34245", - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "floodlightActivityId": "456543345245", - "value": "756", - "encryptedUserIdCandidates": [ - "dfghjbnm" - ], - "quantity": "455678", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT", - "requestType": "batchinsert" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", - "headers": { - "Authorization": "Bearer dummyApiToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "kind": "dfareporting#conversionsBatchInsertRequest", - "encryptionInfo": { - "encryptionEntityType": "DCM_ACCOUNT", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "kind": "dfareporting#encryptionInfo" - }, - "conversions": [ - { - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "timestampMicros": "1668624722903000", - "floodlightActivityId": "456543345245", - "quantity": "455678", - "value": 756, - "encryptedUserIdCandidates": [ - "dfghjbnm" - ], - "nonPersonalizedAd": false, - "treatmentForUnderage": false, - "childDirectedTreatment": false, - "limitAdTracking": false - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "campaign_manager", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "originalTimestamp": "2021-01-04T08:25:04.780Z", - "properties": { - "profileId": "34245", - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "floodlightActivityId": "456543345245", - "value": "756", - "quantity": "455678", - "gclid": "string", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT", - "requestType": "batchupdate" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchupdate", - "headers": { - "Authorization": "Bearer dummyApiToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "kind": "dfareporting#conversionsBatchUpdateRequest", - "conversions": [ - { - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "timestampMicros": "1609748704780000", - "floodlightActivityId": "456543345245", - "quantity": "455678", - "value": 756, - "gclid": "string", - "nonPersonalizedAd": false, - "treatmentForUnderage": false - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "campaign_manager", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "profileId": "34245", - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "floodlightActivityId": "456543345245", - "mobileDeviceId": "string", - "value": "756", - "encryptedUserIdCandidates": [ - "dfghjbnm" - ], - "quantity": "455678", - "gclid": "string", - "matchId": "string", - "dclid": "string", - "impressionId": "string", - "requestType": "batchinsert" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "[CAMPAIGN MANAGER (DCM)]: If encryptedUserId or encryptedUserIdCandidates is used, provide proper values for properties.encryptionEntityType , properties.encryptionSource and properties.encryptionEntityId", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "CAMPAIGN_MANAGER", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "campaign_manager", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "sources", - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "floodlightConfigurationId": "213123123", - "ordinal": "string", - "floodlightActivityId": "456543345245", - "value": "756", - "quantity": "455678", - "requestType": "batchinsert" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 400, - "error": "[CAMPAIGN MANAGER (DCM)]: Atleast one of encryptedUserId,encryptedUserIdCandidates, matchId, mobileDeviceId, gclid, dclid, impressionId.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "CAMPAIGN_MANAGER", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "campaign_manager", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "originalTimestamp": "2022-11-17T00:22:02.903+05:30", - "properties": { - "profileId": "34245", - "floodlightConfigurationId": "213123123", - "ordinal": "1", - "floodlightActivityId": "456543345245", - "value": "756", - "quantity": "455678", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT", - "requestType": "batchinsert", - "matchId": "123" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", - "headers": { - "Authorization": "Bearer dummyApiToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "kind": "dfareporting#conversionsBatchInsertRequest", - "conversions": [ - { - "floodlightConfigurationId": "213123123", - "ordinal": "1", - "timestampMicros": "1668624722903000", - "floodlightActivityId": "456543345245", - "quantity": "455678", - "value": 756, - "matchId": "123", - "nonPersonalizedAd": false, - "treatmentForUnderage": false, - "childDirectedTreatment": false, - "limitAdTracking": false - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "campaign_manager", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "device": { - "id": "0572f78fa49c648e", - "name": "generic_x86_arm", - "type": "Android", - "model": "AOSP on IA Emulator", - "manufacturer": "Google", - "adTrackingEnabled": true, - "advertisingId": "44c97318-9040-4361-8bc7-4eb30f665ca8" - }, - "traits": { - "email": "alex@example.com", - "phone": "+1-202-555-0146", - "firstName": "John", - "lastName": "Gomes", - "city": "London", - "state": "England", - "countryCode": "GB", - "postalCode": "EC3M", - "streetAddress": "71 Cherry Court SOUTHAMPTON SO53 5PD UK" - }, - "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 - } - }, - "originalTimestamp": "1668624722903333", - "properties": { - "profileId": "34245", - "floodlightConfigurationId": "213123123", - "ordinal": "1", - "floodlightActivityId": "456543345245", - "value": "756", - "quantity": "455678", - "encryptionSource": "AD_SERVING", - "encryptionEntityId": "3564523", - "encryptionEntityType": "DCM_ACCOUNT", - "requestType": "batchinsert", - "matchId": "123" - }, - "type": "track", - "event": "event test", - "anonymousId": "randomId", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "destination": { - "Config": { - "profileId": "5343234", - "treatmentForUnderage": false, - "limitAdTracking": false, - "childDirectedTreatment": false, - "nonPersonalizedAd": false, - "rudderAccountId": "2EOknn1JNH7WK1MfNku4fGYKkRK" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert", - "headers": { - "Authorization": "Bearer dummyApiToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "kind": "dfareporting#conversionsBatchInsertRequest", - "conversions": [ - { - "floodlightConfigurationId": "213123123", - "ordinal": "1", - "timestampMicros": "1668624722903333", - "floodlightActivityId": "456543345245", - "quantity": "455678", - "value": 756, - "matchId": "123", - "nonPersonalizedAd": false, - "treatmentForUnderage": false, - "childDirectedTreatment": false, - "limitAdTracking": false - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "access_token": "dummyApiToken", - "refresh_token": "efgh5678", - "developer_token": "ijkl91011" - } - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'campaign_manager', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + originalTimestamp: '2022-11-17T00:22:02.903+05:30', + properties: { + profileId: '34245', + floodlightConfigurationId: '213123123', + ordinal: 'string', + floodlightActivityId: '456543345245', + value: '756', + encryptedUserIdCandidates: ['dfghjbnm'], + quantity: '455678', + encryptionSource: 'AD_SERVING', + encryptionEntityId: '3564523', + encryptionEntityType: 'DCM_ACCOUNT', + requestType: 'batchinsert', + }, + type: 'track', + event: 'event test', + anonymousId: 'randomId', + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + profileId: '5343234', + treatmentForUnderage: false, + limitAdTracking: false, + childDirectedTreatment: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert', + headers: { + Authorization: 'Bearer dummyApiToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + kind: 'dfareporting#conversionsBatchInsertRequest', + encryptionInfo: { + encryptionEntityType: 'DCM_ACCOUNT', + encryptionSource: 'AD_SERVING', + encryptionEntityId: '3564523', + kind: 'dfareporting#encryptionInfo', + }, + conversions: [ + { + floodlightConfigurationId: '213123123', + ordinal: 'string', + timestampMicros: '1668624722903000', + floodlightActivityId: '456543345245', + quantity: '455678', + value: 756, + encryptedUserIdCandidates: ['dfghjbnm'], + nonPersonalizedAd: false, + treatmentForUnderage: false, + childDirectedTreatment: false, + limitAdTracking: false, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'campaign_manager', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + originalTimestamp: '2021-01-04T08:25:04.780Z', + properties: { + profileId: '34245', + floodlightConfigurationId: '213123123', + ordinal: 'string', + floodlightActivityId: '456543345245', + value: '756', + quantity: '455678', + gclid: 'string', + encryptionSource: 'AD_SERVING', + encryptionEntityId: '3564523', + encryptionEntityType: 'DCM_ACCOUNT', + requestType: 'batchupdate', + }, + type: 'track', + event: 'event test', + anonymousId: 'randomId', + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + profileId: '5343234', + treatmentForUnderage: false, + limitAdTracking: false, + childDirectedTreatment: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchupdate', + headers: { + Authorization: 'Bearer dummyApiToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + kind: 'dfareporting#conversionsBatchUpdateRequest', + conversions: [ + { + floodlightConfigurationId: '213123123', + ordinal: 'string', + timestampMicros: '1609748704780000', + floodlightActivityId: '456543345245', + quantity: '455678', + value: 756, + gclid: 'string', + nonPersonalizedAd: false, + treatmentForUnderage: false, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'campaign_manager', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + originalTimestamp: '2022-11-17T00:22:02.903+05:30', + properties: { + profileId: '34245', + floodlightConfigurationId: '213123123', + ordinal: 'string', + floodlightActivityId: '456543345245', + mobileDeviceId: 'string', + value: '756', + encryptedUserIdCandidates: ['dfghjbnm'], + quantity: '455678', + gclid: 'string', + matchId: 'string', + dclid: 'string', + impressionId: 'string', + requestType: 'batchinsert', + }, + type: 'track', + event: 'event test', + anonymousId: 'randomId', + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + profileId: '5343234', + treatmentForUnderage: false, + limitAdTracking: false, + childDirectedTreatment: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 400, + error: + '[CAMPAIGN MANAGER (DCM)]: If encryptedUserId or encryptedUserIdCandidates is used, provide proper values for properties.encryptionEntityType , properties.encryptionSource and properties.encryptionEntityId', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'CAMPAIGN_MANAGER', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'campaign_manager', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'sources', + originalTimestamp: '2022-11-17T00:22:02.903+05:30', + properties: { + floodlightConfigurationId: '213123123', + ordinal: 'string', + floodlightActivityId: '456543345245', + value: '756', + quantity: '455678', + requestType: 'batchinsert', + }, + type: 'track', + event: 'event test', + anonymousId: 'randomId', + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + profileId: '5343234', + treatmentForUnderage: false, + limitAdTracking: false, + childDirectedTreatment: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 400, + error: + '[CAMPAIGN MANAGER (DCM)]: Atleast one of encryptedUserId,encryptedUserIdCandidates, matchId, mobileDeviceId, gclid, dclid, impressionId.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'CAMPAIGN_MANAGER', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'campaign_manager', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + originalTimestamp: '2022-11-17T00:22:02.903+05:30', + properties: { + profileId: '34245', + floodlightConfigurationId: '213123123', + ordinal: '1', + floodlightActivityId: '456543345245', + value: '756', + quantity: '455678', + encryptionSource: 'AD_SERVING', + encryptionEntityId: '3564523', + encryptionEntityType: 'DCM_ACCOUNT', + requestType: 'batchinsert', + matchId: '123', + }, + type: 'track', + event: 'event test', + anonymousId: 'randomId', + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + profileId: '5343234', + treatmentForUnderage: false, + limitAdTracking: false, + childDirectedTreatment: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert', + headers: { + Authorization: 'Bearer dummyApiToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + kind: 'dfareporting#conversionsBatchInsertRequest', + conversions: [ + { + floodlightConfigurationId: '213123123', + ordinal: '1', + timestampMicros: '1668624722903000', + floodlightActivityId: '456543345245', + quantity: '455678', + value: 756, + matchId: '123', + nonPersonalizedAd: false, + treatmentForUnderage: false, + childDirectedTreatment: false, + limitAdTracking: false, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'campaign_manager', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + id: '0572f78fa49c648e', + name: 'generic_x86_arm', + type: 'Android', + model: 'AOSP on IA Emulator', + manufacturer: 'Google', + adTrackingEnabled: true, + advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', + }, + traits: { + email: 'alex@example.com', + phone: '+1-202-555-0146', + firstName: 'John', + lastName: 'Gomes', + city: 'London', + state: 'England', + countryCode: 'GB', + postalCode: 'EC3M', + streetAddress: '71 Cherry Court SOUTHAMPTON SO53 5PD UK', + }, + 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, + }, + }, + originalTimestamp: '1668624722903333', + properties: { + profileId: '34245', + floodlightConfigurationId: '213123123', + ordinal: '1', + floodlightActivityId: '456543345245', + value: '756', + quantity: '455678', + encryptionSource: 'AD_SERVING', + encryptionEntityId: '3564523', + encryptionEntityType: 'DCM_ACCOUNT', + requestType: 'batchinsert', + matchId: '123', + }, + type: 'track', + event: 'event test', + anonymousId: 'randomId', + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + destination: { + Config: { + profileId: '5343234', + treatmentForUnderage: false, + limitAdTracking: false, + childDirectedTreatment: false, + nonPersonalizedAd: false, + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/34245/conversions/batchinsert', + headers: { + Authorization: 'Bearer dummyApiToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + kind: 'dfareporting#conversionsBatchInsertRequest', + conversions: [ + { + floodlightConfigurationId: '213123123', + ordinal: '1', + timestampMicros: '1668624722903333', + floodlightActivityId: '456543345245', + quantity: '455678', + value: 756, + matchId: '123', + nonPersonalizedAd: false, + treatmentForUnderage: false, + childDirectedTreatment: false, + limitAdTracking: false, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + access_token: 'dummyApiToken', + refresh_token: 'efgh5678', + developer_token: 'ijkl91011', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/candu/processor/data.ts b/test/integrations/destinations/candu/processor/data.ts index 83f0462538..6e5ae636bd 100644 --- a/test/integrations/destinations/candu/processor/data.ts +++ b/test/integrations/destinations/candu/processor/data.ts @@ -857,15 +857,15 @@ export const data = [ status: 200, body: [ { - statusCode: 400, - error: '[CANDU]:: Message Type is not present. Aborting message.', - statTags: { - destType: 'CANDU', - errorCategory: 'dataValidation', - errorType: 'instrumentation', - feature: 'processor', - implementation: 'native', - module: 'destination', + statusCode: 400, + error: '[CANDU]:: Message Type is not present. Aborting message.', + statTags: { + destType: 'CANDU', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', }, }, ], @@ -996,7 +996,7 @@ export const data = [ output: { version: '1', type: 'REST', - userId: "", + userId: '', method: 'POST', endpoint: 'https://api.candu.ai/api/eventWebhook', headers: { @@ -1160,7 +1160,7 @@ export const data = [ output: { version: '1', type: 'REST', - userId: "", + userId: '', method: 'POST', endpoint: 'https://api.candu.ai/api/eventWebhook', headers: { @@ -1325,7 +1325,7 @@ export const data = [ output: { version: '1', type: 'REST', - userId: "", + userId: '', method: 'POST', endpoint: 'https://api.candu.ai/api/eventWebhook', headers: { diff --git a/test/integrations/destinations/clevertap/dataDelivery/data.ts b/test/integrations/destinations/clevertap/dataDelivery/data.ts new file mode 100644 index 0000000000..bc8866823e --- /dev/null +++ b/test/integrations/destinations/clevertap/dataDelivery/data.ts @@ -0,0 +1,227 @@ +export const data = [ + { + "name": "clevertap", + "description": "Test 0", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.clevertap.com/1/upload/test1", + "headers": { + "X-CleverTap-Account-Id": "476550467", + "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "Content-Type": "application/json" + }, + "body": { + "JSON": { + "d": [ + { + "type": "profile", + "profileData": { + "Email": "jamesDoe@gmail.com", + "Name": "James Doe", + "Phone": "92374162212", + "Gender": "M", + "Employed": true, + "DOB": "1614775793", + "Education": "Science", + "Married": "Y", + "Customer Type": "Prime", + "graduate": true, + "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\":\"\"}" + }, + "identity": "anon_id" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "clevertap" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "status": 200, + "message": "Request Processed Successfully", + "destinationResponse": { + "response": { + "status": "success", + "processed": 1, + "unprocessed": [] + }, + "status": 200 + } + } + } + } + } + }, + { + "name": "clevertap", + "description": "Test 1", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {}, + "JSON": { + "d": [ + { + "identity": "anon-id-new", + "type": "event", + "evtName": "Web Page Viewed: Rudder", + "evtData": { + "title": "Home", + "path": "/" + } + } + ] + } + }, + "type": "REST", + "files": {}, + "method": "POST", + "headers": { + "X-CleverTap-Account-Id": "fakeId123", + "X-CleverTap-Passcode": "fakePasscode123", + "Content-Type": "application/json" + }, + "version": "1", + "endpoint": "https://api.clevertap.com/1/upload/test2", + "params": { + "destination": "clevertap" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 401, + "body": { + "output": { + "status": 401, + "message": "Request failed with status: 401", + "destinationResponse": { + "response": { + "status": "fail", + "error": "Invalid Credentials", + "code": 401 + }, + "status": 401 + }, + "statTags": { + "destType": "CLEVERTAP", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + }, + { + "name": "clevertap", + "description": "Test 2", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {}, + "JSON": { + "d": [ + { + "identity": "anon-id-new", + "type": "event", + "evtData": { + "title": "Home", + "path": "/" + } + } + ] + } + }, + "type": "REST", + "files": {}, + "method": "POST", + "headers": { + "X-CleverTap-Account-Id": "476550467", + "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "Content-Type": "application/json" + }, + "version": "1", + "endpoint": "https://api.clevertap.com/1/upload/test3", + "params": { + "destination": "clevertap" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 400, + "body": { + "output": { + "status": 400, + "message": "Request failed with status: 200", + "destinationResponse": { + "response": { + "status": "fail", + "processed": 0, + "unprocessed": [] + }, + "status": 200 + }, + "statTags": { + "destType": "CLEVERTAP", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/clevertap/network.ts b/test/integrations/destinations/clevertap/network.ts index 458d6faba0..c4eb23ee39 100644 --- a/test/integrations/destinations/clevertap/network.ts +++ b/test/integrations/destinations/clevertap/network.ts @@ -1,3 +1,92 @@ +const dataDeliveryMocksData = [ + { + httpReq: { + url: 'https://api.clevertap.com/1/upload/test1', + data: { + d: [ + { + type: 'profile', + profileData: { + Email: 'jamesDoe@gmail.com', + Name: 'James Doe', + Phone: '92374162212', + Gender: 'M', + Employed: true, + DOB: '1614775793', + Education: 'Science', + Married: 'Y', + 'Customer Type': 'Prime', + graduate: true, + 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":""}', + }, + identity: 'anon_id', + }, + ], + }, + params: { destination: 'clevertap' }, + headers: { + 'X-CleverTap-Account-Id': '476550467', + 'X-CleverTap-Passcode': + 'fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { data: { status: 'success', processed: 1, unprocessed: [] }, status: 200 }, + }, + { + httpReq: { + url: 'https://api.clevertap.com/1/upload/test2', + data: { + d: [ + { + identity: 'anon-id-new', + type: 'event', + evtName: 'Web Page Viewed: Rudder', + evtData: { title: 'Home', path: '/' }, + }, + ], + }, + params: { destination: 'clevertap' }, + headers: { + 'X-CleverTap-Account-Id': 'fakeId123', + 'X-CleverTap-Passcode': 'fakePasscode123', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { status: 'fail', error: 'Invalid Credentials', code: 401 }, status: 401 + }, + }, + { + httpReq: { + url: 'https://api.clevertap.com/1/upload/test3', + data: { + d: [{ identity: 'anon-id-new', type: 'event', evtData: { title: 'Home', path: '/' } }], + }, + params: { destination: 'clevertap' }, + headers: { + 'X-CleverTap-Account-Id': '476550467', + 'X-CleverTap-Passcode': + 'fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { data: { status: 'fail', processed: 0, unprocessed: [] }, status: 200 }, + }, +]; const deleteNwData = [ { httpReq: { @@ -172,4 +261,4 @@ const deleteNwData = [ }, }, ]; -export const networkCallsData = [...deleteNwData]; +export const networkCallsData = [...deleteNwData, ...dataDeliveryMocksData]; diff --git a/test/integrations/destinations/confluent_cloud/processor/data.ts b/test/integrations/destinations/confluent_cloud/processor/data.ts index 0453d3dd8f..dd43f1be83 100644 --- a/test/integrations/destinations/confluent_cloud/processor/data.ts +++ b/test/integrations/destinations/confluent_cloud/processor/data.ts @@ -1,825 +1,835 @@ export const data = [ - { - "name": "confluent_cloud", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "Purchase", - "integrations": { - "All": true - }, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "originalTimestamp": "2020-05-21T10:23:15.984Z", - "properties": { - "currency": "USD", - "revenue": 100 - }, - "receivedAt": "2020-05-21T15:53:16.013+05:30", - "request_ip": "[::1]:59371", - "sentAt": "2020-05-21T10:23:15.985Z", - "timestamp": "2020-05-21T15:53:16.012+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 46, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "Purchase", - "integrations": { - "All": true - }, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "originalTimestamp": "2020-05-21T10:23:15.984Z", - "properties": { - "currency": "USD", - "revenue": 100 - }, - "receivedAt": "2020-05-21T15:53:16.013+05:30", - "request_ip": "[::1]:59371", - "sentAt": "2020-05-21T10:23:15.985Z", - "timestamp": "2020-05-21T15:53:16.012+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 46, - "messageId": "ce46866c-6f19-42f0-86cb-18c51863b817", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "confluent_cloud", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "originalTimestamp": "2020-05-21T10:23:15.975Z", - "properties": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:58616", - "sentAt": "2020-05-21T10:23:15.975Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "page", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 47, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "originalTimestamp": "2020-05-21T10:23:15.975Z", - "properties": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:58616", - "sentAt": "2020-05-21T10:23:15.975Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "page", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 47, - "messageId": "e02dafb0-9df8-4fa2-becd-f4d8617956a4", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "confluent_cloud", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "originalTimestamp": "2020-05-21T10:23:15.979Z", - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59372", - "sentAt": "2020-05-21T10:23:15.979Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "identify", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 48, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "originalTimestamp": "2020-05-21T10:23:15.979Z", - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59372", - "sentAt": "2020-05-21T10:23:15.979Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "identify", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 48, - "messageId": "41b62b30-db5d-450c-98ed-cec14ead27cc", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "confluent_cloud", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track without property", - "integrations": { - "All": true - }, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "originalTimestamp": "2020-05-21T10:23:15.981Z", - "properties": {}, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59374", - "sentAt": "2020-05-21T10:23:15.981Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 49, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track without property", - "integrations": { - "All": true - }, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "originalTimestamp": "2020-05-21T10:23:15.981Z", - "properties": {}, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59374", - "sentAt": "2020-05-21T10:23:15.981Z", - "timestamp": "2020-05-21T15:53:16.014+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 49, - "messageId": "c409577d-5dd4-430a-8965-a20aed7b9c9e", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "confluent_cloud", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "Name": "Azure Event Hub", - "DestinationDefinition": { - "ID": "1cCs4qQ72QY8vovP7BlJ47mkjBh", - "Name": "AZURE_EVENT_HUB", - "DisplayName": "Azure Event Hub", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": null, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "originalTimestamp": "2020-05-21T10:23:15.982Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59373", - "sentAt": "2020-05-21T10:23:15.983Z", - "timestamp": "2020-05-21T15:53:16.013+05:30", - "type": "track", - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 50, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index7.html", - "referrer": "http://localhost:1111/tests/html/", - "search": "", - "title": "", - "url": "http://localhost:1111/tests/html/index7.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "test@kinesis.com", - "firstname": "Test Kinesis" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" - }, - "event": "test track with property", - "integrations": { - "All": true - }, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "originalTimestamp": "2020-05-21T10:23:15.982Z", - "properties": { - "test_prop_1": "test prop", - "test_prop_2": 1232 - }, - "receivedAt": "2020-05-21T15:53:16.014+05:30", - "request_ip": "[::1]:59373", - "sentAt": "2020-05-21T10:23:15.983Z", - "timestamp": "2020-05-21T15:53:16.013+05:30", - "type": "track", - "userId": "user-12345" - }, - "userId": "user-12345" - }, - "metadata": { - "anonymousId": "d36981e7-6413-4862-9bb9-b8595fb3d0d4", - "destinationId": "1cCz8hts5rp3YWglzhU1GPmVdjE", - "destinationType": "AZURE_EVENT_HUB", - "jobId": 50, - "messageId": "f8b6e882-3186-446a-b589-51eba60930d7", - "sourceId": "1bqCEGibwCvR7F0acuLzbEMQYIC" - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'confluent_cloud', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1cCz8hts5rp3YWglzhU1GPmVdjE', + Name: 'Azure Event Hub', + DestinationDefinition: { + ID: '1cCs4qQ72QY8vovP7BlJ47mkjBh', + Name: 'AZURE_EVENT_HUB', + DisplayName: 'Azure Event Hub', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: null, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'Purchase', + integrations: { + All: true, + }, + messageId: 'ce46866c-6f19-42f0-86cb-18c51863b817', + originalTimestamp: '2020-05-21T10:23:15.984Z', + properties: { + currency: 'USD', + revenue: 100, + }, + receivedAt: '2020-05-21T15:53:16.013+05:30', + request_ip: '[::1]:59371', + sentAt: '2020-05-21T10:23:15.985Z', + timestamp: '2020-05-21T15:53:16.012+05:30', + type: 'track', + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 46, + messageId: 'ce46866c-6f19-42f0-86cb-18c51863b817', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'Purchase', + integrations: { + All: true, + }, + messageId: 'ce46866c-6f19-42f0-86cb-18c51863b817', + originalTimestamp: '2020-05-21T10:23:15.984Z', + properties: { + currency: 'USD', + revenue: 100, + }, + receivedAt: '2020-05-21T15:53:16.013+05:30', + request_ip: '[::1]:59371', + sentAt: '2020-05-21T10:23:15.985Z', + timestamp: '2020-05-21T15:53:16.012+05:30', + type: 'track', + userId: 'user-12345', + }, + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 46, + messageId: 'ce46866c-6f19-42f0-86cb-18c51863b817', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'confluent_cloud', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1cCz8hts5rp3YWglzhU1GPmVdjE', + Name: 'Azure Event Hub', + DestinationDefinition: { + ID: '1cCs4qQ72QY8vovP7BlJ47mkjBh', + Name: 'AZURE_EVENT_HUB', + DisplayName: 'Azure Event Hub', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: null, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'e02dafb0-9df8-4fa2-becd-f4d8617956a4', + originalTimestamp: '2020-05-21T10:23:15.975Z', + properties: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:58616', + sentAt: '2020-05-21T10:23:15.975Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'page', + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 47, + messageId: 'e02dafb0-9df8-4fa2-becd-f4d8617956a4', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'e02dafb0-9df8-4fa2-becd-f4d8617956a4', + originalTimestamp: '2020-05-21T10:23:15.975Z', + properties: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:58616', + sentAt: '2020-05-21T10:23:15.975Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'page', + userId: 'user-12345', + }, + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 47, + messageId: 'e02dafb0-9df8-4fa2-becd-f4d8617956a4', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'confluent_cloud', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1cCz8hts5rp3YWglzhU1GPmVdjE', + Name: 'Azure Event Hub', + DestinationDefinition: { + ID: '1cCs4qQ72QY8vovP7BlJ47mkjBh', + Name: 'AZURE_EVENT_HUB', + DisplayName: 'Azure Event Hub', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: null, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '41b62b30-db5d-450c-98ed-cec14ead27cc', + originalTimestamp: '2020-05-21T10:23:15.979Z', + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59372', + sentAt: '2020-05-21T10:23:15.979Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'identify', + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 48, + messageId: '41b62b30-db5d-450c-98ed-cec14ead27cc', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '41b62b30-db5d-450c-98ed-cec14ead27cc', + originalTimestamp: '2020-05-21T10:23:15.979Z', + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59372', + sentAt: '2020-05-21T10:23:15.979Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'identify', + userId: 'user-12345', + }, + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 48, + messageId: '41b62b30-db5d-450c-98ed-cec14ead27cc', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'confluent_cloud', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1cCz8hts5rp3YWglzhU1GPmVdjE', + Name: 'Azure Event Hub', + DestinationDefinition: { + ID: '1cCs4qQ72QY8vovP7BlJ47mkjBh', + Name: 'AZURE_EVENT_HUB', + DisplayName: 'Azure Event Hub', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: null, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'test track without property', + integrations: { + All: true, + }, + messageId: 'c409577d-5dd4-430a-8965-a20aed7b9c9e', + originalTimestamp: '2020-05-21T10:23:15.981Z', + properties: {}, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59374', + sentAt: '2020-05-21T10:23:15.981Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'track', + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 49, + messageId: 'c409577d-5dd4-430a-8965-a20aed7b9c9e', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'test track without property', + integrations: { + All: true, + }, + messageId: 'c409577d-5dd4-430a-8965-a20aed7b9c9e', + originalTimestamp: '2020-05-21T10:23:15.981Z', + properties: {}, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59374', + sentAt: '2020-05-21T10:23:15.981Z', + timestamp: '2020-05-21T15:53:16.014+05:30', + type: 'track', + userId: 'user-12345', + }, + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 49, + messageId: 'c409577d-5dd4-430a-8965-a20aed7b9c9e', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'confluent_cloud', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1cCz8hts5rp3YWglzhU1GPmVdjE', + Name: 'Azure Event Hub', + DestinationDefinition: { + ID: '1cCs4qQ72QY8vovP7BlJ47mkjBh', + Name: 'AZURE_EVENT_HUB', + DisplayName: 'Azure Event Hub', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: null, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: 'f8b6e882-3186-446a-b589-51eba60930d7', + originalTimestamp: '2020-05-21T10:23:15.982Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59373', + sentAt: '2020-05-21T10:23:15.983Z', + timestamp: '2020-05-21T15:53:16.013+05:30', + type: 'track', + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 50, + messageId: 'f8b6e882-3186-446a-b589-51eba60930d7', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index7.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/index7.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'test@kinesis.com', + firstname: 'Test Kinesis', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36', + }, + event: 'test track with property', + integrations: { + All: true, + }, + messageId: 'f8b6e882-3186-446a-b589-51eba60930d7', + originalTimestamp: '2020-05-21T10:23:15.982Z', + properties: { + test_prop_1: 'test prop', + test_prop_2: 1232, + }, + receivedAt: '2020-05-21T15:53:16.014+05:30', + request_ip: '[::1]:59373', + sentAt: '2020-05-21T10:23:15.983Z', + timestamp: '2020-05-21T15:53:16.013+05:30', + type: 'track', + userId: 'user-12345', + }, + userId: 'user-12345', + }, + metadata: { + anonymousId: 'd36981e7-6413-4862-9bb9-b8595fb3d0d4', + destinationId: '1cCz8hts5rp3YWglzhU1GPmVdjE', + destinationType: 'AZURE_EVENT_HUB', + jobId: 50, + messageId: 'f8b6e882-3186-446a-b589-51eba60930d7', + sourceId: '1bqCEGibwCvR7F0acuLzbEMQYIC', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/courier/processor/data.ts b/test/integrations/destinations/courier/processor/data.ts index a1bcb930d7..9371f9e7b2 100644 --- a/test/integrations/destinations/courier/processor/data.ts +++ b/test/integrations/destinations/courier/processor/data.ts @@ -1,333 +1,333 @@ export const data = [ - { - "name": "courier", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "type": "track", - "channel": "web", - "event": "Product Added", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "destination": { - "Config": {} - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "apiKey is required", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration", - "destType": "COURIER", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "courier", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "context": { - "ip": "8.8.8.8" - }, - "traits": { - "name": "Joe Doe", - "email": "joe@example.com", - "plan": "basic", - "age": 27 - }, - "type": "identify", - "userId": "userIdTest", - "originalTimestamp": "2022-10-17T15:53:10.566+05:30", - "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.courier.com/inbound/rudderstack", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "context": { - "ip": "8.8.8.8" - }, - "traits": { - "name": "Joe Doe", - "email": "joe@example.com", - "plan": "basic", - "age": 27 - }, - "type": "identify", - "userId": "userIdTest", - "originalTimestamp": "2022-10-17T15:53:10.566+05:30", - "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "courier", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "context": { - "ip": "8.8.8.8", - "traits": { - "name": "Joe Doe", - "email": "joe@example.com", - "plan": "basic", - "age": 27 - } - }, - "type": "identify", - "userId": "userIdTest", - "originalTimestamp": "2022-10-17T15:53:10.566+05:30", - "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.courier.com/inbound/rudderstack", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "context": { - "ip": "8.8.8.8", - "traits": { - "name": "Joe Doe", - "email": "joe@example.com", - "plan": "basic", - "age": 27 - } - }, - "type": "identify", - "userId": "userIdTest", - "originalTimestamp": "2022-10-17T15:53:10.566+05:30", - "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82", - "traits": { - "name": "Joe Doe", - "email": "joe@example.com", - "plan": "basic", - "age": 27 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "courier", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "context": { - "ip": "8.8.8.8" - }, - "type": "identify", - "userId": "userIdTest", - "originalTimestamp": "2022-10-17T15:53:10.566+05:30", - "messageId": "8d04cc30-fc15-49bd-901f-c5c3f72a7d82" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "traits is a required field for identify call", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "COURIER", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "courier", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "context": { - "ip": "8.8.8.8" - }, - "event": "trackTest", - "properties": { - "activity": "checkout" - }, - "userId": "userIdTest", - "type": "track", - "messageId": "3c0abc14-96a2-4aed-9dfc-ee463832cc24", - "originalTimestamp": "2022-10-17T15:32:44.202+05:30" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.courier.com/inbound/rudderstack", - "headers": { - "Content-Type": "application/json", - "Authorization": "Bearer dummyApiKey" - }, - "params": {}, - "body": { - "JSON": { - "context": { - "ip": "8.8.8.8" - }, - "event": "trackTest", - "properties": { - "activity": "checkout" - }, - "userId": "userIdTest", - "type": "track", - "messageId": "3c0abc14-96a2-4aed-9dfc-ee463832cc24", - "originalTimestamp": "2022-10-17T15:32:44.202+05:30" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'courier', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + channel: 'web', + event: 'Product Added', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + destination: { + Config: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'apiKey is required', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'COURIER', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'courier', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + context: { + ip: '8.8.8.8', + }, + traits: { + name: 'Joe Doe', + email: 'joe@example.com', + plan: 'basic', + age: 27, + }, + type: 'identify', + userId: 'userIdTest', + originalTimestamp: '2022-10-17T15:53:10.566+05:30', + messageId: '8d04cc30-fc15-49bd-901f-c5c3f72a7d82', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.courier.com/inbound/rudderstack', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer dummyApiKey', + }, + params: {}, + body: { + JSON: { + context: { + ip: '8.8.8.8', + }, + traits: { + name: 'Joe Doe', + email: 'joe@example.com', + plan: 'basic', + age: 27, + }, + type: 'identify', + userId: 'userIdTest', + originalTimestamp: '2022-10-17T15:53:10.566+05:30', + messageId: '8d04cc30-fc15-49bd-901f-c5c3f72a7d82', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'courier', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + context: { + ip: '8.8.8.8', + traits: { + name: 'Joe Doe', + email: 'joe@example.com', + plan: 'basic', + age: 27, + }, + }, + type: 'identify', + userId: 'userIdTest', + originalTimestamp: '2022-10-17T15:53:10.566+05:30', + messageId: '8d04cc30-fc15-49bd-901f-c5c3f72a7d82', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.courier.com/inbound/rudderstack', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer dummyApiKey', + }, + params: {}, + body: { + JSON: { + context: { + ip: '8.8.8.8', + traits: { + name: 'Joe Doe', + email: 'joe@example.com', + plan: 'basic', + age: 27, + }, + }, + type: 'identify', + userId: 'userIdTest', + originalTimestamp: '2022-10-17T15:53:10.566+05:30', + messageId: '8d04cc30-fc15-49bd-901f-c5c3f72a7d82', + traits: { + name: 'Joe Doe', + email: 'joe@example.com', + plan: 'basic', + age: 27, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'courier', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + context: { + ip: '8.8.8.8', + }, + type: 'identify', + userId: 'userIdTest', + originalTimestamp: '2022-10-17T15:53:10.566+05:30', + messageId: '8d04cc30-fc15-49bd-901f-c5c3f72a7d82', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'traits is a required field for identify call', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'COURIER', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'courier', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + context: { + ip: '8.8.8.8', + }, + event: 'trackTest', + properties: { + activity: 'checkout', + }, + userId: 'userIdTest', + type: 'track', + messageId: '3c0abc14-96a2-4aed-9dfc-ee463832cc24', + originalTimestamp: '2022-10-17T15:32:44.202+05:30', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.courier.com/inbound/rudderstack', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer dummyApiKey', + }, + params: {}, + body: { + JSON: { + context: { + ip: '8.8.8.8', + }, + event: 'trackTest', + properties: { + activity: 'checkout', + }, + userId: 'userIdTest', + type: 'track', + messageId: '3c0abc14-96a2-4aed-9dfc-ee463832cc24', + originalTimestamp: '2022-10-17T15:32:44.202+05:30', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/criteo_audience/dataDelivery/data.ts b/test/integrations/destinations/criteo_audience/dataDelivery/data.ts new file mode 100644 index 0000000000..bc3af8f22d --- /dev/null +++ b/test/integrations/destinations/criteo_audience/dataDelivery/data.ts @@ -0,0 +1,530 @@ +export const data = [ + { + "name": "criteo_audience", + "description": "Test 0", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34894/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "remove", + "identifierType": "gum", + "identifiers": [ + "sample_gum3" + ], + "internalIdentifiers": false, + "gumCallerId": "329739" + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "criteo_audience" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "status": 200, + "message": "Request Processed Successfully", + "destinationResponse": { + "response": "", + "status": 200 + } + } + } + } + } + }, + { + "name": "criteo_audience", + "description": "Test 1", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/3485/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "madid", + "identifiers": [ + "sample_madid", + "sample_madid_1", + "sample_madid_2" + ], + "internalIdentifiers": false + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "criteo_audience" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 401, + "body": { + "output": { + "status": 401, + "authErrorCategory": "REFRESH_TOKEN", + "destinationResponse": { + "errors": [ + { + "traceIdentifier": "80a1a0ba3981b04da847d05700752c77", + "type": "authorization", + "code": "authorization-token-expired", + "instance": "/2022-10/audiences/123/contactlist", + "title": "The authorization token has expired" + } + ] + }, + "message": "The authorization token has expired during criteo_audience response transformation", + "statTags": { + "destType": "CRITEO_AUDIENCE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + }, + { + "name": "criteo_audience", + "description": "Test 2", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34895/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "madid", + "identifiers": [ + "sample_madid", + "sample_madid_1", + "sample_madid_2" + ], + "internalIdentifiers": false + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "criteo_audience" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 401, + "body": { + "output": { + "status": 401, + "authErrorCategory": "REFRESH_TOKEN", + "destinationResponse": { + "errors": [ + { + "traceIdentifier": "80a1a0ba3981b04da847d05700752c77", + "type": "authorization", + "code": "authorization-token-invalid", + "instance": "/2022-10/audiences/123/contactlist", + "title": "The authorization header is invalid" + } + ] + }, + "message": "The authorization header is invalid during criteo_audience response transformation", + "statTags": { + "destType": "CRITEO_AUDIENCE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + }, + { + "name": "criteo_audience", + "description": "Test 3", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34896/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "madid", + "identifiers": [ + "sample_madid", + "sample_madid_1", + "sample_madid_2" + ], + "internalIdentifiers": false + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "criteo_audience" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 400, + "body": { + "output": { + "message": "AudienceId is Invalid. Please Provide Valid AudienceId", + "destinationResponse": { + "response": { + "errors": [ + { + "code": "audience-invalid", + "traceIdentifier": "80a1a0ba3981b04da847d05700752c77", + "type": "authorization" + } + ] + }, + "status": 404 + }, + "statTags": { + "destType": "CRITEO_AUDIENCE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "meta": "instrumentation", + "module": "destination" + }, + "status": 400 + } + } + } + } + }, + { + "name": "criteo_audience", + "description": "Test 4", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34897/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "madid", + "identifiers": [ + "sample_madid", + "sample_madid_1", + "sample_madid_2" + ], + "internalIdentifiers": false + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "criteo_audience" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 500, + "body": { + "output": { + "destinationResponse": { + "response": { + "errors": [ + { + "code": "audience-invalid", + "traceIdentifier": "80a1a0ba3981b04da847d05700752c77", + "type": "authorization" + } + ] + }, + "status": 503 + }, + "message": "Request Failed: during criteo_audience response transformation (Retryable)", + "statTags": { + "destType": "CRITEO_AUDIENCE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "feature": "dataDelivery", + "implementation": "native", + "errorType": "retryable", + "module": "destination" + }, + "status": 500 + } + } + } + } + }, + { + "name": "criteo_audience", + "description": "Test 5", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34898/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "madid", + "identifiers": [ + "sample_madid", + "sample_madid_1", + "sample_madid_2" + ], + "internalIdentifiers": false + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "criteo_audience" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 429, + "body": { + "output": { + "destinationResponse": { + "response": {}, + "status": 429 + }, + "message": "Request Failed: during criteo_audience response transformation - due to Request Limit exceeded, (Throttled)", + "statTags": { + "destType": "CRITEO_AUDIENCE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "throttled", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + }, + "status": 429 + } + } + } + } + }, + { + "name": "criteo_audience", + "description": "Test 6", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "PATCH", + "endpoint": "https://api.criteo.com/2022-10/audiences/34899/contactlist", + "headers": { + "Authorization": "Bearer success_access_token", + "Content-Type": "application/json", + "Accept": "application/json" + }, + "body": { + "JSON": { + "data": { + "type": "ContactlistAmendment", + "attributes": { + "operation": "add", + "identifierType": "madid", + "identifiers": [ + "sample_madid", + "sample_madid_1", + "sample_madid_2" + ], + "internalIdentifiers": false + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "criteo_audience" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 400, + "body": { + "output": { + "destinationResponse": { + "response": { + "message": "unknown error" + }, + "status": 410 + }, + "message": "Request Failed: during criteo_audience response transformation with status \"410\" due to \"{\"message\":\"unknown error\"}\", (Aborted) ", + "statTags": { + "destType": "CRITEO_AUDIENCE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + }, + "status": 400 + } + } + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/criteo_audience/network.ts b/test/integrations/destinations/criteo_audience/network.ts new file mode 100644 index 0000000000..959e8a2112 --- /dev/null +++ b/test/integrations/destinations/criteo_audience/network.ts @@ -0,0 +1,230 @@ +export const networkCallsData = [ + { + httpReq: { + url: 'https://api.criteo.com/2022-10/audiences/34894/contactlist', + data: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'remove', + identifierType: 'gum', + identifiers: ['sample_gum3'], + internalIdentifiers: false, + gumCallerId: '329739', + }, + }, + }, + params: { destination: 'criteo_audience' }, + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'PATCH', + }, + httpRes: { status: 200 }, + }, + { + httpReq: { + url: 'https://api.criteo.com/2022-10/audiences/3485/contactlist', + data: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'madid', + identifiers: ['sample_madid', 'sample_madid_1', 'sample_madid_2'], + internalIdentifiers: false, + }, + }, + }, + params: { destination: 'criteo_audience' }, + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'PATCH', + }, + httpRes: { + code: '400', + data: { + errors: [ + { + traceIdentifier: '80a1a0ba3981b04da847d05700752c77', + type: 'authorization', + code: 'authorization-token-expired', + instance: '/2022-10/audiences/123/contactlist', + title: 'The authorization token has expired', + }, + ], + }, + status: 401, + }, + }, + { + httpReq: { + url: 'https://api.criteo.com/2022-10/audiences/34895/contactlist', + data: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'madid', + identifiers: ['sample_madid', 'sample_madid_1', 'sample_madid_2'], + internalIdentifiers: false, + }, + }, + }, + params: { destination: 'criteo_audience' }, + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'PATCH', + }, + httpRes: { + code: '400', + data: { + errors: [ + { + traceIdentifier: '80a1a0ba3981b04da847d05700752c77', + type: 'authorization', + code: 'authorization-token-invalid', + instance: '/2022-10/audiences/123/contactlist', + title: 'The authorization header is invalid', + }, + ], + }, + status: 401, + }, + }, + { + httpReq: { + url: 'https://api.criteo.com/2022-10/audiences/34896/contactlist', + data: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'madid', + identifiers: ['sample_madid', 'sample_madid_1', 'sample_madid_2'], + internalIdentifiers: false, + }, + }, + }, + params: { destination: 'criteo_audience' }, + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'PATCH', + }, + httpRes: { + code: '400', + data: { + errors: [ + { + traceIdentifier: '80a1a0ba3981b04da847d05700752c77', + type: 'authorization', + code: 'audience-invalid', + }, + ], + }, + status: 404, + }, + }, + { + httpReq: { + url: 'https://api.criteo.com/2022-10/audiences/34897/contactlist', + data: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'madid', + identifiers: ['sample_madid', 'sample_madid_1', 'sample_madid_2'], + internalIdentifiers: false, + }, + }, + }, + params: { destination: 'criteo_audience' }, + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'PATCH', + }, + httpRes: { + code: '500', + data: { + errors: [ + { + traceIdentifier: '80a1a0ba3981b04da847d05700752c77', + type: 'authorization', + code: 'audience-invalid', + }, + ], + }, + status: 503, + }, + }, + { + httpReq: { + url: 'https://api.criteo.com/2022-10/audiences/34898/contactlist', + data: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'madid', + identifiers: ['sample_madid', 'sample_madid_1', 'sample_madid_2'], + internalIdentifiers: false, + }, + }, + }, + params: { destination: 'criteo_audience' }, + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'PATCH', + }, + httpRes: { code: '429', data: {}, status: 429 }, + }, + { + httpReq: { + url: 'https://api.criteo.com/2022-10/audiences/34899/contactlist', + data: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'madid', + identifiers: ['sample_madid', 'sample_madid_1', 'sample_madid_2'], + internalIdentifiers: false, + }, + }, + }, + params: { destination: 'criteo_audience' }, + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'PATCH', + }, + httpRes: { code: '400', data: { message: 'unknown error' }, status: 410 }, + }, +]; diff --git a/test/integrations/destinations/criteo_audience/processor/data.ts b/test/integrations/destinations/criteo_audience/processor/data.ts index e7fcbcad9c..61573fed9b 100644 --- a/test/integrations/destinations/criteo_audience/processor/data.ts +++ b/test/integrations/destinations/criteo_audience/processor/data.ts @@ -1,1638 +1,1616 @@ export const data = [ - { - "name": "criteo_audience", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com" - }, - { - "madid": "sample_madid", - "email": "alex@email.com" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34894", - "audienceType": "email" - }, - "ID": "sample_destinationId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34894/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "email", - "internalIdentifiers": false, - "identifiers": [ - "alex@email.com", - "amy@email.com", - "van@email.com", - "alex@email.com", - "amy@email.com", - "van@email.com" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid" - }, - { - "madid": "sample_madid_1" - }, - { - "madid": "sample_madid_2" - }, - { - "madid": "sample_madid_10" - }, - { - "madid": "sample_madid_13" - }, - { - "madid": "sample_madid_11" - }, - { - "madid": "sample_madid_12" - } - ], - "remove": [ - { - "madid": "sample_madid_3" - }, - { - "madid": "sample_madid_4" - }, - { - "madid": "sample_madid_5" - }, - { - "madid": "sample_madid_6" - }, - { - "madid": "sample_madid_7" - }, - { - "madid": "sample_madid_8" - }, - { - "madid": "sample_madid_9" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "madid" - }, - "ID": "sample_destinationId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "madid", - "internalIdentifiers": false, - "identifiers": [ - "sample_madid", - "sample_madid_1", - "sample_madid_2", - "sample_madid_10", - "sample_madid_13", - "sample_madid_11", - "sample_madid_12" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "remove", - "identifierType": "madid", - "internalIdentifiers": false, - "identifiers": [ - "sample_madid_3", - "sample_madid_4", - "sample_madid_5", - "sample_madid_6", - "sample_madid_7", - "sample_madid_8", - "sample_madid_9" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34894", - "audienceType": "email" - }, - "ID": "sample_destinationId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34894/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "email", - "internalIdentifiers": false, - "identifiers": [ - "alex@email.com", - "amy@email.com", - "van@email.com" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34895", - "audienceType": "madid" - }, - "ID": "sample_destinationId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34895/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "madid", - "internalIdentifiers": false, - "identifiers": [ - "sample_madid", - "sample_madid_1", - "sample_madid_2" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ], - "remove": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "madid" - }, - "ID": "sample_destinationId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "madid", - "internalIdentifiers": false, - "identifiers": [ - "sample_madid", - "sample_madid_1", - "sample_madid_2" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "remove", - "identifierType": "madid", - "internalIdentifiers": false, - "identifiers": [ - "sample_madid" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ], - "remove": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "identityLink" - }, - "ID": "sample_destinationId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "identityLink", - "internalIdentifiers": false, - "identifiers": [ - "text.com", - "yahoo.com", - "abc.com" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "remove", - "identifierType": "identityLink", - "internalIdentifiers": false, - "identifiers": [ - "text.com" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 6", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sample_gum1" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sample_gum2" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sample_gum3" - } - ], - "remove": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sample_gum3" - } - ] - } - }, - "context": { - "ip": "14.5.67.21" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "gum", - "gumCallerId": "329739" - }, - "ID": "sample_destinationId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "add", - "identifierType": "gum", - "internalIdentifiers": false, - "gumCallerId": "329739", - "identifiers": [ - "sample_gum1", - "sample_gum2", - "sample_gum3" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "PATCH", - "endpoint": "https://api.criteo.com/2022-10/audiences/34893/contactlist", - "headers": { - "Authorization": "Bearer success_access_token", - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "type": "ContactlistAmendment", - "attributes": { - "operation": "remove", - "identifierType": "gum", - "internalIdentifiers": false, - "gumCallerId": "329739", - "identifiers": [ - "sample_gum3" - ] - } - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 7", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "identify", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "sample_destinationId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 400, - "error": "Event type identify is not supported", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "CRITEO_AUDIENCE", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 8", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "sample_destinationId" - }, - "message": { - "type": "audiencelist", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user@27", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "brand": "John Players", - "price": "15000", - "firstName": "Test", - "email": "test@rudderstack.com", - "userId": "user@27" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "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": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 400, - "error": "Message properties is not present. Aborting message.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "CRITEO_AUDIENCE", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 9", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "sample_destinationId" - }, - "message": { - "event": "add_to_Cart", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user@27", - "channel": "web", - "properties": { - "brand": "Zara", - "price": "12000" - }, - "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": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 400, - "error": "listData is not present inside properties. Aborting message.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "CRITEO_AUDIENCE", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 10", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": {} - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "sample_destinationId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 400, - "error": "Payload could not be populated", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "CRITEO_AUDIENCE", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 11", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34893", - "audienceType": "email" - }, - "ID": "sample_destinationId" - }, - "message": { - "event": "add_to_Cart", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user@27", - "channel": "web", - "properties": { - "brand": "Zara", - "price": "12000" - }, - "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": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 400, - "error": "Message Type is not present. Aborting message.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "CRITEO_AUDIENCE", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 12", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "destination": { - "Config": { - "audienceId": "34893", - "audienceType": "gum" - }, - "ID": "sample_destinationId" - }, - "message": { - "event": "add_to_Cart", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user@27", - "type": "audiencelist", - "channel": "web", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sample_gum1" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sample_gum2" - }, - { - "madid": "sample_madid_2", - "email": "van@email.com", - "identityLink": "abc.com", - "gum": "sample_gum3" - } - ] - }, - "brand": "Zara", - "price": "12000" - }, - "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": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 400, - "error": "gumCallerId is required for audience type gum", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration", - "destType": "CRITEO_AUDIENCE", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "criteo_audience", - "description": "Test 13", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "message": { - "userId": "user 1", - "type": "audiencelist", - "properties": { - "listData": { - "add": [ - { - "madid": "sample_madid", - "email": "alex@email.com", - "identityLink": "text.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_1", - "email": "amy@email.com", - "identityLink": "yahoo.com", - "gum": "sdjfds" - }, - { - "madid": "sample_madid_2", - "identityLink": "abc.com", - "gum": "sdjfds" - } - ] - } - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "destination": { - "Config": { - "clientId": "abcdef8-f49-4cd6-b4c5-958b3d66d431", - "clientSecret": "sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg", - "audienceId": "34894", - "audienceType": "email" - }, - "ID": "sample_destinationId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "secret": { - "accessToken": "success_access_token" - } - }, - "statusCode": 400, - "error": "Required property for email type audience is not available in an object", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "CRITEO_AUDIENCE", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - } -] \ No newline at end of file + { + name: 'criteo_audience', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + }, + { + madid: 'sample_madid', + email: 'alex@email.com', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34894', + audienceType: 'email', + }, + ID: 'sample_destinationId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34894/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'email', + internalIdentifiers: false, + identifiers: [ + 'alex@email.com', + 'amy@email.com', + 'van@email.com', + 'alex@email.com', + 'amy@email.com', + 'van@email.com', + ], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + }, + { + madid: 'sample_madid_1', + }, + { + madid: 'sample_madid_2', + }, + { + madid: 'sample_madid_10', + }, + { + madid: 'sample_madid_13', + }, + { + madid: 'sample_madid_11', + }, + { + madid: 'sample_madid_12', + }, + ], + remove: [ + { + madid: 'sample_madid_3', + }, + { + madid: 'sample_madid_4', + }, + { + madid: 'sample_madid_5', + }, + { + madid: 'sample_madid_6', + }, + { + madid: 'sample_madid_7', + }, + { + madid: 'sample_madid_8', + }, + { + madid: 'sample_madid_9', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'madid', + }, + ID: 'sample_destinationId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'madid', + internalIdentifiers: false, + identifiers: [ + 'sample_madid', + 'sample_madid_1', + 'sample_madid_2', + 'sample_madid_10', + 'sample_madid_13', + 'sample_madid_11', + 'sample_madid_12', + ], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'remove', + identifierType: 'madid', + internalIdentifiers: false, + identifiers: [ + 'sample_madid_3', + 'sample_madid_4', + 'sample_madid_5', + 'sample_madid_6', + 'sample_madid_7', + 'sample_madid_8', + 'sample_madid_9', + ], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + identityLink: 'yahoo.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + identityLink: 'abc.com', + gum: 'sdjfds', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34894', + audienceType: 'email', + }, + ID: 'sample_destinationId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34894/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'email', + internalIdentifiers: false, + identifiers: ['alex@email.com', 'amy@email.com', 'van@email.com'], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + identityLink: 'yahoo.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + identityLink: 'abc.com', + gum: 'sdjfds', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34895', + audienceType: 'madid', + }, + ID: 'sample_destinationId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34895/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'madid', + internalIdentifiers: false, + identifiers: ['sample_madid', 'sample_madid_1', 'sample_madid_2'], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + identityLink: 'yahoo.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + identityLink: 'abc.com', + gum: 'sdjfds', + }, + ], + remove: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'madid', + }, + ID: 'sample_destinationId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'madid', + internalIdentifiers: false, + identifiers: ['sample_madid', 'sample_madid_1', 'sample_madid_2'], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'remove', + identifierType: 'madid', + internalIdentifiers: false, + identifiers: ['sample_madid'], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + identityLink: 'yahoo.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + identityLink: 'abc.com', + gum: 'sdjfds', + }, + ], + remove: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'identityLink', + }, + ID: 'sample_destinationId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'identityLink', + internalIdentifiers: false, + identifiers: ['text.com', 'yahoo.com', 'abc.com'], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'remove', + identifierType: 'identityLink', + internalIdentifiers: false, + identifiers: ['text.com'], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sample_gum1', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + identityLink: 'yahoo.com', + gum: 'sample_gum2', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + identityLink: 'abc.com', + gum: 'sample_gum3', + }, + ], + remove: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sample_gum3', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'gum', + gumCallerId: '329739', + }, + ID: 'sample_destinationId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'add', + identifierType: 'gum', + internalIdentifiers: false, + gumCallerId: '329739', + identifiers: ['sample_gum1', 'sample_gum2', 'sample_gum3'], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'PATCH', + endpoint: 'https://api.criteo.com/2022-10/audiences/34893/contactlist', + headers: { + Authorization: 'Bearer success_access_token', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + data: { + type: 'ContactlistAmendment', + attributes: { + operation: 'remove', + identifierType: 'gum', + internalIdentifiers: false, + gumCallerId: '329739', + identifiers: ['sample_gum3'], + }, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + message: { + userId: 'user 1', + type: 'identify', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + identityLink: 'yahoo.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + identityLink: 'abc.com', + gum: 'sdjfds', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'email', + }, + ID: 'sample_destinationId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 400, + error: 'Event type identify is not supported', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'CRITEO_AUDIENCE', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'email', + }, + ID: 'sample_destinationId', + }, + message: { + type: 'audiencelist', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user@27', + channel: 'web', + context: { + os: { + name: '', + version: '1.12.3', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + traits: { + brand: 'John Players', + price: '15000', + firstName: 'Test', + email: 'test@rudderstack.com', + userId: 'user@27', + }, + locale: 'en-US', + device: { + token: 'token', + id: 'id', + type: 'ios', + }, + 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: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 400, + error: 'Message properties is not present. Aborting message.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'CRITEO_AUDIENCE', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'email', + }, + ID: 'sample_destinationId', + }, + message: { + event: 'add_to_Cart', + type: 'track', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user@27', + channel: 'web', + properties: { + brand: 'Zara', + price: '12000', + }, + 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: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 400, + error: 'listData is not present inside properties. Aborting message.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'CRITEO_AUDIENCE', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: {}, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'email', + }, + ID: 'sample_destinationId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 400, + error: 'Payload could not be populated', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'CRITEO_AUDIENCE', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34893', + audienceType: 'email', + }, + ID: 'sample_destinationId', + }, + message: { + event: 'add_to_Cart', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user@27', + channel: 'web', + properties: { + brand: 'Zara', + price: '12000', + }, + 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: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 400, + error: 'Message Type is not present. Aborting message.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'CRITEO_AUDIENCE', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + destination: { + Config: { + audienceId: '34893', + audienceType: 'gum', + }, + ID: 'sample_destinationId', + }, + message: { + event: 'add_to_Cart', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user@27', + type: 'audiencelist', + channel: 'web', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sample_gum1', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + identityLink: 'yahoo.com', + gum: 'sample_gum2', + }, + { + madid: 'sample_madid_2', + email: 'van@email.com', + identityLink: 'abc.com', + gum: 'sample_gum3', + }, + ], + }, + brand: 'Zara', + price: '12000', + }, + 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: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 400, + error: 'gumCallerId is required for audience type gum', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'CRITEO_AUDIENCE', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'criteo_audience', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + madid: 'sample_madid', + email: 'alex@email.com', + identityLink: 'text.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_1', + email: 'amy@email.com', + identityLink: 'yahoo.com', + gum: 'sdjfds', + }, + { + madid: 'sample_madid_2', + identityLink: 'abc.com', + gum: 'sdjfds', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + clientId: 'abcdef8-f49-4cd6-b4c5-958b3d66d431', + clientSecret: 'sjhdkhfrz6yc9LrRRIPimE9h53jADLccXTykHCcA6eEoFR4rXQg', + audienceId: '34894', + audienceType: 'email', + }, + ID: 'sample_destinationId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + accessToken: 'success_access_token', + }, + }, + statusCode: 400, + error: 'Required property for email type audience is not available in an object', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'CRITEO_AUDIENCE', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/customerio/processor/data.ts b/test/integrations/destinations/customerio/processor/data.ts index 4fc83099ee..5bbbfe7b10 100644 --- a/test/integrations/destinations/customerio/processor/data.ts +++ b/test/integrations/destinations/customerio/processor/data.ts @@ -1,8483 +1,8278 @@ export const data = [ - { - "name": "customerio", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "type": "identify", - "userId": "cio_1234", - "integrations": { - "All": true - }, - "traits": { - "email": "updated_email@example.com", - "id": "updated-id-value" - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "email": "updated_email@example.com", - "id": "updated-id-value" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/cio_1234", - "userId": "cio_1234", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com", - "dot.name": "Arnab Pal", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "apiKey not found in Configs", - "statTags": { - "destType": "CUSTOMERIO", - "errorCategory": "dataValidation", - "errorType": "configuration", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com", - "dot.name": "Arnab Pal", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "_timestamp": 1571043797, - "anonymous_id": "123456", - "city": "NY", - "state": "CA", - "street": "", - "prop1": "val1", - "prop2": "val2", - "country": "USA", - "postalCode": 712136, - "email": "test@gmail.com", - "dot.name": "Arnab Pal" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/123456", - "userId": "123456", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "dot.name": "Arnab Pal", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "userId or email is not present", - "statTags": { - "destType": "CUSTOMERIO", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com", - "dot.name": "Arnab Pal", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "_timestamp": 1571043797, - "anonymous_id": "123456", - "city": "NY", - "country": "USA", - "dot.name": "Arnab Pal", - "email": "test@gmail.com", - "postalCode": 712136, - "prop1": "val1", - "prop2": "val2", - "state": "CA", - "street": "" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/test@gmail.com", - "userId": "123456", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "page", - "data": { - "url": "www.rudderlabs.com", - "path": "/test", - "search": "abc", - "referrer": "Rudder", - "title": "Test Page" - }, - "timestamp": 1571051718, - "name": "ApplicationLoaded" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 6", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 7", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 8", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 9", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "7e32188a4dab669f", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.torpedolabs.wynn.wscci.dev", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android", - "token": "abcxyz" - }, - "library": { - "name": "com.rudderlabs.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "event": "Application Installed", - "integrations": { - "All": true - }, - "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", - "properties": { - "review_id": "some_review_id", - "product_id": "some_product_id_a", - "rating": 2, - "review_body": "Some Review Body" - }, - "userId": "12345", - "originalTimestamp": "2020-01-09T10:01:53.558Z", - "type": "track", - "sentAt": "2020-01-09T10:02:03.257Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "review_body": "Some Review Body", - "rating": 2, - "review_id": "some_review_id", - "last_used": 1578564113, - "platform": "android", - "id": "abcxyz", - "product_id": "some_product_id_a" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 10", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "7e32188a4dab669f", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.torpedolabs.wynn.wscci.dev", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android", - "token": "abcxyz" - }, - "library": { - "name": "com.rudderlabs.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "event": "Application Uninstalled", - "integrations": { - "All": true - }, - "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", - "properties": { - "review_id": "some_review_id", - "product_id": "some_product_id_a", - "rating": 2, - "review_body": "Some Review Body" - }, - "userId": "12345", - "originalTimestamp": "2020-01-09T10:01:53.558Z", - "type": "track", - "sentAt": "2020-01-09T10:02:03.257Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices/abcxyz", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 11", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "event": "Application Uninstalled", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices/somel", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 12", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Uninstalled", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/devices/somel", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 13", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Uninstalled", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "userId/email or device_token not present", - "statTags": { - "destType": "CUSTOMERIO", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 14", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "id": "somel", - "last_used": 1571051718, - "platform": "mobile", - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/devices", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 15", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "name": "Application Installed", - "timestamp": 1571051718, - "type": "event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 16", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "last_used": 1571051718, - "user_time_spent": 50000, - "platform": "mobile", - "id": "somel" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 17", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "Application Installed" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 18", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Opened", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "Application Opened" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 19", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "sample_device_token" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Opened", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "last_used": 1571051718, - "user_time_spent": 50000, - "platform": "mobile", - "id": "sample_device_token" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 20", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "sample_device_token" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Uninstalled", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/devices/sample_device_token", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 21", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "_timestamp": 1571043797, - "anonymous_id": "123456", - "city": "NY", - "state": "CA", - "street": "", - "prop1": "val1", - "prop2": "val2", - "country": "USA", - "postalCode": 712136, - "email": "test@gmail.com" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/123456", - "userId": "123456", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 22", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "page", - "data": { - "url": "www.rudderlabs.com", - "path": "/test", - "search": "abc", - "referrer": "Rudder", - "title": "Test Page" - }, - "timestamp": 1571051718, - "name": "ApplicationLoaded" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 23", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 24", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/test@rudderstack.com/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 25", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "", - "event": "test track event", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "test track event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 26", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "7e32188a4dab669f", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.torpedolabs.wynn.wscci.dev", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android", - "token": "abcxyz" - }, - "library": { - "name": "com.rudderlabs.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "event": "Application Installed", - "integrations": { - "All": true - }, - "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", - "properties": { - "review_id": "some_review_id", - "product_id": "some_product_id_a", - "rating": 2, - "review_body": "Some Review Body" - }, - "userId": "12345", - "originalTimestamp": "2020-01-09T10:01:53.558Z", - "type": "track", - "sentAt": "2020-01-09T10:02:03.257Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "review_body": "Some Review Body", - "rating": 2, - "review_id": "some_review_id", - "last_used": 1578564113, - "platform": "android", - "id": "abcxyz", - "product_id": "some_product_id_a" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 27", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "7e32188a4dab669f", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.torpedolabs.wynn.wscci.dev", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android", - "token": "abcxyz" - }, - "library": { - "name": "com.rudderlabs.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "7e32188a4dab669f" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)" - }, - "event": "Application Uninstalled", - "integrations": { - "All": true - }, - "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", - "properties": { - "review_id": "some_review_id", - "product_id": "some_product_id_a", - "rating": 2, - "review_body": "Some Review Body" - }, - "userId": "12345", - "originalTimestamp": "2020-01-09T10:01:53.558Z", - "type": "track", - "sentAt": "2020-01-09T10:02:03.257Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices/abcxyz", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 28", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "event": "Application Uninstalled", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices/somel", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 29", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Uninstalled", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "userId/email or device_token not present", - "statTags": { - "destType": "CUSTOMERIO", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 30", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "id": "somel", - "last_used": 1571051718, - "platform": "mobile", - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/test@rudderstack.com/devices", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 31", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "data": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "name": "Application Installed", - "timestamp": 1571051718, - "type": "event" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/events", - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 32", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "somel" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "last_used": 1571051718, - "user_time_spent": 50000, - "platform": "mobile", - "id": "somel" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 33", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Installed", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "Application Installed" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 34", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Opened", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "event", - "data": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "user_time_spent": 50000 - }, - "timestamp": 1571051718, - "name": "Application Opened" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 35", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "sample_device_token" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Opened", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "device": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "last_used": 1571051718, - "user_time_spent": 50000, - "platform": "mobile", - "id": "sample_device_token" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "PUT", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 36", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "mobile", - "context": { - "device": { - "name": "test android", - "id": "sample_device_id", - "model": "some_model_device", - "type": "mobile", - "token": "sample_device_token" - }, - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "Application Uninstalled", - "userId": "12345", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": {}, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track-eu.customer.io/api/v1/customers/12345/devices/sample_device_token", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "DELETE", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 37", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/events", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50 - }, - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "name": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-s", - "type": "event", - "timestamp": 1571051718 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 38", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/events", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50 - }, - "name": "https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", - "type": "event", - "timestamp": 1571051718 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 39", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "12345" - }, - "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 - } - }, - "type": "screen", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/events", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "anonymous_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "name": "Viewed https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-q Screen", - "type": "event", - "timestamp": 1571051718 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 40", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "screen", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "event": "https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/test@rudderstack.com/events", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "name": "Viewed https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/ Screen", - "type": "event", - "timestamp": 1571051718 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 41", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "dummy-100-anon", - "channel": "mobile", - "context": { - "app": { - "build": "173", - "name": "MyWallSt Debug", - "namespace": "com.rubicoin.Invest", - "version": "6.2" - }, - "device": { - "attTrackingStatus": 0, - "id": "6fdb629d-4f18-4f3e-943a-3f6f482b331e", - "manufacturer": "Apple", - "model": "iPhone", - "name": "Ales' iPhone", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.0.19" - }, - "locale": "en-DE", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "14.8" - }, - "screen": { - "density": 3, - "height": 375, - "width": 812 - }, - "timezone": "Europe/Prague", - "traits": { - "anonymousId": "6fdb629d-4f18-4f3e-943a-3f6f482b331e", - "userId": "6a540d50-c4dc-4694-beca-d16de113a1c4-1618384106.8700438" - } - }, - "event": "Home: Viewed", - "integrations": { - "All": true - }, - "messageId": "1632314412-e724167f-13bd-455b-943d-dd765a7810fe", - "originalTimestamp": "2021-09-22T12:40:12.220Z", - "properties": {}, - "rudderId": "782cdb50-e2b9-45fc-9d22-07fe792dcfba", - "sentAt": "2021-09-22T12:40:14.453Z", - "type": "track", - "userId": "dummy-user-id-100" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "abc", - "apiKey": "xyz" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/dummy-user-id-100/events", - "headers": { - "Authorization": "Basic YWJjOnh5eg==" - }, - "params": {}, - "body": { - "JSON": { - "data": {}, - "name": "Home: Viewed", - "type": "event", - "timestamp": 1632314412 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "dummy-user-id-100", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 42", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "test@rudderstack.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "dummy-100-anon", - "userId": "dummy-user-id-100", - "integrations": { - "All": true - }, - "traits": { - "email": "test@gmail.com", - "address": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "datacenter": "EU", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track-eu.customer.io/api/v1/customers/dummy-user-id-100", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "params": {}, - "body": { - "JSON": { - "city": "NY", - "country": "USA", - "postalCode": 712136, - "state": "CA", - "street": "", - "email": "test@gmail.com", - "_timestamp": 1571043797, - "anonymous_id": "dummy-100-anon" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "dummy-user-id-100", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 43", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "sources", - "context": { - "externalId": [ - { - "id": "xaviercharles@hotmail.com", - "identifierType": "email", - "type": "CUSTOMERIO-customers" - } - ], - "mappedToDestination": "true", - "sources": { - "batch_id": "3d6f7aa8-9b70-4759-970d-212e6714ad22", - "job_id": "1zDgnw7ZmHWR7gtY4niHYysL3zS/Syncher", - "job_run_id": "c5shebbh9jqg10k8d21g", - "task_id": "tt_10_rows", - "task_run_id": "c5shebbh9jqg10k8d220", - "version": "release.v1.6.8" - } - }, - "messageId": "d82a45e1-5a27-4c1d-af89-83bdbc6139d0", - "originalTimestamp": "2021-10-27T09:09:56.673Z", - "receivedAt": "2021-10-27T09:09:56.187Z", - "recordId": "3", - "request_ip": "10.1.85.177", - "rudderId": "5b19a81b-df60-4ccd-abf0-fcfe2b7db054", - "sentAt": "2021-10-27T09:09:56.673Z", - "timestamp": "2021-10-27T09:09:56.186Z", - "traits": { - "last_name": "xavier", - "first_name": "charles" - }, - "type": "identify", - "userId": "xaviercharles@hotmail.com" - }, - "destination": { - "ID": "1zgXcyv272oZA8HWqe7zInhJjPL", - "Name": "ere", - "DestinationDefinition": { - "ID": "1iVQr671C0E8MVpzvCEegsLM2J5", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU" - ], - "web": [ - "useNativeSDK" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative" - ], - "supportsVisualMapper": true, - "transformAt": "processor" - }, - "ResponseRules": null - }, - "Config": { - "apiKey": "a292d85ac36de15fc219", - "datacenter": "US", - "siteID": "eead090ab9e2e35004dc" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/xaviercharles@hotmail.com", - "headers": { - "Authorization": "Basic ZWVhZDA5MGFiOWUyZTM1MDA0ZGM6YTI5MmQ4NWFjMzZkZTE1ZmMyMTk=" - }, - "params": {}, - "body": { - "JSON": { - "last_name": "xavier", - "first_name": "charles", - "email": "xaviercharles@hotmail.com", - "_timestamp": 1635325796 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "xaviercharles@hotmail.com", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 44", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "sources", - "context": { - "externalId": [ - { - "id": "xaviercharles", - "identifierType": "id", - "type": "CUSTOMERIO-customers" - } - ], - "mappedToDestination": "true", - "sources": { - "batch_id": "3d6f7aa8-9b70-4759-970d-212e6714ad22", - "job_id": "1zDgnw7ZmHWR7gtY4niHYysL3zS/Syncher", - "job_run_id": "c5shebbh9jqg10k8d21g", - "task_id": "tt_10_rows", - "task_run_id": "c5shebbh9jqg10k8d220", - "version": "release.v1.6.8" - } - }, - "messageId": "d82a45e1-5a27-4c1d-af89-83bdbc6139d0", - "originalTimestamp": "2021-10-27T09:09:56.673Z", - "receivedAt": "2021-10-27T09:09:56.187Z", - "recordId": "3", - "request_ip": "10.1.85.177", - "rudderId": "5b19a81b-df60-4ccd-abf0-fcfe2b7db054", - "sentAt": "2021-10-27T09:09:56.673Z", - "traits": { - "last_name": "xavier", - "first_name": "charles" - }, - "type": "identify", - "userId": "xaviercharles" - }, - "destination": { - "ID": "1zgXcyv272oZA8HWqe7zInhJjPL", - "Name": "ere", - "DestinationDefinition": { - "ID": "1iVQr671C0E8MVpzvCEegsLM2J5", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU" - ], - "web": [ - "useNativeSDK" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative" - ], - "supportsVisualMapper": true, - "transformAt": "processor" - }, - "ResponseRules": null - }, - "Config": { - "apiKey": "a292d85ac36de15fc219", - "datacenter": "US", - "siteID": "eead090ab9e2e35004dc" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "libraries": [], - "request": { - "query": {} - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/xaviercharles", - "headers": { - "Authorization": "Basic ZWVhZDA5MGFiOWUyZTM1MDA0ZGM6YTI5MmQ4NWFjMzZkZTE1ZmMyMTk=" - }, - "params": {}, - "body": { - "JSON": { - "last_name": "xavier", - "first_name": "charles", - "id": "xaviercharles", - "_timestamp": 1635325796 - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "xaviercharles", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 45", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "timestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:35:30.556+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 46", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:39:04.424+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "timestamp": "2022-01-10T20:39:03.955+05:30", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/events", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "from_background": false - }, - "name": "Application Opened", - "type": "event", - "timestamp": 1641827343 - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 47", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0 - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:41:30.970+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 48", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:44:52.784+05:30", - "request_ip": "[::1]", - "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 49", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "timestamp": "2022-01-10T10:00:26.513Z", - "receivedAt": "2022-01-10T20:47:36.180+05:30", - "request_ip": "[::1]", - "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 50", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "device_token_registered", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:49:05.795+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 51", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "device_token_registered", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:50:17.090+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "timestamp": "2022-01-10T20:50:16.621+05:30", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/events", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "data": { - "from_background": false - }, - "name": "device_token_registered", - "type": "event", - "timestamp": 1641828016 - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 52", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0 - } - }, - "event": "device_token_registered", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:52:19.147+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "timestamp": "2022-01-10T20:52:18.678+05:30", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641828138 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 53", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "device_token_registered", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:53:43.680+05:30", - "request_ip": "[::1]", - "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 54", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "iOS" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - } - }, - "event": "device_token_registered", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "receivedAt": "2022-01-10T20:55:03.845+05:30", - "request_ip": "[::1]", - "rudderId": "0aef312c-0dc0-4a49-b613-4f33fb4e9b46", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 55", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "description": "check for ipados apple family and default it to ios", - "message": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "zx_userid_missing", - "namespace": "org.reactjs.native.example.zx-userid-missing", - "version": "1.0" - }, - "device": { - "attTrackingStatus": 0, - "id": "5d727a3e-a72b-4d00-8078-669c1494791d", - "manufacturer": "Apple", - "model": "iPhone", - "name": "iPhone 13", - "token": "deviceToken", - "type": "ipados" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.3.1" - }, - "locale": "en-US", - "network": { - "bluetooth": false, - "carrier": "unavailable", - "cellular": false, - "wifi": true - }, - "os": { - "name": "iOS", - "version": "15.2" - }, - "screen": { - "density": 3, - "height": 390, - "width": 844 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5d727a3e-a72b-4d00-8078-669c1494791d", - "email": "sofia@gmail.com", - "login_status": "Authenticated", - "name": "Sofia", - "phone_verified": 1, - "selected_city": "", - "selected_lat": 0, - "selected_long": 0, - "selected_neighborhood": "", - "selected_number": "", - "selected_postal_code": "", - "selected_state": "", - "selected_street": "", - "signed_up_for_newsletters": 0 - } - }, - "event": "Application Opened", - "integrations": { - "All": true - }, - "messageId": "1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f", - "originalTimestamp": "2022-01-10T10:00:26.513Z", - "properties": { - "from_background": false - }, - "receivedAt": "2022-01-10T20:41:30.970+05:30", - "request_ip": "[::1]", - "rudderId": "423cdf83-0448-4a99-b14d-36fcc63e6ea0", - "sentAt": "2022-01-10T10:00:26.982Z", - "type": "track", - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "DESAU SAI", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "DESU SAI" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "PUT", - "endpoint": "https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices", - "headers": { - "Authorization": "Basic REVTVSBTQUk6REVTQVUgU0FJ" - }, - "params": {}, - "body": { - "JSON": { - "device": { - "from_background": false, - "id": "deviceToken", - "platform": "ios", - "last_used": 1641808826 - } - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e91e0378-63fe-11ec-82ac-0a028ee659c3", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 56", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "description": "successful group call with identify action", - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.0-beta.2" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.0-beta.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "groupId": "group@1", - "integrations": { - "All": true - }, - "traits": { - "domainNames": "rudderstack.com", - "email": "help@rudderstack.com", - "name": "rudderstack", - "action": "identify" - }, - "type": "group", - "userId": "user@1" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "identify", - "attributes": { - "name": "rudderstack", - "email": "help@rudderstack.com", - "domainNames": "rudderstack.com" - }, - "identifiers": { - "object_id": "group@1", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "user@1" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "user@1", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 57", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "description": "successful group call with delete action", - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.0-beta.2" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.0-beta.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "groupId": "group@1", - "integrations": { - "All": true - }, - "traits": { - "domainNames": "rudderstack.com", - "email": "help@rudderstack.com", - "name": "rudderstack", - "action": "delete" - }, - "type": "group", - "userId": "user@1" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "delete", - "attributes": { - "name": "rudderstack", - "email": "help@rudderstack.com", - "domainNames": "rudderstack.com" - }, - "identifiers": { - "object_id": "group@1", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "user@1" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "user@1", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 58", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "description": "successful group call with add_relationships action", - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.0-beta.2" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.0-beta.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "test@rudderstack.com" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "groupId": "group@1", - "integrations": { - "All": true - }, - "traits": { - "domainNames": "rudderstack.com", - "email": "help@rudderstack.com", - "name": "rudderstack", - "action": "add_relationships" - }, - "type": "group", - "userId": "user@1" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "add_relationships", - "attributes": { - "name": "rudderstack", - "email": "help@rudderstack.com", - "domainNames": "rudderstack.com" - }, - "identifiers": { - "object_id": "group@1", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "user@1" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "user@1", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 59", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "description": "successful group call with delete_relationships action", - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.0-beta.2" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.0-beta.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "email": "test@rudderstack.com" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" - }, - "groupId": "group@1", - "integrations": { - "All": true - }, - "traits": { - "domainNames": "rudderstack.com", - "email": "help@rudderstack.com", - "name": "rudderstack", - "action": "delete_relationships" - }, - "type": "group", - "userId": "user@1" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "delete_relationships", - "attributes": { - "name": "rudderstack", - "email": "help@rudderstack.com", - "domainNames": "rudderstack.com" - }, - "identifiers": { - "object_id": "group@1", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "user@1" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "user@1", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 60", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "description": "successful group call with userId and groupId as an integer", - "message": { - "type": "group", - "header": { - "content-type": "application/json; charset=utf-8" - }, - "sentAt": "2023-03-28T09:36:49.882Z", - "traits": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "userId": 432, - "channel": "server", - "context": { - "library": { - "name": "rudder-analytics-php", - "version": "2.0.1", - "consumer": "LibCurl" - } - }, - "groupId": 306, - "rudderId": "f5b46a12-2dab-4e24-a127-7316eed414fc", - "messageId": "7032394c-e813-4737-bf52-622dbcefe849", - "receivedAt": "2023-03-28T09:36:48.296Z", - "request_ip": "18.195.235.225", - "originalTimestamp": "2023-03-28T09:36:49.882Z" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "identify", - "attributes": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "identifiers": { - "object_id": "306", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "432" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "432", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 61", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "description": "successful group call with userId in email format ", - "message": { - "type": "group", - "header": { - "content-type": "application/json; charset=utf-8" - }, - "sentAt": "2023-03-28T09:36:49.882Z", - "traits": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "userId": "abc@xyz.com", - "channel": "server", - "context": { - "library": { - "name": "rudder-analytics-php", - "version": "2.0.1", - "consumer": "LibCurl" - } - }, - "groupId": 306, - "rudderId": "f5b46a12-2dab-4e24-a127-7316eed414fc", - "messageId": "7032394c-e813-4737-bf52-622dbcefe849", - "receivedAt": "2023-03-28T09:36:48.296Z", - "request_ip": "18.195.235.225", - "originalTimestamp": "2023-03-28T09:36:49.882Z" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "US", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "identify", - "attributes": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "identifiers": { - "object_id": "306", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "email": "abc@xyz.com" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "abc@xyz.com", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 62", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "description": "successful group call with eu as data center", - "message": { - "type": "group", - "header": { - "content-type": "application/json; charset=utf-8" - }, - "sentAt": "2023-03-28T09:36:49.882Z", - "traits": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "userId": 432, - "channel": "server", - "context": { - "library": { - "name": "rudder-analytics-php", - "version": "2.0.1", - "consumer": "LibCurl" - } - }, - "groupId": 306, - "rudderId": "f5b46a12-2dab-4e24-a127-7316eed414fc", - "messageId": "7032394c-e813-4737-bf52-622dbcefe849", - "receivedAt": "2023-03-28T09:36:48.296Z", - "request_ip": "18.195.235.225", - "originalTimestamp": "2023-03-28T09:36:49.882Z" - }, - "destination": { - "ID": "23Mi76khsFhY7bh9ZyRcvR3pHDt", - "Name": "Customer IO Dev", - "DestinationDefinition": { - "ID": "23MgSlHXsPLsiH7SbW7IzCP32fn", - "Name": "CUSTOMERIO", - "DisplayName": "Customer IO", - "Config": { - "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] - }, - "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU", - "blackListedEvents", - "whiteListedEvents" - ], - "saveDestinationResponse": true, - "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter", - "cordova" - ], - "supportsVisualMapper": true, - "transformAt": "processor", - "transformAtV1": "processor" - }, - "ResponseRules": {} - }, - "Config": { - "apiKey": "ef32c3f60fb98f39ef35", - "datacenter": "EU", - "deviceTokenEventName": "device_token_registered", - "siteID": "c0efdbd20b9fbe24a7e2" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://track-eu.customer.io/api/v2/batch", - "headers": { - "Authorization": "Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=" - }, - "params": {}, - "body": { - "XML": {}, - "FORM": {}, - "JSON": { - "type": "object", - "action": "identify", - "attributes": { - "city": "Frankfurt", - "name": "rudder test", - "state": "Hessen", - "isFake": true, - "address": "Solmsstraße 83", - "country": "DE", - "website": "http://www.rudderstack.com", - "industry": "Waste and recycling", - "postcode": "60486", - "whiteLabel": "rudderlabs", - "maxNbJobBoards": 2, - "organisationId": 306, - "pricingPackage": "packageExpert", - "dateProTrialEnd": "2022-08-31T00:00:00+00:00", - "isProTrialActive": true, - "datetimeRegistration": "2020-07-01T10:23:41+00:00", - "isPersonnelServiceProvider": false - }, - "identifiers": { - "object_id": "306", - "object_type_id": "1" - }, - "cio_relationships": [ - { - "identifiers": { - "id": "432" - } - } - ] - }, - "JSON_ARRAY": {} - }, - "files": {}, - "userId": "432", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 63", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "page", - "data": { - "url": "www.rudderlabs.com", - "path": "/test", - "search": "abc", - "referrer": "Rudder", - "title": "Test Page" - }, - "timestamp": 1571051718, - "name": "www.rudderlabs.com" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 64", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "page", - "data": { - "path": "/test", - "search": "abc", - "referrer": "Rudder", - "title": "Test Page" - }, - "timestamp": 1571051718 - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "customerio", - "description": "Test 65", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "test@rudderstack.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", - "userId": "12345", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "datacenter": "US", - "siteID": "46be54768e7d49ab2628", - "apiKey": "dummyApiKey" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "type": "page", - "timestamp": 1571051718 - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://track.customer.io/api/v1/customers/12345/events", - "userId": "12345", - "headers": { - "Authorization": "Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'customerio', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + type: 'identify', + userId: 'cio_1234', + integrations: { + All: true, + }, + traits: { + email: 'updated_email@example.com', + id: 'updated-id-value', + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + email: 'updated_email@example.com', + id: 'updated-id-value', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/cio_1234', + userId: 'cio_1234', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + userId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + 'dot.name': 'Arnab Pal', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'apiKey not found in Configs', + statTags: { + destType: 'CUSTOMERIO', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + userId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + 'dot.name': 'Arnab Pal', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + _timestamp: 1571043797, + anonymous_id: '123456', + city: 'NY', + state: 'CA', + street: '', + prop1: 'val1', + prop2: 'val2', + country: 'USA', + postalCode: 712136, + email: 'test@gmail.com', + 'dot.name': 'Arnab Pal', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/123456', + userId: '123456', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + 'dot.name': 'Arnab Pal', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'userId or email is not present', + statTags: { + destType: 'CUSTOMERIO', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + 'dot.name': 'Arnab Pal', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + _timestamp: 1571043797, + anonymous_id: '123456', + city: 'NY', + country: 'USA', + 'dot.name': 'Arnab Pal', + email: 'test@gmail.com', + postalCode: 712136, + prop1: 'val1', + prop2: 'val2', + state: 'CA', + street: '', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/test@gmail.com', + userId: '123456', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'page', + data: { + url: 'www.rudderlabs.com', + path: '/test', + search: 'abc', + referrer: 'Rudder', + title: 'Test Page', + }, + timestamp: 1571051718, + name: 'ApplicationLoaded', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '12345', + event: 'test track event', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'event', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + timestamp: 1571051718, + name: 'test track event', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '', + event: 'test track event', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'event', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + timestamp: 1571051718, + name: 'test track event', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/test@rudderstack.com/events', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '', + event: 'test track event', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'event', + anonymous_id: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + timestamp: 1571051718, + name: 'test track event', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/events', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '7e32188a4dab669f', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.torpedolabs.wynn.wscci.dev', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + token: 'abcxyz', + }, + library: { + name: 'com.rudderlabs.android.sdk.core', + version: '0.1.4', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + event: 'Application Installed', + integrations: { + All: true, + }, + messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383', + properties: { + review_id: 'some_review_id', + product_id: 'some_product_id_a', + rating: 2, + review_body: 'Some Review Body', + }, + userId: '12345', + originalTimestamp: '2020-01-09T10:01:53.558Z', + type: 'track', + sentAt: '2020-01-09T10:02:03.257Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + device: { + review_body: 'Some Review Body', + rating: 2, + review_id: 'some_review_id', + last_used: 1578564113, + platform: 'android', + id: 'abcxyz', + product_id: 'some_product_id_a', + }, + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/devices', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '7e32188a4dab669f', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.torpedolabs.wynn.wscci.dev', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + token: 'abcxyz', + }, + library: { + name: 'com.rudderlabs.android.sdk.core', + version: '0.1.4', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + event: 'Application Uninstalled', + integrations: { + All: true, + }, + messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383', + properties: { + review_id: 'some_review_id', + product_id: 'some_product_id_a', + rating: 2, + review_body: 'Some Review Body', + }, + userId: '12345', + originalTimestamp: '2020-01-09T10:01:53.558Z', + type: 'track', + sentAt: '2020-01-09T10:02:03.257Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: {}, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/devices/abcxyz', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'DELETE', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '12345', + event: 'Application Uninstalled', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: {}, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/devices/somel', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'DELETE', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Uninstalled', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: {}, + FORM: {}, + }, + files: {}, + endpoint: + 'https://track.customer.io/api/v1/customers/test@rudderstack.com/devices/somel', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'DELETE', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Uninstalled', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'userId/email or device_token not present', + statTags: { + destType: 'CUSTOMERIO', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Installed', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + device: { + id: 'somel', + last_used: 1571051718, + platform: 'mobile', + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/test@rudderstack.com/devices', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Installed', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + anonymous_id: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + name: 'Application Installed', + timestamp: 1571051718, + type: 'event', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/events', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 16', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Installed', + userId: '12345', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + device: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + last_used: 1571051718, + user_time_spent: 50000, + platform: 'mobile', + id: 'somel', + }, + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/devices', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 17', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Installed', + userId: '12345', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'event', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + timestamp: 1571051718, + name: 'Application Installed', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 18', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Opened', + userId: '12345', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'event', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + timestamp: 1571051718, + name: 'Application Opened', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 19', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'sample_device_token', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Opened', + userId: '12345', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + device: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + last_used: 1571051718, + user_time_spent: 50000, + platform: 'mobile', + id: 'sample_device_token', + }, + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/devices', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 20', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'sample_device_token', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Uninstalled', + userId: '12345', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: {}, + FORM: {}, + }, + files: {}, + endpoint: + 'https://track.customer.io/api/v1/customers/12345/devices/sample_device_token', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'DELETE', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 21', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + userId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + _timestamp: 1571043797, + anonymous_id: '123456', + city: 'NY', + state: 'CA', + street: '', + prop1: 'val1', + prop2: 'val2', + country: 'USA', + postalCode: 712136, + email: 'test@gmail.com', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/123456', + userId: '123456', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 22', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'page', + data: { + url: 'www.rudderlabs.com', + path: '/test', + search: 'abc', + referrer: 'Rudder', + title: 'Test Page', + }, + timestamp: 1571051718, + name: 'ApplicationLoaded', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 23', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '12345', + event: 'test track event', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'event', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + timestamp: 1571051718, + name: 'test track event', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 24', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '', + event: 'test track event', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'event', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + timestamp: 1571051718, + name: 'test track event', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/test@rudderstack.com/events', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 25', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '', + event: 'test track event', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'event', + anonymous_id: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + timestamp: 1571051718, + name: 'test track event', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/events', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 26', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '7e32188a4dab669f', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.torpedolabs.wynn.wscci.dev', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + token: 'abcxyz', + }, + library: { + name: 'com.rudderlabs.android.sdk.core', + version: '0.1.4', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + event: 'Application Installed', + integrations: { + All: true, + }, + messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383', + properties: { + review_id: 'some_review_id', + product_id: 'some_product_id_a', + rating: 2, + review_body: 'Some Review Body', + }, + userId: '12345', + originalTimestamp: '2020-01-09T10:01:53.558Z', + type: 'track', + sentAt: '2020-01-09T10:02:03.257Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + device: { + review_body: 'Some Review Body', + rating: 2, + review_id: 'some_review_id', + last_used: 1578564113, + platform: 'android', + id: 'abcxyz', + product_id: 'some_product_id_a', + }, + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/12345/devices', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 27', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '7e32188a4dab669f', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.torpedolabs.wynn.wscci.dev', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + token: 'abcxyz', + }, + library: { + name: 'com.rudderlabs.android.sdk.core', + version: '0.1.4', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '7e32188a4dab669f', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + event: 'Application Uninstalled', + integrations: { + All: true, + }, + messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383', + properties: { + review_id: 'some_review_id', + product_id: 'some_product_id_a', + rating: 2, + review_body: 'Some Review Body', + }, + userId: '12345', + originalTimestamp: '2020-01-09T10:01:53.558Z', + type: 'track', + sentAt: '2020-01-09T10:02:03.257Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: {}, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/12345/devices/abcxyz', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'DELETE', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 28', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '12345', + event: 'Application Uninstalled', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: {}, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/12345/devices/somel', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'DELETE', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 29', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Uninstalled', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'userId/email or device_token not present', + statTags: { + destType: 'CUSTOMERIO', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 30', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Installed', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + device: { + id: 'somel', + last_used: 1571051718, + platform: 'mobile', + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + }, + FORM: {}, + }, + files: {}, + endpoint: + 'https://track-eu.customer.io/api/v1/customers/test@rudderstack.com/devices', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 31', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Installed', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + anonymous_id: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + data: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + name: 'Application Installed', + timestamp: 1571051718, + type: 'event', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/events', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 32', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'somel', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Installed', + userId: '12345', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + device: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + last_used: 1571051718, + user_time_spent: 50000, + platform: 'mobile', + id: 'somel', + }, + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/12345/devices', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 33', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Installed', + userId: '12345', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'event', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + timestamp: 1571051718, + name: 'Application Installed', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 34', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Opened', + userId: '12345', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'event', + data: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + user_time_spent: 50000, + }, + timestamp: 1571051718, + name: 'Application Opened', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 35', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'sample_device_token', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Opened', + userId: '12345', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + device: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + last_used: 1571051718, + user_time_spent: 50000, + platform: 'mobile', + id: 'sample_device_token', + }, + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track-eu.customer.io/api/v1/customers/12345/devices', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'PUT', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 36', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'mobile', + context: { + device: { + name: 'test android', + id: 'sample_device_id', + model: 'some_model_device', + type: 'mobile', + token: 'sample_device_token', + }, + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: 'Application Uninstalled', + userId: '12345', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: {}, + FORM: {}, + }, + files: {}, + endpoint: + 'https://track-eu.customer.io/api/v1/customers/12345/devices/sample_device_token', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'DELETE', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 37', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: + 'https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v1/events', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + params: {}, + body: { + JSON: { + data: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50, + }, + anonymous_id: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + name: 'https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-s', + type: 'event', + timestamp: 1571051718, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 38', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: + 'https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v1/customers/test@rudderstack.com/events', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + params: {}, + body: { + JSON: { + data: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50, + }, + name: 'https://www.stoodi.com.br/exershgcios/upe/2019/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/', + type: 'event', + timestamp: 1571051718, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 39', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '12345', + }, + 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, + }, + }, + type: 'screen', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: + 'https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v1/events', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + params: {}, + body: { + JSON: { + data: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + anonymous_id: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + name: 'Viewed https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-q Screen', + type: 'event', + timestamp: 1571051718, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 40', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'screen', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + event: + 'https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v1/customers/test@rudderstack.com/events', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + params: {}, + body: { + JSON: { + data: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + name: 'Viewed https://www.stoodi.com.br/exercicios/upe/2016/questao/gregorio-de-matos-poeta-baiano-que-viveu-no-seculo-xvi/ Screen', + type: 'event', + timestamp: 1571051718, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 41', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'dummy-100-anon', + channel: 'mobile', + context: { + app: { + build: '173', + name: 'MyWallSt Debug', + namespace: 'com.rubicoin.Invest', + version: '6.2', + }, + device: { + attTrackingStatus: 0, + id: '6fdb629d-4f18-4f3e-943a-3f6f482b331e', + manufacturer: 'Apple', + model: 'iPhone', + name: "Ales' iPhone", + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.0.19', + }, + locale: 'en-DE', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '14.8', + }, + screen: { + density: 3, + height: 375, + width: 812, + }, + timezone: 'Europe/Prague', + traits: { + anonymousId: '6fdb629d-4f18-4f3e-943a-3f6f482b331e', + userId: '6a540d50-c4dc-4694-beca-d16de113a1c4-1618384106.8700438', + }, + }, + event: 'Home: Viewed', + integrations: { + All: true, + }, + messageId: '1632314412-e724167f-13bd-455b-943d-dd765a7810fe', + originalTimestamp: '2021-09-22T12:40:12.220Z', + properties: {}, + rudderId: '782cdb50-e2b9-45fc-9d22-07fe792dcfba', + sentAt: '2021-09-22T12:40:14.453Z', + type: 'track', + userId: 'dummy-user-id-100', + }, + destination: { + Config: { + datacenter: 'US', + siteID: 'abc', + apiKey: 'xyz', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v1/customers/dummy-user-id-100/events', + headers: { + Authorization: 'Basic YWJjOnh5eg==', + }, + params: {}, + body: { + JSON: { + data: {}, + name: 'Home: Viewed', + type: 'event', + timestamp: 1632314412, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'dummy-user-id-100', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 42', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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, + }, + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: 'dummy-100-anon', + userId: 'dummy-user-id-100', + integrations: { + All: true, + }, + traits: { + email: 'test@gmail.com', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + datacenter: 'EU', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: 'https://track-eu.customer.io/api/v1/customers/dummy-user-id-100', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + params: {}, + body: { + JSON: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + email: 'test@gmail.com', + _timestamp: 1571043797, + anonymous_id: 'dummy-100-anon', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'dummy-user-id-100', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 43', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'sources', + context: { + externalId: [ + { + id: 'xaviercharles@hotmail.com', + identifierType: 'email', + type: 'CUSTOMERIO-customers', + }, + ], + mappedToDestination: 'true', + sources: { + batch_id: '3d6f7aa8-9b70-4759-970d-212e6714ad22', + job_id: '1zDgnw7ZmHWR7gtY4niHYysL3zS/Syncher', + job_run_id: 'c5shebbh9jqg10k8d21g', + task_id: 'tt_10_rows', + task_run_id: 'c5shebbh9jqg10k8d220', + version: 'release.v1.6.8', + }, + }, + messageId: 'd82a45e1-5a27-4c1d-af89-83bdbc6139d0', + originalTimestamp: '2021-10-27T09:09:56.673Z', + receivedAt: '2021-10-27T09:09:56.187Z', + recordId: '3', + request_ip: '10.1.85.177', + rudderId: '5b19a81b-df60-4ccd-abf0-fcfe2b7db054', + sentAt: '2021-10-27T09:09:56.673Z', + timestamp: '2021-10-27T09:09:56.186Z', + traits: { + last_name: 'xavier', + first_name: 'charles', + }, + type: 'identify', + userId: 'xaviercharles@hotmail.com', + }, + destination: { + ID: '1zgXcyv272oZA8HWqe7zInhJjPL', + Name: 'ere', + DestinationDefinition: { + ID: '1iVQr671C0E8MVpzvCEegsLM2J5', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU'], + web: ['useNativeSDK'], + }, + excludeKeys: [], + includeKeys: ['apiKey', 'siteID', 'datacenterEU'], + saveDestinationResponse: true, + secretKeys: [], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + ], + supportsVisualMapper: true, + transformAt: 'processor', + }, + ResponseRules: null, + }, + Config: { + apiKey: 'a292d85ac36de15fc219', + datacenter: 'US', + siteID: 'eead090ab9e2e35004dc', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: 'https://track.customer.io/api/v1/customers/xaviercharles@hotmail.com', + headers: { + Authorization: 'Basic ZWVhZDA5MGFiOWUyZTM1MDA0ZGM6YTI5MmQ4NWFjMzZkZTE1ZmMyMTk=', + }, + params: {}, + body: { + JSON: { + last_name: 'xavier', + first_name: 'charles', + email: 'xaviercharles@hotmail.com', + _timestamp: 1635325796, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'xaviercharles@hotmail.com', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 44', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'sources', + context: { + externalId: [ + { + id: 'xaviercharles', + identifierType: 'id', + type: 'CUSTOMERIO-customers', + }, + ], + mappedToDestination: 'true', + sources: { + batch_id: '3d6f7aa8-9b70-4759-970d-212e6714ad22', + job_id: '1zDgnw7ZmHWR7gtY4niHYysL3zS/Syncher', + job_run_id: 'c5shebbh9jqg10k8d21g', + task_id: 'tt_10_rows', + task_run_id: 'c5shebbh9jqg10k8d220', + version: 'release.v1.6.8', + }, + }, + messageId: 'd82a45e1-5a27-4c1d-af89-83bdbc6139d0', + originalTimestamp: '2021-10-27T09:09:56.673Z', + receivedAt: '2021-10-27T09:09:56.187Z', + recordId: '3', + request_ip: '10.1.85.177', + rudderId: '5b19a81b-df60-4ccd-abf0-fcfe2b7db054', + sentAt: '2021-10-27T09:09:56.673Z', + traits: { + last_name: 'xavier', + first_name: 'charles', + }, + type: 'identify', + userId: 'xaviercharles', + }, + destination: { + ID: '1zgXcyv272oZA8HWqe7zInhJjPL', + Name: 'ere', + DestinationDefinition: { + ID: '1iVQr671C0E8MVpzvCEegsLM2J5', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU'], + web: ['useNativeSDK'], + }, + excludeKeys: [], + includeKeys: ['apiKey', 'siteID', 'datacenterEU'], + saveDestinationResponse: true, + secretKeys: [], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + ], + supportsVisualMapper: true, + transformAt: 'processor', + }, + ResponseRules: null, + }, + Config: { + apiKey: 'a292d85ac36de15fc219', + datacenter: 'US', + siteID: 'eead090ab9e2e35004dc', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + libraries: [], + request: { + query: {}, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: 'https://track.customer.io/api/v1/customers/xaviercharles', + headers: { + Authorization: 'Basic ZWVhZDA5MGFiOWUyZTM1MDA0ZGM6YTI5MmQ4NWFjMzZkZTE1ZmMyMTk=', + }, + params: {}, + body: { + JSON: { + last_name: 'xavier', + first_name: 'charles', + id: 'xaviercharles', + _timestamp: 1635325796, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'xaviercharles', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 45', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + token: 'deviceToken', + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + }, + event: 'Application Opened', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + timestamp: '2022-01-10T10:00:26.513Z', + properties: { + from_background: false, + }, + receivedAt: '2022-01-10T20:35:30.556+05:30', + request_ip: '[::1]', + rudderId: '423cdf83-0448-4a99-b14d-36fcc63e6ea0', + sentAt: '2022-01-10T10:00:26.982Z', + type: 'track', + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + device: { + from_background: false, + id: 'deviceToken', + platform: 'ios', + last_used: 1641808826, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 46', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + }, + event: 'Application Opened', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + originalTimestamp: '2022-01-10T10:00:26.513Z', + properties: { + from_background: false, + }, + receivedAt: '2022-01-10T20:39:04.424+05:30', + request_ip: '[::1]', + rudderId: '423cdf83-0448-4a99-b14d-36fcc63e6ea0', + sentAt: '2022-01-10T10:00:26.982Z', + timestamp: '2022-01-10T20:39:03.955+05:30', + type: 'track', + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/events', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + data: { + from_background: false, + }, + name: 'Application Opened', + type: 'event', + timestamp: 1641827343, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 47', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + token: 'deviceToken', + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + }, + }, + event: 'Application Opened', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + originalTimestamp: '2022-01-10T10:00:26.513Z', + properties: { + from_background: false, + }, + receivedAt: '2022-01-10T20:41:30.970+05:30', + request_ip: '[::1]', + rudderId: '423cdf83-0448-4a99-b14d-36fcc63e6ea0', + sentAt: '2022-01-10T10:00:26.982Z', + type: 'track', + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + device: { + from_background: false, + id: 'deviceToken', + platform: 'ios', + last_used: 1641808826, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 48', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + token: 'deviceToken', + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + }, + event: 'Application Opened', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + originalTimestamp: '2022-01-10T10:00:26.513Z', + properties: { + from_background: false, + }, + receivedAt: '2022-01-10T20:44:52.784+05:30', + request_ip: '[::1]', + rudderId: '0aef312c-0dc0-4a49-b613-4f33fb4e9b46', + sentAt: '2022-01-10T10:00:26.982Z', + type: 'track', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + device: { + from_background: false, + id: 'deviceToken', + platform: 'ios', + last_used: 1641808826, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 49', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + token: 'deviceToken', + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + }, + event: 'Application Opened', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + timestamp: '2022-01-10T10:00:26.513Z', + receivedAt: '2022-01-10T20:47:36.180+05:30', + request_ip: '[::1]', + rudderId: '0aef312c-0dc0-4a49-b613-4f33fb4e9b46', + sentAt: '2022-01-10T10:00:26.982Z', + type: 'track', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + device: { + id: 'deviceToken', + platform: 'ios', + last_used: 1641808826, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 50', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + token: 'deviceToken', + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + }, + event: 'device_token_registered', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + originalTimestamp: '2022-01-10T10:00:26.513Z', + properties: { + from_background: false, + }, + receivedAt: '2022-01-10T20:49:05.795+05:30', + request_ip: '[::1]', + rudderId: '423cdf83-0448-4a99-b14d-36fcc63e6ea0', + sentAt: '2022-01-10T10:00:26.982Z', + type: 'track', + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + device: { + from_background: false, + id: 'deviceToken', + platform: 'ios', + last_used: 1641808826, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 51', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + }, + event: 'device_token_registered', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + originalTimestamp: '2022-01-10T10:00:26.513Z', + properties: { + from_background: false, + }, + receivedAt: '2022-01-10T20:50:17.090+05:30', + request_ip: '[::1]', + rudderId: '423cdf83-0448-4a99-b14d-36fcc63e6ea0', + sentAt: '2022-01-10T10:00:26.982Z', + timestamp: '2022-01-10T20:50:16.621+05:30', + type: 'track', + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/events', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + data: { + from_background: false, + }, + name: 'device_token_registered', + type: 'event', + timestamp: 1641828016, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 52', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + token: 'deviceToken', + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + }, + }, + event: 'device_token_registered', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + originalTimestamp: '2022-01-10T10:00:26.513Z', + properties: { + from_background: false, + }, + receivedAt: '2022-01-10T20:52:19.147+05:30', + request_ip: '[::1]', + rudderId: '423cdf83-0448-4a99-b14d-36fcc63e6ea0', + sentAt: '2022-01-10T10:00:26.982Z', + timestamp: '2022-01-10T20:52:18.678+05:30', + type: 'track', + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + device: { + from_background: false, + id: 'deviceToken', + platform: 'ios', + last_used: 1641828138, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 53', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + token: 'deviceToken', + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + }, + event: 'device_token_registered', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + originalTimestamp: '2022-01-10T10:00:26.513Z', + properties: { + from_background: false, + }, + receivedAt: '2022-01-10T20:53:43.680+05:30', + request_ip: '[::1]', + rudderId: '0aef312c-0dc0-4a49-b613-4f33fb4e9b46', + sentAt: '2022-01-10T10:00:26.982Z', + type: 'track', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + device: { + from_background: false, + id: 'deviceToken', + platform: 'ios', + last_used: 1641808826, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 54', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + token: 'deviceToken', + type: 'iOS', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + }, + event: 'device_token_registered', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + originalTimestamp: '2022-01-10T10:00:26.513Z', + receivedAt: '2022-01-10T20:55:03.845+05:30', + request_ip: '[::1]', + rudderId: '0aef312c-0dc0-4a49-b613-4f33fb4e9b46', + sentAt: '2022-01-10T10:00:26.982Z', + type: 'track', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + device: { + id: 'deviceToken', + platform: 'ios', + last_used: 1641808826, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 55', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'check for ipados apple family and default it to ios', + message: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'zx_userid_missing', + namespace: 'org.reactjs.native.example.zx-userid-missing', + version: '1.0', + }, + device: { + attTrackingStatus: 0, + id: '5d727a3e-a72b-4d00-8078-669c1494791d', + manufacturer: 'Apple', + model: 'iPhone', + name: 'iPhone 13', + token: 'deviceToken', + type: 'ipados', + }, + library: { + name: 'rudder-ios-library', + version: '1.3.1', + }, + locale: 'en-US', + network: { + bluetooth: false, + carrier: 'unavailable', + cellular: false, + wifi: true, + }, + os: { + name: 'iOS', + version: '15.2', + }, + screen: { + density: 3, + height: 390, + width: 844, + }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5d727a3e-a72b-4d00-8078-669c1494791d', + email: 'sofia@gmail.com', + login_status: 'Authenticated', + name: 'Sofia', + phone_verified: 1, + selected_city: '', + selected_lat: 0, + selected_long: 0, + selected_neighborhood: '', + selected_number: '', + selected_postal_code: '', + selected_state: '', + selected_street: '', + signed_up_for_newsletters: 0, + }, + }, + event: 'Application Opened', + integrations: { + All: true, + }, + messageId: '1641808826-28d23237-f4f0-4f65-baa2-99141e422a8f', + originalTimestamp: '2022-01-10T10:00:26.513Z', + properties: { + from_background: false, + }, + receivedAt: '2022-01-10T20:41:30.970+05:30', + request_ip: '[::1]', + rudderId: '423cdf83-0448-4a99-b14d-36fcc63e6ea0', + sentAt: '2022-01-10T10:00:26.982Z', + type: 'track', + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'DESAU SAI', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'DESU SAI', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: + 'https://track.customer.io/api/v1/customers/e91e0378-63fe-11ec-82ac-0a028ee659c3/devices', + headers: { + Authorization: 'Basic REVTVSBTQUk6REVTQVUgU0FJ', + }, + params: {}, + body: { + JSON: { + device: { + from_background: false, + id: 'deviceToken', + platform: 'ios', + last_used: 1641808826, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e91e0378-63fe-11ec-82ac-0a028ee659c3', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 56', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'successful group call with identify action', + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.0-beta.2', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.0-beta.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36', + }, + groupId: 'group@1', + integrations: { + All: true, + }, + traits: { + domainNames: 'rudderstack.com', + email: 'help@rudderstack.com', + name: 'rudderstack', + action: 'identify', + }, + type: 'group', + userId: 'user@1', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'ef32c3f60fb98f39ef35', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'c0efdbd20b9fbe24a7e2', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v2/batch', + headers: { + Authorization: 'Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=', + }, + params: {}, + body: { + XML: {}, + FORM: {}, + JSON: { + type: 'object', + action: 'identify', + attributes: { + name: 'rudderstack', + email: 'help@rudderstack.com', + domainNames: 'rudderstack.com', + }, + identifiers: { + object_id: 'group@1', + object_type_id: '1', + }, + cio_relationships: [ + { + identifiers: { + id: 'user@1', + }, + }, + ], + }, + JSON_ARRAY: {}, + }, + files: {}, + userId: 'user@1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 57', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'successful group call with delete action', + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.0-beta.2', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.0-beta.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36', + }, + groupId: 'group@1', + integrations: { + All: true, + }, + traits: { + domainNames: 'rudderstack.com', + email: 'help@rudderstack.com', + name: 'rudderstack', + action: 'delete', + }, + type: 'group', + userId: 'user@1', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'ef32c3f60fb98f39ef35', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'c0efdbd20b9fbe24a7e2', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v2/batch', + headers: { + Authorization: 'Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=', + }, + params: {}, + body: { + XML: {}, + FORM: {}, + JSON: { + type: 'object', + action: 'delete', + attributes: { + name: 'rudderstack', + email: 'help@rudderstack.com', + domainNames: 'rudderstack.com', + }, + identifiers: { + object_id: 'group@1', + object_type_id: '1', + }, + cio_relationships: [ + { + identifiers: { + id: 'user@1', + }, + }, + ], + }, + JSON_ARRAY: {}, + }, + files: {}, + userId: 'user@1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 58', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'successful group call with add_relationships action', + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.0-beta.2', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.0-beta.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + email: 'test@rudderstack.com', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36', + }, + groupId: 'group@1', + integrations: { + All: true, + }, + traits: { + domainNames: 'rudderstack.com', + email: 'help@rudderstack.com', + name: 'rudderstack', + action: 'add_relationships', + }, + type: 'group', + userId: 'user@1', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'ef32c3f60fb98f39ef35', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'c0efdbd20b9fbe24a7e2', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v2/batch', + headers: { + Authorization: 'Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=', + }, + params: {}, + body: { + XML: {}, + FORM: {}, + JSON: { + type: 'object', + action: 'add_relationships', + attributes: { + name: 'rudderstack', + email: 'help@rudderstack.com', + domainNames: 'rudderstack.com', + }, + identifiers: { + object_id: 'group@1', + object_type_id: '1', + }, + cio_relationships: [ + { + identifiers: { + id: 'user@1', + }, + }, + ], + }, + JSON_ARRAY: {}, + }, + files: {}, + userId: 'user@1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 59', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'successful group call with delete_relationships action', + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.0-beta.2', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.0-beta.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + email: 'test@rudderstack.com', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36', + }, + groupId: 'group@1', + integrations: { + All: true, + }, + traits: { + domainNames: 'rudderstack.com', + email: 'help@rudderstack.com', + name: 'rudderstack', + action: 'delete_relationships', + }, + type: 'group', + userId: 'user@1', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'ef32c3f60fb98f39ef35', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'c0efdbd20b9fbe24a7e2', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v2/batch', + headers: { + Authorization: 'Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=', + }, + params: {}, + body: { + XML: {}, + FORM: {}, + JSON: { + type: 'object', + action: 'delete_relationships', + attributes: { + name: 'rudderstack', + email: 'help@rudderstack.com', + domainNames: 'rudderstack.com', + }, + identifiers: { + object_id: 'group@1', + object_type_id: '1', + }, + cio_relationships: [ + { + identifiers: { + id: 'user@1', + }, + }, + ], + }, + JSON_ARRAY: {}, + }, + files: {}, + userId: 'user@1', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 60', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'successful group call with userId and groupId as an integer', + message: { + type: 'group', + header: { + 'content-type': 'application/json; charset=utf-8', + }, + sentAt: '2023-03-28T09:36:49.882Z', + traits: { + city: 'Frankfurt', + name: 'rudder test', + state: 'Hessen', + isFake: true, + address: 'Solmsstraße 83', + country: 'DE', + website: 'http://www.rudderstack.com', + industry: 'Waste and recycling', + postcode: '60486', + whiteLabel: 'rudderlabs', + maxNbJobBoards: 2, + organisationId: 306, + pricingPackage: 'packageExpert', + dateProTrialEnd: '2022-08-31T00:00:00+00:00', + isProTrialActive: true, + datetimeRegistration: '2020-07-01T10:23:41+00:00', + isPersonnelServiceProvider: false, + }, + userId: 432, + channel: 'server', + context: { + library: { + name: 'rudder-analytics-php', + version: '2.0.1', + consumer: 'LibCurl', + }, + }, + groupId: 306, + rudderId: 'f5b46a12-2dab-4e24-a127-7316eed414fc', + messageId: '7032394c-e813-4737-bf52-622dbcefe849', + receivedAt: '2023-03-28T09:36:48.296Z', + request_ip: '18.195.235.225', + originalTimestamp: '2023-03-28T09:36:49.882Z', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'ef32c3f60fb98f39ef35', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'c0efdbd20b9fbe24a7e2', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v2/batch', + headers: { + Authorization: 'Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=', + }, + params: {}, + body: { + XML: {}, + FORM: {}, + JSON: { + type: 'object', + action: 'identify', + attributes: { + city: 'Frankfurt', + name: 'rudder test', + state: 'Hessen', + isFake: true, + address: 'Solmsstraße 83', + country: 'DE', + website: 'http://www.rudderstack.com', + industry: 'Waste and recycling', + postcode: '60486', + whiteLabel: 'rudderlabs', + maxNbJobBoards: 2, + organisationId: 306, + pricingPackage: 'packageExpert', + dateProTrialEnd: '2022-08-31T00:00:00+00:00', + isProTrialActive: true, + datetimeRegistration: '2020-07-01T10:23:41+00:00', + isPersonnelServiceProvider: false, + }, + identifiers: { + object_id: '306', + object_type_id: '1', + }, + cio_relationships: [ + { + identifiers: { + id: '432', + }, + }, + ], + }, + JSON_ARRAY: {}, + }, + files: {}, + userId: '432', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 61', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'successful group call with userId in email format ', + message: { + type: 'group', + header: { + 'content-type': 'application/json; charset=utf-8', + }, + sentAt: '2023-03-28T09:36:49.882Z', + traits: { + city: 'Frankfurt', + name: 'rudder test', + state: 'Hessen', + isFake: true, + address: 'Solmsstraße 83', + country: 'DE', + website: 'http://www.rudderstack.com', + industry: 'Waste and recycling', + postcode: '60486', + whiteLabel: 'rudderlabs', + maxNbJobBoards: 2, + organisationId: 306, + pricingPackage: 'packageExpert', + dateProTrialEnd: '2022-08-31T00:00:00+00:00', + isProTrialActive: true, + datetimeRegistration: '2020-07-01T10:23:41+00:00', + isPersonnelServiceProvider: false, + }, + userId: 'abc@xyz.com', + channel: 'server', + context: { + library: { + name: 'rudder-analytics-php', + version: '2.0.1', + consumer: 'LibCurl', + }, + }, + groupId: 306, + rudderId: 'f5b46a12-2dab-4e24-a127-7316eed414fc', + messageId: '7032394c-e813-4737-bf52-622dbcefe849', + receivedAt: '2023-03-28T09:36:48.296Z', + request_ip: '18.195.235.225', + originalTimestamp: '2023-03-28T09:36:49.882Z', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'ef32c3f60fb98f39ef35', + datacenter: 'US', + deviceTokenEventName: 'device_token_registered', + siteID: 'c0efdbd20b9fbe24a7e2', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track.customer.io/api/v2/batch', + headers: { + Authorization: 'Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=', + }, + params: {}, + body: { + XML: {}, + FORM: {}, + JSON: { + type: 'object', + action: 'identify', + attributes: { + city: 'Frankfurt', + name: 'rudder test', + state: 'Hessen', + isFake: true, + address: 'Solmsstraße 83', + country: 'DE', + website: 'http://www.rudderstack.com', + industry: 'Waste and recycling', + postcode: '60486', + whiteLabel: 'rudderlabs', + maxNbJobBoards: 2, + organisationId: 306, + pricingPackage: 'packageExpert', + dateProTrialEnd: '2022-08-31T00:00:00+00:00', + isProTrialActive: true, + datetimeRegistration: '2020-07-01T10:23:41+00:00', + isPersonnelServiceProvider: false, + }, + identifiers: { + object_id: '306', + object_type_id: '1', + }, + cio_relationships: [ + { + identifiers: { + email: 'abc@xyz.com', + }, + }, + ], + }, + JSON_ARRAY: {}, + }, + files: {}, + userId: 'abc@xyz.com', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 62', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'successful group call with eu as data center', + message: { + type: 'group', + header: { + 'content-type': 'application/json; charset=utf-8', + }, + sentAt: '2023-03-28T09:36:49.882Z', + traits: { + city: 'Frankfurt', + name: 'rudder test', + state: 'Hessen', + isFake: true, + address: 'Solmsstraße 83', + country: 'DE', + website: 'http://www.rudderstack.com', + industry: 'Waste and recycling', + postcode: '60486', + whiteLabel: 'rudderlabs', + maxNbJobBoards: 2, + organisationId: 306, + pricingPackage: 'packageExpert', + dateProTrialEnd: '2022-08-31T00:00:00+00:00', + isProTrialActive: true, + datetimeRegistration: '2020-07-01T10:23:41+00:00', + isPersonnelServiceProvider: false, + }, + userId: 432, + channel: 'server', + context: { + library: { + name: 'rudder-analytics-php', + version: '2.0.1', + consumer: 'LibCurl', + }, + }, + groupId: 306, + rudderId: 'f5b46a12-2dab-4e24-a127-7316eed414fc', + messageId: '7032394c-e813-4737-bf52-622dbcefe849', + receivedAt: '2023-03-28T09:36:48.296Z', + request_ip: '18.195.235.225', + originalTimestamp: '2023-03-28T09:36:49.882Z', + }, + destination: { + ID: '23Mi76khsFhY7bh9ZyRcvR3pHDt', + Name: 'Customer IO Dev', + DestinationDefinition: { + ID: '23MgSlHXsPLsiH7SbW7IzCP32fn', + Name: 'CUSTOMERIO', + DisplayName: 'Customer IO', + Config: { + destConfig: { + defaultConfig: ['apiKey', 'siteID', 'datacenterEU', 'deviceTokenEventName'], + web: ['useNativeSDK', 'blackListedEvents', 'whiteListedEvents'], + }, + excludeKeys: [], + includeKeys: [ + 'apiKey', + 'siteID', + 'datacenterEU', + 'blackListedEvents', + 'whiteListedEvents', + ], + saveDestinationResponse: true, + secretKeys: [], + supportedMessageTypes: ['identify', 'page', 'screen', 'track'], + supportedSourceTypes: [ + 'android', + 'ios', + 'web', + 'unity', + 'amp', + 'cloud', + 'warehouse', + 'reactnative', + 'flutter', + 'cordova', + ], + supportsVisualMapper: true, + transformAt: 'processor', + transformAtV1: 'processor', + }, + ResponseRules: {}, + }, + Config: { + apiKey: 'ef32c3f60fb98f39ef35', + datacenter: 'EU', + deviceTokenEventName: 'device_token_registered', + siteID: 'c0efdbd20b9fbe24a7e2', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://track-eu.customer.io/api/v2/batch', + headers: { + Authorization: 'Basic YzBlZmRiZDIwYjlmYmUyNGE3ZTI6ZWYzMmMzZjYwZmI5OGYzOWVmMzU=', + }, + params: {}, + body: { + XML: {}, + FORM: {}, + JSON: { + type: 'object', + action: 'identify', + attributes: { + city: 'Frankfurt', + name: 'rudder test', + state: 'Hessen', + isFake: true, + address: 'Solmsstraße 83', + country: 'DE', + website: 'http://www.rudderstack.com', + industry: 'Waste and recycling', + postcode: '60486', + whiteLabel: 'rudderlabs', + maxNbJobBoards: 2, + organisationId: 306, + pricingPackage: 'packageExpert', + dateProTrialEnd: '2022-08-31T00:00:00+00:00', + isProTrialActive: true, + datetimeRegistration: '2020-07-01T10:23:41+00:00', + isPersonnelServiceProvider: false, + }, + identifiers: { + object_id: '306', + object_type_id: '1', + }, + cio_relationships: [ + { + identifiers: { + id: '432', + }, + }, + ], + }, + JSON_ARRAY: {}, + }, + files: {}, + userId: '432', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 63', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'page', + data: { + url: 'www.rudderlabs.com', + path: '/test', + search: 'abc', + referrer: 'Rudder', + title: 'Test Page', + }, + timestamp: 1571051718, + name: 'www.rudderlabs.com', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 64', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'page', + data: { + path: '/test', + search: 'abc', + referrer: 'Rudder', + title: 'Test Page', + }, + timestamp: 1571051718, + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'customerio', + description: 'Test 65', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + userId: '12345', + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + datacenter: 'US', + siteID: '46be54768e7d49ab2628', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + type: 'page', + timestamp: 1571051718, + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://track.customer.io/api/v1/customers/12345/events', + userId: '12345', + headers: { + Authorization: 'Basic NDZiZTU0NzY4ZTdkNDlhYjI2Mjg6ZHVtbXlBcGlLZXk=', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/facebook_offline_conversions/processor/data.ts b/test/integrations/destinations/facebook_offline_conversions/processor/data.ts index 2728d52193..26d9a5e2f9 100644 --- a/test/integrations/destinations/facebook_offline_conversions/processor/data.ts +++ b/test/integrations/destinations/facebook_offline_conversions/processor/data.ts @@ -1,1775 +1,1798 @@ export const data = [ - { - "name": "facebook_offline_conversions", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "traits": { - "age": 23, - "email": "adc@test.com", - "firstname": "Test", - "birthday": "2022-05-13T12:51:01.470Z" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "Product Searched", - "originalTimestamp": "2020-09-22T14:42:44.724Z", - "timestamp": "2022-09-22T20:12:44.757+05:30", - "userId": "user@1" - }, - "destination": { - "Config": { - "accessToken": "ABC..." - } - }, - "metadata": { - "secret": { - "access_token": "ABC" - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "secret": { - "access_token": "ABC" - } - }, - "statusCode": 400, - "error": "Message Type is not present. Aborting message.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "FACEBOOK_OFFLINE_CONVERSIONS", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "facebook_offline_conversions", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "traits": { - "age": 23, - "email": "adc@test.com", - "firstname": "Test", - "birthday": "2022-05-13T12:51:01.470Z" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "Product Searched", - "type": "identify", - "originalTimestamp": "2020-09-22T14:42:44.724Z", - "timestamp": "2022-09-22T20:12:44.757+05:30", - "userId": "user@1" - }, - "destination": { - "Config": { - "accessToken": "ABC..." - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Message type identify not supported.", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "FACEBOOK_OFFLINE_CONVERSIONS", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "facebook_offline_conversions", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "abc": "1234" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "product searched", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - }, - { - "from": "AddToWishlist", - "to": "506289934669334" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Please Map Your Standard Events With Event Set Ids", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration", - "destType": "FACEBOOK_OFFLINE_CONVERSIONS", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "facebook_offline_conversions", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "abc": "1234" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Button Clicked", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Please Map Your Standard Events With Event Set Ids", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration", - "destType": "FACEBOOK_OFFLINE_CONVERSIONS", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "facebook_offline_conversions", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Product Viewed", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/1166826033904512/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Viewed%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "facebook_offline_conversions", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Product Searched", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Viewed" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/582603376981640/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22Search%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/506289934669334/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22Search%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "facebook_offline_conversions", - "description": "Test 6", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Product Searched", - "properties": { - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/582603376981640/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/506289934669334/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/1166826033904512/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "facebook_offline_conversions", - "description": "Test 7", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Product Searched", - "properties": { - "upload_tag": "test campaign", - "order_id": "5241735", - "value": 31.98, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "GBP", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/582603376981640/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/506289934669334/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/1166826033904512/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "facebook_offline_conversions", - "description": "Test 8", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com", - "birthday": "2005-01-01T23:28:56.782Z", - "firstName": "test", - "name": "test rudderlabs", - "address": { - "city": "kalkata", - "state": "west bangal", - "country": "india", - "zip": "123456" - }, - "phone": "9886775586", - "gender": "male" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - }, - "device": { - "advertisingId": "apple@123" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Cart Checkout", - "properties": { - "upload_tag": "test campaign", - "order_id": "485893487985894998", - "value": 100, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "IND", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/1148872185708962/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22doby%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobm%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobd%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22phone%22%3A%5B%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%5D%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%5B%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%5D%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22order_id%22%3A%22485893487985894998%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Cart%20Checkout%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22phone%22%3A%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%22485893487985894998%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22AddToCart%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "facebook_offline_conversions", - "description": "Test 9", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com", - "birthday": "2005-01-01T23:28:56.782Z", - "firstName": "test", - "name": "test rudderlabs", - "address": { - "city": "kalkata", - "state": "west bangal", - "country": "india", - "zip": "123456" - }, - "phone": "9886775586", - "gender": "male" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - }, - "device": { - "advertisingId": "apple@123" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Cart Checkout", - "properties": { - "upload_tag": "test campaign", - "order_id": "485893487985894998", - "value": 100, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "IND", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "isHashRequired": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/1148872185708962/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22doby%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobm%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobd%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%22test%40rudderstack.com%22%5D%2C%22phone%22%3A%5B%229886775586%22%5D%2C%22gen%22%3A%22male%22%2C%22fn%22%3A%22test%22%2C%22ct%22%3A%22kalkata%22%2C%22zip%22%3A%5B%22123456%22%5D%2C%22madid%22%3A%22apple%40123%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22ln%22%3A%22rudderlabs%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22order_id%22%3A%22485893487985894998%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Cart%20Checkout%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22email%22%3A%22test%40rudderstack.com%22%2C%22phone%22%3A%229886775586%22%2C%22gen%22%3A%22male%22%2C%22fn%22%3A%22test%22%2C%22ct%22%3A%22kalkata%22%2C%22zip%22%3A%22123456%22%2C%22madid%22%3A%22apple%40123%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%22485893487985894998%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22ln%22%3A%22rudderlabs%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22AddToCart%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "facebook_offline_conversions", - "description": "Test 10", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.2" - }, - "traits": { - "email": "test@rudderstack.com", - "birthday": "2005-01-01T23:28:56.782Z", - "firstName": "test", - "name": "test rudderlabs", - "address": { - "city": "kalkata", - "state": "west bangal", - "country": "india", - "zip": "123456" - }, - "phone": "9886775586", - "gender": "male" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.2" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36", - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/ecomm_test.html", - "referrer": "http://0.0.0.0:1112/tests/html/", - "search": "", - "title": "Fb Offline Conversion Ecommerce Test", - "url": "http://0.0.0.0:1112/tests/html/ecomm_test.html" - }, - "device": { - "advertisingId": "apple@123" - } - }, - "integrations": { - "FacebookOfflineConversions": { - "contentType": "e-commerce" - } - }, - "type": "track", - "messageId": "9116b734-7e6b-4497-ab51-c16744d4487e", - "originalTimestamp": "2022-09-21T12:05:19.394Z", - "userId": "user@1", - "event": "Cart Checkout", - "properties": { - "upload_tag": "test campaign", - "order_id": "485893487985894998", - "value": 100, - "revenue": 31.98, - "shipping": 4, - "coupon": "APPARELSALE", - "currency": "IND", - "products": [ - { - "id": "product-bacon-jam", - "category": "Merch", - "brand": "" - }, - { - "id": "product-t-shirt", - "category": "Merch", - "brand": "Levis" - }, - { - "id": "offer-t-shirt", - "category": "Merch", - "brand": "Levis" - } - ] - } - }, - "destination": { - "Config": { - "accessToken": "ABC...", - "valueFieldIdentifier": "properties.price", - "eventsToStandard": [ - { - "from": "Product Searched", - "to": "Search" - }, - { - "to": "ViewContent", - "from": "Product Searched" - }, - { - "to": "AddToCart", - "from": "Cart Checkout" - }, - { - "to": "AddPaymentInfo", - "from": "Card Details Added" - }, - { - "to": "Lead", - "from": "Order Completed" - }, - { - "to": "CompleteRegistration", - "from": "Signup" - }, - { - "to": "AddToWishlist", - "from": "Button Clicked" - } - ], - "eventsToIds": [ - { - "from": "Search", - "to": "582603376981640" - }, - { - "from": "Search", - "to": "506289934669334" - }, - { - "from": "ViewContent", - "to": "1166826033904512" - }, - { - "from": "AddToCart", - "to": "1148872185708962" - }, - { - "from": "CompleteRegistration", - "to": "597443908839411" - }, - { - "from": "Lead", - "to": "1024592094903800" - } - ], - "categoryToContent": [ - { - "from": "", - "to": "" - } - ], - "isHashRequired": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://graph.facebook.com/v16.0/1148872185708962/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22doby%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobm%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobd%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22phone%22%3A%5B%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%5D%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%5B%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%5D%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22order_id%22%3A%22485893487985894998%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Cart%20Checkout%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22phone%22%3A%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%22485893487985894998%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22AddToCart%22%2C%22content_type%22%3A%22e-commerce%22%7D%5D&access_token=ABC...", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'facebook_offline_conversions', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + age: 23, + email: 'adc@test.com', + firstname: 'Test', + birthday: '2022-05-13T12:51:01.470Z', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + event: 'Product Searched', + originalTimestamp: '2020-09-22T14:42:44.724Z', + timestamp: '2022-09-22T20:12:44.757+05:30', + userId: 'user@1', + }, + destination: { + Config: { + accessToken: 'ABC...', + }, + }, + metadata: { + secret: { + access_token: 'ABC', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + access_token: 'ABC', + }, + }, + statusCode: 400, + error: 'Message Type is not present. Aborting message.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_offline_conversions', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + age: 23, + email: 'adc@test.com', + firstname: 'Test', + birthday: '2022-05-13T12:51:01.470Z', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + event: 'Product Searched', + type: 'identify', + originalTimestamp: '2020-09-22T14:42:44.724Z', + timestamp: '2022-09-22T20:12:44.757+05:30', + userId: 'user@1', + }, + destination: { + Config: { + accessToken: 'ABC...', + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Message type identify not supported.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'FACEBOOK_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_offline_conversions', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + abc: '1234', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'product searched', + properties: { + order_id: '5241735', + value: 31.98, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'GBP', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Viewed', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + { + from: 'AddToWishlist', + to: '506289934669334', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Please Map Your Standard Events With Event Set Ids', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'FACEBOOK_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_offline_conversions', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + abc: '1234', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'Button Clicked', + properties: { + order_id: '5241735', + value: 31.98, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'GBP', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Viewed', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Please Map Your Standard Events With Event Set Ids', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'FACEBOOK_OFFLINE_CONVERSIONS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'facebook_offline_conversions', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + email: 'test@rudderstack.com', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'Product Viewed', + properties: { + order_id: '5241735', + value: 31.98, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'GBP', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Viewed', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + isHashRequired: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/1166826033904512/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Viewed%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_offline_conversions', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + email: 'test@rudderstack.com', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'Product Searched', + properties: { + order_id: '5241735', + value: 31.98, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'GBP', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Viewed', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + isHashRequired: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/582603376981640/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22Search%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/506289934669334/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22Search%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_offline_conversions', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + email: 'test@rudderstack.com', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'Product Searched', + properties: { + order_id: '5241735', + value: 31.98, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'GBP', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Searched', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + isHashRequired: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/582603376981640/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/506289934669334/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/1166826033904512/events?upload_tag=rudderstack&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_offline_conversions', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + email: 'test@rudderstack.com', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'Product Searched', + properties: { + upload_tag: 'test campaign', + order_id: '5241735', + value: 31.98, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'GBP', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Searched', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + isHashRequired: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/582603376981640/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/506289934669334/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/1166826033904512/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22order_id%22%3A%225241735%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Product%20Searched%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22GBP%22%2C%22value%22%3A31.98%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%225241735%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22ViewContent%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_offline_conversions', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + email: 'test@rudderstack.com', + birthday: '2005-01-01T23:28:56.782Z', + firstName: 'test', + name: 'test rudderlabs', + address: { + city: 'kalkata', + state: 'west bangal', + country: 'india', + zip: '123456', + }, + phone: '9886775586', + gender: 'male', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + device: { + advertisingId: 'apple@123', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'Cart Checkout', + properties: { + upload_tag: 'test campaign', + order_id: '485893487985894998', + value: 100, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'IND', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Searched', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + isHashRequired: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/1148872185708962/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22doby%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobm%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobd%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22phone%22%3A%5B%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%5D%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%5B%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%5D%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22order_id%22%3A%22485893487985894998%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Cart%20Checkout%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22phone%22%3A%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%22485893487985894998%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22AddToCart%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_offline_conversions', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + email: 'test@rudderstack.com', + birthday: '2005-01-01T23:28:56.782Z', + firstName: 'test', + name: 'test rudderlabs', + address: { + city: 'kalkata', + state: 'west bangal', + country: 'india', + zip: '123456', + }, + phone: '9886775586', + gender: 'male', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + device: { + advertisingId: 'apple@123', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'Cart Checkout', + properties: { + upload_tag: 'test campaign', + order_id: '485893487985894998', + value: 100, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'IND', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Searched', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + isHashRequired: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/1148872185708962/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22doby%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobm%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobd%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%22test%40rudderstack.com%22%5D%2C%22phone%22%3A%5B%229886775586%22%5D%2C%22gen%22%3A%22male%22%2C%22fn%22%3A%22test%22%2C%22ct%22%3A%22kalkata%22%2C%22zip%22%3A%5B%22123456%22%5D%2C%22madid%22%3A%22apple%40123%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22ln%22%3A%22rudderlabs%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22order_id%22%3A%22485893487985894998%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Cart%20Checkout%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22email%22%3A%22test%40rudderstack.com%22%2C%22phone%22%3A%229886775586%22%2C%22gen%22%3A%22male%22%2C%22fn%22%3A%22test%22%2C%22ct%22%3A%22kalkata%22%2C%22zip%22%3A%22123456%22%2C%22madid%22%3A%22apple%40123%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%22485893487985894998%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22ln%22%3A%22rudderlabs%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22AddToCart%22%2C%22content_type%22%3A%22product%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_offline_conversions', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.2', + }, + traits: { + email: 'test@rudderstack.com', + birthday: '2005-01-01T23:28:56.782Z', + firstName: 'test', + name: 'test rudderlabs', + address: { + city: 'kalkata', + state: 'west bangal', + country: 'india', + zip: '123456', + }, + phone: '9886775586', + gender: 'male', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.2', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/ecomm_test.html', + referrer: 'http://0.0.0.0:1112/tests/html/', + search: '', + title: 'Fb Offline Conversion Ecommerce Test', + url: 'http://0.0.0.0:1112/tests/html/ecomm_test.html', + }, + device: { + advertisingId: 'apple@123', + }, + }, + integrations: { + FacebookOfflineConversions: { + contentType: 'e-commerce', + }, + }, + type: 'track', + messageId: '9116b734-7e6b-4497-ab51-c16744d4487e', + originalTimestamp: '2022-09-21T12:05:19.394Z', + userId: 'user@1', + event: 'Cart Checkout', + properties: { + upload_tag: 'test campaign', + order_id: '485893487985894998', + value: 100, + revenue: 31.98, + shipping: 4, + coupon: 'APPARELSALE', + currency: 'IND', + products: [ + { + id: 'product-bacon-jam', + category: 'Merch', + brand: '', + }, + { + id: 'product-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + { + id: 'offer-t-shirt', + category: 'Merch', + brand: 'Levis', + }, + ], + }, + }, + destination: { + Config: { + accessToken: 'ABC...', + valueFieldIdentifier: 'properties.price', + eventsToStandard: [ + { + from: 'Product Searched', + to: 'Search', + }, + { + to: 'ViewContent', + from: 'Product Searched', + }, + { + to: 'AddToCart', + from: 'Cart Checkout', + }, + { + to: 'AddPaymentInfo', + from: 'Card Details Added', + }, + { + to: 'Lead', + from: 'Order Completed', + }, + { + to: 'CompleteRegistration', + from: 'Signup', + }, + { + to: 'AddToWishlist', + from: 'Button Clicked', + }, + ], + eventsToIds: [ + { + from: 'Search', + to: '582603376981640', + }, + { + from: 'Search', + to: '506289934669334', + }, + { + from: 'ViewContent', + to: '1166826033904512', + }, + { + from: 'AddToCart', + to: '1148872185708962', + }, + { + from: 'CompleteRegistration', + to: '597443908839411', + }, + { + from: 'Lead', + to: '1024592094903800', + }, + ], + categoryToContent: [ + { + from: '', + to: '', + }, + ], + isHashRequired: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://graph.facebook.com/v16.0/1148872185708962/events?upload_tag=test campaign&data=%5B%7B%22match_keys%22%3A%7B%22doby%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobm%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22dobd%22%3A%22f388bc7cd953b951ffdf8e06275d94946dc52f03ed96536497fbe534469d38d6%22%2C%22extern_id%22%3A%22user%401%22%2C%22email%22%3A%5B%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%5D%2C%22phone%22%3A%5B%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%5D%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%5B%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%5D%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%7D%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22order_id%22%3A%22485893487985894998%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22quantity%22%3A1%2C%22brand%22%3A%22Levis%22%2C%22category%22%3A%22Merch%22%7D%5D%2C%22custom_data%22%3A%7B%22extern_id%22%3A%22user%401%22%2C%22event_name%22%3A%22Cart%20Checkout%22%2C%22event_time%22%3A1663761919%2C%22currency%22%3A%22IND%22%2C%22value%22%3A100%2C%22email%22%3A%221c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd%22%2C%22phone%22%3A%2274a39482392f83119041d571d5dace439d315faea8214fe8e815c00261b80615%22%2C%22gen%22%3A%220d248e82c62c9386878327d491c762a002152d42ab2c391a31c44d9f62675ddf%22%2C%22fn%22%3A%229f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08%22%2C%22ct%22%3A%22375aba919c30870659093b7ddcf6045ff7a8624dd4dba49ced8981bd4d0666e0%22%2C%22zip%22%3A%228d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92%22%2C%22madid%22%3A%22c20fa16907343eef642d10f0bdb81bf629e6aaf6c906f26eabda079ca9e5ab67%22%2C%22contents%22%3A%5B%7B%22id%22%3A%22product-bacon-jam%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22%22%7D%2C%7B%22id%22%3A%22product-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%2C%7B%22id%22%3A%22offer-t-shirt%22%2C%22category%22%3A%22Merch%22%2C%22brand%22%3A%22Levis%22%7D%5D%2C%22order_id%22%3A%22485893487985894998%22%2C%22upload_tag%22%3A%22test%20campaign%22%2C%22client_user_agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_3)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F83.0.4103.97%20Safari%2F537.36%22%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22ln%22%3A%22dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251%22%2C%22shipping%22%3A4%2C%22coupon%22%3A%22APPARELSALE%22%7D%2C%22event_source_url%22%3A%22http%3A%2F%2F0.0.0.0%3A1112%2Ftests%2Fhtml%2Fecomm_test.html%22%2C%22event_name%22%3A%22AddToCart%22%2C%22content_type%22%3A%22e-commerce%22%7D%5D&access_token=ABC...', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/facebook_pixel/dataDelivery/data.ts b/test/integrations/destinations/facebook_pixel/dataDelivery/data.ts new file mode 100644 index 0000000000..e4e4a7d4c8 --- /dev/null +++ b/test/integrations/destinations/facebook_pixel/dataDelivery/data.ts @@ -0,0 +1,585 @@ +export const data = [ + { + name: 'facebook_pixel', + description: 'Test 0', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + body: { + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"c58f05b5e3cc4796f3181cf07349d306547c00b20841a175b179c6860e6a34ab","client_ip_address":"32.122.223.26","client_user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1"},"event_name":"Checkout Step Viewed","event_time":1654773112,"event_source_url":"https://www.my.kaiser.com/checkout","event_id":"4f002656-a7b2-4c17-b9bd-8caa5a29190a","custom_data":{"checkout_id":"26SF29B","site":"www.my.kaiser.com","step":1}}', + ], + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: {}, + version: '1', + endpoint: + 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=invalid_access_token', + params: { + destination: 'facebook_pixel', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: 'Invalid OAuth 2.0 access token', + destinationResponse: { + error: { + message: 'The access token could not be decrypted', + type: 'OAuthException', + code: 190, + fbtrace_id: 'fbpixel_trace_id', + }, + status: 500, + }, + statTags: { + destType: 'FACEBOOK_PIXEL', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 1', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + body: { + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"c58f05b5e3cc4796f3181cf07349d306547c00b20841a175b179c6860e6a34ab","client_ip_address":"32.122.223.26","client_user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1"},"event_name":"Checkout Step Viewed","event_time":1654773112,"event_source_url":"https://www.my.kaiser.com/checkout","event_id":"4f002656-a7b2-4c17-b9bd-8caa5a29190a","custom_data":{"checkout_id":"26SF29B","site":"www.my.kaiser.com","step":1}}', + ], + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: {}, + version: '1', + endpoint: + 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=my_access_token', + params: { + destination: 'facebook_pixel', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + status: 200, + message: 'Request Processed Successfully', + destinationResponse: { + events_received: 1, + fbtrace_id: 'facebook_trace_id', + }, + }, + }, + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 2', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + body: { + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"c58f05b5e3cc4796f3181cf07349d306547c00b20841a175b179c6860e6a34ab","client_ip_address":"32.122.223.26","client_user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1"},"event_name":"Checkout Step Viewed","event_time":1654772112,"event_source_url":"https://www.my.kaiser.com/checkout","event_id":"4f002656-a7b2-4c17-b9bd-8caa5a29190a","custom_data":{"checkout_id":"26SF29B","site":"www.my.kaiser.com","step":1}}', + ], + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: {}, + version: '1', + endpoint: + 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=invalid_timestamp_correct_access_token', + params: { + destination: 'facebook_pixel', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: 'Event Timestamp Too Old', + destinationResponse: { + error: { + message: 'Invalid parameter', + type: 'OAuthException', + code: 100, + error_subcode: 2804003, + is_transient: false, + error_user_title: 'Event Timestamp Too Old', + error_user_msg: + 'The timestamp for this event is too far in the past. Events need to be sent from your server within 7 days of when they occurred. Enter a timestamp that has occurred within the last 7 days.', + fbtrace_id: 'A6UyEgg_HdoiRX9duxcBOjb', + }, + status: 400, + }, + statTags: { + destType: 'FACEBOOK_PIXEL', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 3', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + body: { + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"c58f05b5e3cc4796f3181cf07349d306547c00b20841a175b179c6860e6a34ab","client_ip_address":"32.122.223.26","client_user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1"},"event_name":"Checkout Step Viewed","event_time":1654772112,"event_source_url":"https://www.my.kaiser.com/checkout","event_id":"4f002656-a7b2-4c17-b9bd-8caa5a29190a","custom_data":{"checkout_id":"26SF29B","site":"www.my.kaiser.com","step":1}}', + ], + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: {}, + version: '1', + endpoint: + 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=throttled_valid_access_token', + params: { + destination: 'facebook_pixel', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 429, + body: { + output: { + status: 429, + message: 'API User Too Many Calls', + destinationResponse: { + error: { + message: 'User request limit reached', + type: 'OAuthException', + code: 17, + fbtrace_id: 'facebook_px_trace_id_4', + }, + status: 500, + }, + statTags: { + destType: 'FACEBOOK_PIXEL', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'throttled', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 4', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + body: { + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"c58f05b5e3cc4796f3181cf07349d306547c00b20841a175b179c6860e6a34ab","client_ip_address":"32.122.223.26","client_user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1"},"event_name":"Checkout Step Viewed","event_time":1654772112,"event_source_url":"https://www.my.kaiser.com/checkout","event_id":"4f002656-a7b2-4c17-b9bd-8caa5a29190a","custom_data":{"checkout_id":"26SF29B","site":"www.my.kaiser.com","step":1}}', + ], + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: {}, + version: '1', + endpoint: + 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=invalid_account_id_valid_access_token', + params: { + destination: 'facebook_pixel', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: + "Object with ID 'PIXEL_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", + destinationResponse: { + error: { + message: + "Unsupported post request. Object with ID '1234567891234569' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api", + type: 'GraphMethodException', + code: 100, + error_subcode: 33, + fbtrace_id: 'facebook_px_trace_id_5', + }, + status: 400, + }, + statTags: { + destType: 'FACEBOOK_PIXEL', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 5', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + body: { + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"d58f05b5e3cc4796f3181cf07349d306547c00b20841a175b179c6860e6a34ab","client_ip_address":"32.122.223.26","client_user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1"},"event_name":"Checkout Step Viewed","event_time":1654772112,"event_source_url":"https://www.my.kaiser.com/checkout","event_id":"4f002656-a7b2-4c17-b9bd-8caa5a29190a","custom_data":{"checkout_id":"26SF29B","site":"www.my.kaiser.com","step":1}}', + ], + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: {}, + version: '1', + endpoint: + 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=not_found_access_token', + params: { + destination: 'facebook_pixel', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: 'Invalid Parameter', + destinationResponse: { + error: { + message: 'Invalid Parameter', + type: 'GraphMethodException', + code: 100, + error_subcode: 34, + fbtrace_id: 'facebook_px_trace_id_6', + }, + status: 404, + }, + statTags: { + destType: 'FACEBOOK_PIXEL', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 6', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + body: { + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"c58f05b5e3cc4796f3181cf07349d306547c00b20841a175b179c6860e6a34ab","client_ip_address":"32.122.223.26","client_user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1"},"event_name":"Checkout Step Viewed","event_time":1654772112,"event_source_url":"https://www.my.kaiser.com/checkout","event_id":"4f002656-a7b2-4c17-b9bd-8caa5a29190a","custom_data":{"checkout_id":"26SF29B","site":"www.my.kaiser.com","step":1}}', + ], + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: { + destination: 'facebook_pixel', + }, + userId: '', + headers: {}, + version: '1', + endpoint: + 'https://graph.facebook.com/v17.0/1234567891234570/events?access_token=valid_access_token', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: 'Invalid Parameter', + destinationResponse: { + error: { + message: 'Unsupported post request. some problem with sent parameters', + type: 'GraphMethodException', + code: 100, + error_subcode: 38, + fbtrace_id: 'facebook_px_trace_id_6', + }, + status: 400, + }, + statTags: { + destType: 'FACEBOOK_PIXEL', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 7', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + body: { + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"c58f05b5e3cc4796f3181cf07349d306547c00b20841a175b179c6860e6a34ab","client_ip_address":"32.122.223.26","client_user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1"},"event_name":"Checkout Step Viewed","event_time":1654772112,"event_source_url":"https://www.my.kaiser.com/checkout","event_id":"4f002656-a7b2-4c17-b9bd-8caa5a29190a","custom_data":{"checkout_id":"26SF29B","site":"www.my.kaiser.com","step":1}}', + ], + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: { + destination: 'facebook_pixel', + }, + userId: '', + headers: {}, + version: '1', + endpoint: + 'https://graph.facebook.com/v17.0/1234567891234571/events?access_token=valid_access_token', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: 'Capability or permissions issue.', + destinationResponse: { + error: { + message: 'Some error in permission', + type: 'GraphMethodException', + code: 3, + error_subcode: 10, + fbtrace_id: 'facebook_px_trace_id_7', + }, + status: 500, + }, + statTags: { + destType: 'FACEBOOK_PIXEL', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 8', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + body: { + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"c58f05b5e3cc4796f3181cf07349d306547c00b20841a175b179c6860e6a34ab","client_ip_address":"32.122.223.26","client_user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1"},"event_name":"Checkout Step Viewed","event_time":1654772112,"event_source_url":"https://www.my.kaiser.com/checkout","event_id":"4f002656-a7b2-4c17-b9bd-8caa5a29190a","custom_data":{"checkout_id":"26SF29B","site":"www.my.kaiser.com","step":1}}', + ], + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: { + destination: 'facebook_pixel', + }, + userId: '', + headers: {}, + version: '1', + endpoint: + 'https://graph.facebook.com/v17.0/1234567891234572/events?access_token=valid_access_token_unhandled_response', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + status: 500, + message: 'Unhandled random error', + destinationResponse: { + error: { + message: 'Unhandled random error', + type: 'RandomException', + code: 5, + error_subcode: 12, + fbtrace_id: 'facebook_px_trace_id_10', + }, + status: 412, + }, + statTags: { + destType: 'FACEBOOK_PIXEL', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + meta: 'unhandledStatusCode', + }, + }, + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/facebook_pixel/network.ts b/test/integrations/destinations/facebook_pixel/network.ts new file mode 100644 index 0000000000..a63970c4c6 --- /dev/null +++ b/test/integrations/destinations/facebook_pixel/network.ts @@ -0,0 +1,190 @@ +import { data } from './dataDelivery/data'; +import { getFormData } from '../../../../src/adapters/network'; + +export const networkCallsData = [ + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=invalid_access_token', + data: getFormData(data[0].input.request.body.body.FORM).toString(), + params: { destination: 'facebook_pixel' }, + headers: { 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + error: { + message: 'The access token could not be decrypted', + type: 'OAuthException', + code: 190, + fbtrace_id: 'fbpixel_trace_id', + }, + }, + status: 500, + }, + }, + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=invalid_timestamp_correct_access_token', + data: getFormData(data[2].input.request.body.body.FORM).toString(), + params: { destination: 'facebook_pixel' }, + headers: { 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + error: { + message: 'Invalid parameter', + type: 'OAuthException', + code: 100, + error_subcode: 2804003, + is_transient: false, + error_user_title: 'Event Timestamp Too Old', + error_user_msg: + 'The timestamp for this event is too far in the past. Events need to be sent from your server within 7 days of when they occurred. Enter a timestamp that has occurred within the last 7 days.', + fbtrace_id: 'A6UyEgg_HdoiRX9duxcBOjb', + }, + }, + status: 400, + }, + }, + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=throttled_valid_access_token', + data: getFormData(data[3].input.request.body.body.FORM).toString(), + params: { destination: 'facebook_pixel' }, + headers: { 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + error: { + message: 'User request limit reached', + type: 'OAuthException', + code: 17, + fbtrace_id: 'facebook_px_trace_id_4', + }, + }, + status: 500, + }, + }, + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=invalid_account_id_valid_access_token', + data: getFormData(data[4].input.request.body.body.FORM).toString(), + params: { destination: 'facebook_pixel' }, + headers: { 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + error: { + message: + "Unsupported post request. Object with ID '1234567891234569' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api", + type: 'GraphMethodException', + code: 100, + error_subcode: 33, + fbtrace_id: 'facebook_px_trace_id_5', + }, + }, + status: 400, + }, + }, + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=not_found_access_token', + data: getFormData(data[5].input.request.body.body.FORM).toString(), + params: { destination: 'facebook_pixel' }, + headers: { 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + error: { + message: 'Invalid Parameter', + type: 'GraphMethodException', + code: 100, + error_subcode: 34, + fbtrace_id: 'facebook_px_trace_id_6', + }, + }, + status: 404, + }, + }, + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/1234567891234570/events?access_token=valid_access_token', + data: getFormData(data[6].input.request.body.body.FORM).toString(), + params: { destination: 'facebook_pixel' }, + headers: { 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + error: { + message: 'Unsupported post request. some problem with sent parameters', + type: 'GraphMethodException', + code: 100, + error_subcode: 38, + fbtrace_id: 'facebook_px_trace_id_6', + }, + }, + status: 400, + }, + }, + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/1234567891234571/events?access_token=valid_access_token', + data: getFormData(data[7].input.request.body.body.FORM).toString(), + params: { destination: 'facebook_pixel' }, + headers: { 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + error: { + message: 'Some error in permission', + type: 'GraphMethodException', + code: 3, + error_subcode: 10, + fbtrace_id: 'facebook_px_trace_id_7', + }, + }, + status: 500, + }, + }, + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/1234567891234572/events?access_token=valid_access_token_unhandled_response', + data: getFormData(data[8].input.request.body.body.FORM).toString(), + params: { destination: 'facebook_pixel' }, + headers: { 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + error: { + message: 'Unhandled random error', + type: 'RandomException', + code: 5, + error_subcode: 12, + fbtrace_id: 'facebook_px_trace_id_10', + }, + }, + status: 412, + }, + }, + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/1234567891234567/events?access_token=my_access_token', + data: getFormData(data[1].input.request.body.body.FORM).toString(), + params: { destination: 'facebook_pixel' }, + headers: { 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { events_received: 1, fbtrace_id: 'facebook_trace_id' }, + status: 200, + statusText: 'OK', + }, + }, +]; diff --git a/test/integrations/destinations/fb/dataDelivery/data.ts b/test/integrations/destinations/fb/dataDelivery/data.ts new file mode 100644 index 0000000000..70538a6ea0 --- /dev/null +++ b/test/integrations/destinations/fb/dataDelivery/data.ts @@ -0,0 +1,357 @@ +export const data = [ + { + "name": "fb", + "description": "Test 0", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "event": "CUSTOM_APP_EVENTS", + "advertiser_id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", + "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", + "ud[fn]": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", + "ud[ge]": "62c66a7a5dd70c3146618063c344e531e6d4b59e379808443ce962b3abd63c5a", + "ud[ln]": "3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3", + "ud[ph]": "588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f", + "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",640,480,\"1.23\",0,0,0,\"Europe/Berlin\"]", + "app_user_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"spin_result\",\"_valueToSum\":400,\"fb_currency\":\"GBP\",\"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\",\"userId\":\"c82cbdff-e5be-4009-ac78-cdeea09ab4b1\",\"versionSessionCount\":2,\"win_amount\":0,\"fb_content_id\":[\"123\",\"345\",\"567\"]}]", + "advertiser_tracking_enabled": "0", + "application_tracking_enabled": "0" + }, + "JSON": {} + }, + "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities?access_token=invalid_access_token", + "files": {}, + "headers": { + "x-forwarded-for": "1.2.3.4" + }, + "method": "POST", + "statusCode": 200, + "type": "REST", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "version": "1", + "params": { + "destination": "fb" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 400, + "body": { + "output": { + "status": 400, + "message": "Invalid OAuth 2.0 access token", + "destinationResponse": { + "error": { + "message": "The access token could not be decrypted", + "type": "OAuthException", + "code": 190, + "fbtrace_id": "fbpixel_trace_id" + }, + "status": 500 + }, + "statTags": { + "destType": "FB", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + }, + { + "name": "fb", + "description": "Test 1", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "event": "CUSTOM_APP_EVENTS", + "advertiser_id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", + "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", + "ud[fn]": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", + "ud[ge]": "62c66a7a5dd70c3146618063c344e531e6d4b59e379808443ce962b3abd63c5a", + "ud[ln]": "3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3", + "ud[ph]": "588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f", + "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",640,480,\"1.23\",0,0,0,\"Europe/Berlin\"]", + "app_user_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"spin_result\",\"_valueToSum\":400,\"fb_currency\":\"GBP\",\"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\",\"userId\":\"c82cbdff-e5be-4009-ac78-cdeea09ab4b1\",\"versionSessionCount\":2,\"win_amount\":0,\"fb_content_id\":[\"123\",\"345\",\"567\"]}]", + "advertiser_tracking_enabled": "0", + "application_tracking_enabled": "0" + }, + "JSON": {} + }, + "endpoint": "https://graph.facebook.com/v17.0/RudderFbApp/activities?access_token=my_access_token", + "files": {}, + "headers": { + "x-forwarded-for": "1.2.3.4" + }, + "method": "POST", + "statusCode": 200, + "type": "REST", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "version": "1", + "params": { + "destination": "fb" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "status": 200, + "message": "Request Processed Successfully", + "destinationResponse": { + "events_received": 1, + "fbtrace_id": "facebook_trace_id" + } + } + } + } + } + }, + + { + "name": "fb", + "description": "Test 2", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "event": "CUSTOM_APP_EVENTS", + "advertiser_id": "df16bffa-5c3d-4fbb-9bce-3bab098129a7R", + "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", + "ud[fn]": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", + "ud[ge]": "62c66a7a5dd70c3146618063c344e531e6d4b59e379808443ce962b3abd63c5a", + "ud[ln]": "3547cb112ac4489af2310c0626cdba6f3097a2ad5a3b42ddd3b59c76c7a079a3", + "ud[ph]": "588211a01b10feacbf7988d97a06e86c18af5259a7f457fd8759b7f7409a7d1f", + "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",640,480,\"1.23\",0,0,0,\"Europe/Berlin\"]", + "app_user_id": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"spin_result\",\"_valueToSum\":400,\"fb_currency\":\"GBP\",\"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\",\"userId\":\"c82cbdff-e5be-4009-ac78-cdeea09ab4b1\",\"versionSessionCount\":2,\"win_amount\":0,\"fb_content_id\":[\"123\",\"345\",\"567\"]}]", + "advertiser_tracking_enabled": "0", + "application_tracking_enabled": "0" + }, + "JSON": {} + }, + "endpoint": "https://graph.facebook.com/v17.0/1234567891234567/events?access_token=invalid_timestamp_correct_access_token", + "files": {}, + "headers": { + "x-forwarded-for": "1.2.3.4" + }, + "method": "POST", + "statusCode": 200, + "type": "REST", + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "version": "1", + "params": { + "destination": "fb" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 400, + "body": { + "output": { + "status": 400, + "message": "Event Timestamp Too Old", + "destinationResponse": { + "error": { + "message": "Invalid parameter", + "type": "OAuthException", + "code": 100, + "error_subcode": 2804003, + "is_transient": false, + "error_user_title": "Event Timestamp Too Old", + "error_user_msg": "The timestamp for this event is too far in the past. Events need to be sent from your server within 7 days of when they occurred. Enter a timestamp that has occurred within the last 7 days.", + "fbtrace_id": "A6UyEgg_HdoiRX9duxcBOjb" + }, + "status": 400 + }, + "statTags": { + "destType": "FB", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + }, + { + "name": "fb", + "description": "Test 3", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/1234567891234567/events?access_token=throttled_valid_access_token", + "headers": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", + "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"Viewed Screen\",\"fb_description\":\"Main.1233\"}]", + "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", + "advertiser_tracking_enabled": "0", + "application_tracking_enabled": "0", + "event": "CUSTOM_APP_EVENTS" + } + }, + "files": {}, + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "statusCode": 200, + "params": { + "destination": "fb" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 429, + "body": { + "output": { + "status": 429, + "message": "API User Too Many Calls", + "destinationResponse": { + "error": { + "message": "User request limit reached", + "type": "OAuthException", + "code": 17, + "fbtrace_id": "facebook_px_trace_id_4" + }, + "status": 500 + }, + "statTags": { + "destType": "FB", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "throttled", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + }, + { + "name": "fb", + "description": "Test 4", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v17.0/1234567891234567/events?access_token=invalid_account_id_valid_access_token", + "headers": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "extinfo": "[\"a2\",\"\",\"\",\"\",\"8.1.0\",\"Redmi 6\",\"\",\"\",\"Banglalink\",0,100,\"50.00\",0,0,0,\"\"]", + "custom_events": "[{\"_logTime\":1567333011693,\"_eventName\":\"Viewed Screen\",\"fb_description\":\"Main.1233\"}]", + "ud[em]": "48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08", + "advertiser_tracking_enabled": "0", + "application_tracking_enabled": "0", + "event": "CUSTOM_APP_EVENTS" + } + }, + "files": {}, + "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "statusCode": 200, + "params": { + "destination": "fb" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 400, + "body": { + "output": { + "status": 400, + "message": "Object with ID 'PIXEL_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", + "destinationResponse": { + "error": { + "message": "Unsupported post request. Object with ID '1234567891234569' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api", + "type": "GraphMethodException", + "code": 100, + "error_subcode": 33, + "fbtrace_id": "facebook_px_trace_id_5" + }, + "status": 400 + }, + "statTags": { + "destType": "FB", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/fb/network.ts b/test/integrations/destinations/fb/network.ts new file mode 100644 index 0000000000..07a84a7e66 --- /dev/null +++ b/test/integrations/destinations/fb/network.ts @@ -0,0 +1,55 @@ +import { cloneDeep } from 'lodash'; +import { getFormData } from '../../../../src/adapters/network'; +import * as fbPixelNw from '../facebook_pixel/network'; +import { data } from './dataDelivery/data'; + +const fbPixelTcs = data + .filter((_, i) => [2, 3, 4].includes(i)) + .map((d) => { + const fbendpoint = d.input.request.body.endpoint; + const fbpTc = fbPixelNw.networkCallsData.filter((nw) => { + return nw.httpReq.url === fbendpoint; + })[0]; + const clonedFbpTc = cloneDeep(fbpTc); + const clonedFormData = cloneDeep(d.input.request.body.body.FORM); + clonedFbpTc.httpReq.data = getFormData(clonedFormData).toString(); + return clonedFbpTc; + }); + +export const networkCallsData = [ + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/RudderFbApp/activities?access_token=invalid_access_token', + data: getFormData(data[0].input.request.body.body.FORM).toString(), + params: { destination: 'fb' }, + headers: { 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { + error: { + message: 'The access token could not be decrypted', + type: 'OAuthException', + code: 190, + fbtrace_id: 'fbpixel_trace_id', + }, + }, + status: 500, + }, + }, + { + httpReq: { + url: 'https://graph.facebook.com/v17.0/RudderFbApp/activities?access_token=my_access_token', + data: getFormData(data[1].input.request.body.body.FORM).toString(), + params: { destination: 'fb' }, + headers: { 'x-forwarded-for': '1.2.3.4', 'User-Agent': 'RudderLabs' }, + method: 'POST', + }, + httpRes: { + data: { events_received: 1, fbtrace_id: 'facebook_trace_id' }, + status: 200, + statusText: 'OK', + }, + }, + ...fbPixelTcs, +]; diff --git a/test/integrations/destinations/firehose/processor/data.ts b/test/integrations/destinations/firehose/processor/data.ts index faa14a6a44..0fad78ccc5 100644 --- a/test/integrations/destinations/firehose/processor/data.ts +++ b/test/integrations/destinations/firehose/processor/data.ts @@ -1,858 +1,877 @@ export const data = [ - { - "name": "firehose", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "track", - "to": "ruchira-test-firehose" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { "email": "ruchira@rudderlabs.com" }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { "density": 2 } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { "All": true }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "ruchira-test-firehose" - }, - "statusCode": 200 - } - ] - } - } - }, { - "name": "firehose", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "product added", - "to": "ruchira-test-firehose" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { "email": "ruchira@rudderlabs.com" }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { "density": 2 } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { "All": true }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "ruchira-test-firehose" - }, - "statusCode": 200 - } - ] - } - } - }, { - "name": "firehose", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "*", - "to": "ruchira-test-firehose" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { "email": "ruchira@rudderlabs.com" }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { "density": 2 } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { "All": true }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "ruchira-test-firehose" - }, - "statusCode": 200 - } - ] - } - } - }, { - "name": "firehose", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "test event", - "to": "ruchira-test-firehose" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "No delivery stream set for this event", - "statTags": { - "destType": "FIREHOSE", - "errorCategory": "dataValidation", - "errorType": "configuration", - "feature": "processor", - "implementation": "native", - "module": "destination", - }, - "statusCode": 400 - } - ] - } - } - }, { - "name": "firehose", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "*", - "to": "ruchira-test-firehose" - }, - { - "from": "track", - "to": "ruchira-test-firehose-1" - }, - { - "from": "product added", - "to": "ruchira-test-firehose-2" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "ruchira-test-firehose-2" - }, - "statusCode": 200 - } - ] - } - } - }, { - "name": "firehose", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "*", - "to": "ruchira-test-firehose" - }, - { - "from": "track", - "to": "ruchira-test-firehose-1" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "ruchira-test-firehose-1" - }, - "statusCode": 200 - } - ] - } - } - }, { - "name": "firehose", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "region": "us-east-1", - "accessKeyID": "abc", - "accessKey": "xyz", - "mapEvents": [ - { - "from": "*", - "to": "ruchira-test-firehose" - }, - { - "from": "product added", - "to": "ruchira-test-firehose-1" - } - ] - }, - "DestinationDefinition": { - "DisplayName": "firehose", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "FIREHOSE" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Braze", - "Transformations": [] - }, - "metadata": { - "sourceType": "metadata.sourceType", - "destinationType": "metadata.destinationType", - "k8_namespace": "metadata.namespace" - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "destinationType": "metadata.destinationType", - "k8_namespace": "metadata.namespace", - "sourceType": "metadata.sourceType", - }, - "output": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "00000000000000000000000000", - "deliveryStreamMapTo": "ruchira-test-firehose" - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'firehose', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + region: 'us-east-1', + accessKeyID: 'abc', + accessKey: 'xyz', + mapEvents: [ + { + from: 'track', + to: 'ruchira-test-firehose', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { email: 'ruchira@rudderlabs.com' }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { density: 2 }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { All: true }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + userId: '00000000000000000000000000', + deliveryStreamMapTo: 'ruchira-test-firehose', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'firehose', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + region: 'us-east-1', + accessKeyID: 'abc', + accessKey: 'xyz', + mapEvents: [ + { + from: 'product added', + to: 'ruchira-test-firehose', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { email: 'ruchira@rudderlabs.com' }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { density: 2 }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { All: true }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + userId: '00000000000000000000000000', + deliveryStreamMapTo: 'ruchira-test-firehose', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'firehose', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + region: 'us-east-1', + accessKeyID: 'abc', + accessKey: 'xyz', + mapEvents: [ + { + from: '*', + to: 'ruchira-test-firehose', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { email: 'ruchira@rudderlabs.com' }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { density: 2 }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { All: true }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + userId: '00000000000000000000000000', + deliveryStreamMapTo: 'ruchira-test-firehose', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'firehose', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + region: 'us-east-1', + accessKeyID: 'abc', + accessKey: 'xyz', + mapEvents: [ + { + from: 'test event', + to: 'ruchira-test-firehose', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'No delivery stream set for this event', + statTags: { + destType: 'FIREHOSE', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'firehose', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + region: 'us-east-1', + accessKeyID: 'abc', + accessKey: 'xyz', + mapEvents: [ + { + from: '*', + to: 'ruchira-test-firehose', + }, + { + from: 'track', + to: 'ruchira-test-firehose-1', + }, + { + from: 'product added', + to: 'ruchira-test-firehose-2', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + userId: '00000000000000000000000000', + deliveryStreamMapTo: 'ruchira-test-firehose-2', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'firehose', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + region: 'us-east-1', + accessKeyID: 'abc', + accessKey: 'xyz', + mapEvents: [ + { + from: '*', + to: 'ruchira-test-firehose', + }, + { + from: 'track', + to: 'ruchira-test-firehose-1', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + userId: '00000000000000000000000000', + deliveryStreamMapTo: 'ruchira-test-firehose-1', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'firehose', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + region: 'us-east-1', + accessKeyID: 'abc', + accessKey: 'xyz', + mapEvents: [ + { + from: '*', + to: 'ruchira-test-firehose', + }, + { + from: 'product added', + to: 'ruchira-test-firehose-1', + }, + ], + }, + DestinationDefinition: { + DisplayName: 'firehose', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'FIREHOSE', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Braze', + Transformations: [], + }, + metadata: { + sourceType: 'metadata.sourceType', + destinationType: 'metadata.destinationType', + k8_namespace: 'metadata.namespace', + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: '', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationType: 'metadata.destinationType', + k8_namespace: 'metadata.namespace', + sourceType: 'metadata.sourceType', + }, + output: { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: '', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + userId: '00000000000000000000000000', + deliveryStreamMapTo: 'ruchira-test-firehose', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/googlepubsub/processor/data.ts b/test/integrations/destinations/googlepubsub/processor/data.ts index 7603a4c248..0dffa57839 100644 --- a/test/integrations/destinations/googlepubsub/processor/data.ts +++ b/test/integrations/destinations/googlepubsub/processor/data.ts @@ -1,1294 +1,1317 @@ export const data = [ - { - "name": "googlepubsub", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "test" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "123456", - "topicId": "test", - "attributes": {} - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "product added", - "to": "test" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "123456", - "topicId": "test", - "attributes": {} - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "*", - "to": "test" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "userId": "123456", - "topicId": "test", - "attributes": {} - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "ruchira@rudderlabs.com" - }, - "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": { - "id": "72e528f869711c3d", - "manufacturer": "Google", - "model": "sdk_gphone_x86", - "name": "generic_x86_arm", - "token": "some_device_token", - "type": "android" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "event": "product added", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "00000000000000000000000000", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "test event", - "to": "test" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "No topic set for this event", - "statTags": { - "destType": "GOOGLEPUBSUB", - "errorCategory": "dataValidation", - "errorType": "configuration", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "No topic set for this event", - "statTags": { - "destType": "GOOGLEPUBSUB", - "errorCategory": "dataValidation", - "errorType": "configuration", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "No topic set for this event", - "statTags": { - "destType": "GOOGLEPUBSUB", - "errorCategory": "dataValidation", - "errorType": "configuration", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 6", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "test" - }, - { - "from": "*", - "to": "test a" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "test", - "attributes": {} - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 7", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "test" - }, - { - "from": "*", - "to": "test a" - }, - { - "from": "product added", - "to": "test b" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "test b", - "attributes": {} - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 8", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "Test-Topic" - } - ], - "eventToAttributesMap": [ - { - "from": "track", - "to": "name" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "Test-Topic", - "attributes": { - "name": "Pizza" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 9", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "Test-Topic" - } - ], - "eventToAttributesMap": [ - { - "from": "track", - "to": "url" - }, - { - "from": "track", - "to": "title" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "Test-Topic", - "attributes": { - "url": "https://dominos.com", - "title": "Pizza" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 10", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "Test-Topic" - } - ], - "eventToAttributesMap": [ - { - "from": "track", - "to": "url" - }, - { - "from": "track", - "to": "title" - }, - { - "from": "product added", - "to": "referrer" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com" - }, - "type": "track", - "event": "product added", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "Test-Topic", - "attributes": { - "referrer": "https://google.com" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 11", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com", - "nestedObject": { - "this": "will be picked" - } - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "Test-Topic" - } - ], - "eventToAttributesMap": [ - { - "from": "track", - "to": "nestedObject.this" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com", - "nestedObject": { - "this": "will be picked" - } - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "Test-Topic", - "attributes": { - "this": "will be picked" - } - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlepubsub", - "description": "Test 12", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com", - "nestedObject": { - "this": "will be picked" - } - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "destination": { - "Config": { - "credentials": "abc", - "eventToTopicMap": [ - { - "from": "track", - "to": "Test-Topic" - } - ], - "eventToAttributesMap": [ - { - "from": "track", - "to": "properties.nestedObject.this" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "message": { - "sentAt": "2020-08-28T15:11:56.167Z", - "category": "Food", - "messageId": "node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba", - "anonymousId": "abcdeeeeeeeexxxx111", - "context": { - "library": { - "name": "analytics-node", - "version": "0.0.3" - } - }, - "originalTimestamp": "2020-08-28T15:11:56.162Z", - "properties": { - "url": "https://dominos.com", - "title": "Pizza", - "referrer": "https://google.com", - "nestedObject": { - "this": "will be picked" - } - }, - "type": "track", - "name": "Pizza", - "_metadata": { - "nodeVersion": "10.22.0" - } - }, - "userId": "abcdeeeeeeeexxxx111", - "topicId": "Test-Topic", - "attributes": { - "this": "will be picked" - } - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'googlepubsub', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: 'test', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + userId: '123456', + topicId: 'test', + attributes: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'product added', + to: 'test', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + userId: '123456', + topicId: 'test', + attributes: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: '*', + to: 'test', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + userId: '123456', + topicId: 'test', + attributes: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'ruchira@rudderlabs.com', + }, + 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: { + id: '72e528f869711c3d', + manufacturer: 'Google', + model: 'sdk_gphone_x86', + name: 'generic_x86_arm', + token: 'some_device_token', + type: 'android', + }, + screen: { + density: 2, + }, + }, + type: 'track', + event: 'product added', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '00000000000000000000000000', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'test event', + to: 'test', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'No topic set for this event', + statTags: { + destType: 'GOOGLEPUBSUB', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: '', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'No topic set for this event', + statTags: { + destType: 'GOOGLEPUBSUB', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: '', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'No topic set for this event', + statTags: { + destType: 'GOOGLEPUBSUB', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: 'test', + }, + { + from: '*', + to: 'test a', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + userId: 'abcdeeeeeeeexxxx111', + topicId: 'test', + attributes: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + event: 'product added', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: 'test', + }, + { + from: '*', + to: 'test a', + }, + { + from: 'product added', + to: 'test b', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + event: 'product added', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + userId: 'abcdeeeeeeeexxxx111', + topicId: 'test b', + attributes: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + event: 'product added', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: 'Test-Topic', + }, + ], + eventToAttributesMap: [ + { + from: 'track', + to: 'name', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + event: 'product added', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + userId: 'abcdeeeeeeeexxxx111', + topicId: 'Test-Topic', + attributes: { + name: 'Pizza', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + event: 'product added', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: 'Test-Topic', + }, + ], + eventToAttributesMap: [ + { + from: 'track', + to: 'url', + }, + { + from: 'track', + to: 'title', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + event: 'product added', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + userId: 'abcdeeeeeeeexxxx111', + topicId: 'Test-Topic', + attributes: { + url: 'https://dominos.com', + title: 'Pizza', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + event: 'product added', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: 'Test-Topic', + }, + ], + eventToAttributesMap: [ + { + from: 'track', + to: 'url', + }, + { + from: 'track', + to: 'title', + }, + { + from: 'product added', + to: 'referrer', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + }, + type: 'track', + event: 'product added', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + userId: 'abcdeeeeeeeexxxx111', + topicId: 'Test-Topic', + attributes: { + referrer: 'https://google.com', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + nestedObject: { + this: 'will be picked', + }, + }, + type: 'track', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: 'Test-Topic', + }, + ], + eventToAttributesMap: [ + { + from: 'track', + to: 'nestedObject.this', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + nestedObject: { + this: 'will be picked', + }, + }, + type: 'track', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + userId: 'abcdeeeeeeeexxxx111', + topicId: 'Test-Topic', + attributes: { + this: 'will be picked', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlepubsub', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + nestedObject: { + this: 'will be picked', + }, + }, + type: 'track', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + destination: { + Config: { + credentials: 'abc', + eventToTopicMap: [ + { + from: 'track', + to: 'Test-Topic', + }, + ], + eventToAttributesMap: [ + { + from: 'track', + to: 'properties.nestedObject.this', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + sentAt: '2020-08-28T15:11:56.167Z', + category: 'Food', + messageId: + 'node-cfc5fb7ec83b82bc29e16336a11331e2-0ba97212-0f6e-44cd-a0f1-c20b8b7a7cba', + anonymousId: 'abcdeeeeeeeexxxx111', + context: { + library: { + name: 'analytics-node', + version: '0.0.3', + }, + }, + originalTimestamp: '2020-08-28T15:11:56.162Z', + properties: { + url: 'https://dominos.com', + title: 'Pizza', + referrer: 'https://google.com', + nestedObject: { + this: 'will be picked', + }, + }, + type: 'track', + name: 'Pizza', + _metadata: { + nodeVersion: '10.22.0', + }, + }, + userId: 'abcdeeeeeeeexxxx111', + topicId: 'Test-Topic', + attributes: { + this: 'will be picked', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/googlesheets/processor/data.ts b/test/integrations/destinations/googlesheets/processor/data.ts index a68a2a8b61..349ea7cb9e 100644 --- a/test/integrations/destinations/googlesheets/processor/data.ts +++ b/test/integrations/destinations/googlesheets/processor/data.ts @@ -1,1077 +1,1074 @@ export const data = [ - { - "name": "googlesheets", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "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": "OS-X", - "version": "19.02.3" - }, - "screen": { - "density": 2 - }, - "traits": { - "userId": "sheetuser001", - "firstName": "James", - "lastName": "Doe", - "address": { - "city": "Kolkata", - "country": "India", - "postalCode": "789003", - "state": "WB" - } - } - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "anon_id", - "type": "identify", - "traits": { - "anonymousId": "anon_id", - "email": "jamesDoe@gmail.com", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "employed": true, - "birthday": "1614775793", - "education": "Science", - "graduate": true, - "married": true, - "customerType": "Prime", - "custom_tags": [ - "Test_User", - "Interested_User", - "DIY_Hobby" - ], - "custom_mappings": { - "Office": "Trastkiv", - "Country": "Russia" - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "batch": { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "84e26acc-56a5-4835-8233-591137fca468" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "James" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "Doe" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "1614775793" - }, - "4": { - "attributeKey": "City", - "attributeValue": "kolkata" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "India" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "1.0.0" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "RudderLabs JavaScript SDK" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "RudderLabs JavaScript SDK" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "0.0.0.0" - } - } - }, - "spreadSheet": "rudder_sheet", - "spreadSheetId": "rudder_sheet_id", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlesheets", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "message": { - "type": "track", - "userId": "userTest004", - "event": "Added to Cart", - "properties": { - "name": "HomePage", - "revenue": 5.99, - "value": 5.5, - "offer": "Discount", - "Sale": false - }, - "context": { - "ip": "14.5.67.21", - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "batch": { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "" - }, - "4": { - "attributeKey": "City", - "attributeValue": "" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": 5.99 - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "Discount" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": 5.99 - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "1" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "RudderAndroidClient" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "com.rudderstack.android.sdk.core" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "14.5.67.21" - } - } - }, - "spreadSheet": "rudder_sheet", - "spreadSheetId": "rudder_sheet_id", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlesheets", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "message": { - "type": "page", - "userId": "userTest004", - "anonymousId": "anon-id-new", - "name": "1mg Cart", - "properties": { - "title": "Cart", - "path": "/", - "Cart Value": 7800, - "revenue": 7500 - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "batch": { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "" - }, - "4": { - "attributeKey": "City", - "attributeValue": "" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": 7500 - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "Cart" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": 7800 - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": 7500 - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "http" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "14.5.67.21" - } - } - }, - "spreadSheet": "rudder_sheet", - "spreadSheetId": "rudder_sheet_id", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlesheets", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "message": { - "type": "page", - "userId": "userTest005", - "anonymousId": "anon-id-test", - "name": "Viewed Home Screen", - "properties": { - "title": "Home", - "path": "/home" - }, - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "batch": { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "" - }, - "4": { - "attributeKey": "City", - "attributeValue": "" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "Home" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "http" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "14.5.67.21" - } - } - }, - "spreadSheet": "rudder_sheet", - "spreadSheetId": "rudder_sheet_id", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlesheets", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "message": { - "type": "screen", - "name": "Trello home Screen", - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "batch": { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "" - }, - "4": { - "attributeKey": "City", - "attributeValue": "" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "http" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "14.5.67.21" - } - } - }, - "spreadSheet": "rudder_sheet", - "spreadSheetId": "rudder_sheet_id", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "googlesheets", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id" - } - }, - "message": { - "type": "screen", - "name": "Trello home Screen", - "context": { - "ip": "14.5.67.21", - "library": { - "name": "http" - } - }, - "timestamp": "2020-02-02T00:23:09.544Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "No Spread Sheet set for this event", - "statTags": { - "destType": "GOOGLESHEETS", - "errorCategory": "dataValidation", - "errorType": "configuration", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'googlesheets', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + credentials: '{ sheets credentials }', + eventKeyMap: [ + { + from: 'firstName', + to: 'First Name', + }, + { + from: 'lastName', + to: 'Last Name', + }, + { + from: 'birthday', + to: 'Birthday', + }, + { + from: 'address.city', + to: 'City', + }, + { + from: 'address.country', + to: 'Country', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'offer', + to: 'Offer', + }, + { + from: 'title', + to: 'Title Page', + }, + { + from: 'Cart Value', + to: 'Cart Value', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'context.app.build', + to: 'App Build', + }, + { + from: 'context.app.name', + to: 'App Name', + }, + { + from: 'context.library.name', + to: 'Library Name', + }, + { + from: 'context.ip', + to: 'IP', + }, + ], + sheetId: 'rudder_sheet_id', + sheetName: 'rudder_sheet', + }, + }, + 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: 'OS-X', + version: '19.02.3', + }, + screen: { + density: 2, + }, + traits: { + userId: 'sheetuser001', + firstName: 'James', + lastName: 'Doe', + address: { + city: 'Kolkata', + country: 'India', + postalCode: '789003', + state: 'WB', + }, + }, + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: 'anon_id', + type: 'identify', + traits: { + anonymousId: 'anon_id', + email: 'jamesDoe@gmail.com', + name: 'James Doe', + phone: '92374162212', + gender: 'M', + employed: true, + birthday: '1614775793', + education: 'Science', + graduate: true, + married: true, + customerType: 'Prime', + custom_tags: ['Test_User', 'Interested_User', 'DIY_Hobby'], + custom_mappings: { + Office: 'Trastkiv', + Country: 'Russia', + }, + address: { + city: 'kolkata', + country: 'India', + postalCode: 789223, + state: 'WB', + street: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + batch: { + message: { + '0': { + attributeKey: 'messageId', + attributeValue: '84e26acc-56a5-4835-8233-591137fca468', + }, + '1': { + attributeKey: 'First Name', + attributeValue: 'James', + }, + '2': { + attributeKey: 'Last Name', + attributeValue: 'Doe', + }, + '3': { + attributeKey: 'Birthday', + attributeValue: '1614775793', + }, + '4': { + attributeKey: 'City', + attributeValue: 'kolkata', + }, + '5': { + attributeKey: 'Country', + attributeValue: 'India', + }, + '6': { + attributeKey: 'Revenue', + attributeValue: '', + }, + '7': { + attributeKey: 'Offer', + attributeValue: '', + }, + '8': { + attributeKey: 'Title Page', + attributeValue: '', + }, + '9': { + attributeKey: 'Cart Value', + attributeValue: '', + }, + '10': { + attributeKey: 'Revenue', + attributeValue: '', + }, + '11': { + attributeKey: 'App Build', + attributeValue: '1.0.0', + }, + '12': { + attributeKey: 'App Name', + attributeValue: 'RudderLabs JavaScript SDK', + }, + '13': { + attributeKey: 'Library Name', + attributeValue: 'RudderLabs JavaScript SDK', + }, + '14': { + attributeKey: 'IP', + attributeValue: '0.0.0.0', + }, + }, + }, + spreadSheet: 'rudder_sheet', + spreadSheetId: 'rudder_sheet_id', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlesheets', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + credentials: '{ sheets credentials }', + eventKeyMap: [ + { + from: 'firstName', + to: 'First Name', + }, + { + from: 'lastName', + to: 'Last Name', + }, + { + from: 'birthday', + to: 'Birthday', + }, + { + from: 'address.city', + to: 'City', + }, + { + from: 'address.country', + to: 'Country', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'offer', + to: 'Offer', + }, + { + from: 'title', + to: 'Title Page', + }, + { + from: 'Cart Value', + to: 'Cart Value', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'context.app.build', + to: 'App Build', + }, + { + from: 'context.app.name', + to: 'App Name', + }, + { + from: 'context.library.name', + to: 'Library Name', + }, + { + from: 'context.ip', + to: 'IP', + }, + ], + sheetId: 'rudder_sheet_id', + sheetName: 'rudder_sheet', + }, + }, + message: { + type: 'track', + userId: 'userTest004', + event: 'Added to Cart', + properties: { + name: 'HomePage', + revenue: 5.99, + value: 5.5, + offer: 'Discount', + Sale: false, + }, + context: { + ip: '14.5.67.21', + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.rudderstack.demo.android', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '0.1.4', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + batch: { + message: { + '0': { + attributeKey: 'messageId', + attributeValue: '', + }, + '1': { + attributeKey: 'First Name', + attributeValue: '', + }, + '2': { + attributeKey: 'Last Name', + attributeValue: '', + }, + '3': { + attributeKey: 'Birthday', + attributeValue: '', + }, + '4': { + attributeKey: 'City', + attributeValue: '', + }, + '5': { + attributeKey: 'Country', + attributeValue: '', + }, + '6': { + attributeKey: 'Revenue', + attributeValue: 5.99, + }, + '7': { + attributeKey: 'Offer', + attributeValue: 'Discount', + }, + '8': { + attributeKey: 'Title Page', + attributeValue: '', + }, + '9': { + attributeKey: 'Cart Value', + attributeValue: '', + }, + '10': { + attributeKey: 'Revenue', + attributeValue: 5.99, + }, + '11': { + attributeKey: 'App Build', + attributeValue: '1', + }, + '12': { + attributeKey: 'App Name', + attributeValue: 'RudderAndroidClient', + }, + '13': { + attributeKey: 'Library Name', + attributeValue: 'com.rudderstack.android.sdk.core', + }, + '14': { + attributeKey: 'IP', + attributeValue: '14.5.67.21', + }, + }, + }, + spreadSheet: 'rudder_sheet', + spreadSheetId: 'rudder_sheet_id', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlesheets', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + credentials: '{ sheets credentials }', + eventKeyMap: [ + { + from: 'firstName', + to: 'First Name', + }, + { + from: 'lastName', + to: 'Last Name', + }, + { + from: 'birthday', + to: 'Birthday', + }, + { + from: 'address.city', + to: 'City', + }, + { + from: 'address.country', + to: 'Country', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'offer', + to: 'Offer', + }, + { + from: 'title', + to: 'Title Page', + }, + { + from: 'Cart Value', + to: 'Cart Value', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'context.app.build', + to: 'App Build', + }, + { + from: 'context.app.name', + to: 'App Name', + }, + { + from: 'context.library.name', + to: 'Library Name', + }, + { + from: 'context.ip', + to: 'IP', + }, + ], + sheetId: 'rudder_sheet_id', + sheetName: 'rudder_sheet', + }, + }, + message: { + type: 'page', + userId: 'userTest004', + anonymousId: 'anon-id-new', + name: '1mg Cart', + properties: { + title: 'Cart', + path: '/', + 'Cart Value': 7800, + revenue: 7500, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + batch: { + message: { + '0': { + attributeKey: 'messageId', + attributeValue: '', + }, + '1': { + attributeKey: 'First Name', + attributeValue: '', + }, + '2': { + attributeKey: 'Last Name', + attributeValue: '', + }, + '3': { + attributeKey: 'Birthday', + attributeValue: '', + }, + '4': { + attributeKey: 'City', + attributeValue: '', + }, + '5': { + attributeKey: 'Country', + attributeValue: '', + }, + '6': { + attributeKey: 'Revenue', + attributeValue: 7500, + }, + '7': { + attributeKey: 'Offer', + attributeValue: '', + }, + '8': { + attributeKey: 'Title Page', + attributeValue: 'Cart', + }, + '9': { + attributeKey: 'Cart Value', + attributeValue: 7800, + }, + '10': { + attributeKey: 'Revenue', + attributeValue: 7500, + }, + '11': { + attributeKey: 'App Build', + attributeValue: '', + }, + '12': { + attributeKey: 'App Name', + attributeValue: '', + }, + '13': { + attributeKey: 'Library Name', + attributeValue: 'http', + }, + '14': { + attributeKey: 'IP', + attributeValue: '14.5.67.21', + }, + }, + }, + spreadSheet: 'rudder_sheet', + spreadSheetId: 'rudder_sheet_id', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlesheets', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + credentials: '{ sheets credentials }', + eventKeyMap: [ + { + from: 'firstName', + to: 'First Name', + }, + { + from: 'lastName', + to: 'Last Name', + }, + { + from: 'birthday', + to: 'Birthday', + }, + { + from: 'address.city', + to: 'City', + }, + { + from: 'address.country', + to: 'Country', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'offer', + to: 'Offer', + }, + { + from: 'title', + to: 'Title Page', + }, + { + from: 'Cart Value', + to: 'Cart Value', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'context.app.build', + to: 'App Build', + }, + { + from: 'context.app.name', + to: 'App Name', + }, + { + from: 'context.library.name', + to: 'Library Name', + }, + { + from: 'context.ip', + to: 'IP', + }, + ], + sheetId: 'rudder_sheet_id', + sheetName: 'rudder_sheet', + }, + }, + message: { + type: 'page', + userId: 'userTest005', + anonymousId: 'anon-id-test', + name: 'Viewed Home Screen', + properties: { + title: 'Home', + path: '/home', + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + batch: { + message: { + '0': { + attributeKey: 'messageId', + attributeValue: '', + }, + '1': { + attributeKey: 'First Name', + attributeValue: '', + }, + '2': { + attributeKey: 'Last Name', + attributeValue: '', + }, + '3': { + attributeKey: 'Birthday', + attributeValue: '', + }, + '4': { + attributeKey: 'City', + attributeValue: '', + }, + '5': { + attributeKey: 'Country', + attributeValue: '', + }, + '6': { + attributeKey: 'Revenue', + attributeValue: '', + }, + '7': { + attributeKey: 'Offer', + attributeValue: '', + }, + '8': { + attributeKey: 'Title Page', + attributeValue: 'Home', + }, + '9': { + attributeKey: 'Cart Value', + attributeValue: '', + }, + '10': { + attributeKey: 'Revenue', + attributeValue: '', + }, + '11': { + attributeKey: 'App Build', + attributeValue: '', + }, + '12': { + attributeKey: 'App Name', + attributeValue: '', + }, + '13': { + attributeKey: 'Library Name', + attributeValue: 'http', + }, + '14': { + attributeKey: 'IP', + attributeValue: '14.5.67.21', + }, + }, + }, + spreadSheet: 'rudder_sheet', + spreadSheetId: 'rudder_sheet_id', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlesheets', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + credentials: '{ sheets credentials }', + eventKeyMap: [ + { + from: 'firstName', + to: 'First Name', + }, + { + from: 'lastName', + to: 'Last Name', + }, + { + from: 'birthday', + to: 'Birthday', + }, + { + from: 'address.city', + to: 'City', + }, + { + from: 'address.country', + to: 'Country', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'offer', + to: 'Offer', + }, + { + from: 'title', + to: 'Title Page', + }, + { + from: 'Cart Value', + to: 'Cart Value', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'context.app.build', + to: 'App Build', + }, + { + from: 'context.app.name', + to: 'App Name', + }, + { + from: 'context.library.name', + to: 'Library Name', + }, + { + from: 'context.ip', + to: 'IP', + }, + ], + sheetId: 'rudder_sheet_id', + sheetName: 'rudder_sheet', + }, + }, + message: { + type: 'screen', + name: 'Trello home Screen', + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + batch: { + message: { + '0': { + attributeKey: 'messageId', + attributeValue: '', + }, + '1': { + attributeKey: 'First Name', + attributeValue: '', + }, + '2': { + attributeKey: 'Last Name', + attributeValue: '', + }, + '3': { + attributeKey: 'Birthday', + attributeValue: '', + }, + '4': { + attributeKey: 'City', + attributeValue: '', + }, + '5': { + attributeKey: 'Country', + attributeValue: '', + }, + '6': { + attributeKey: 'Revenue', + attributeValue: '', + }, + '7': { + attributeKey: 'Offer', + attributeValue: '', + }, + '8': { + attributeKey: 'Title Page', + attributeValue: '', + }, + '9': { + attributeKey: 'Cart Value', + attributeValue: '', + }, + '10': { + attributeKey: 'Revenue', + attributeValue: '', + }, + '11': { + attributeKey: 'App Build', + attributeValue: '', + }, + '12': { + attributeKey: 'App Name', + attributeValue: '', + }, + '13': { + attributeKey: 'Library Name', + attributeValue: 'http', + }, + '14': { + attributeKey: 'IP', + attributeValue: '14.5.67.21', + }, + }, + }, + spreadSheet: 'rudder_sheet', + spreadSheetId: 'rudder_sheet_id', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'googlesheets', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + credentials: '{ sheets credentials }', + eventKeyMap: [ + { + from: 'firstName', + to: 'First Name', + }, + { + from: 'lastName', + to: 'Last Name', + }, + { + from: 'birthday', + to: 'Birthday', + }, + { + from: 'address.city', + to: 'City', + }, + { + from: 'address.country', + to: 'Country', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'offer', + to: 'Offer', + }, + { + from: 'title', + to: 'Title Page', + }, + { + from: 'Cart Value', + to: 'Cart Value', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'context.app.build', + to: 'App Build', + }, + { + from: 'context.app.name', + to: 'App Name', + }, + { + from: 'context.library.name', + to: 'Library Name', + }, + { + from: 'context.ip', + to: 'IP', + }, + ], + sheetId: 'rudder_sheet_id', + }, + }, + message: { + type: 'screen', + name: 'Trello home Screen', + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'No Spread Sheet set for this event', + statTags: { + destType: 'GOOGLESHEETS', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/googlesheets/router/data.ts b/test/integrations/destinations/googlesheets/router/data.ts index 1e323211e3..20fe270e5f 100644 --- a/test/integrations/destinations/googlesheets/router/data.ts +++ b/test/integrations/destinations/googlesheets/router/data.ts @@ -1,479 +1,482 @@ -export const data = [{ +export const data = [ + { name: 'googlesheets', description: 'Test 0', feature: 'router', module: 'destination', version: 'v0', input: { - request: { - body: { - input: [ - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "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": "OS-X", "version": "19.02.3" }, - "screen": { "density": 2 }, - "traits": { - "userId": "sheetuser001", - "firstName": "James", - "lastName": "Doe", - "address": { - "city": "Kolkata", - "country": "India", - "postalCode": "789003", - "state": "WB" - } - } - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "anon_id", - "type": "identify", - "traits": { - "anonymousId": "anon_id", - "email": "jamesDoe@gmail.com", - "name": "James Doe", - "phone": "92374162212", - "gender": "M", - "employed": true, - "birthday": "1614775793", - "education": "Science", - "graduate": true, - "married": true, - "customerType": "Prime", - "custom_tags": ["Test_User", "Interested_User", "DIY_Hobby"], - "custom_mappings": { - "Office": "Trastkiv", - "Country": "Russia" - }, - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 789223, - "state": "WB", - "street": "" - } - }, - "integrations": { "All": true }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "metadata": { - "jobId": 1 - } - }, - { - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - }, - "message": { - "type": "track", - "userId": "userTest004", - "event": "Added to Cart", - "properties": { - "name": "HomePage", - "revenue": 5.99, - "value": 5.5, - "offer": "Discount", - "Sale": false - }, - "context": { - "ip": "14.5.67.21", - "app": { - "build": "1", - "name": "RudderAndroidClient", - "namespace": "com.rudderstack.demo.android", - "version": "1.0" - }, - "device": { - "id": "7e32188a4dab669f", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "0.1.4" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { "name": "Android", "version": "9" }, - "screen": { "density": 420, "height": 1794, "width": 1080 }, - "timezone": "Asia/Kolkata" - }, - "timestamp": "2020-02-02T00:23:09.544Z" - }, - "metadata": { - "jobId": 2 - } + request: { + body: { + input: [ + { + destination: { + Config: { + credentials: '{ sheets credentials }', + eventKeyMap: [ + { + from: 'firstName', + to: 'First Name', }, - ], - destType: 'googlesheets', + { + from: 'lastName', + to: 'Last Name', + }, + { + from: 'birthday', + to: 'Birthday', + }, + { + from: 'address.city', + to: 'City', + }, + { + from: 'address.country', + to: 'Country', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'offer', + to: 'Offer', + }, + { + from: 'title', + to: 'Title Page', + }, + { + from: 'Cart Value', + to: 'Cart Value', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'context.app.build', + to: 'App Build', + }, + { + from: 'context.app.name', + to: 'App Name', + }, + { + from: 'context.library.name', + to: 'Library Name', + }, + { + from: 'context.ip', + to: 'IP', + }, + ], + sheetId: 'rudder_sheet_id', + sheetName: 'rudder_sheet', + }, + }, + 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: 'OS-X', version: '19.02.3' }, + screen: { density: 2 }, + traits: { + userId: 'sheetuser001', + firstName: 'James', + lastName: 'Doe', + address: { + city: 'Kolkata', + country: 'India', + postalCode: '789003', + state: 'WB', + }, + }, + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: 'anon_id', + type: 'identify', + traits: { + anonymousId: 'anon_id', + email: 'jamesDoe@gmail.com', + name: 'James Doe', + phone: '92374162212', + gender: 'M', + employed: true, + birthday: '1614775793', + education: 'Science', + graduate: true, + married: true, + customerType: 'Prime', + custom_tags: ['Test_User', 'Interested_User', 'DIY_Hobby'], + custom_mappings: { + Office: 'Trastkiv', + Country: 'Russia', + }, + address: { + city: 'kolkata', + country: 'India', + postalCode: 789223, + state: 'WB', + street: '', + }, + }, + integrations: { All: true }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + jobId: 1, + }, }, + { + destination: { + Config: { + credentials: '{ sheets credentials }', + eventKeyMap: [ + { + from: 'firstName', + to: 'First Name', + }, + { + from: 'lastName', + to: 'Last Name', + }, + { + from: 'birthday', + to: 'Birthday', + }, + { + from: 'address.city', + to: 'City', + }, + { + from: 'address.country', + to: 'Country', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'offer', + to: 'Offer', + }, + { + from: 'title', + to: 'Title Page', + }, + { + from: 'Cart Value', + to: 'Cart Value', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'context.app.build', + to: 'App Build', + }, + { + from: 'context.app.name', + to: 'App Name', + }, + { + from: 'context.library.name', + to: 'Library Name', + }, + { + from: 'context.ip', + to: 'IP', + }, + ], + sheetId: 'rudder_sheet_id', + sheetName: 'rudder_sheet', + }, + }, + message: { + type: 'track', + userId: 'userTest004', + event: 'Added to Cart', + properties: { + name: 'HomePage', + revenue: 5.99, + value: 5.5, + offer: 'Discount', + Sale: false, + }, + context: { + ip: '14.5.67.21', + app: { + build: '1', + name: 'RudderAndroidClient', + namespace: 'com.rudderstack.demo.android', + version: '1.0', + }, + device: { + id: '7e32188a4dab669f', + manufacturer: 'Google', + model: 'Android SDK built for x86', + name: 'generic_x86', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '0.1.4', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { name: 'Android', version: '9' }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + metadata: { + jobId: 2, + }, + }, + ], + destType: 'googlesheets', }, + }, }, output: { - response: { - status: 200, - body: { - output: [ - { - "batchedRequest": { - "batch": [ - { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "84e26acc-56a5-4835-8233-591137fca468" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "James" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "Doe" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "1614775793" - }, - "4": { - "attributeKey": "City", - "attributeValue": "kolkata" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "India" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": "" - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "1.0.0" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "RudderLabs JavaScript SDK" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "RudderLabs JavaScript SDK" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "0.0.0.0" - } - } - }, - { - "message": { - "0": { - "attributeKey": "messageId", - "attributeValue": "" - }, - "1": { - "attributeKey": "First Name", - "attributeValue": "" - }, - "2": { - "attributeKey": "Last Name", - "attributeValue": "" - }, - "3": { - "attributeKey": "Birthday", - "attributeValue": "" - }, - "4": { - "attributeKey": "City", - "attributeValue": "" - }, - "5": { - "attributeKey": "Country", - "attributeValue": "" - }, - "6": { - "attributeKey": "Revenue", - "attributeValue": 5.99 - }, - "7": { - "attributeKey": "Offer", - "attributeValue": "Discount" - }, - "8": { - "attributeKey": "Title Page", - "attributeValue": "" - }, - "9": { - "attributeKey": "Cart Value", - "attributeValue": "" - }, - "10": { - "attributeKey": "Revenue", - "attributeValue": 5.99 - }, - "11": { - "attributeKey": "App Build", - "attributeValue": "1" - }, - "12": { - "attributeKey": "App Name", - "attributeValue": "RudderAndroidClient" - }, - "13": { - "attributeKey": "Library Name", - "attributeValue": "com.rudderstack.android.sdk.core" - }, - "14": { - "attributeKey": "IP", - "attributeValue": "14.5.67.21" - } - } - } - ], - "spreadSheetId": "rudder_sheet_id", - "spreadSheet": "rudder_sheet" - }, - "metadata": [ - { - "jobId": 1 - }, - { - "jobId": 2 - } - ], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "credentials": "{ sheets credentials }", - "eventKeyMap": [ - { - "from": "firstName", - "to": "First Name" - }, - { - "from": "lastName", - "to": "Last Name" - }, - { - "from": "birthday", - "to": "Birthday" - }, - { - "from": "address.city", - "to": "City" - }, - { - "from": "address.country", - "to": "Country" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "offer", - "to": "Offer" - }, - { - "from": "title", - "to": "Title Page" - }, - { - "from": "Cart Value", - "to": "Cart Value" - }, - { - "from": "revenue", - "to": "Revenue" - }, - { - "from": "context.app.build", - "to": "App Build" - }, - { - "from": "context.app.name", - "to": "App Name" - }, - { - "from": "context.library.name", - "to": "Library Name" - }, - { - "from": "context.ip", - "to": "IP" - } - ], - "sheetId": "rudder_sheet_id", - "sheetName": "rudder_sheet" - } - } + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + batch: [ + { + message: { + '0': { + attributeKey: 'messageId', + attributeValue: '84e26acc-56a5-4835-8233-591137fca468', + }, + '1': { + attributeKey: 'First Name', + attributeValue: 'James', + }, + '2': { + attributeKey: 'Last Name', + attributeValue: 'Doe', + }, + '3': { + attributeKey: 'Birthday', + attributeValue: '1614775793', + }, + '4': { + attributeKey: 'City', + attributeValue: 'kolkata', + }, + '5': { + attributeKey: 'Country', + attributeValue: 'India', + }, + '6': { + attributeKey: 'Revenue', + attributeValue: '', + }, + '7': { + attributeKey: 'Offer', + attributeValue: '', + }, + '8': { + attributeKey: 'Title Page', + attributeValue: '', + }, + '9': { + attributeKey: 'Cart Value', + attributeValue: '', + }, + '10': { + attributeKey: 'Revenue', + attributeValue: '', + }, + '11': { + attributeKey: 'App Build', + attributeValue: '1.0.0', + }, + '12': { + attributeKey: 'App Name', + attributeValue: 'RudderLabs JavaScript SDK', + }, + '13': { + attributeKey: 'Library Name', + attributeValue: 'RudderLabs JavaScript SDK', + }, + '14': { + attributeKey: 'IP', + attributeValue: '0.0.0.0', + }, }, + }, + { + message: { + '0': { + attributeKey: 'messageId', + attributeValue: '', + }, + '1': { + attributeKey: 'First Name', + attributeValue: '', + }, + '2': { + attributeKey: 'Last Name', + attributeValue: '', + }, + '3': { + attributeKey: 'Birthday', + attributeValue: '', + }, + '4': { + attributeKey: 'City', + attributeValue: '', + }, + '5': { + attributeKey: 'Country', + attributeValue: '', + }, + '6': { + attributeKey: 'Revenue', + attributeValue: 5.99, + }, + '7': { + attributeKey: 'Offer', + attributeValue: 'Discount', + }, + '8': { + attributeKey: 'Title Page', + attributeValue: '', + }, + '9': { + attributeKey: 'Cart Value', + attributeValue: '', + }, + '10': { + attributeKey: 'Revenue', + attributeValue: 5.99, + }, + '11': { + attributeKey: 'App Build', + attributeValue: '1', + }, + '12': { + attributeKey: 'App Name', + attributeValue: 'RudderAndroidClient', + }, + '13': { + attributeKey: 'Library Name', + attributeValue: 'com.rudderstack.android.sdk.core', + }, + '14': { + attributeKey: 'IP', + attributeValue: '14.5.67.21', + }, + }, + }, ], + spreadSheetId: 'rudder_sheet_id', + spreadSheet: 'rudder_sheet', + }, + metadata: [ + { + jobId: 1, + }, + { + jobId: 2, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + credentials: '{ sheets credentials }', + eventKeyMap: [ + { + from: 'firstName', + to: 'First Name', + }, + { + from: 'lastName', + to: 'Last Name', + }, + { + from: 'birthday', + to: 'Birthday', + }, + { + from: 'address.city', + to: 'City', + }, + { + from: 'address.country', + to: 'Country', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'offer', + to: 'Offer', + }, + { + from: 'title', + to: 'Title Page', + }, + { + from: 'Cart Value', + to: 'Cart Value', + }, + { + from: 'revenue', + to: 'Revenue', + }, + { + from: 'context.app.build', + to: 'App Build', + }, + { + from: 'context.app.name', + to: 'App Name', + }, + { + from: 'context.library.name', + to: 'Library Name', + }, + { + from: 'context.ip', + to: 'IP', + }, + ], + sheetId: 'rudder_sheet_id', + sheetName: 'rudder_sheet', + }, + }, }, + ], }, + }, }, -}] \ No newline at end of file + }, +]; diff --git a/test/integrations/destinations/heap/router/data.ts b/test/integrations/destinations/heap/router/data.ts index 7f997d5f0e..24efbf4b15 100644 --- a/test/integrations/destinations/heap/router/data.ts +++ b/test/integrations/destinations/heap/router/data.ts @@ -1,805 +1,815 @@ -export const data = [{ +export const data = [ + { name: 'heap', description: 'Test 0', feature: 'router', module: 'destination', version: 'v0', input: { - request: { - body: { - input: [ - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": { - "jobId": 2 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "fca2e71a-5d30-48e1-ba45-761c16e3820f", - "originalTimestamp": "2020-01-16T13:21:59.076Z", - "receivedAt": "2020-01-16T18:52:03.871+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:22:03.85Z", - "timestamp": "2020-01-16T18:51:59.097+05:30", - "type": "identify", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": { - "jobId": 2 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-16T13:23:20.844Z", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": { - "jobId": 2 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-16T13:23:20.844Z", - "properties": { - "subject": "Welcome to My App!", - "variation": "A", - "idempotencyKey": "1234" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "track", - "userId": "sampath" - } - }, - ], - destType: 'heap', + request: { + body: { + input: [ + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + metadata: { + jobId: 2, + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + 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', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + messageId: 'fca2e71a-5d30-48e1-ba45-761c16e3820f', + originalTimestamp: '2020-01-16T13:21:59.076Z', + receivedAt: '2020-01-16T18:52:03.871+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:22:03.85Z', + timestamp: '2020-01-16T18:51:59.097+05:30', + type: 'identify', + userId: 'sampath', + }, + }, + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + metadata: { + jobId: 2, + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'Send Transactional Email', + integrations: { + All: true, + }, + messageId: 'c0c5b892-0d54-449f-b85f-ebb39ff04e67', + originalTimestamp: '2020-01-16T13:23:20.844Z', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + }, + receivedAt: '2020-01-16T18:53:23.804+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:23:23.782Z', + timestamp: '2020-01-16T18:53:20.866+05:30', + type: 'track', + userId: 'sampath', + }, + }, + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + metadata: { + jobId: 2, + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'Send Transactional Email', + integrations: { + All: true, + }, + messageId: 'c0c5b892-0d54-449f-b85f-ebb39ff04e67', + originalTimestamp: '2020-01-16T13:23:20.844Z', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + idempotencyKey: '1234', + }, + receivedAt: '2020-01-16T18:53:23.804+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:23:23.782Z', + timestamp: '2020-01-16T18:53:20.866+05:30', + type: 'track', + userId: 'sampath', + }, }, + ], + destType: 'heap', }, + }, }, output: { - response: { - status: 200, - body: { - output: [ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/add_user_properties", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "properties": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "app_id": "" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - } + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/add_user_properties', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + properties: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "event": "Send Transactional Email", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "app_id": "", - "timestamp": "2020-01-16T18:53:20.866+05:30" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - } + app_id: '', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/track', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + event: 'Send Transactional Email', + properties: { + subject: 'Welcome to My App!', + variation: 'A', }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "event": "Send Transactional Email", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "app_id": "", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "idempotency_key": "1234" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - } + app_id: '', + timestamp: '2020-01-16T18:53:20.866+05:30', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/track', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + event: 'Send Transactional Email', + properties: { + subject: 'Welcome to My App!', + variation: 'A', }, - ], + app_id: '', + timestamp: '2020-01-16T18:53:20.866+05:30', + idempotency_key: '1234', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, }, + ], }, + }, }, -}, { + }, + { name: 'heap', description: 'Test 1', feature: 'router', module: 'destination', version: 'v0', input: { - request: { - body: { - input: [ - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": { - "jobId": 2 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "fca2e71a-5d30-48e1-ba45-761c16e3820f", - "originalTimestamp": "2020-01-16T13:21:59.076Z", - "receivedAt": "2020-01-16T18:52:03.871+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:22:03.85Z", - "timestamp": "2020-01-16T18:51:59.097+05:30", - "type": "identify", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": { - "jobId": 2 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-16T13:23:20.844Z", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "track", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": { - "jobId": 4 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "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" - }, - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "messageId": "fca2e71a-5d30-48e1-ba45-761c16e3820f", - "originalTimestamp": "2020-01-16T13:21:59.076Z", - "receivedAt": "2020-01-16T18:52:03.871+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:22:03.85Z", - "timestamp": "2020-01-16T18:51:59.097+05:30", - "userId": "sampath" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": { - "jobId": 5 - }, - "message": { - "anonymousId": "sampath", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "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" - }, - "event": "Send Transactional Email", - "integrations": { - "All": true - }, - "messageId": "c0c5b892-0d54-449f-b85f-ebb39ff04e67", - "originalTimestamp": "2020-01-16T13:23:20.844Z", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "receivedAt": "2020-01-16T18:53:23.804+05:30", - "request_ip": "[::1]:62312", - "sentAt": "2020-01-16T13:23:23.782Z", - "timestamp": "2020-01-16T18:53:20.866+05:30", - "type": "page", - "userId": "sampath" - } - }, - ], - destType: 'heap', + request: { + body: { + input: [ + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + metadata: { + jobId: 2, + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + 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', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + messageId: 'fca2e71a-5d30-48e1-ba45-761c16e3820f', + originalTimestamp: '2020-01-16T13:21:59.076Z', + receivedAt: '2020-01-16T18:52:03.871+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:22:03.85Z', + timestamp: '2020-01-16T18:51:59.097+05:30', + type: 'identify', + userId: 'sampath', + }, + }, + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + metadata: { + jobId: 2, + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'Send Transactional Email', + integrations: { + All: true, + }, + messageId: 'c0c5b892-0d54-449f-b85f-ebb39ff04e67', + originalTimestamp: '2020-01-16T13:23:20.844Z', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + }, + receivedAt: '2020-01-16T18:53:23.804+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:23:23.782Z', + timestamp: '2020-01-16T18:53:20.866+05:30', + type: 'track', + userId: 'sampath', + }, + }, + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + metadata: { + jobId: 4, + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + 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', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + messageId: 'fca2e71a-5d30-48e1-ba45-761c16e3820f', + originalTimestamp: '2020-01-16T13:21:59.076Z', + receivedAt: '2020-01-16T18:52:03.871+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:22:03.85Z', + timestamp: '2020-01-16T18:51:59.097+05:30', + userId: 'sampath', + }, }, + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + metadata: { + jobId: 5, + }, + message: { + anonymousId: 'sampath', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', + }, + 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', + }, + event: 'Send Transactional Email', + integrations: { + All: true, + }, + messageId: 'c0c5b892-0d54-449f-b85f-ebb39ff04e67', + originalTimestamp: '2020-01-16T13:23:20.844Z', + properties: { + subject: 'Welcome to My App!', + variation: 'A', + }, + receivedAt: '2020-01-16T18:53:23.804+05:30', + request_ip: '[::1]:62312', + sentAt: '2020-01-16T13:23:23.782Z', + timestamp: '2020-01-16T18:53:20.866+05:30', + type: 'page', + userId: 'sampath', + }, + }, + ], + destType: 'heap', }, + }, }, output: { - response: { - status: 200, - body: { - output: [ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/add_user_properties", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "properties": { - "anonymousId": "sampath", - "email": "sampath@gmail.com" - }, - "app_id": "" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - } - }, - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://heapanalytics.com/api/track", - "headers": { - "Content-Type": "application/json", - "Accept": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "identity": "sampath", - "event": "Send Transactional Email", - "properties": { - "subject": "Welcome to My App!", - "variation": "A" - }, - "app_id": "", - "timestamp": "2020-01-16T18:53:20.866+05:30" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sampath" - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - } + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/add_user_properties', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + properties: { + anonymousId: 'sampath', + email: 'sampath@gmail.com', }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": [ - { - "jobId": 4 - } - ], - "batched": false, - "statusCode": 400, - "error": "invalid message type for heap", - "statTags": { - "destType": "HEAP", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "router", - "implementation": "native", - "module": "destination" - } - }, - { - "destination": { - "Config": { - "appId": "" - }, - "DestinationDefinition": { - "DisplayName": "Heap.io", - "ID": "1WTbl0l5GjOQKOvfmcGwk0T49kV", - "Name": "HEAP" - }, - "Enabled": true, - "ID": "1WTcDSEOE437e4ePH10BJNELXmE", - "Name": "heap test", - "Transformations": [] - }, - "metadata": [ - { - "jobId": 5 - } - ], - "batched": false, - "statusCode": 400, - "error": "message type page not supported for heap", - "statTags": { - "destType": "HEAP", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "router", - "implementation": "native", - "module": "destination" - } + app_id: '', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://heapanalytics.com/api/track', + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + params: {}, + body: { + JSON: { + identity: 'sampath', + event: 'Send Transactional Email', + properties: { + subject: 'Welcome to My App!', + variation: 'A', }, - ], + app_id: '', + timestamp: '2020-01-16T18:53:20.866+05:30', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sampath', + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + }, + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + metadata: [ + { + jobId: 4, + }, + ], + batched: false, + statusCode: 400, + error: 'invalid message type for heap', + statTags: { + destType: 'HEAP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + }, + { + destination: { + Config: { + appId: '', + }, + DestinationDefinition: { + DisplayName: 'Heap.io', + ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', + Name: 'HEAP', + }, + Enabled: true, + ID: '1WTcDSEOE437e4ePH10BJNELXmE', + Name: 'heap test', + Transformations: [], + }, + metadata: [ + { + jobId: 5, + }, + ], + batched: false, + statusCode: 400, + error: 'message type page not supported for heap', + statTags: { + destType: 'HEAP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', + }, }, + ], }, + }, }, -}] \ No newline at end of file + }, +]; diff --git a/test/integrations/destinations/impact/processor/data.ts b/test/integrations/destinations/impact/processor/data.ts index eb064e3a9c..e467956d62 100644 --- a/test/integrations/destinations/impact/processor/data.ts +++ b/test/integrations/destinations/impact/processor/data.ts @@ -1,2325 +1,2357 @@ export const data = [ - { - "name": "impact", - "description": "Identify Call", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "DeviceOs": "ios", - "AndroidId": "id", - "EventDate": "NOW", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "user123", - "PropertyId": "2323", - "DeviceOsVer": "1.12.3", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://trkapi.impact.com/PageLoad", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "impact", - "description": "Identify Call when enableIdentifyEvents is disabled from config", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "identify events are disabled from Config", - "statTags": { - "destType": "IMPACT", - "errorCategory": "dataValidation", - "errorType": "configuration", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "impact", - "description": "Account SID is empty", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "accountSID : are required fields", - "statTags": { - "destType": "IMPACT", - "errorCategory": "dataValidation", - "errorType": "configuration", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "impact", - "description": "API Key is empty", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "jskafsdhgfbjcdsxzjhfnerscd", - "apiKey": "", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "apiKey : are required fields", - "statTags": { - "destType": "IMPACT", - "errorCategory": "dataValidation", - "errorType": "configuration", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "impact", - "description": "campaignId is empty", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "jskafsdhgfbjcdsxzjhfnerscd", - "apiKey": "hjsfbnrrcldkbnfsjknfdkfjne", - "campaignId": "", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "campaignId : are required fields", - "statTags": { - "destType": "IMPACT", - "errorCategory": "dataValidation", - "errorType": "configuration", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "impact", - "description": "Track Call with products array to test conversion endpoint", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Ujjwalab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "impact", - "description": "Track Call with products array without any custom products mapping", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "event": "Product Purchased", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": "", - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Ujjwalab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Product Purchased", - "ItemQuantity1": 1, - "ItemCategory1": "wearables", - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "impact", - "description": "Track Call with products array to test conversion endpoint with a custom products mapping", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "variant": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Ujjwalab", - "ItemBrand1": "zara", - "ItemCategory1": "wearables", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "impact", - "description": "Track Call with products array to test conversion endpoint with a custom products mapping and custom property mapping", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "profit": 434, - "products": [ - { - "brand": "zara", - "variant": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "Money1": 434, - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Ujjwalab", - "ItemBrand1": "zara", - "ItemCategory1": "wearables", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "impact", - "description": "Track Call with products array to test conversion endpoint with OS as android", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "profit": 434, - "products": [ - { - "brand": "zara", - "variant": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "context": { - "os": { - "name": "Android", - "version": "9" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "device": { - "id": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "advertisingId": "435o4GRlm" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "Money1": 434, - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "GoogAId": "435o4GRlm", - "OrderId": "9217374917471", - "DeviceOs": "Android", - "ItemSku1": "G-32", - "AndroidId": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Ujjwalab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "DeviceOsVer": "9", - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemCategory1": "wearables", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "impact", - "description": "Track Call with products array to test conversion endpoint with OS as ios", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "profit": 434, - "products": [ - { - "brand": "zara", - "variant": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "context": { - "os": { - "name": "iOS", - "version": "15.2" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "device": { - "id": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "advertisingId": "435o4GRlm" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppleIfa": "435o4GRlm", - "AppleIfv": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "Money1": 434, - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "DeviceOs": "iOS", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Ujjwalab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "DeviceOsVer": "15.2", - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemCategory1": "wearables", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "impact", - "description": "Page Call", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "type": "page", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": true, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "DeviceOs": "ios", - "AndroidId": "id", - "EventDate": "NOW", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "user123", - "PropertyId": "2323", - "DeviceOsVer": "1.12.3", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://trkapi.impact.com/PageLoad", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "impact", - "description": "Screen Call", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "type": "screen", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": true, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "DeviceOs": "ios", - "AndroidId": "id", - "EventDate": "NOW", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "user123", - "PropertyId": "2323", - "DeviceOsVer": "1.12.3", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://trkapi.impact.com/PageLoad", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "impact", - "description": "Unsupported message type", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "event": "Order Completed", - "type": "group", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "Event type group is not supported", - "statTags": { - "destType": "IMPACT", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "impact", - "description": "Event type is empty", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "event": "Order Completed", - "type": "", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "Event type is required", - "statTags": { - "destType": "IMPACT", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "impact", - "description": "Track Call with products array to test conversion endpoint", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Ujjwalab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemCategory1": "wearables", - "ItemQuantity1": 1, - "ItemPromoCode1": "10OFF-ROCKET", - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "impact", - "description": "Track Call with products array to test conversion endpoint with event mapping", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "event": "Product Ordered", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "profit": 434, - "products": [ - { - "brand": "zara", - "variant": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "context": { - "os": { - "name": "iOS", - "version": "15.2" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "device": { - "id": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "advertisingId": "435o4GRlm" - }, - "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": "NOW" - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Ordered" - } - ], - "installEventNames": [ - { - "eventName": "Product Ordered" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppleIfa": "435o4GRlm", - "AppleIfv": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "Money1": 434, - "AppName": "RudderLabs JavaScript SDK", - "OrderId": "9217374917471", - "DeviceOs": "iOS", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Ujjwalab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "DeviceOsVer": "15.2", - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Product Ordered", - "ItemCategory1": "wearables", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", - "userId": "" - }, - "statusCode": 200 - }, { - "output": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppleIfa": "435o4GRlm", - "AppleIfv": "78c53c15-32a1-4b65-adac-bec2d7bb8fab", - "Money1": 434, - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "DeviceOs": "iOS", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Ujjwalab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "DeviceOsVer": "15.2", - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Product Ordered", - "ItemCategory1": "wearables", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions", - "userId": "" - }, - "statusCode": 200, - } - ] - } - } - } -] \ No newline at end of file + { + name: 'impact', + description: 'Identify Call', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user123', + channel: 'web', + context: { + os: { + name: 'android', + version: '1.12.3', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + traits: { + email: 'user123@email.com', + phone: '+917836362334', + userId: 'user123', + }, + locale: 'en-US', + device: { + token: 'token', + id: 'id', + type: 'ios', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.11', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'sku', + to: 'ItemSku', + }, + ], + enableIdentifyEvents: true, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppName: 'RudderLabs JavaScript SDK', + DeviceOs: 'ios', + AndroidId: 'id', + EventDate: 'NOW', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'user123', + PropertyId: '2323', + DeviceOsVer: '1.12.3', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + CustomerEmail: '0c57fe03e81357df3acc1340bc9e353688e8f69e', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://trkapi.impact.com/PageLoad', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Identify Call when enableIdentifyEvents is disabled from config', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user123', + channel: 'web', + context: { + os: { + name: 'android', + version: '1.12.3', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + traits: { + email: 'user123@email.com', + phone: '+917836362334', + userId: 'user123', + }, + locale: 'en-US', + device: { + token: 'token', + id: 'id', + type: 'ios', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.11', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'sku', + to: 'ItemSku', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'identify events are disabled from Config', + statTags: { + destType: 'IMPACT', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Account SID is empty', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user123', + channel: 'web', + context: { + os: { + name: 'android', + version: '1.12.3', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + traits: { + email: 'user123@email.com', + phone: '+917836362334', + userId: 'user123', + }, + locale: 'en-US', + device: { + token: 'token', + id: 'id', + type: 'ios', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.11', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: '', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'sku', + to: 'ItemSku', + }, + ], + enableIdentifyEvents: true, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'accountSID : are required fields', + statTags: { + destType: 'IMPACT', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'API Key is empty', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user123', + channel: 'web', + context: { + os: { + name: 'android', + version: '1.12.3', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + traits: { + email: 'user123@email.com', + phone: '+917836362334', + userId: 'user123', + }, + locale: 'en-US', + device: { + token: 'token', + id: 'id', + type: 'ios', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.11', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'jskafsdhgfbjcdsxzjhfnerscd', + apiKey: '', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'sku', + to: 'ItemSku', + }, + ], + enableIdentifyEvents: true, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'apiKey : are required fields', + statTags: { + destType: 'IMPACT', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'campaignId is empty', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user123', + channel: 'web', + context: { + os: { + name: 'android', + version: '1.12.3', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + traits: { + email: 'user123@email.com', + phone: '+917836362334', + userId: 'user123', + }, + locale: 'en-US', + device: { + token: 'token', + id: 'id', + type: 'ios', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.11', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'jskafsdhgfbjcdsxzjhfnerscd', + apiKey: 'hjsfbnrrcldkbnfsjknfdkfjne', + campaignId: '', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'sku', + to: 'ItemSku', + }, + ], + enableIdentifyEvents: true, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'campaignId : are required fields', + statTags: { + destType: 'IMPACT', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Track Call with products array to test conversion endpoint', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'Order Completed', + type: 'track', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + products: [ + { + brand: 'zara', + category: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + ], + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppName: 'RudderLabs JavaScript SDK', + ClickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + OrderId: '9217374917471', + ItemSku1: 'G-32', + EventDate: 'NOW', + ItemName1: 'Monopoly', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'Ujjwalab', + ItemBrand1: 'zara', + ItemPrice1: 332, + EventTypeId: '56446', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + EventTypeCode: 'Order Completed', + ItemQuantity1: 1, + OrderPromoCode: '10OFF-ROCKET', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Track Call with products array without any custom products mapping', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'Product Purchased', + type: 'track', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + products: [ + { + brand: 'zara', + category: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + ], + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: '', + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppName: 'RudderLabs JavaScript SDK', + ClickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + OrderId: '9217374917471', + ItemSku1: 'G-32', + EventDate: 'NOW', + ItemName1: 'Monopoly', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'Ujjwalab', + ItemBrand1: 'zara', + ItemPrice1: 332, + EventTypeId: '56446', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + EventTypeCode: 'Product Purchased', + ItemQuantity1: 1, + ItemCategory1: 'wearables', + OrderPromoCode: '10OFF-ROCKET', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'impact', + description: + 'Track Call with products array to test conversion endpoint with a custom products mapping', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'Order Completed', + type: 'track', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + products: [ + { + brand: 'zara', + variant: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + ], + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppName: 'RudderLabs JavaScript SDK', + ClickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + OrderId: '9217374917471', + ItemSku1: 'G-32', + EventDate: 'NOW', + ItemName1: 'Monopoly', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'Ujjwalab', + ItemBrand1: 'zara', + ItemCategory1: 'wearables', + ItemPrice1: 332, + EventTypeId: '56446', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + EventTypeCode: 'Order Completed', + ItemQuantity1: 1, + OrderPromoCode: '10OFF-ROCKET', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'impact', + description: + 'Track Call with products array to test conversion endpoint with a custom products mapping and custom property mapping', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'Order Completed', + type: 'track', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + profit: 434, + products: [ + { + brand: 'zara', + variant: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + ], + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppName: 'RudderLabs JavaScript SDK', + ClickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + Money1: 434, + OrderId: '9217374917471', + ItemSku1: 'G-32', + EventDate: 'NOW', + ItemName1: 'Monopoly', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'Ujjwalab', + ItemBrand1: 'zara', + ItemCategory1: 'wearables', + ItemPrice1: 332, + EventTypeId: '56446', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + EventTypeCode: 'Order Completed', + ItemQuantity1: 1, + OrderPromoCode: '10OFF-ROCKET', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Track Call with products array to test conversion endpoint with OS as android', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'Order Completed', + type: 'track', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + profit: 434, + products: [ + { + brand: 'zara', + variant: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + ], + }, + context: { + os: { + name: 'Android', + version: '9', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + device: { + id: '78c53c15-32a1-4b65-adac-bec2d7bb8fab', + advertisingId: '435o4GRlm', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + Money1: 434, + AppName: 'RudderLabs JavaScript SDK', + ClickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + GoogAId: '435o4GRlm', + OrderId: '9217374917471', + DeviceOs: 'Android', + ItemSku1: 'G-32', + AndroidId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab', + EventDate: 'NOW', + ItemName1: 'Monopoly', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'Ujjwalab', + ItemBrand1: 'zara', + ItemPrice1: 332, + DeviceOsVer: '9', + EventTypeId: '56446', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + EventTypeCode: 'Order Completed', + ItemCategory1: 'wearables', + ItemQuantity1: 1, + OrderPromoCode: '10OFF-ROCKET', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Track Call with products array to test conversion endpoint with OS as ios', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'Order Completed', + type: 'track', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + profit: 434, + products: [ + { + brand: 'zara', + variant: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + ], + }, + context: { + os: { + name: 'iOS', + version: '15.2', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + device: { + id: '78c53c15-32a1-4b65-adac-bec2d7bb8fab', + advertisingId: '435o4GRlm', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppleIfa: '435o4GRlm', + AppleIfv: '78c53c15-32a1-4b65-adac-bec2d7bb8fab', + Money1: 434, + AppName: 'RudderLabs JavaScript SDK', + ClickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + OrderId: '9217374917471', + DeviceOs: 'iOS', + ItemSku1: 'G-32', + EventDate: 'NOW', + ItemName1: 'Monopoly', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'Ujjwalab', + ItemBrand1: 'zara', + ItemPrice1: 332, + DeviceOsVer: '15.2', + EventTypeId: '56446', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + EventTypeCode: 'Order Completed', + ItemCategory1: 'wearables', + ItemQuantity1: 1, + OrderPromoCode: '10OFF-ROCKET', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Page Call', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user123', + channel: 'web', + context: { + os: { + name: 'android', + version: '1.12.3', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + traits: { + email: 'user123@email.com', + phone: '+917836362334', + userId: 'user123', + }, + locale: 'en-US', + device: { + token: 'token', + id: 'id', + type: 'ios', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.11', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'sku', + to: 'ItemSku', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: true, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppName: 'RudderLabs JavaScript SDK', + DeviceOs: 'ios', + AndroidId: 'id', + EventDate: 'NOW', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'user123', + PropertyId: '2323', + DeviceOsVer: '1.12.3', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + CustomerEmail: '0c57fe03e81357df3acc1340bc9e353688e8f69e', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://trkapi.impact.com/PageLoad', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Screen Call', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'screen', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user123', + channel: 'web', + context: { + os: { + name: 'android', + version: '1.12.3', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + traits: { + email: 'user123@email.com', + phone: '+917836362334', + userId: 'user123', + }, + locale: 'en-US', + device: { + token: 'token', + id: 'id', + type: 'ios', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.11', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'sku', + to: 'ItemSku', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: true, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppName: 'RudderLabs JavaScript SDK', + DeviceOs: 'ios', + AndroidId: 'id', + EventDate: 'NOW', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'user123', + PropertyId: '2323', + DeviceOsVer: '1.12.3', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + CustomerEmail: '0c57fe03e81357df3acc1340bc9e353688e8f69e', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://trkapi.impact.com/PageLoad', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Unsupported message type', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'Order Completed', + type: 'group', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + products: [ + { + brand: 'zara', + category: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + ], + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Event type group is not supported', + statTags: { + destType: 'IMPACT', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Event type is empty', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'Order Completed', + type: '', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + products: [ + { + brand: 'zara', + category: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + ], + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Event type is required', + statTags: { + destType: 'IMPACT', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Track Call with products array to test conversion endpoint', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'Order Completed', + type: 'track', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + brand: 'zara', + category: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Purchased', + }, + ], + installEventNames: [ + { + eventName: 'App Installed', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppName: 'RudderLabs JavaScript SDK', + ClickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + OrderId: '9217374917471', + ItemSku1: 'G-32', + EventDate: 'NOW', + ItemName1: 'Monopoly', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'Ujjwalab', + ItemBrand1: 'zara', + ItemPrice1: 332, + EventTypeId: '56446', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + EventTypeCode: 'Order Completed', + ItemCategory1: 'wearables', + ItemQuantity1: 1, + ItemPromoCode1: '10OFF-ROCKET', + OrderPromoCode: '10OFF-ROCKET', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'impact', + description: 'Track Call with products array to test conversion endpoint with event mapping', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'Product Ordered', + type: 'track', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + profit: 434, + products: [ + { + brand: 'zara', + variant: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + ], + }, + context: { + os: { + name: 'iOS', + version: '15.2', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + device: { + id: '78c53c15-32a1-4b65-adac-bec2d7bb8fab', + advertisingId: '435o4GRlm', + }, + 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: 'NOW', + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [ + { + eventName: 'Product Ordered', + }, + ], + installEventNames: [ + { + eventName: 'Product Ordered', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppleIfa: '435o4GRlm', + AppleIfv: '78c53c15-32a1-4b65-adac-bec2d7bb8fab', + Money1: 434, + AppName: 'RudderLabs JavaScript SDK', + OrderId: '9217374917471', + DeviceOs: 'iOS', + ItemSku1: 'G-32', + EventDate: 'NOW', + ItemName1: 'Monopoly', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'Ujjwalab', + ItemBrand1: 'zara', + ItemPrice1: 332, + DeviceOsVer: '15.2', + EventTypeId: '56446', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + EventTypeCode: 'Product Ordered', + ItemCategory1: 'wearables', + ItemQuantity1: 1, + OrderPromoCode: '10OFF-ROCKET', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions', + userId: '', + }, + statusCode: 200, + }, + { + output: { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppleIfa: '435o4GRlm', + AppleIfv: '78c53c15-32a1-4b65-adac-bec2d7bb8fab', + Money1: 434, + AppName: 'RudderLabs JavaScript SDK', + ClickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + OrderId: '9217374917471', + DeviceOs: 'iOS', + ItemSku1: 'G-32', + EventDate: 'NOW', + ItemName1: 'Monopoly', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'Ujjwalab', + ItemBrand1: 'zara', + ItemPrice1: 332, + DeviceOsVer: '15.2', + EventTypeId: '56446', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + EventTypeCode: 'Product Ordered', + ItemCategory1: 'wearables', + ItemQuantity1: 1, + OrderPromoCode: '10OFF-ROCKET', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/impact/router/data.ts b/test/integrations/destinations/impact/router/data.ts index 5da4298d59..1e9cd9cc6e 100644 --- a/test/integrations/destinations/impact/router/data.ts +++ b/test/integrations/destinations/impact/router/data.ts @@ -1,324 +1,330 @@ export const data = [ - { - name: 'fb', - description: 'Test 0', - feature: 'router', - module: 'destination', - version: 'v0', - input: { - request: { - body: { - input: [ - { - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - }, - "metadata": { - "jobId": 1 - }, - "message": { - "type": "identify", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "user123", - "channel": "web", - "context": { - "os": { - "name": "android", - "version": "1.12.3" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.11", - "namespace": "com.rudderlabs.javascript" - }, - "traits": { - "email": "user123@email.com", - "phone": "+917836362334", - "userId": "user123" - }, - "locale": "en-US", - "device": { - "token": "token", - "id": "id", - "type": "ios" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.11" - }, - "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": "NOW" - } - }, - { - "message": { - "event": "Order Completed", - "type": "track", - "sentAt": "2021-01-03T17:02:53.195Z", - "userId": "Ujjwalab", - "channel": "web", - "properties": { - "orderId": "9217374917471", - "coupon": "10OFF-ROCKET", - "clickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "products": [ - { - "brand": "zara", - "category": "wearables", - "name": "Monopoly", - "price": 332, - "quantity": 1, - "sku": "G-32" - } - ] - }, - "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": "NOW" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - ], - destType: 'impact', + { + name: 'fb', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'sku', + to: 'ItemSku', + }, + ], + enableIdentifyEvents: true, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [{ eventName: 'Product Purchased' }], + installEventNames: [{ eventName: 'App Installed' }], + }, + }, + metadata: { + jobId: 1, + }, + message: { + type: 'identify', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'user123', + channel: 'web', + context: { + os: { + name: 'android', + version: '1.12.3', + }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.11', + namespace: 'com.rudderlabs.javascript', + }, + traits: { + email: 'user123@email.com', + phone: '+917836362334', + userId: 'user123', + }, + locale: 'en-US', + device: { + token: 'token', + id: 'id', + type: 'ios', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.11', + }, + 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: 'NOW', + }, }, + { + message: { + event: 'Order Completed', + type: 'track', + sentAt: '2021-01-03T17:02:53.195Z', + userId: 'Ujjwalab', + channel: 'web', + properties: { + orderId: '9217374917471', + coupon: '10OFF-ROCKET', + clickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + products: [ + { + brand: 'zara', + category: 'wearables', + name: 'Monopoly', + price: 332, + quantity: 1, + sku: 'G-32', + }, + ], + }, + 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: 'NOW', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [{ eventName: 'Product Purchased' }], + installEventNames: [{ eventName: 'App Installed' }], + }, + }, + }, + ], + destType: 'impact', }, - output: { - response: { - status: 200, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { body: { - output: [ - { - "batchedRequest": { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "DeviceOs": "ios", - "AndroidId": "id", - "EventDate": "NOW", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "user123", - "PropertyId": "2323", - "DeviceOsVer": "1.12.3", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "CustomerEmail": "0c57fe03e81357df3acc1340bc9e353688e8f69e", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://trkapi.impact.com/PageLoad" - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "sku", - "to": "ItemSku" - } - ], - "enableIdentifyEvents": true, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - { - "batchedRequest": [ - { - "body": { - "XML": {}, - "FORM": { - "AppVer": "1.1.11", - "AppName": "RudderLabs JavaScript SDK", - "ClickId": "wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80", - "OrderId": "9217374917471", - "ItemSku1": "G-32", - "EventDate": "NOW", - "ItemName1": "Monopoly", - "UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0", - "AppPackage": "1.0.0", - "CampaignId": "23224", - "CustomerId": "Ujjwalab", - "ItemBrand1": "zara", - "ItemPrice1": 332, - "EventTypeId": "56446", - "ImpactAppId": "2323", - "DeviceLocale": "en-US", - "EventTypeCode": "Order Completed", - "ItemQuantity1": 1, - "OrderPromoCode": "10OFF-ROCKET", - "CustomProfileId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "JSON": {}, - "JSON_ARRAY": {} - }, - "type": "REST", - "files": {}, - "method": "POST", - "params": {}, - "headers": { - "Content-Type": "application/x-www-form-urlencoded", - "Authorization": "Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn" - }, - "version": "1", - "endpoint": "https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions" - } - ], - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accountSID": "dfsgertrtff3erfc34rfwf", - "apiKey": "fghsdfgegvcergfvfdfsag", - "campaignId": "23224", - "impactAppId": "2323", - "eventTypeId": "56446", - "enableEmailHashing": true, - "rudderToImpactProperty": [ - { - "from": "properties.profit", - "to": "Money1" - } - ], - "productsMapping": [ - { - "from": "variant", - "to": "ItemCategory" - } - ], - "enableIdentifyEvents": false, - "enablePageEvents": false, - "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] - } - } - }, - ], + XML: {}, + FORM: { + AppVer: '1.1.11', + AppName: 'RudderLabs JavaScript SDK', + DeviceOs: 'ios', + AndroidId: 'id', + EventDate: 'NOW', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'user123', + PropertyId: '2323', + DeviceOsVer: '1.12.3', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + CustomerEmail: '0c57fe03e81357df3acc1340bc9e353688e8f69e', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: + 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://trkapi.impact.com/PageLoad', + }, + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'sku', + to: 'ItemSku', + }, + ], + enableIdentifyEvents: true, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [{ eventName: 'Product Purchased' }], + installEventNames: [{ eventName: 'App Installed' }], + }, + }, + }, + { + batchedRequest: [ + { + body: { + XML: {}, + FORM: { + AppVer: '1.1.11', + AppName: 'RudderLabs JavaScript SDK', + ClickId: 'wEWU47yhtzBnU-CTug3:7Wv4UkAzMbzkZ2lTz80', + OrderId: '9217374917471', + ItemSku1: 'G-32', + EventDate: 'NOW', + ItemName1: 'Monopoly', + UserAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0', + AppPackage: '1.0.0', + CampaignId: '23224', + CustomerId: 'Ujjwalab', + ItemBrand1: 'zara', + ItemPrice1: 332, + EventTypeId: '56446', + ImpactAppId: '2323', + DeviceLocale: 'en-US', + EventTypeCode: 'Order Completed', + ItemQuantity1: 1, + OrderPromoCode: '10OFF-ROCKET', + CustomProfileId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + JSON: {}, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: + 'Basic ZGZzZ2VydHJ0ZmYzZXJmYzM0cmZ3ZjpmZ2hzZGZnZWd2Y2VyZ2Z2ZmRmc2Fn', + }, + version: '1', + endpoint: 'https://api.impact.com/Advertisers/dfsgertrtff3erfc34rfwf/Conversions', + }, + ], + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + accountSID: 'dfsgertrtff3erfc34rfwf', + apiKey: 'fghsdfgegvcergfvfdfsag', + campaignId: '23224', + impactAppId: '2323', + eventTypeId: '56446', + enableEmailHashing: true, + rudderToImpactProperty: [ + { + from: 'properties.profit', + to: 'Money1', + }, + ], + productsMapping: [ + { + from: 'variant', + to: 'ItemCategory', + }, + ], + enableIdentifyEvents: false, + enablePageEvents: false, + enableScreenEvents: false, + actionEventNames: [{ eventName: 'Product Purchased' }], + installEventNames: [{ eventName: 'App Installed' }], }, + }, }, + ], }, + }, }, + }, ]; diff --git a/test/integrations/destinations/indicative/processor/data.ts b/test/integrations/destinations/indicative/processor/data.ts index d99bf8ecb9..706fd25664 100644 --- a/test/integrations/destinations/indicative/processor/data.ts +++ b/test/integrations/destinations/indicative/processor/data.ts @@ -1,3263 +1,3284 @@ export const data = [ - { - "name": "indicative", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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": "spin_result", - "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" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "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 - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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", - "anonymousId": "anon_id", - "userId": "123456", - "type": "identify", - "traits": { - "anonymousId": "anon_id", - "email": "sayan@gmail.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/identify", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "uniqueId": "123456", - "properties": { - "email": "sayan@gmail.com", - "address.city": "kolkata", - "address.country": "India", - "address.postalCode": 712136, - "address.state": "WB", - "address.street": "", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - }, - "statusCode": 200 - }, { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/alias", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "previousId": "anon_id", - "newId": "123456", - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "sayan@gmail.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/identify", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "uniqueId": "123456", - "properties": { - "email": "sayan@gmail.com", - "address.city": "kolkata", - "address.country": "India", - "address.postalCode": 712136, - "address.state": "WB", - "address.street": "", - "ip": "0.0.0.0", - "age": 26, - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - }, - "statusCode": 200 - }, { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/alias", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "previousId": "123456", - "newId": "123456", - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "sayan@gmail.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "request_ip": "1.1.1.1", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Page View ApplicationLoaded", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "sayan@gmail.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "request_ip": "1.1.1.1", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "name": "ApplicationLoaded", - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Page View ApplicationLoaded", - "properties": { - "name": "ApplicationLoaded", - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "sayan@gmail.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "request_ip": "1.1.1.1", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T11:15:53.296Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Page View", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 6", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "sayan@gmail.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "request_ip": "1.1.1.1", - "type": "screen", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "Home", - "sentAt": "2019-10-14T11:15:53.296Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Screen View Home", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 7", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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": "spin_result", - "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", - "originalTimestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "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 - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 8", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "originalTimestamp": "2020-01-24T06:29:02.366Z", - "previousId": "test_previous_id", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53711", - "sentAt": "2020-01-24T06:29:02.366Z", - "timestamp": "2020-01-24T11:59:02.403+05:30", - "type": "alias", - "userId": "test_new_user_id" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/alias", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "previousId": "test_previous_id", - "newId": "test_new_user_id", - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_new_user_id" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 9", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "originalTimestamp": "2020-01-24T06:29:02.366Z", - "previousId": "test_previous_id", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53711", - "sentAt": "2020-01-24T06:29:02.366Z", - "timestamp": "2020-01-24T11:59:02.403+05:30", - "userId": "test_new_user_id" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "Message Type is not present. Aborting message.", - "statTags": { - "destType": "INDICATIVE", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 10", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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", - "anonymousId": "123456", - "userId": "123456", - "type": "group", - "traits": { - "anonymousId": "123456", - "email": "sayan@gmail.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "Message type group not supported", - "statTags": { - "destType": "INDICATIVE", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 11", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "test_anon_id", - "type": "identify", - "traits": { - "anonymousId": "test_anon_id", - "email": "sayan@gmail.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/identify", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "uniqueId": "test_anon_id", - "properties": { - "email": "sayan@gmail.com", - "address.city": "kolkata", - "address.country": "India", - "address.postalCode": 712136, - "address.state": "WB", - "address.street": "", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "userId": "test_anon_id", - "files": {} - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 12", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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": "spin_result", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "searchResponse": { - "hits": [ - { - "Vrm": "026067", - "Make": "AUDI", - "Year": 2010, - "DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH", - "Model": "A5", - "Price": 13990, - "Mileage": 163000, - "DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69", - "Derivative": "A5 Cabrio 1.8 TFSI Cabrio" - }, - { - "Vrm": "4527", - "Make": "AUDI", - "Year": 2009, - "DName": "Stephan Walters - Autohaus Walters", - "Model": "A5", - "Price": 14450, - "Mileage": 99990, - "DealerId": "68c7b5ae-8cf0-6595-9fd2-8644b9682838", - "Derivative": "A5 Cabrio 40 TFSI S tronic S line Cabrio" - }, - { - "Vrm": "10007", - "Make": "AUDI", - "Year": 2017, - "DName": "ps kfz-vertrieb GmbH", - "Model": "A5", - "Price": 14580, - "Mileage": 151500, - "DealerId": "a107e9a8-ac3c-6790-bb84-052dd5eed5e8", - "Derivative": "A5 Sportback 2.0 TDI ultra S tronic Coupe" - }, - { - "Vrm": "031983", - "Make": "AUDI", - "Year": 2012, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 10980, - "Mileage": 197335, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 2.0 TDI Sportback DPF multitronic Coupe" - }, - { - "Vrm": "042012", - "Make": "AUDI", - "Year": 2015, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 15980, - "Mileage": 144205, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 Coupe 35 TDI S tronic S line Coupe" - }, - { - "Vrm": "002743", - "Make": "AUDI", - "Year": 2010, - "DName": "Auto Mayer e.K.Inh. Skelcim Imeri", - "Model": "A5", - "Price": 13980, - "Mileage": 121015, - "DealerId": "972258cb-132f-62a9-bd31-e02f9f70fa7b", - "Derivative": "A5 Cabrio 2.0 TDI DPF Cabrio" - }, - { - "Vrm": "205536_3895", - "Make": "AUDI", - "Year": 2011, - "DName": "Autohaus Löbau GmbH", - "Model": "A5", - "Price": 12790, - "Mileage": 89236, - "DealerId": "9e697219-293e-63a0-884a-2d03f77bbbef", - "Derivative": "A5 2.0 TDI Sportback DPF Coupe" - }, - { - "Vrm": "116265", - "Make": "AUDI", - "Year": 2016, - "DName": "Elspass Autoland GmbH & Co. KG", - "Model": "A1", - "Price": 14690, - "Mileage": 42800, - "DealerId": "00c1bf3f-b19d-6198-a509-c7f2ff73c29a", - "Derivative": "A1 1.0 TFSI ultra Limousine" - }, - { - "Vrm": "010159", - "Make": "AUDI", - "Year": 2013, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 9950, - "Mileage": 93996, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Ambition Limousine" - }, - { - "Vrm": "010178", - "Make": "AUDI", - "Year": 2016, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 12950, - "Mileage": 69454, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Sportback S tronic Attraction Limousine" - } - ], - "page": 0, - "merge": { - "nbHitsMax": 1000, - "nbHitslimit": 1000, - "nbSearchers": 2, - "nbHitsProcessed": 10, - "personalization": { - "impact": 100, - "enabled": true, - "profile": { - "time": 0, - "facets": {}, - "taskID": 0 - }, - "percentile": 0, - "nbPersoScanned": 0, - "nbPersoSkipped": 0, - "nbPersoReranked": 0, - "nbPersoReturned": 0, - "nbPersoSelected": 0, - "nbRelevanceBuckets": 8 - }, - "lastHitToDisplay": 10, - "nbHitsNumberingEnd": 10 - }, - "nbHits": 13, - "nbPages": 2, - "queryID": "c5a176f8493236fcbfe69c3298d41659", - "indexUsed": "Germany_prod_stock_Finance_0", - "serverUsed": "d85-de-1.algolia.net", - "hitsPerPage": 10, - "parsedQuery": "audi a5", - "timeoutHits": false, - "appliedRules": [ - { - "objectID": "1539345377254" - }, - { - "objectID": "1548767806494" - } - ], - "facets_stats": { - "Doors": { - "avg": 3, - "max": 5, - "min": 2, - "sum": 48 - }, - "Price": { - "avg": 13210, - "max": 15980, - "min": 9950, - "sum": 171730 - }, - "VrmYear": { - "avg": 2013, - "max": 2017, - "min": 2009, - "sum": 26171 - } - }, - "timeoutCounts": false - } - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "properties": { - "searchResponse.hits.Vrm": "026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178", - "searchResponse.hits.Make": "AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI", - "searchResponse.hits.Year": "2010,2009,2017,2012,2015,2010,2011,2016,2013,2016", - "searchResponse.hits.DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG", - "searchResponse.hits.Model": "A5,A5,A5,A5,A5,A5,A5,A1,A1,A1", - "searchResponse.hits.Price": "13990,14450,14580,10980,15980,13980,12790,14690,9950,12950", - "searchResponse.hits.Mileage": "163000,99990,151500,197335,144205,121015,89236,42800,93996,69454", - "searchResponse.hits.DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "searchResponse.hits.Derivative": "A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine", - "searchResponse.page": 0, - "searchResponse.merge.nbHitsMax": 1000, - "searchResponse.merge.nbHitslimit": 1000, - "searchResponse.merge.nbSearchers": 2, - "searchResponse.merge.nbHitsProcessed": 10, - "searchResponse.merge.personalization.impact": 100, - "searchResponse.merge.personalization.enabled": true, - "searchResponse.merge.personalization.profile.time": 0, - "searchResponse.merge.personalization.profile.taskID": 0, - "searchResponse.merge.personalization.percentile": 0, - "searchResponse.merge.personalization.nbPersoScanned": 0, - "searchResponse.merge.personalization.nbPersoSkipped": 0, - "searchResponse.merge.personalization.nbPersoReranked": 0, - "searchResponse.merge.personalization.nbPersoReturned": 0, - "searchResponse.merge.personalization.nbPersoSelected": 0, - "searchResponse.merge.personalization.nbRelevanceBuckets": 8, - "searchResponse.merge.lastHitToDisplay": 10, - "searchResponse.merge.nbHitsNumberingEnd": 10, - "searchResponse.nbHits": 13, - "searchResponse.nbPages": 2, - "searchResponse.queryID": "c5a176f8493236fcbfe69c3298d41659", - "searchResponse.indexUsed": "Germany_prod_stock_Finance_0", - "searchResponse.serverUsed": "d85-de-1.algolia.net", - "searchResponse.hitsPerPage": 10, - "searchResponse.parsedQuery": "audi a5", - "searchResponse.timeoutHits": false, - "searchResponse.appliedRules.objectID": "1539345377254,1548767806494", - "searchResponse.facets_stats.Doors.avg": 3, - "searchResponse.facets_stats.Doors.max": 5, - "searchResponse.facets_stats.Doors.min": 2, - "searchResponse.facets_stats.Doors.sum": 48, - "searchResponse.facets_stats.Price.avg": 13210, - "searchResponse.facets_stats.Price.max": 15980, - "searchResponse.facets_stats.Price.min": 9950, - "searchResponse.facets_stats.Price.sum": 171730, - "searchResponse.facets_stats.VrmYear.avg": 2013, - "searchResponse.facets_stats.VrmYear.max": 2017, - "searchResponse.facets_stats.VrmYear.min": 2009, - "searchResponse.facets_stats.VrmYear.sum": 26171, - "searchResponse.timeoutCounts": false - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 13", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "1afmecIpsJm7D72aRTksxyODrwR", - "Name": "Segment", - "DestinationDefinition": { - "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", - "Name": "SEGMENT", - "DisplayName": "Segment", - "Config": { - "excludeKeys": [], - "includeKeys": [] - } - }, - "Config": { - "writeKey": "abcdefghijklmnopqrstuvwxyz" - }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.1.1-rc.2" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.1-rc.2" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index4.html" - }, - "screen": { - "density": 2 - }, - "traits": { - "age": 23, - "email": "testmp@email.com", - "firstname": "Test Transformer" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" - }, - "event": "JuhuSearchResults", - "integrations": { - "All": true - }, - "messageId": "584fde02-901a-4964-a4a0-4078b999d5b2", - "originalTimestamp": "2020-04-17T14:55:31.372Z", - "traits": { - "searchResponse": { - "hits": [ - { - "Vrm": "026067", - "Make": "AUDI", - "Year": 2010, - "DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH", - "Model": "A5", - "Price": 13990, - "Mileage": 163000, - "DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69", - "Derivative": "A5 Cabrio 1.8 TFSI Cabrio" - }, - { - "Vrm": "4527", - "Make": "AUDI", - "Year": 2009, - "DName": "Stephan Walters - Autohaus Walters", - "Model": "A5", - "Price": 14450, - "Mileage": 99990, - "DealerId": "68c7b5ae-8cf0-6595-9fd2-8644b9682838", - "Derivative": "A5 Cabrio 40 TFSI S tronic S line Cabrio" - }, - { - "Vrm": "10007", - "Make": "AUDI", - "Year": 2017, - "DName": "ps kfz-vertrieb GmbH", - "Model": "A5", - "Price": 14580, - "Mileage": 151500, - "DealerId": "a107e9a8-ac3c-6790-bb84-052dd5eed5e8", - "Derivative": "A5 Sportback 2.0 TDI ultra S tronic Coupe" - }, - { - "Vrm": "031983", - "Make": "AUDI", - "Year": 2012, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 10980, - "Mileage": 197335, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 2.0 TDI Sportback DPF multitronic Coupe" - }, - { - "Vrm": "042012", - "Make": "AUDI", - "Year": 2015, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 15980, - "Mileage": 144205, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 Coupe 35 TDI S tronic S line Coupe" - }, - { - "Vrm": "002743", - "Make": "AUDI", - "Year": 2010, - "DName": "Auto Mayer e.K.Inh. Skelcim Imeri", - "Model": "A5", - "Price": 13980, - "Mileage": 121015, - "DealerId": "972258cb-132f-62a9-bd31-e02f9f70fa7b", - "Derivative": "A5 Cabrio 2.0 TDI DPF Cabrio" - }, - { - "Vrm": "205536_3895", - "Make": "AUDI", - "Year": 2011, - "DName": "Autohaus Löbau GmbH", - "Model": "A5", - "Price": 12790, - "Mileage": 89236, - "DealerId": "9e697219-293e-63a0-884a-2d03f77bbbef", - "Derivative": "A5 2.0 TDI Sportback DPF Coupe" - }, - { - "Vrm": "116265", - "Make": "AUDI", - "Year": 2016, - "DName": "Elspass Autoland GmbH & Co. KG", - "Model": "A1", - "Price": 14690, - "Mileage": 42800, - "DealerId": "00c1bf3f-b19d-6198-a509-c7f2ff73c29a", - "Derivative": "A1 1.0 TFSI ultra Limousine" - }, - { - "Vrm": "010159", - "Make": "AUDI", - "Year": 2013, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 9950, - "Mileage": 93996, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Ambition Limousine" - }, - { - "Vrm": "010178", - "Make": "AUDI", - "Year": 2016, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 12950, - "Mileage": 69454, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Sportback S tronic Attraction Limousine" - } - ], - "page": 0, - "merge": { - "nbHitsMax": 1000, - "nbHitslimit": 1000, - "nbSearchers": 2, - "nbHitsProcessed": 10, - "personalization": { - "impact": 100, - "enabled": true, - "profile": { - "time": 0, - "facets": {}, - "taskID": 0 - }, - "percentile": 0, - "nbPersoScanned": 0, - "nbPersoSkipped": 0, - "nbPersoReranked": 0, - "nbPersoReturned": 0, - "nbPersoSelected": 0, - "nbRelevanceBuckets": 8 - }, - "lastHitToDisplay": 10, - "nbHitsNumberingEnd": 10 - }, - "nbHits": 13, - "nbPages": 2, - "queryID": "c5a176f8493236fcbfe69c3298d41659", - "indexUsed": "Germany_prod_stock_Finance_0", - "serverUsed": "d85-de-1.algolia.net", - "hitsPerPage": 10, - "parsedQuery": "audi a5", - "timeoutHits": false, - "appliedRules": [ - { - "objectID": "1539345377254" - }, - { - "objectID": "1548767806494" - } - ], - "facets_stats": { - "Doors": { - "avg": 3, - "max": 5, - "min": 2, - "sum": 48 - }, - "Price": { - "avg": 13210, - "max": 15980, - "min": 9950, - "sum": 171730 - }, - "VrmYear": { - "avg": 2013, - "max": 2017, - "min": 2009, - "sum": 26171 - } - }, - "timeoutCounts": false - } - }, - "receivedAt": "2020-04-17T20:25:31.401+05:30", - "request_ip": "[::1]:57365", - "sentAt": "2020-04-17T14:55:31.372Z", - "timestamp": "2020-04-17T20:25:31.401+05:30", - "name": "test page", - "type": "identify", - "userId": "user12345" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/identify", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "uniqueId": "user12345", - "properties": { - "searchResponse.hits.Vrm": "026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178", - "searchResponse.hits.Make": "AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI", - "searchResponse.hits.Year": "2010,2009,2017,2012,2015,2010,2011,2016,2013,2016", - "searchResponse.hits.DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG", - "searchResponse.hits.Model": "A5,A5,A5,A5,A5,A5,A5,A1,A1,A1", - "searchResponse.hits.Price": "13990,14450,14580,10980,15980,13980,12790,14690,9950,12950", - "searchResponse.hits.Mileage": "163000,99990,151500,197335,144205,121015,89236,42800,93996,69454", - "searchResponse.hits.DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "searchResponse.hits.Derivative": "A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine", - "searchResponse.page": 0, - "searchResponse.merge.nbHitsMax": 1000, - "searchResponse.merge.nbHitslimit": 1000, - "searchResponse.merge.nbSearchers": 2, - "searchResponse.merge.nbHitsProcessed": 10, - "searchResponse.merge.personalization.impact": 100, - "searchResponse.merge.personalization.enabled": true, - "searchResponse.merge.personalization.profile.time": 0, - "searchResponse.merge.personalization.profile.taskID": 0, - "searchResponse.merge.personalization.percentile": 0, - "searchResponse.merge.personalization.nbPersoScanned": 0, - "searchResponse.merge.personalization.nbPersoSkipped": 0, - "searchResponse.merge.personalization.nbPersoReranked": 0, - "searchResponse.merge.personalization.nbPersoReturned": 0, - "searchResponse.merge.personalization.nbPersoSelected": 0, - "searchResponse.merge.personalization.nbRelevanceBuckets": 8, - "searchResponse.merge.lastHitToDisplay": 10, - "searchResponse.merge.nbHitsNumberingEnd": 10, - "searchResponse.nbHits": 13, - "searchResponse.nbPages": 2, - "searchResponse.queryID": "c5a176f8493236fcbfe69c3298d41659", - "searchResponse.indexUsed": "Germany_prod_stock_Finance_0", - "searchResponse.serverUsed": "d85-de-1.algolia.net", - "searchResponse.hitsPerPage": 10, - "searchResponse.parsedQuery": "audi a5", - "searchResponse.timeoutHits": false, - "searchResponse.appliedRules.objectID": "1539345377254,1548767806494", - "searchResponse.facets_stats.Doors.avg": 3, - "searchResponse.facets_stats.Doors.max": 5, - "searchResponse.facets_stats.Doors.min": 2, - "searchResponse.facets_stats.Doors.sum": 48, - "searchResponse.facets_stats.Price.avg": 13210, - "searchResponse.facets_stats.Price.max": 15980, - "searchResponse.facets_stats.Price.min": 9950, - "searchResponse.facets_stats.Price.sum": 171730, - "searchResponse.facets_stats.VrmYear.avg": 2013, - "searchResponse.facets_stats.VrmYear.max": 2017, - "searchResponse.facets_stats.VrmYear.min": 2009, - "searchResponse.facets_stats.VrmYear.sum": 26171, - "searchResponse.timeoutCounts": false, - "browser": "Chrome", - "browser_version": "80.0.3987.163", - "device": "Macintosh", - "os": "Mac OS" - } - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "user12345" - }, - "statusCode": 200 - }, { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/alias", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "previousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", - "newId": "user12345" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "user12345" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 14", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "sayan@gmail.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html" - } - }, - "request_ip": "1.1.1.1", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Page View ApplicationLoaded", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 15", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "sayan@gmail.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html" - } - }, - "request_ip": "1.1.1.1", - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "12345", - "eventName": "Page View ApplicationLoaded", - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "eventTime": 1571051718299, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "12345" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 16", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html" - } - }, - "event": "spin_result", - "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" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html", - "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 - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 17", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html" - } - }, - "event": "spin_result", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "searchResponse": { - "hits": [ - { - "Vrm": "026067", - "Make": "AUDI", - "Year": 2010, - "DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH", - "Model": "A5", - "Price": 13990, - "Mileage": 163000, - "DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69", - "Derivative": "A5 Cabrio 1.8 TFSI Cabrio" - }, - { - "Vrm": "4527", - "Make": "AUDI", - "Year": 2009, - "DName": "Stephan Walters - Autohaus Walters", - "Model": "A5", - "Price": 14450, - "Mileage": 99990, - "DealerId": "68c7b5ae-8cf0-6595-9fd2-8644b9682838", - "Derivative": "A5 Cabrio 40 TFSI S tronic S line Cabrio" - }, - { - "Vrm": "10007", - "Make": "AUDI", - "Year": 2017, - "DName": "ps kfz-vertrieb GmbH", - "Model": "A5", - "Price": 14580, - "Mileage": 151500, - "DealerId": "a107e9a8-ac3c-6790-bb84-052dd5eed5e8", - "Derivative": "A5 Sportback 2.0 TDI ultra S tronic Coupe" - }, - { - "Vrm": "031983", - "Make": "AUDI", - "Year": 2012, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 10980, - "Mileage": 197335, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 2.0 TDI Sportback DPF multitronic Coupe" - }, - { - "Vrm": "042012", - "Make": "AUDI", - "Year": 2015, - "DName": "Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\"", - "Model": "A5", - "Price": 15980, - "Mileage": 144205, - "DealerId": "8a574713-2fbe-6f0c-b1a8-39ba7ee683fc", - "Derivative": "A5 Coupe 35 TDI S tronic S line Coupe" - }, - { - "Vrm": "002743", - "Make": "AUDI", - "Year": 2010, - "DName": "Auto Mayer e.K.Inh. Skelcim Imeri", - "Model": "A5", - "Price": 13980, - "Mileage": 121015, - "DealerId": "972258cb-132f-62a9-bd31-e02f9f70fa7b", - "Derivative": "A5 Cabrio 2.0 TDI DPF Cabrio" - }, - { - "Vrm": "205536_3895", - "Make": "AUDI", - "Year": 2011, - "DName": "Autohaus Löbau GmbH", - "Model": "A5", - "Price": 12790, - "Mileage": 89236, - "DealerId": "9e697219-293e-63a0-884a-2d03f77bbbef", - "Derivative": "A5 2.0 TDI Sportback DPF Coupe" - }, - { - "Vrm": "116265", - "Make": "AUDI", - "Year": 2016, - "DName": "Elspass Autoland GmbH & Co. KG", - "Model": "A1", - "Price": 14690, - "Mileage": 42800, - "DealerId": "00c1bf3f-b19d-6198-a509-c7f2ff73c29a", - "Derivative": "A1 1.0 TFSI ultra Limousine" - }, - { - "Vrm": "010159", - "Make": "AUDI", - "Year": 2013, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 9950, - "Mileage": 93996, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Ambition Limousine" - }, - { - "Vrm": "010178", - "Make": "AUDI", - "Year": 2016, - "DName": "Hermann Meyer GmbH & Co. KG", - "Model": "A1", - "Price": 12950, - "Mileage": 69454, - "DealerId": "35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "Derivative": "A1 1.4 TFSI Sportback S tronic Attraction Limousine" - } - ], - "page": 0, - "merge": { - "nbHitsMax": 1000, - "nbHitslimit": 1000, - "nbSearchers": 2, - "nbHitsProcessed": 10, - "personalization": { - "impact": 100, - "enabled": true, - "profile": { - "time": 0, - "facets": {}, - "taskID": 0 - }, - "percentile": 0, - "nbPersoScanned": 0, - "nbPersoSkipped": 0, - "nbPersoReranked": 0, - "nbPersoReturned": 0, - "nbPersoSelected": 0, - "nbRelevanceBuckets": 8 - }, - "lastHitToDisplay": 10, - "nbHitsNumberingEnd": 10 - }, - "nbHits": 13, - "nbPages": 2, - "queryID": "c5a176f8493236fcbfe69c3298d41659", - "indexUsed": "Germany_prod_stock_Finance_0", - "serverUsed": "d85-de-1.algolia.net", - "hitsPerPage": 10, - "parsedQuery": "audi a5", - "timeoutHits": false, - "appliedRules": [ - { - "objectID": "1539345377254" - }, - { - "objectID": "1548767806494" - } - ], - "facets_stats": { - "Doors": { - "avg": 3, - "max": 5, - "min": 2, - "sum": 48 - }, - "Price": { - "avg": 13210, - "max": 15980, - "min": 9950, - "sum": 171730 - }, - "VrmYear": { - "avg": 2013, - "max": 2017, - "min": 2009, - "sum": 26171 - } - }, - "timeoutCounts": false - } - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html", - "searchResponse.hits.Vrm": "026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178", - "searchResponse.hits.Make": "AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI", - "searchResponse.hits.Year": "2010,2009,2017,2012,2015,2010,2011,2016,2013,2016", - "searchResponse.hits.DName": "PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Hüseyin Zan Fahrzeughandel \"Autopark Grendelmatt\",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG", - "searchResponse.hits.Model": "A5,A5,A5,A5,A5,A5,A5,A1,A1,A1", - "searchResponse.hits.Price": "13990,14450,14580,10980,15980,13980,12790,14690,9950,12950", - "searchResponse.hits.Mileage": "163000,99990,151500,197335,144205,121015,89236,42800,93996,69454", - "searchResponse.hits.DealerId": "1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900", - "searchResponse.hits.Derivative": "A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine", - "searchResponse.page": 0, - "searchResponse.merge.nbHitsMax": 1000, - "searchResponse.merge.nbHitslimit": 1000, - "searchResponse.merge.nbSearchers": 2, - "searchResponse.merge.nbHitsProcessed": 10, - "searchResponse.merge.personalization.impact": 100, - "searchResponse.merge.personalization.enabled": true, - "searchResponse.merge.personalization.profile.time": 0, - "searchResponse.merge.personalization.profile.taskID": 0, - "searchResponse.merge.personalization.percentile": 0, - "searchResponse.merge.personalization.nbPersoScanned": 0, - "searchResponse.merge.personalization.nbPersoSkipped": 0, - "searchResponse.merge.personalization.nbPersoReranked": 0, - "searchResponse.merge.personalization.nbPersoReturned": 0, - "searchResponse.merge.personalization.nbPersoSelected": 0, - "searchResponse.merge.personalization.nbRelevanceBuckets": 8, - "searchResponse.merge.lastHitToDisplay": 10, - "searchResponse.merge.nbHitsNumberingEnd": 10, - "searchResponse.nbHits": 13, - "searchResponse.nbPages": 2, - "searchResponse.queryID": "c5a176f8493236fcbfe69c3298d41659", - "searchResponse.indexUsed": "Germany_prod_stock_Finance_0", - "searchResponse.serverUsed": "d85-de-1.algolia.net", - "searchResponse.hitsPerPage": 10, - "searchResponse.parsedQuery": "audi a5", - "searchResponse.timeoutHits": false, - "searchResponse.appliedRules.objectID": "1539345377254,1548767806494", - "searchResponse.facets_stats.Doors.avg": 3, - "searchResponse.facets_stats.Doors.max": 5, - "searchResponse.facets_stats.Doors.min": 2, - "searchResponse.facets_stats.Doors.sum": 48, - "searchResponse.facets_stats.Price.avg": 13210, - "searchResponse.facets_stats.Price.max": 15980, - "searchResponse.facets_stats.Price.min": 9950, - "searchResponse.facets_stats.Price.sum": 171730, - "searchResponse.facets_stats.VrmYear.avg": 2013, - "searchResponse.facets_stats.VrmYear.max": 2017, - "searchResponse.facets_stats.VrmYear.min": 2009, - "searchResponse.facets_stats.VrmYear.sum": 26171, - "searchResponse.timeoutCounts": false - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 18", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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" - }, - "page": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html" - } - }, - "event": "spin_result", - "integrations": { - "AM": true - }, - "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", - "properties": { - "searchResponse": { - "primitiveArr1": [ - "abc", - "def" - ], - "primitiveArr2": [ - 1, - 2, - 3 - ], - "arrOfArr": [ - [ - "abc", - "def" - ], - [ - 1, - 2, - 3 - ] - ], - "emptyArr": [], - "complexArr1": [ - { - "crr1K1": { - "discardK1": "discardV1" - } - } - ] - } - }, - "userId": "test_user_id", - "timestamp": "2019-09-01T15:46:51.693Z", - "type": "track" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "properties": { - "path": "/tests/html/index4.html", - "referrer": "", - "search": "abc", - "title": "Test Page", - "url": "http://localhost/tests/html/index4.html", - "searchResponse.primitiveArr1": "abc,def", - "searchResponse.primitiveArr2": "1,2,3" - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 19", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "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" - }, - "campaign": {} - }, - "event": "spin_result", - "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" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "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 - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "indicative", - "description": "Test 20", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "message": { - "anonymousId": "8d872292709c6fbe", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "AMTestProject", - "namespace": "com.rudderstack.android.rudderstack.sampleAndroidApp", - "version": "1.0" - }, - "device": { - "id": "8d872292709c6fbe", - "manufacturer": "Google", - "model": "AOSPonIAEmulator", - "name": "generic_x86_arm", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.2" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "9" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "address": { - "city": "kolkata", - "country": "India" - } - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)" - }, - "event": "Product Clicked", - "integrations": { - "All": true - }, - "messageId": "1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06", - "properties": { - "revenue": "30", - "currency": "USD", - "quantity": "5", - "test_key_2": { - "test_child_key_1": "test_child_value_1" - }, - "price": "58.0" - }, - "originalTimestamp": "2020-05-25T18:37:10.917Z", - "type": "track", - "userId": "sample_user_id" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "sample_user_id", - "eventName": "Product Clicked", - "properties": { - "revenue": "30", - "currency": "USD", - "quantity": "5", - "test_key_2.test_child_key_1": "test_child_value_1", - "price": "58.0", - "device": "Android 9", - "os": "Android" - }, - "eventTime": 1590431830917, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "sample_user_id" - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'indicative', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + 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: 'spin_result', + 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', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: 'test_user_id', + eventName: 'spin_result', + 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, + }, + eventTime: 1567352811693, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + 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', + anonymousId: 'anon_id', + userId: '123456', + type: 'identify', + traits: { + anonymousId: 'anon_id', + email: 'sayan@gmail.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/identify', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + uniqueId: '123456', + properties: { + email: 'sayan@gmail.com', + 'address.city': 'kolkata', + 'address.country': 'India', + 'address.postalCode': 712136, + 'address.state': 'WB', + 'address.street': '', + browser: 'Chrome', + browser_version: '77.0.3865.90', + device: 'Macintosh', + os: 'Mac OS', + }, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '123456', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/alias', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + previousId: 'anon_id', + newId: '123456', + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '123456', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'sayan@gmail.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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, + }, + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + userId: '123456', + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/identify', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + uniqueId: '123456', + properties: { + email: 'sayan@gmail.com', + 'address.city': 'kolkata', + 'address.country': 'India', + 'address.postalCode': 712136, + 'address.state': 'WB', + 'address.street': '', + ip: '0.0.0.0', + age: 26, + browser: 'Chrome', + browser_version: '77.0.3865.90', + device: 'Macintosh', + os: 'Mac OS', + }, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '123456', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/alias', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + previousId: '123456', + newId: '123456', + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '123456', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + anonymousId: '12345', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + request_ip: '1.1.1.1', + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: '12345', + eventName: 'Page View ApplicationLoaded', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + browser: 'Chrome', + browser_version: '77.0.3865.90', + device: 'Macintosh', + os: 'Mac OS', + }, + eventTime: 1571051718299, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '12345', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + anonymousId: '12345', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + request_ip: '1.1.1.1', + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + name: 'ApplicationLoaded', + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: '12345', + eventName: 'Page View ApplicationLoaded', + properties: { + name: 'ApplicationLoaded', + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + browser: 'Chrome', + browser_version: '77.0.3865.90', + device: 'Macintosh', + os: 'Mac OS', + }, + eventTime: 1571051718299, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '12345', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + anonymousId: '12345', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + request_ip: '1.1.1.1', + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: '12345', + eventName: 'Page View', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + browser: 'Chrome', + browser_version: '77.0.3865.90', + device: 'Macintosh', + os: 'Mac OS', + }, + eventTime: 1571051718299, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '12345', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + anonymousId: '12345', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + request_ip: '1.1.1.1', + type: 'screen', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + integrations: { + All: true, + }, + name: 'Home', + sentAt: '2019-10-14T11:15:53.296Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: '12345', + eventName: 'Screen View Home', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + browser: 'Chrome', + browser_version: '77.0.3865.90', + device: 'Macintosh', + os: 'Mac OS', + }, + eventTime: 1571051718299, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '12345', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + 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: 'spin_result', + 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', + originalTimestamp: '2019-09-01T15:46:51.693Z', + type: 'track', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: 'test_user_id', + eventName: 'spin_result', + 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, + }, + eventTime: 1567352811693, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstname: 'Mickey', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '79313729-7fe5-4204-963a-dc46f4205e4e', + originalTimestamp: '2020-01-24T06:29:02.366Z', + previousId: 'test_previous_id', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53711', + sentAt: '2020-01-24T06:29:02.366Z', + timestamp: '2020-01-24T11:59:02.403+05:30', + type: 'alias', + userId: 'test_new_user_id', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/alias', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + previousId: 'test_previous_id', + newId: 'test_new_user_id', + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'test_new_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstname: 'Mickey', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '79313729-7fe5-4204-963a-dc46f4205e4e', + originalTimestamp: '2020-01-24T06:29:02.366Z', + previousId: 'test_previous_id', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53711', + sentAt: '2020-01-24T06:29:02.366Z', + timestamp: '2020-01-24T11:59:02.403+05:30', + userId: 'test_new_user_id', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Message Type is not present. Aborting message.', + statTags: { + destType: 'INDICATIVE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + 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', + anonymousId: '123456', + userId: '123456', + type: 'group', + traits: { + anonymousId: '123456', + email: 'sayan@gmail.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Message type group not supported', + statTags: { + destType: 'INDICATIVE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + 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', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: 'test_anon_id', + type: 'identify', + traits: { + anonymousId: 'test_anon_id', + email: 'sayan@gmail.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/identify', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + uniqueId: 'test_anon_id', + properties: { + email: 'sayan@gmail.com', + 'address.city': 'kolkata', + 'address.country': 'India', + 'address.postalCode': 712136, + 'address.state': 'WB', + 'address.street': '', + browser: 'Chrome', + browser_version: '77.0.3865.90', + device: 'Macintosh', + os: 'Mac OS', + }, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + userId: 'test_anon_id', + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + 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: 'spin_result', + integrations: { + AM: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + searchResponse: { + hits: [ + { + Vrm: '026067', + Make: 'AUDI', + Year: 2010, + DName: 'PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH', + Model: 'A5', + Price: 13990, + Mileage: 163000, + DealerId: '1f338e5b-740f-6a38-bee1-ecff97acda69', + Derivative: 'A5 Cabrio 1.8 TFSI Cabrio', + }, + { + Vrm: '4527', + Make: 'AUDI', + Year: 2009, + DName: 'Stephan Walters - Autohaus Walters', + Model: 'A5', + Price: 14450, + Mileage: 99990, + DealerId: '68c7b5ae-8cf0-6595-9fd2-8644b9682838', + Derivative: 'A5 Cabrio 40 TFSI S tronic S line Cabrio', + }, + { + Vrm: '10007', + Make: 'AUDI', + Year: 2017, + DName: 'ps kfz-vertrieb GmbH', + Model: 'A5', + Price: 14580, + Mileage: 151500, + DealerId: 'a107e9a8-ac3c-6790-bb84-052dd5eed5e8', + Derivative: 'A5 Sportback 2.0 TDI ultra S tronic Coupe', + }, + { + Vrm: '031983', + Make: 'AUDI', + Year: 2012, + DName: 'Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt"', + Model: 'A5', + Price: 10980, + Mileage: 197335, + DealerId: '8a574713-2fbe-6f0c-b1a8-39ba7ee683fc', + Derivative: 'A5 2.0 TDI Sportback DPF multitronic Coupe', + }, + { + Vrm: '042012', + Make: 'AUDI', + Year: 2015, + DName: 'Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt"', + Model: 'A5', + Price: 15980, + Mileage: 144205, + DealerId: '8a574713-2fbe-6f0c-b1a8-39ba7ee683fc', + Derivative: 'A5 Coupe 35 TDI S tronic S line Coupe', + }, + { + Vrm: '002743', + Make: 'AUDI', + Year: 2010, + DName: 'Auto Mayer e.K.Inh. Skelcim Imeri', + Model: 'A5', + Price: 13980, + Mileage: 121015, + DealerId: '972258cb-132f-62a9-bd31-e02f9f70fa7b', + Derivative: 'A5 Cabrio 2.0 TDI DPF Cabrio', + }, + { + Vrm: '205536_3895', + Make: 'AUDI', + Year: 2011, + DName: 'Autohaus Löbau GmbH', + Model: 'A5', + Price: 12790, + Mileage: 89236, + DealerId: '9e697219-293e-63a0-884a-2d03f77bbbef', + Derivative: 'A5 2.0 TDI Sportback DPF Coupe', + }, + { + Vrm: '116265', + Make: 'AUDI', + Year: 2016, + DName: 'Elspass Autoland GmbH & Co. KG', + Model: 'A1', + Price: 14690, + Mileage: 42800, + DealerId: '00c1bf3f-b19d-6198-a509-c7f2ff73c29a', + Derivative: 'A1 1.0 TFSI ultra Limousine', + }, + { + Vrm: '010159', + Make: 'AUDI', + Year: 2013, + DName: 'Hermann Meyer GmbH & Co. KG', + Model: 'A1', + Price: 9950, + Mileage: 93996, + DealerId: '35d4fe7e-81a0-6e99-a575-6f62bffb8900', + Derivative: 'A1 1.4 TFSI Ambition Limousine', + }, + { + Vrm: '010178', + Make: 'AUDI', + Year: 2016, + DName: 'Hermann Meyer GmbH & Co. KG', + Model: 'A1', + Price: 12950, + Mileage: 69454, + DealerId: '35d4fe7e-81a0-6e99-a575-6f62bffb8900', + Derivative: 'A1 1.4 TFSI Sportback S tronic Attraction Limousine', + }, + ], + page: 0, + merge: { + nbHitsMax: 1000, + nbHitslimit: 1000, + nbSearchers: 2, + nbHitsProcessed: 10, + personalization: { + impact: 100, + enabled: true, + profile: { + time: 0, + facets: {}, + taskID: 0, + }, + percentile: 0, + nbPersoScanned: 0, + nbPersoSkipped: 0, + nbPersoReranked: 0, + nbPersoReturned: 0, + nbPersoSelected: 0, + nbRelevanceBuckets: 8, + }, + lastHitToDisplay: 10, + nbHitsNumberingEnd: 10, + }, + nbHits: 13, + nbPages: 2, + queryID: 'c5a176f8493236fcbfe69c3298d41659', + indexUsed: 'Germany_prod_stock_Finance_0', + serverUsed: 'd85-de-1.algolia.net', + hitsPerPage: 10, + parsedQuery: 'audi a5', + timeoutHits: false, + appliedRules: [ + { + objectID: '1539345377254', + }, + { + objectID: '1548767806494', + }, + ], + facets_stats: { + Doors: { + avg: 3, + max: 5, + min: 2, + sum: 48, + }, + Price: { + avg: 13210, + max: 15980, + min: 9950, + sum: 171730, + }, + VrmYear: { + avg: 2013, + max: 2017, + min: 2009, + sum: 26171, + }, + }, + timeoutCounts: false, + }, + }, + userId: 'test_user_id', + timestamp: '2019-09-01T15:46:51.693Z', + type: 'track', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: 'test_user_id', + eventName: 'spin_result', + properties: { + 'searchResponse.hits.Vrm': + '026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178', + 'searchResponse.hits.Make': 'AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI', + 'searchResponse.hits.Year': '2010,2009,2017,2012,2015,2010,2011,2016,2013,2016', + 'searchResponse.hits.DName': + 'PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt",Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG', + 'searchResponse.hits.Model': 'A5,A5,A5,A5,A5,A5,A5,A1,A1,A1', + 'searchResponse.hits.Price': + '13990,14450,14580,10980,15980,13980,12790,14690,9950,12950', + 'searchResponse.hits.Mileage': + '163000,99990,151500,197335,144205,121015,89236,42800,93996,69454', + 'searchResponse.hits.DealerId': + '1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900', + 'searchResponse.hits.Derivative': + 'A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine', + 'searchResponse.page': 0, + 'searchResponse.merge.nbHitsMax': 1000, + 'searchResponse.merge.nbHitslimit': 1000, + 'searchResponse.merge.nbSearchers': 2, + 'searchResponse.merge.nbHitsProcessed': 10, + 'searchResponse.merge.personalization.impact': 100, + 'searchResponse.merge.personalization.enabled': true, + 'searchResponse.merge.personalization.profile.time': 0, + 'searchResponse.merge.personalization.profile.taskID': 0, + 'searchResponse.merge.personalization.percentile': 0, + 'searchResponse.merge.personalization.nbPersoScanned': 0, + 'searchResponse.merge.personalization.nbPersoSkipped': 0, + 'searchResponse.merge.personalization.nbPersoReranked': 0, + 'searchResponse.merge.personalization.nbPersoReturned': 0, + 'searchResponse.merge.personalization.nbPersoSelected': 0, + 'searchResponse.merge.personalization.nbRelevanceBuckets': 8, + 'searchResponse.merge.lastHitToDisplay': 10, + 'searchResponse.merge.nbHitsNumberingEnd': 10, + 'searchResponse.nbHits': 13, + 'searchResponse.nbPages': 2, + 'searchResponse.queryID': 'c5a176f8493236fcbfe69c3298d41659', + 'searchResponse.indexUsed': 'Germany_prod_stock_Finance_0', + 'searchResponse.serverUsed': 'd85-de-1.algolia.net', + 'searchResponse.hitsPerPage': 10, + 'searchResponse.parsedQuery': 'audi a5', + 'searchResponse.timeoutHits': false, + 'searchResponse.appliedRules.objectID': '1539345377254,1548767806494', + 'searchResponse.facets_stats.Doors.avg': 3, + 'searchResponse.facets_stats.Doors.max': 5, + 'searchResponse.facets_stats.Doors.min': 2, + 'searchResponse.facets_stats.Doors.sum': 48, + 'searchResponse.facets_stats.Price.avg': 13210, + 'searchResponse.facets_stats.Price.max': 15980, + 'searchResponse.facets_stats.Price.min': 9950, + 'searchResponse.facets_stats.Price.sum': 171730, + 'searchResponse.facets_stats.VrmYear.avg': 2013, + 'searchResponse.facets_stats.VrmYear.max': 2017, + 'searchResponse.facets_stats.VrmYear.min': 2009, + 'searchResponse.facets_stats.VrmYear.sum': 26171, + 'searchResponse.timeoutCounts': false, + }, + eventTime: 1567352811693, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: '1afmecIpsJm7D72aRTksxyODrwR', + Name: 'Segment', + DestinationDefinition: { + ID: '1afjjahf0X5lSyNze7Xh7aqJs11', + Name: 'SEGMENT', + DisplayName: 'Segment', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + writeKey: 'abcdefghijklmnopqrstuvwxyz', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.2', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.2', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index4.html', + }, + screen: { + density: 2, + }, + traits: { + age: 23, + email: 'testmp@email.com', + firstname: 'Test Transformer', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', + }, + event: 'JuhuSearchResults', + integrations: { + All: true, + }, + messageId: '584fde02-901a-4964-a4a0-4078b999d5b2', + originalTimestamp: '2020-04-17T14:55:31.372Z', + traits: { + searchResponse: { + hits: [ + { + Vrm: '026067', + Make: 'AUDI', + Year: 2010, + DName: 'PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH', + Model: 'A5', + Price: 13990, + Mileage: 163000, + DealerId: '1f338e5b-740f-6a38-bee1-ecff97acda69', + Derivative: 'A5 Cabrio 1.8 TFSI Cabrio', + }, + { + Vrm: '4527', + Make: 'AUDI', + Year: 2009, + DName: 'Stephan Walters - Autohaus Walters', + Model: 'A5', + Price: 14450, + Mileage: 99990, + DealerId: '68c7b5ae-8cf0-6595-9fd2-8644b9682838', + Derivative: 'A5 Cabrio 40 TFSI S tronic S line Cabrio', + }, + { + Vrm: '10007', + Make: 'AUDI', + Year: 2017, + DName: 'ps kfz-vertrieb GmbH', + Model: 'A5', + Price: 14580, + Mileage: 151500, + DealerId: 'a107e9a8-ac3c-6790-bb84-052dd5eed5e8', + Derivative: 'A5 Sportback 2.0 TDI ultra S tronic Coupe', + }, + { + Vrm: '031983', + Make: 'AUDI', + Year: 2012, + DName: 'Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt"', + Model: 'A5', + Price: 10980, + Mileage: 197335, + DealerId: '8a574713-2fbe-6f0c-b1a8-39ba7ee683fc', + Derivative: 'A5 2.0 TDI Sportback DPF multitronic Coupe', + }, + { + Vrm: '042012', + Make: 'AUDI', + Year: 2015, + DName: 'Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt"', + Model: 'A5', + Price: 15980, + Mileage: 144205, + DealerId: '8a574713-2fbe-6f0c-b1a8-39ba7ee683fc', + Derivative: 'A5 Coupe 35 TDI S tronic S line Coupe', + }, + { + Vrm: '002743', + Make: 'AUDI', + Year: 2010, + DName: 'Auto Mayer e.K.Inh. Skelcim Imeri', + Model: 'A5', + Price: 13980, + Mileage: 121015, + DealerId: '972258cb-132f-62a9-bd31-e02f9f70fa7b', + Derivative: 'A5 Cabrio 2.0 TDI DPF Cabrio', + }, + { + Vrm: '205536_3895', + Make: 'AUDI', + Year: 2011, + DName: 'Autohaus Löbau GmbH', + Model: 'A5', + Price: 12790, + Mileage: 89236, + DealerId: '9e697219-293e-63a0-884a-2d03f77bbbef', + Derivative: 'A5 2.0 TDI Sportback DPF Coupe', + }, + { + Vrm: '116265', + Make: 'AUDI', + Year: 2016, + DName: 'Elspass Autoland GmbH & Co. KG', + Model: 'A1', + Price: 14690, + Mileage: 42800, + DealerId: '00c1bf3f-b19d-6198-a509-c7f2ff73c29a', + Derivative: 'A1 1.0 TFSI ultra Limousine', + }, + { + Vrm: '010159', + Make: 'AUDI', + Year: 2013, + DName: 'Hermann Meyer GmbH & Co. KG', + Model: 'A1', + Price: 9950, + Mileage: 93996, + DealerId: '35d4fe7e-81a0-6e99-a575-6f62bffb8900', + Derivative: 'A1 1.4 TFSI Ambition Limousine', + }, + { + Vrm: '010178', + Make: 'AUDI', + Year: 2016, + DName: 'Hermann Meyer GmbH & Co. KG', + Model: 'A1', + Price: 12950, + Mileage: 69454, + DealerId: '35d4fe7e-81a0-6e99-a575-6f62bffb8900', + Derivative: 'A1 1.4 TFSI Sportback S tronic Attraction Limousine', + }, + ], + page: 0, + merge: { + nbHitsMax: 1000, + nbHitslimit: 1000, + nbSearchers: 2, + nbHitsProcessed: 10, + personalization: { + impact: 100, + enabled: true, + profile: { + time: 0, + facets: {}, + taskID: 0, + }, + percentile: 0, + nbPersoScanned: 0, + nbPersoSkipped: 0, + nbPersoReranked: 0, + nbPersoReturned: 0, + nbPersoSelected: 0, + nbRelevanceBuckets: 8, + }, + lastHitToDisplay: 10, + nbHitsNumberingEnd: 10, + }, + nbHits: 13, + nbPages: 2, + queryID: 'c5a176f8493236fcbfe69c3298d41659', + indexUsed: 'Germany_prod_stock_Finance_0', + serverUsed: 'd85-de-1.algolia.net', + hitsPerPage: 10, + parsedQuery: 'audi a5', + timeoutHits: false, + appliedRules: [ + { + objectID: '1539345377254', + }, + { + objectID: '1548767806494', + }, + ], + facets_stats: { + Doors: { + avg: 3, + max: 5, + min: 2, + sum: 48, + }, + Price: { + avg: 13210, + max: 15980, + min: 9950, + sum: 171730, + }, + VrmYear: { + avg: 2013, + max: 2017, + min: 2009, + sum: 26171, + }, + }, + timeoutCounts: false, + }, + }, + receivedAt: '2020-04-17T20:25:31.401+05:30', + request_ip: '[::1]:57365', + sentAt: '2020-04-17T14:55:31.372Z', + timestamp: '2020-04-17T20:25:31.401+05:30', + name: 'test page', + type: 'identify', + userId: 'user12345', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/identify', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + uniqueId: 'user12345', + properties: { + 'searchResponse.hits.Vrm': + '026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178', + 'searchResponse.hits.Make': 'AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI', + 'searchResponse.hits.Year': '2010,2009,2017,2012,2015,2010,2011,2016,2013,2016', + 'searchResponse.hits.DName': + 'PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt",Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG', + 'searchResponse.hits.Model': 'A5,A5,A5,A5,A5,A5,A5,A1,A1,A1', + 'searchResponse.hits.Price': + '13990,14450,14580,10980,15980,13980,12790,14690,9950,12950', + 'searchResponse.hits.Mileage': + '163000,99990,151500,197335,144205,121015,89236,42800,93996,69454', + 'searchResponse.hits.DealerId': + '1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900', + 'searchResponse.hits.Derivative': + 'A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine', + 'searchResponse.page': 0, + 'searchResponse.merge.nbHitsMax': 1000, + 'searchResponse.merge.nbHitslimit': 1000, + 'searchResponse.merge.nbSearchers': 2, + 'searchResponse.merge.nbHitsProcessed': 10, + 'searchResponse.merge.personalization.impact': 100, + 'searchResponse.merge.personalization.enabled': true, + 'searchResponse.merge.personalization.profile.time': 0, + 'searchResponse.merge.personalization.profile.taskID': 0, + 'searchResponse.merge.personalization.percentile': 0, + 'searchResponse.merge.personalization.nbPersoScanned': 0, + 'searchResponse.merge.personalization.nbPersoSkipped': 0, + 'searchResponse.merge.personalization.nbPersoReranked': 0, + 'searchResponse.merge.personalization.nbPersoReturned': 0, + 'searchResponse.merge.personalization.nbPersoSelected': 0, + 'searchResponse.merge.personalization.nbRelevanceBuckets': 8, + 'searchResponse.merge.lastHitToDisplay': 10, + 'searchResponse.merge.nbHitsNumberingEnd': 10, + 'searchResponse.nbHits': 13, + 'searchResponse.nbPages': 2, + 'searchResponse.queryID': 'c5a176f8493236fcbfe69c3298d41659', + 'searchResponse.indexUsed': 'Germany_prod_stock_Finance_0', + 'searchResponse.serverUsed': 'd85-de-1.algolia.net', + 'searchResponse.hitsPerPage': 10, + 'searchResponse.parsedQuery': 'audi a5', + 'searchResponse.timeoutHits': false, + 'searchResponse.appliedRules.objectID': '1539345377254,1548767806494', + 'searchResponse.facets_stats.Doors.avg': 3, + 'searchResponse.facets_stats.Doors.max': 5, + 'searchResponse.facets_stats.Doors.min': 2, + 'searchResponse.facets_stats.Doors.sum': 48, + 'searchResponse.facets_stats.Price.avg': 13210, + 'searchResponse.facets_stats.Price.max': 15980, + 'searchResponse.facets_stats.Price.min': 9950, + 'searchResponse.facets_stats.Price.sum': 171730, + 'searchResponse.facets_stats.VrmYear.avg': 2013, + 'searchResponse.facets_stats.VrmYear.max': 2017, + 'searchResponse.facets_stats.VrmYear.min': 2009, + 'searchResponse.facets_stats.VrmYear.sum': 26171, + 'searchResponse.timeoutCounts': false, + browser: 'Chrome', + browser_version: '80.0.3987.163', + device: 'Macintosh', + os: 'Mac OS', + }, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'user12345', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/alias', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + previousId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', + newId: 'user12345', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'user12345', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + anonymousId: '12345', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: 'abc', + title: 'Test Page', + url: 'http://localhost/tests/html/index4.html', + }, + }, + request_ip: '1.1.1.1', + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: '12345', + eventName: 'Page View ApplicationLoaded', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + browser: 'Chrome', + browser_version: '77.0.3865.90', + device: 'Macintosh', + os: 'Mac OS', + }, + eventTime: 1571051718299, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '12345', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + anonymousId: '12345', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: 'abc', + title: 'Test Page', + url: 'http://localhost/tests/html/index4.html', + }, + }, + request_ip: '1.1.1.1', + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: '12345', + eventName: 'Page View ApplicationLoaded', + properties: { + path: '/tests/html/index4.html', + referrer: '', + search: 'abc', + title: 'Test Page', + url: 'http://localhost/tests/html/index4.html', + browser: 'Chrome', + browser_version: '77.0.3865.90', + device: 'Macintosh', + os: 'Mac OS', + }, + eventTime: 1571051718299, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '12345', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 16', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + 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', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: 'abc', + title: 'Test Page', + url: 'http://localhost/tests/html/index4.html', + }, + }, + event: 'spin_result', + 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', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: 'test_user_id', + eventName: 'spin_result', + properties: { + path: '/tests/html/index4.html', + referrer: '', + search: 'abc', + title: 'Test Page', + url: 'http://localhost/tests/html/index4.html', + 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, + }, + eventTime: 1567352811693, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 17', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + 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', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: 'abc', + title: 'Test Page', + url: 'http://localhost/tests/html/index4.html', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + searchResponse: { + hits: [ + { + Vrm: '026067', + Make: 'AUDI', + Year: 2010, + DName: 'PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH', + Model: 'A5', + Price: 13990, + Mileage: 163000, + DealerId: '1f338e5b-740f-6a38-bee1-ecff97acda69', + Derivative: 'A5 Cabrio 1.8 TFSI Cabrio', + }, + { + Vrm: '4527', + Make: 'AUDI', + Year: 2009, + DName: 'Stephan Walters - Autohaus Walters', + Model: 'A5', + Price: 14450, + Mileage: 99990, + DealerId: '68c7b5ae-8cf0-6595-9fd2-8644b9682838', + Derivative: 'A5 Cabrio 40 TFSI S tronic S line Cabrio', + }, + { + Vrm: '10007', + Make: 'AUDI', + Year: 2017, + DName: 'ps kfz-vertrieb GmbH', + Model: 'A5', + Price: 14580, + Mileage: 151500, + DealerId: 'a107e9a8-ac3c-6790-bb84-052dd5eed5e8', + Derivative: 'A5 Sportback 2.0 TDI ultra S tronic Coupe', + }, + { + Vrm: '031983', + Make: 'AUDI', + Year: 2012, + DName: 'Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt"', + Model: 'A5', + Price: 10980, + Mileage: 197335, + DealerId: '8a574713-2fbe-6f0c-b1a8-39ba7ee683fc', + Derivative: 'A5 2.0 TDI Sportback DPF multitronic Coupe', + }, + { + Vrm: '042012', + Make: 'AUDI', + Year: 2015, + DName: 'Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt"', + Model: 'A5', + Price: 15980, + Mileage: 144205, + DealerId: '8a574713-2fbe-6f0c-b1a8-39ba7ee683fc', + Derivative: 'A5 Coupe 35 TDI S tronic S line Coupe', + }, + { + Vrm: '002743', + Make: 'AUDI', + Year: 2010, + DName: 'Auto Mayer e.K.Inh. Skelcim Imeri', + Model: 'A5', + Price: 13980, + Mileage: 121015, + DealerId: '972258cb-132f-62a9-bd31-e02f9f70fa7b', + Derivative: 'A5 Cabrio 2.0 TDI DPF Cabrio', + }, + { + Vrm: '205536_3895', + Make: 'AUDI', + Year: 2011, + DName: 'Autohaus Löbau GmbH', + Model: 'A5', + Price: 12790, + Mileage: 89236, + DealerId: '9e697219-293e-63a0-884a-2d03f77bbbef', + Derivative: 'A5 2.0 TDI Sportback DPF Coupe', + }, + { + Vrm: '116265', + Make: 'AUDI', + Year: 2016, + DName: 'Elspass Autoland GmbH & Co. KG', + Model: 'A1', + Price: 14690, + Mileage: 42800, + DealerId: '00c1bf3f-b19d-6198-a509-c7f2ff73c29a', + Derivative: 'A1 1.0 TFSI ultra Limousine', + }, + { + Vrm: '010159', + Make: 'AUDI', + Year: 2013, + DName: 'Hermann Meyer GmbH & Co. KG', + Model: 'A1', + Price: 9950, + Mileage: 93996, + DealerId: '35d4fe7e-81a0-6e99-a575-6f62bffb8900', + Derivative: 'A1 1.4 TFSI Ambition Limousine', + }, + { + Vrm: '010178', + Make: 'AUDI', + Year: 2016, + DName: 'Hermann Meyer GmbH & Co. KG', + Model: 'A1', + Price: 12950, + Mileage: 69454, + DealerId: '35d4fe7e-81a0-6e99-a575-6f62bffb8900', + Derivative: 'A1 1.4 TFSI Sportback S tronic Attraction Limousine', + }, + ], + page: 0, + merge: { + nbHitsMax: 1000, + nbHitslimit: 1000, + nbSearchers: 2, + nbHitsProcessed: 10, + personalization: { + impact: 100, + enabled: true, + profile: { + time: 0, + facets: {}, + taskID: 0, + }, + percentile: 0, + nbPersoScanned: 0, + nbPersoSkipped: 0, + nbPersoReranked: 0, + nbPersoReturned: 0, + nbPersoSelected: 0, + nbRelevanceBuckets: 8, + }, + lastHitToDisplay: 10, + nbHitsNumberingEnd: 10, + }, + nbHits: 13, + nbPages: 2, + queryID: 'c5a176f8493236fcbfe69c3298d41659', + indexUsed: 'Germany_prod_stock_Finance_0', + serverUsed: 'd85-de-1.algolia.net', + hitsPerPage: 10, + parsedQuery: 'audi a5', + timeoutHits: false, + appliedRules: [ + { + objectID: '1539345377254', + }, + { + objectID: '1548767806494', + }, + ], + facets_stats: { + Doors: { + avg: 3, + max: 5, + min: 2, + sum: 48, + }, + Price: { + avg: 13210, + max: 15980, + min: 9950, + sum: 171730, + }, + VrmYear: { + avg: 2013, + max: 2017, + min: 2009, + sum: 26171, + }, + }, + timeoutCounts: false, + }, + }, + userId: 'test_user_id', + timestamp: '2019-09-01T15:46:51.693Z', + type: 'track', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: 'test_user_id', + eventName: 'spin_result', + properties: { + path: '/tests/html/index4.html', + referrer: '', + search: 'abc', + title: 'Test Page', + url: 'http://localhost/tests/html/index4.html', + 'searchResponse.hits.Vrm': + '026067,4527,10007,031983,042012,002743,205536_3895,116265,010159,010178', + 'searchResponse.hits.Make': 'AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI,AUDI', + 'searchResponse.hits.Year': '2010,2009,2017,2012,2015,2010,2011,2016,2013,2016', + 'searchResponse.hits.DName': + 'PISCA PROFESSIONAL INDUSTRIAL SOLUTION Consulting & Acquisition GmbH,Stephan Walters - Autohaus Walters,ps kfz-vertrieb GmbH,Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt",Hüseyin Zan Fahrzeughandel "Autopark Grendelmatt",Auto Mayer e.K.Inh. Skelcim Imeri,Autohaus Löbau GmbH,Elspass Autoland GmbH & Co. KG,Hermann Meyer GmbH & Co. KG,Hermann Meyer GmbH & Co. KG', + 'searchResponse.hits.Model': 'A5,A5,A5,A5,A5,A5,A5,A1,A1,A1', + 'searchResponse.hits.Price': + '13990,14450,14580,10980,15980,13980,12790,14690,9950,12950', + 'searchResponse.hits.Mileage': + '163000,99990,151500,197335,144205,121015,89236,42800,93996,69454', + 'searchResponse.hits.DealerId': + '1f338e5b-740f-6a38-bee1-ecff97acda69,68c7b5ae-8cf0-6595-9fd2-8644b9682838,a107e9a8-ac3c-6790-bb84-052dd5eed5e8,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,8a574713-2fbe-6f0c-b1a8-39ba7ee683fc,972258cb-132f-62a9-bd31-e02f9f70fa7b,9e697219-293e-63a0-884a-2d03f77bbbef,00c1bf3f-b19d-6198-a509-c7f2ff73c29a,35d4fe7e-81a0-6e99-a575-6f62bffb8900,35d4fe7e-81a0-6e99-a575-6f62bffb8900', + 'searchResponse.hits.Derivative': + 'A5 Cabrio 1.8 TFSI Cabrio,A5 Cabrio 40 TFSI S tronic S line Cabrio,A5 Sportback 2.0 TDI ultra S tronic Coupe,A5 2.0 TDI Sportback DPF multitronic Coupe,A5 Coupe 35 TDI S tronic S line Coupe,A5 Cabrio 2.0 TDI DPF Cabrio,A5 2.0 TDI Sportback DPF Coupe,A1 1.0 TFSI ultra Limousine,A1 1.4 TFSI Ambition Limousine,A1 1.4 TFSI Sportback S tronic Attraction Limousine', + 'searchResponse.page': 0, + 'searchResponse.merge.nbHitsMax': 1000, + 'searchResponse.merge.nbHitslimit': 1000, + 'searchResponse.merge.nbSearchers': 2, + 'searchResponse.merge.nbHitsProcessed': 10, + 'searchResponse.merge.personalization.impact': 100, + 'searchResponse.merge.personalization.enabled': true, + 'searchResponse.merge.personalization.profile.time': 0, + 'searchResponse.merge.personalization.profile.taskID': 0, + 'searchResponse.merge.personalization.percentile': 0, + 'searchResponse.merge.personalization.nbPersoScanned': 0, + 'searchResponse.merge.personalization.nbPersoSkipped': 0, + 'searchResponse.merge.personalization.nbPersoReranked': 0, + 'searchResponse.merge.personalization.nbPersoReturned': 0, + 'searchResponse.merge.personalization.nbPersoSelected': 0, + 'searchResponse.merge.personalization.nbRelevanceBuckets': 8, + 'searchResponse.merge.lastHitToDisplay': 10, + 'searchResponse.merge.nbHitsNumberingEnd': 10, + 'searchResponse.nbHits': 13, + 'searchResponse.nbPages': 2, + 'searchResponse.queryID': 'c5a176f8493236fcbfe69c3298d41659', + 'searchResponse.indexUsed': 'Germany_prod_stock_Finance_0', + 'searchResponse.serverUsed': 'd85-de-1.algolia.net', + 'searchResponse.hitsPerPage': 10, + 'searchResponse.parsedQuery': 'audi a5', + 'searchResponse.timeoutHits': false, + 'searchResponse.appliedRules.objectID': '1539345377254,1548767806494', + 'searchResponse.facets_stats.Doors.avg': 3, + 'searchResponse.facets_stats.Doors.max': 5, + 'searchResponse.facets_stats.Doors.min': 2, + 'searchResponse.facets_stats.Doors.sum': 48, + 'searchResponse.facets_stats.Price.avg': 13210, + 'searchResponse.facets_stats.Price.max': 15980, + 'searchResponse.facets_stats.Price.min': 9950, + 'searchResponse.facets_stats.Price.sum': 171730, + 'searchResponse.facets_stats.VrmYear.avg': 2013, + 'searchResponse.facets_stats.VrmYear.max': 2017, + 'searchResponse.facets_stats.VrmYear.min': 2009, + 'searchResponse.facets_stats.VrmYear.sum': 26171, + 'searchResponse.timeoutCounts': false, + }, + eventTime: 1567352811693, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 18', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + 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', + }, + page: { + path: '/tests/html/index4.html', + referrer: '', + search: 'abc', + title: 'Test Page', + url: 'http://localhost/tests/html/index4.html', + }, + }, + event: 'spin_result', + integrations: { + AM: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + searchResponse: { + primitiveArr1: ['abc', 'def'], + primitiveArr2: [1, 2, 3], + arrOfArr: [ + ['abc', 'def'], + [1, 2, 3], + ], + emptyArr: [], + complexArr1: [ + { + crr1K1: { + discardK1: 'discardV1', + }, + }, + ], + }, + }, + userId: 'test_user_id', + timestamp: '2019-09-01T15:46:51.693Z', + type: 'track', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: 'test_user_id', + eventName: 'spin_result', + properties: { + path: '/tests/html/index4.html', + referrer: '', + search: 'abc', + title: 'Test Page', + url: 'http://localhost/tests/html/index4.html', + 'searchResponse.primitiveArr1': 'abc,def', + 'searchResponse.primitiveArr2': '1,2,3', + }, + eventTime: 1567352811693, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 19', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + 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', + }, + campaign: {}, + }, + event: 'spin_result', + 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', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: 'test_user_id', + eventName: 'spin_result', + 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, + }, + eventTime: 1567352811693, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'indicative', + description: 'Test 20', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: 'abcde', + }, + }, + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'kolkata', + country: 'India', + }, + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'Product Clicked', + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + properties: { + revenue: '30', + currency: 'USD', + quantity: '5', + test_key_2: { + test_child_key_1: 'test_child_value_1', + }, + price: '58.0', + }, + originalTimestamp: '2020-05-25T18:37:10.917Z', + type: 'track', + userId: 'sample_user_id', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: 'sample_user_id', + eventName: 'Product Clicked', + properties: { + revenue: '30', + currency: 'USD', + quantity: '5', + 'test_key_2.test_child_key_1': 'test_child_value_1', + price: '58.0', + device: 'Android 9', + os: 'Android', + }, + eventTime: 1590431830917, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'sample_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/indicative/router/data.ts b/test/integrations/destinations/indicative/router/data.ts index 4791ecc369..037d5d5c3d 100644 --- a/test/integrations/destinations/indicative/router/data.ts +++ b/test/integrations/destinations/indicative/router/data.ts @@ -1,313 +1,314 @@ export const data = [ - { - name: 'fb', - description: 'Test 0', - feature: 'router', - module: 'destination', - version: 'v0', - input: { - request: { - body: { - input: [ - { - "destination": { - "Config": { - "apiKey": "abcde" - } - }, - "metadata": { - "jobId": 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" - } - }, - "event": "spin_result", - "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": { - "apiKey": "abcde" - } - }, - "metadata": { - "jobId": 2 - }, - "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", - "anonymousId": "anon_id", - "userId": "123456", - "type": "identify", - "traits": { - "anonymousId": "anon_id", - "email": "sayan@gmail.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - }, - ], - destType: 'indicative', + { + name: 'fb', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + apiKey: 'abcde', }, + }, + metadata: { + jobId: 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', + }, + }, + event: 'spin_result', + 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: { + apiKey: 'abcde', + }, + }, + metadata: { + jobId: 2, + }, + 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', + anonymousId: 'anon_id', + userId: '123456', + type: 'identify', + traits: { + anonymousId: 'anon_id', + email: 'sayan@gmail.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, }, + ], + destType: 'indicative', }, - output: { - response: { - status: 200, - body: { - output: [ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/event", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "eventUniqueId": "test_user_id", - "eventName": "spin_result", - "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 - }, - "eventTime": 1567352811693, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "abcde" - } - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/identify", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "uniqueId": "123456", - "properties": { - "email": "sayan@gmail.com", - "address.city": "kolkata", - "address.country": "India", - "address.postalCode": 712136, - "address.state": "WB", - "address.street": "", - "browser": "Chrome", - "browser_version": "77.0.3865.90", - "device": "Macintosh", - "os": "Mac OS" - }, - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.indicative.com/service/alias", - "headers": { - "Indicative-Client": "RudderStack", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "previousId": "anon_id", - "newId": "123456", - "apiKey": "abcde" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "123456" - } - ], - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "abcde" - } - } - }, - ], + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/event', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + eventUniqueId: 'test_user_id', + eventName: 'spin_result', + 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, + }, + eventTime: 1567352811693, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + ], + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + apiKey: 'abcde', + }, + }, + }, + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/identify', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + uniqueId: '123456', + properties: { + email: 'sayan@gmail.com', + 'address.city': 'kolkata', + 'address.country': 'India', + 'address.postalCode': 712136, + 'address.state': 'WB', + 'address.street': '', + browser: 'Chrome', + browser_version: '77.0.3865.90', + device: 'Macintosh', + os: 'Mac OS', + }, + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '123456', + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.indicative.com/service/alias', + headers: { + 'Indicative-Client': 'RudderStack', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + previousId: 'anon_id', + newId: '123456', + apiKey: 'abcde', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '123456', + }, + ], + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + apiKey: 'abcde', }, + }, }, + ], }, + }, }, + }, ]; diff --git a/test/integrations/destinations/intercom/dataDelivery/data.ts b/test/integrations/destinations/intercom/dataDelivery/data.ts new file mode 100644 index 0000000000..23bcdc6af2 --- /dev/null +++ b/test/integrations/destinations/intercom/dataDelivery/data.ts @@ -0,0 +1,90 @@ +export const data = [ + { + "name": "intercom", + "description": "Test 0", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.intercom.io/users/test1", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer intercomApiKey", + "Accept": "application/json", + "Intercom-Version": "1.4" + }, + "params": {}, + "body": { + "JSON": { + "email": "test_1@test.com", + "phone": "9876543210", + "name": "Test Name", + "signed_up_at": 1601493060, + "last_seen_user_agent": "unknown", + "update_last_request_at": true, + "user_id": "test_user_id_1", + "custom_attributes": { + "anonymousId": "58b21c2d-f8d5-4410-a2d0-b268a26b7e33", + "key1": "value1", + "address.city": "Kolkata", + "address.state": "West Bengal", + "originalArray[0].nested_field": "nested value", + "originalArray[0].tags[0]": "tag_1", + "originalArray[0].tags[1]": "tag_2", + "originalArray[0].tags[2]": "tag_3", + "originalArray[1].nested_field": "nested value", + "originalArray[1].tags[0]": "tag_1", + "originalArray[2].nested_field": "nested value" + } + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "58b21c2d-f8d5-4410-a2d0-b268a26b7e33" + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 500, + "body": { + "output": { + "status": 500, + "message": "[Intercom Response Handler] Request failed for destination intercom with status: 408", + "destinationResponse": { + "response": { + "type": "error.list", + "request_id": "000on04msi4jpk7d3u60", + "errors": [ + { + "code": "Request Timeout", + "message": "The server would not wait any longer for the client" + } + ] + }, + "status": 408 + }, + "statTags": { + "destType": "INTERCOM", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "retryable", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/intercom/network.ts b/test/integrations/destinations/intercom/network.ts index 9f064d63ea..e3bba3f260 100644 --- a/test/integrations/destinations/intercom/network.ts +++ b/test/integrations/destinations/intercom/network.ts @@ -90,4 +90,56 @@ const deleteNwData = [ }, }, ]; -export const networkCallsData = [...deleteNwData]; +const deliveryCallsData = [ + { + httpReq: { + url: 'https://api.intercom.io/users/test1', + data: { + email: 'test_1@test.com', + phone: '9876543210', + name: 'Test Name', + signed_up_at: 1601493060, + last_seen_user_agent: 'unknown', + update_last_request_at: true, + user_id: 'test_user_id_1', + custom_attributes: { + anonymousId: '58b21c2d-f8d5-4410-a2d0-b268a26b7e33', + key1: 'value1', + 'address.city': 'Kolkata', + 'address.state': 'West Bengal', + 'originalArray[0].nested_field': 'nested value', + 'originalArray[0].tags[0]': 'tag_1', + 'originalArray[0].tags[1]': 'tag_2', + 'originalArray[0].tags[2]': 'tag_3', + 'originalArray[1].nested_field': 'nested value', + 'originalArray[1].tags[0]': 'tag_1', + 'originalArray[2].nested_field': 'nested value', + }, + }, + params: {}, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer intercomApiKey', + Accept: 'application/json', + 'Intercom-Version': '1.4', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + type: 'error.list', + request_id: '000on04msi4jpk7d3u60', + errors: [ + { + code: 'Request Timeout', + message: 'The server would not wait any longer for the client', + }, + ], + }, + status: 408, + }, + }, +]; +export const networkCallsData = [...deleteNwData, ...deliveryCallsData]; + diff --git a/test/integrations/destinations/kafka/processor/data.ts b/test/integrations/destinations/kafka/processor/data.ts index 6284b88b84..1d5ce820d0 100644 --- a/test/integrations/destinations/kafka/processor/data.ts +++ b/test/integrations/destinations/kafka/processor/data.ts @@ -1,795 +1,795 @@ export const data = [ - { - "name": "kafka", - "description": "Test case with null destination config", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": null, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": true - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "metadata": { - "jobId": "jobId 0", - "rudderId": "randomRudderId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "jobId": "jobId 0", - "rudderId": "randomRudderId" - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": true - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "kafka", - "description": "Test case without userId", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": null, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": true - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track" - }, - "metadata": { - "jobId": "jobId 1", - "rudderId": "randomRudderId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "jobId": "jobId 1", - "rudderId": "randomRudderId" - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": true - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track" - }, - "userId": "anonymousId" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "kafka", - "description": "Test case with null dest config and avro schema", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": null, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": { - "schemaId": "schema001" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "metadata": { - "jobId": "jobId 2", - "rudderId": "randomRudderId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "jobId": "jobId 2", - "rudderId": "randomRudderId" - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": { - "schemaId": "schema001" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId", - "schemaId": "schema001" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "kafka", - "description": "Test case with null dest config and integrations topic", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": null, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": { - "topic": "specific-topic" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "metadata": { - "jobId": "jobId 3", - "rudderId": "randomRudderId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "jobId": "jobId 3", - "rudderId": "randomRudderId<<>>specific-topic" - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "integrations": { - "Kafka": { - "topic": "specific-topic" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId", - "topic": "specific-topic" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "kafka", - "description": "Test case with dest config with default topic", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": { - "topic": "default-topic" - }, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "metadata": { - "jobId": "jobId 4", - "rudderId": "randomRudderId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "jobId": "jobId 4", - "rudderId": "randomRudderId<<>>default-topic" - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "event", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId", - "topic": "default-topic" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "kafka", - "description": "Test case with dest config with event type topic", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": { - "topic": "default-topic", - "enableMultiTopic": true, - "eventTypeToTopicMap": [ - { - "from": "identify", - "to": "identify-topic" - }, - { - "from": "page", - "to": "page-topic" - }, - { - "from": "screen", - "to": "screen-topic" - }, - { - "from": "group", - "to": "group-topic" - }, - { - "from": "alias", - "to": "alias-topic" - } - ], - "eventToTopicMap": [ - { - "from": "Product Added", - "to": "product-added" - } - ] - }, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "identify", - "userId": "userId" - }, - "metadata": { - "jobId": "jobId 5", - "rudderId": "randomRudderId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "jobId": "jobId 5", - "rudderId": "randomRudderId<<>>identify-topic" - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "identify", - "userId": "userId" - }, - "userId": "userId", - "topic": "identify-topic" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "kafka", - "description": "Test case with dest config with event name topic", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": { - "topic": "default-topic", - "enableMultiTopic": true, - "eventTypeToTopicMap": [ - { - "from": "identify", - "to": "identify-topic" - }, - { - "from": "page", - "to": "page-topic" - }, - { - "from": "screen", - "to": "screen-topic" - }, - { - "from": "group", - "to": "group-topic" - }, - { - "from": "alias", - "to": "alias-topic" - } - ], - "eventToTopicMap": [ - { - "from": "Product Added", - "to": "product-added" - } - ] - }, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "Product Added", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "metadata": { - "jobId": "jobId 6", - "rudderId": "randomRudderId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "jobId": "jobId 6", - "rudderId": "randomRudderId<<>>product-added" - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "Product Added", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId", - "topic": "product-added" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "kafka", - "description": "Test case with dest config with event name topic no match", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "ID": "kafkadestinationid", - "Name": "Kafka", - "Config": { - "topic": "default-topic", - "enableMultiTopic": true, - "eventTypeToTopicMap": [ - { - "from": "identify", - "to": "identify-topic" - }, - { - "from": "page", - "to": "page-topic" - }, - { - "from": "screen", - "to": "screen-topic" - }, - { - "from": "group", - "to": "group-topic" - }, - { - "from": "alias", - "to": "alias-topic" - } - ], - "eventToTopicMap": [ - { - "from": "Product Added", - "to": "product-added" - } - ] - }, - "Enabled": true, - "IsProcessorEnabled": true - }, - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "Product Added No match", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "metadata": { - "jobId": "jobId 7", - "rudderId": "randomRudderId" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "metadata": { - "jobId": "jobId 7", - "rudderId": "randomRudderId<<>>default-topic" - }, - "output": { - "message": { - "anonymousId": "anonymousId", - "context": { - "library": { - "name": "analytics-go", - "version": "3.0.0" - } - }, - "event": "Product Added No match", - "messageId": "messageId", - "originalTimestamp": "2019-07-18T15:00:00Z", - "properties": { - "key": "value" - }, - "receivedAt": "2019-07-18T15:00:00Z", - "sentAt": "2019-07-18T15:00:00Z", - "timestamp": "2019-07-18T15:00:00Z", - "type": "track", - "userId": "userId" - }, - "userId": "userId", - "topic": "default-topic" - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'kafka', + description: 'Test case with null destination config', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: 'kafkadestinationid', + Name: 'Kafka', + Config: null, + Enabled: true, + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'event', + integrations: { + Kafka: true, + }, + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + metadata: { + jobId: 'jobId 0', + rudderId: 'randomRudderId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 'jobId 0', + rudderId: 'randomRudderId', + }, + output: { + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'event', + integrations: { + Kafka: true, + }, + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + userId: 'userId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'kafka', + description: 'Test case without userId', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: 'kafkadestinationid', + Name: 'Kafka', + Config: null, + Enabled: true, + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'event', + integrations: { + Kafka: true, + }, + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + }, + metadata: { + jobId: 'jobId 1', + rudderId: 'randomRudderId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 'jobId 1', + rudderId: 'randomRudderId', + }, + output: { + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'event', + integrations: { + Kafka: true, + }, + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + }, + userId: 'anonymousId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'kafka', + description: 'Test case with null dest config and avro schema', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: 'kafkadestinationid', + Name: 'Kafka', + Config: null, + Enabled: true, + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'event', + integrations: { + Kafka: { + schemaId: 'schema001', + }, + }, + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + metadata: { + jobId: 'jobId 2', + rudderId: 'randomRudderId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 'jobId 2', + rudderId: 'randomRudderId', + }, + output: { + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'event', + integrations: { + Kafka: { + schemaId: 'schema001', + }, + }, + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + userId: 'userId', + schemaId: 'schema001', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'kafka', + description: 'Test case with null dest config and integrations topic', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: 'kafkadestinationid', + Name: 'Kafka', + Config: null, + Enabled: true, + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'event', + integrations: { + Kafka: { + topic: 'specific-topic', + }, + }, + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + metadata: { + jobId: 'jobId 3', + rudderId: 'randomRudderId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 'jobId 3', + rudderId: 'randomRudderId<<>>specific-topic', + }, + output: { + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'event', + integrations: { + Kafka: { + topic: 'specific-topic', + }, + }, + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + userId: 'userId', + topic: 'specific-topic', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'kafka', + description: 'Test case with dest config with default topic', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: 'kafkadestinationid', + Name: 'Kafka', + Config: { + topic: 'default-topic', + }, + Enabled: true, + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'event', + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + metadata: { + jobId: 'jobId 4', + rudderId: 'randomRudderId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 'jobId 4', + rudderId: 'randomRudderId<<>>default-topic', + }, + output: { + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'event', + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + userId: 'userId', + topic: 'default-topic', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'kafka', + description: 'Test case with dest config with event type topic', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: 'kafkadestinationid', + Name: 'Kafka', + Config: { + topic: 'default-topic', + enableMultiTopic: true, + eventTypeToTopicMap: [ + { + from: 'identify', + to: 'identify-topic', + }, + { + from: 'page', + to: 'page-topic', + }, + { + from: 'screen', + to: 'screen-topic', + }, + { + from: 'group', + to: 'group-topic', + }, + { + from: 'alias', + to: 'alias-topic', + }, + ], + eventToTopicMap: [ + { + from: 'Product Added', + to: 'product-added', + }, + ], + }, + Enabled: true, + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'identify', + userId: 'userId', + }, + metadata: { + jobId: 'jobId 5', + rudderId: 'randomRudderId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 'jobId 5', + rudderId: 'randomRudderId<<>>identify-topic', + }, + output: { + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'identify', + userId: 'userId', + }, + userId: 'userId', + topic: 'identify-topic', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'kafka', + description: 'Test case with dest config with event name topic', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: 'kafkadestinationid', + Name: 'Kafka', + Config: { + topic: 'default-topic', + enableMultiTopic: true, + eventTypeToTopicMap: [ + { + from: 'identify', + to: 'identify-topic', + }, + { + from: 'page', + to: 'page-topic', + }, + { + from: 'screen', + to: 'screen-topic', + }, + { + from: 'group', + to: 'group-topic', + }, + { + from: 'alias', + to: 'alias-topic', + }, + ], + eventToTopicMap: [ + { + from: 'Product Added', + to: 'product-added', + }, + ], + }, + Enabled: true, + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'Product Added', + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + metadata: { + jobId: 'jobId 6', + rudderId: 'randomRudderId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 'jobId 6', + rudderId: 'randomRudderId<<>>product-added', + }, + output: { + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'Product Added', + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + userId: 'userId', + topic: 'product-added', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'kafka', + description: 'Test case with dest config with event name topic no match', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + ID: 'kafkadestinationid', + Name: 'Kafka', + Config: { + topic: 'default-topic', + enableMultiTopic: true, + eventTypeToTopicMap: [ + { + from: 'identify', + to: 'identify-topic', + }, + { + from: 'page', + to: 'page-topic', + }, + { + from: 'screen', + to: 'screen-topic', + }, + { + from: 'group', + to: 'group-topic', + }, + { + from: 'alias', + to: 'alias-topic', + }, + ], + eventToTopicMap: [ + { + from: 'Product Added', + to: 'product-added', + }, + ], + }, + Enabled: true, + IsProcessorEnabled: true, + }, + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'Product Added No match', + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + metadata: { + jobId: 'jobId 7', + rudderId: 'randomRudderId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 'jobId 7', + rudderId: 'randomRudderId<<>>default-topic', + }, + output: { + message: { + anonymousId: 'anonymousId', + context: { + library: { + name: 'analytics-go', + version: '3.0.0', + }, + }, + event: 'Product Added No match', + messageId: 'messageId', + originalTimestamp: '2019-07-18T15:00:00Z', + properties: { + key: 'value', + }, + receivedAt: '2019-07-18T15:00:00Z', + sentAt: '2019-07-18T15:00:00Z', + timestamp: '2019-07-18T15:00:00Z', + type: 'track', + userId: 'userId', + }, + userId: 'userId', + topic: 'default-topic', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/keen/processor/data.ts b/test/integrations/destinations/keen/processor/data.ts index 9e4f164beb..c785decb8e 100644 --- a/test/integrations/destinations/keen/processor/data.ts +++ b/test/integrations/destinations/keen/processor/data.ts @@ -1,482 +1,489 @@ export const data = [ - { - "name": "keen", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "type": "page", - "context": null, - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "traits": { - "email": "test@gmail.com", - "anonymousId": "anon-id" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com", - "userId": "12345", - "keen": { - "addons": [] - }, - "anonymousId": "00000000000000000000000000", - "user": { - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com" - }, - "userId": "12345" - } - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page", - "userId": "12345", - "headers": { - "Content-Type": "application/json", - "Authorization": "xyz" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "keen", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "anonymousId": "123456", - "email": "sayan@gmail.com", - "address": { - "city": "kolkata", - "country": "India", - "postalCode": 712136, - "state": "WB", - "street": "" - }, - "ip": "0.0.0.0", - "age": 26 - }, - "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 - } - }, - "type": "identify", - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "anonymousId": "123456", - "userId": "123456", - "integrations": { - "All": true - }, - "traits": { - "anonymousId": "my-anon-id", - "email": "test@gmail.com", - "address": { - "city": "kolkata-1", - "country": "US", - "postalCode": 712136, - "state": "CA", - "street": "" - } - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "error": "Event type identify is not supported", - "statTags": { - "destType": "KEEN", - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "feature": "processor", - "implementation": "native", - "module": "destination" - }, - "statusCode": 400 - } - ] - } - } - }, - { - "name": "keen", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "sayan@gmail.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "traits": { - "email": "test@gmail.com", - "anonymousId": "anon-id" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "search": "abc", - "request_ip": "0.0.0.0", - "title": "Test Page", - "url": "www.rudderlabs.com", - "referrer": "Rudder", - "userId": "12345", - "keen": { - "addons": [ - { - "input": { - "ip": "request_ip" - }, - "name": "keen:ip_to_geo", - "output": "ip_geo_info" - }, - { - "input": { - "ua_string": "user_agent" - }, - "name": "keen:ua_parser", - "output": "parsed_user_agent" - } - ] - }, - "anonymousId": "00000000000000000000000000", - "user": { - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com" - }, - "userId": "12345" - }, - "path": "/test", - "user_agent": "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" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page", - "userId": "12345", - "headers": { - "Content-Type": "application/json", - "Authorization": "xyz" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "keen", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "sayan@gmail.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "test track event", - "request_ip": "1.1.1.1", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "traits": { - "email": "test@gmail.com", - "anonymousId": "anon-id" - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "request_ip": "1.1.1.1", - "user_time_spent": 50000, - "userId": "12345", - "keen": { - "addons": [ - { - "input": { - "ip": "request_ip" - }, - "name": "keen:ip_to_geo", - "output": "ip_geo_info" - }, - { - "input": { - "ua_string": "user_agent" - }, - "name": "keen:ua_parser", - "output": "parsed_user_agent" - } - ] - }, - "anonymousId": "00000000000000000000000000", - "user": { - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com" - }, - "userId": "12345" - }, - "user_agent": "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" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.keen.io/3.0/projects/abcde/events/test track event", - "userId": "12345", - "headers": { - "Content-Type": "application/json", - "Authorization": "xyz" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'keen', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + type: 'page', + context: null, + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + traits: { + email: 'test@gmail.com', + anonymousId: 'anon-id', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + projectID: 'abcde', + writeKey: 'xyz', + ipAddon: true, + uaAddon: true, + urlAddon: true, + referrerAddon: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + userId: '12345', + keen: { + addons: [], + }, + anonymousId: '00000000000000000000000000', + user: { + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + }, + userId: '12345', + }, + }, + FORM: {}, + }, + files: {}, + endpoint: + 'https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page', + userId: '12345', + headers: { + 'Content-Type': 'application/json', + Authorization: 'xyz', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'keen', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'sayan@gmail.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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, + }, + }, + type: 'identify', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + userId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'my-anon-id', + email: 'test@gmail.com', + address: { + city: 'kolkata-1', + country: 'US', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + projectID: 'abcde', + writeKey: 'xyz', + ipAddon: true, + uaAddon: true, + urlAddon: true, + referrerAddon: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Event type identify is not supported', + statTags: { + destType: 'KEEN', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'keen', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + traits: { + email: 'test@gmail.com', + anonymousId: 'anon-id', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + projectID: 'abcde', + writeKey: 'xyz', + ipAddon: true, + uaAddon: true, + urlAddon: true, + referrerAddon: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + search: 'abc', + request_ip: '0.0.0.0', + title: 'Test Page', + url: 'www.rudderlabs.com', + referrer: 'Rudder', + userId: '12345', + keen: { + addons: [ + { + input: { + ip: 'request_ip', + }, + name: 'keen:ip_to_geo', + output: 'ip_geo_info', + }, + { + input: { + ua_string: 'user_agent', + }, + name: 'keen:ua_parser', + output: 'parsed_user_agent', + }, + ], + }, + anonymousId: '00000000000000000000000000', + user: { + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + }, + userId: '12345', + }, + path: '/test', + user_agent: + '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', + }, + FORM: {}, + }, + files: {}, + endpoint: + 'https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page', + userId: '12345', + headers: { + 'Content-Type': 'application/json', + Authorization: 'xyz', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'keen', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + anonymousId: '12345', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'test track event', + request_ip: '1.1.1.1', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + traits: { + email: 'test@gmail.com', + anonymousId: 'anon-id', + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + projectID: 'abcde', + writeKey: 'xyz', + ipAddon: true, + uaAddon: true, + urlAddon: true, + referrerAddon: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + request_ip: '1.1.1.1', + user_time_spent: 50000, + userId: '12345', + keen: { + addons: [ + { + input: { + ip: 'request_ip', + }, + name: 'keen:ip_to_geo', + output: 'ip_geo_info', + }, + { + input: { + ua_string: 'user_agent', + }, + name: 'keen:ua_parser', + output: 'parsed_user_agent', + }, + ], + }, + anonymousId: '00000000000000000000000000', + user: { + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + }, + userId: '12345', + }, + user_agent: + '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', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://api.keen.io/3.0/projects/abcde/events/test track event', + userId: '12345', + headers: { + 'Content-Type': 'application/json', + Authorization: 'xyz', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/keen/router/data.ts b/test/integrations/destinations/keen/router/data.ts index b9deb365d2..d46d2363e2 100644 --- a/test/integrations/destinations/keen/router/data.ts +++ b/test/integrations/destinations/keen/router/data.ts @@ -1,303 +1,308 @@ export const data = [ - { - name: 'fb', - description: 'Test 0', - feature: 'router', - module: 'destination', - version: 'v0', - input: { - request: { + { + name: 'fb', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + anonymousId: '12345', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'test track event', + request_ip: '1.1.1.1', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + traits: { + email: 'test@gmail.com', + anonymousId: 'anon-id', + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + projectID: 'abcde', + writeKey: 'xyz', + ipAddon: true, + uaAddon: true, + urlAddon: true, + referrerAddon: true, + }, + }, + }, + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'sayan@gmail.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'page', + messageId: '5e10d13a-bf9a-44bf-b884-43a9e591ea71', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T11:15:18.299Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + properties: { + path: '/test', + referrer: 'Rudder', + search: 'abc', + title: 'Test Page', + url: 'www.rudderlabs.com', + }, + traits: { + email: 'test@gmail.com', + anonymousId: 'anon-id', + }, + integrations: { + All: true, + }, + name: 'ApplicationLoaded', + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + projectID: 'abcde', + writeKey: 'xyz', + ipAddon: true, + uaAddon: true, + urlAddon: true, + referrerAddon: true, + }, + }, + }, + ], + destType: 'keen', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { body: { - input: [ + XML: {}, + JSON_ARRAY: {}, + JSON: { + user_actual_id: 12345, + user_actual_role: 'system_admin', + request_ip: '1.1.1.1', + user_time_spent: 50000, + userId: '12345', + keen: { + addons: [ { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "sayan@gmail.com", - "anonymousId": "12345" - }, - "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", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - } - }, - "type": "track", - "messageId": "ec5481b6-a926-4d2e-b293-0b3a77c4d3be", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.300Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "event": "test track event", - "request_ip": "1.1.1.1", - "properties": { - "user_actual_role": "system_admin", - "user_actual_id": 12345, - "user_time_spent": 50000 - }, - "integrations": { - "All": true - }, - "traits": { - "email": "test@gmail.com", - "anonymousId": "anon-id" - }, - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } + input: { + ip: 'request_ip', + }, + name: 'keen:ip_to_geo', + output: 'ip_geo_info', }, { - "message": { - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "sayan@gmail.com", - "anonymousId": "12345" - }, - "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 - } - }, - "type": "page", - "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T11:15:18.299Z", - "anonymousId": "00000000000000000000000000", - "userId": "12345", - "properties": { - "path": "/test", - "referrer": "Rudder", - "search": "abc", - "title": "Test Page", - "url": "www.rudderlabs.com" - }, - "traits": { - "email": "test@gmail.com", - "anonymousId": "anon-id" - }, - "integrations": { - "All": true - }, - "name": "ApplicationLoaded", - "sentAt": "2019-10-14T11:15:53.296Z" - }, - "metadata": { - "jobId": 2 - }, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - } - ], - destType: 'keen', + input: { + ua_string: 'user_agent', + }, + name: 'keen:ua_parser', + output: 'parsed_user_agent', + }, + ], + }, + anonymousId: '00000000000000000000000000', + user: { + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + }, + userId: '12345', + }, + user_agent: + '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', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://api.keen.io/3.0/projects/abcde/events/test track event', + userId: '12345', + headers: { + 'Content-Type': 'application/json', + Authorization: 'xyz', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + projectID: 'abcde', + writeKey: 'xyz', + ipAddon: true, + uaAddon: true, + urlAddon: true, + referrerAddon: true, }, + }, }, - }, - output: { - response: { - status: 200, + { + batchedRequest: { body: { - output: [ + XML: {}, + JSON_ARRAY: {}, + JSON: { + search: 'abc', + request_ip: '0.0.0.0', + title: 'Test Page', + url: 'www.rudderlabs.com', + referrer: 'Rudder', + userId: '12345', + keen: { + addons: [ { - "batchedRequest": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "user_actual_id": 12345, - "user_actual_role": "system_admin", - "request_ip": "1.1.1.1", - "user_time_spent": 50000, - "userId": "12345", - "keen": { - "addons": [ - { - "input": { - "ip": "request_ip" - }, - "name": "keen:ip_to_geo", - "output": "ip_geo_info" - }, - { - "input": { - "ua_string": "user_agent" - }, - "name": "keen:ua_parser", - "output": "parsed_user_agent" - } - ] - }, - "anonymousId": "00000000000000000000000000", - "user": { - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com" - }, - "userId": "12345" - }, - "user_agent": "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" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.keen.io/3.0/projects/abcde/events/test track event", - "userId": "12345", - "headers": { - "Content-Type": "application/json", - "Authorization": "xyz" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } + input: { + ip: 'request_ip', + }, + name: 'keen:ip_to_geo', + output: 'ip_geo_info', }, { - "batchedRequest": { - "body": { - "XML": {}, - "JSON_ARRAY": {}, - "JSON": { - "search": "abc", - "request_ip": "0.0.0.0", - "title": "Test Page", - "url": "www.rudderlabs.com", - "referrer": "Rudder", - "userId": "12345", - "keen": { - "addons": [ - { - "input": { - "ip": "request_ip" - }, - "name": "keen:ip_to_geo", - "output": "ip_geo_info" - }, - { - "input": { - "ua_string": "user_agent" - }, - "name": "keen:ua_parser", - "output": "parsed_user_agent" - } - ] - }, - "anonymousId": "00000000000000000000000000", - "user": { - "traits": { - "anonymousId": "anon-id", - "email": "test@gmail.com" - }, - "userId": "12345" - }, - "path": "/test", - "user_agent": "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" - }, - "FORM": {} - }, - "files": {}, - "endpoint": "https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page", - "userId": "12345", - "headers": { - "Content-Type": "application/json", - "Authorization": "xyz" - }, - "version": "1", - "params": {}, - "type": "REST", - "method": "POST", - "statusCode": 200 - }, - "metadata": [ - { - "jobId": 2 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "projectID": "abcde", - "writeKey": "xyz", - "ipAddon": true, - "uaAddon": true, - "urlAddon": true, - "referrerAddon": true - } - } - } - ], + input: { + ua_string: 'user_agent', + }, + name: 'keen:ua_parser', + output: 'parsed_user_agent', + }, + ], + }, + anonymousId: '00000000000000000000000000', + user: { + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + }, + userId: '12345', + }, + path: '/test', + user_agent: + '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', + }, + FORM: {}, + }, + files: {}, + endpoint: + 'https://api.keen.io/3.0/projects/abcde/events/Viewed ApplicationLoaded page', + userId: '12345', + headers: { + 'Content-Type': 'application/json', + Authorization: 'xyz', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + statusCode: 200, + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + projectID: 'abcde', + writeKey: 'xyz', + ipAddon: true, + uaAddon: true, + urlAddon: true, + referrerAddon: true, }, + }, }, + ], }, + }, }, -]; \ No newline at end of file + }, +]; diff --git a/test/integrations/destinations/kissmetrics/processor/data.ts b/test/integrations/destinations/kissmetrics/processor/data.ts index 5185e23c37..ecd247a956 100644 --- a/test/integrations/destinations/kissmetrics/processor/data.ts +++ b/test/integrations/destinations/kissmetrics/processor/data.ts @@ -1,888 +1,894 @@ export const data = [ - { - "name": "kissmetrics", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "originalTimestamp": "2020-01-24T06:29:02.358Z", - "properties": { - "path": "/tests/html/index2.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index2.html" - }, - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.359Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "page", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 1, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/e", - "headers": {}, - "params": { - "Page-path": "/tests/html/index2.html", - "Page-referrer": "", - "Page-search": "", - "Page-title": "", - "Page-url": "http://localhost/tests/html/index2.html", - "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_n": "Loaded a Page", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - "statusCode": 200, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 1, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - } - }, - { - "name": "kissmetrics", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "traits": { - "city": "Disney-1", - "country": "India", - "email": "sayan@disney.com", - "firstname": "Sayan" - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53709", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 2, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/s", - "headers": {}, - "params": { - "city": "Disney-1", - "country": "India", - "email": "sayan@disney.com", - "firstname": "Sayan", - "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - "statusCode": 200, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 2, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - } - }, - { - "name": "kissmetrics", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53709", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 2, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/s", - "headers": {}, - "params": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey", - "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - "statusCode": 200, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 2, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - } - }, - { - "name": "kissmetrics", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "event": "test revenue kissmetrics", - "integrations": { - "All": true - }, - "messageId": "a6a0ad5a-bd26-4f19-8f75-38484e580fc7", - "originalTimestamp": "2020-01-24T06:29:02.364Z", - "properties": { - "currency": "USD", - "revenue": 50 - }, - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53710", - "sentAt": "2020-01-24T06:29:02.364Z", - "timestamp": "2020-01-24T11:59:02.403+05:30", - "type": "track", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 3, - "messageId": "a6a0ad5a-bd26-4f19-8f75-38484e580fc7", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/e", - "headers": {}, - "params": { - "test revenue kissmetrics-currency": "USD", - "test revenue kissmetrics - revenue": 50, - "Billing Amount": 50, - "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_n": "test revenue kissmetrics", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - "statusCode": 200, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 3, - "messageId": "a6a0ad5a-bd26-4f19-8f75-38484e580fc7", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - } - }, - { - "name": "kissmetrics", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "originalTimestamp": "2020-01-24T06:29:02.366Z", - "previousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53711", - "sentAt": "2020-01-24T06:29:02.366Z", - "timestamp": "2020-01-24T11:59:02.403+05:30", - "type": "alias", - "userId": "1234abc" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 4, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/a", - "headers": {}, - "params": { - "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_n": "1234abc" - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "1234abc", - "statusCode": 200 - }, - "statusCode": 200, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 4, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - } - }, - { - "name": "kissmetrics", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "destination": { - "Config": { - "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "properties": { - "affiliation": "Google Store", - "checkout_id": "fksdjfsdjfisjf9sdfjsd9f", - "coupon": "hasbros", - "currency": "USD", - "discount": 2.5, - "order_id": "50314b8e9bcf000000000000", - "products": [ - { - "category": "Games", - "image_url": "https:///www.example.com/product/path.jpg", - "name": "Monopoly: 3rd Edition", - "price": 19, - "product_id": "507f1f77bcf86cd799439011", - "quantity": 1, - "sku": "45790-32", - "url": "https://www.example.com/product/path" - }, - { - "category": "Games", - "name": "Uno Card Game", - "price": 3, - "product_id": "505bd76785ebb509fc183733", - "quantity": 2, - "sku": "46493-32" - } - ], - "revenue": 25, - "shipping": 3, - "subtotal": 22.5, - "tax": 2, - "total": 27.5 - }, - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53712", - "sentAt": "2020-01-24T06:29:02.368Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "track", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 5, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/e", - "headers": {}, - "params": { - "KM Order Completed-affiliation": "Google Store", - "KM Order Completed-checkout_id": "fksdjfsdjfisjf9sdfjsd9f", - "KM Order Completed-coupon": "hasbros", - "KM Order Completed-currency": "USD", - "KM Order Completed-discount": 2.5, - "KM Order Completed-order_id": "50314b8e9bcf000000000000", - "KM Order Completed - revenue": 25, - "Billing Amount": 25, - "KM Order Completed-shipping": 3, - "KM Order Completed-subtotal": 22.5, - "KM Order Completed-tax": 2, - "KM Order Completed-total": 27.5, - "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_n": "KM Order Completed", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 5, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/s", - "headers": {}, - "params": { - "KM Order Completed-category": "Games", - "KM Order Completed-image_url": "https:///www.example.com/product/path.jpg", - "KM Order Completed-name": "Monopoly: 3rd Edition", - "KM Order Completed-price": 19, - "KM Order Completed-product_id": "507f1f77bcf86cd799439011", - "KM Order Completed-quantity": 1, - "KM Order Completed-sku": "45790-32", - "KM Order Completed-url": "https://www.example.com/product/path", - "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 5, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/s", - "headers": {}, - "params": { - "KM Order Completed-category": "Games", - "KM Order Completed-name": "Uno Card Game", - "KM Order Completed-price": 3, - "KM Order Completed-product_id": "505bd76785ebb509fc183733", - "KM Order Completed-quantity": 2, - "KM Order Completed-sku": "46493-32", - "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 5, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'kissmetrics', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + prefixProperties: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Kiss Metrics', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'KISSMETRICS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Kiss Metrics', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'dd266c67-9199-4a52-ba32-f46ddde67312', + originalTimestamp: '2020-01-24T06:29:02.358Z', + properties: { + path: '/tests/html/index2.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index2.html', + }, + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53708', + sentAt: '2020-01-24T06:29:02.359Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'page', + userId: '', + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 1, + messageId: 'dd266c67-9199-4a52-ba32-f46ddde67312', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: 'https://trk.kissmetrics.com/e', + headers: {}, + params: { + 'Page-path': '/tests/html/index2.html', + 'Page-referrer': '', + 'Page-search': '', + 'Page-title': '', + 'Page-url': 'http://localhost/tests/html/index2.html', + _k: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + _p: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + _n: 'Loaded a Page', + _t: '1579847342', + _d: 1, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + statusCode: 200, + }, + statusCode: 200, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 1, + messageId: 'dd266c67-9199-4a52-ba32-f46ddde67312', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + }, + { + name: 'kissmetrics', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + prefixProperties: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Kiss Metrics', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'KISSMETRICS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Kiss Metrics', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstname: 'Mickey', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + traits: { + city: 'Disney-1', + country: 'India', + email: 'sayan@disney.com', + firstname: 'Sayan', + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53709', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '', + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 2, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: 'https://trk.kissmetrics.com/s', + headers: {}, + params: { + city: 'Disney-1', + country: 'India', + email: 'sayan@disney.com', + firstname: 'Sayan', + _k: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + _p: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + _t: '1579847342', + _d: 1, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + statusCode: 200, + }, + statusCode: 200, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 2, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + }, + { + name: 'kissmetrics', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + prefixProperties: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Kiss Metrics', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'KISSMETRICS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Kiss Metrics', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstname: 'Mickey', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53709', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '', + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 2, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: 'https://trk.kissmetrics.com/s', + headers: {}, + params: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstname: 'Mickey', + _k: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + _p: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + _t: '1579847342', + _d: 1, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + statusCode: 200, + }, + statusCode: 200, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 2, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + }, + { + name: 'kissmetrics', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + prefixProperties: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Kiss Metrics', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'KISSMETRICS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Kiss Metrics', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstname: 'Mickey', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + event: 'test revenue kissmetrics', + integrations: { + All: true, + }, + messageId: 'a6a0ad5a-bd26-4f19-8f75-38484e580fc7', + originalTimestamp: '2020-01-24T06:29:02.364Z', + properties: { + currency: 'USD', + revenue: 50, + }, + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53710', + sentAt: '2020-01-24T06:29:02.364Z', + timestamp: '2020-01-24T11:59:02.403+05:30', + type: 'track', + userId: '', + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 3, + messageId: 'a6a0ad5a-bd26-4f19-8f75-38484e580fc7', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: 'https://trk.kissmetrics.com/e', + headers: {}, + params: { + 'test revenue kissmetrics-currency': 'USD', + 'test revenue kissmetrics - revenue': 50, + 'Billing Amount': 50, + _k: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + _p: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + _n: 'test revenue kissmetrics', + _t: '1579847342', + _d: 1, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + statusCode: 200, + }, + statusCode: 200, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 3, + messageId: 'a6a0ad5a-bd26-4f19-8f75-38484e580fc7', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + }, + { + name: 'kissmetrics', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + prefixProperties: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Kiss Metrics', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'KISSMETRICS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Kiss Metrics', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstname: 'Mickey', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '79313729-7fe5-4204-963a-dc46f4205e4e', + originalTimestamp: '2020-01-24T06:29:02.366Z', + previousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53711', + sentAt: '2020-01-24T06:29:02.366Z', + timestamp: '2020-01-24T11:59:02.403+05:30', + type: 'alias', + userId: '1234abc', + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 4, + messageId: '79313729-7fe5-4204-963a-dc46f4205e4e', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: 'https://trk.kissmetrics.com/a', + headers: {}, + params: { + _k: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + _p: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + _n: '1234abc', + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '1234abc', + statusCode: 200, + }, + statusCode: 200, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 4, + messageId: '79313729-7fe5-4204-963a-dc46f4205e4e', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + }, + { + name: 'kissmetrics', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKey: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + prefixProperties: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Kiss Metrics', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'KISSMETRICS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Kiss Metrics', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstname: 'Mickey', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + event: 'KM Order Completed', + integrations: { + All: true, + }, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + originalTimestamp: '2020-01-24T06:29:02.367Z', + properties: { + affiliation: 'Google Store', + checkout_id: 'fksdjfsdjfisjf9sdfjsd9f', + coupon: 'hasbros', + currency: 'USD', + discount: 2.5, + order_id: '50314b8e9bcf000000000000', + products: [ + { + category: 'Games', + image_url: 'https:///www.example.com/product/path.jpg', + name: 'Monopoly: 3rd Edition', + price: 19, + product_id: '507f1f77bcf86cd799439011', + quantity: 1, + sku: '45790-32', + url: 'https://www.example.com/product/path', + }, + { + category: 'Games', + name: 'Uno Card Game', + price: 3, + product_id: '505bd76785ebb509fc183733', + quantity: 2, + sku: '46493-32', + }, + ], + revenue: 25, + shipping: 3, + subtotal: 22.5, + tax: 2, + total: 27.5, + }, + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53712', + sentAt: '2020-01-24T06:29:02.368Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'track', + userId: '', + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 5, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: 'https://trk.kissmetrics.com/e', + headers: {}, + params: { + 'KM Order Completed-affiliation': 'Google Store', + 'KM Order Completed-checkout_id': 'fksdjfsdjfisjf9sdfjsd9f', + 'KM Order Completed-coupon': 'hasbros', + 'KM Order Completed-currency': 'USD', + 'KM Order Completed-discount': 2.5, + 'KM Order Completed-order_id': '50314b8e9bcf000000000000', + 'KM Order Completed - revenue': 25, + 'Billing Amount': 25, + 'KM Order Completed-shipping': 3, + 'KM Order Completed-subtotal': 22.5, + 'KM Order Completed-tax': 2, + 'KM Order Completed-total': 27.5, + _k: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + _p: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + _n: 'KM Order Completed', + _t: '1579847342', + _d: 1, + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + statusCode: 200, + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 5, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: 'https://trk.kissmetrics.com/s', + headers: {}, + params: { + 'KM Order Completed-category': 'Games', + 'KM Order Completed-image_url': 'https:///www.example.com/product/path.jpg', + 'KM Order Completed-name': 'Monopoly: 3rd Edition', + 'KM Order Completed-price': 19, + 'KM Order Completed-product_id': '507f1f77bcf86cd799439011', + 'KM Order Completed-quantity': 1, + 'KM Order Completed-sku': '45790-32', + 'KM Order Completed-url': 'https://www.example.com/product/path', + _k: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + _p: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + statusCode: 200, + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 5, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: 'https://trk.kissmetrics.com/s', + headers: {}, + params: { + 'KM Order Completed-category': 'Games', + 'KM Order Completed-name': 'Uno Card Game', + 'KM Order Completed-price': 3, + 'KM Order Completed-product_id': '505bd76785ebb509fc183733', + 'KM Order Completed-quantity': 2, + 'KM Order Completed-sku': '46493-32', + _k: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + _p: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + statusCode: 200, + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 5, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/kissmetrics/router/data.ts b/test/integrations/destinations/kissmetrics/router/data.ts index c1b5ea8649..bba00edf96 100644 --- a/test/integrations/destinations/kissmetrics/router/data.ts +++ b/test/integrations/destinations/kissmetrics/router/data.ts @@ -1,291 +1,293 @@ export const data = [ - { - name: 'fb', - description: 'Test 0', - feature: 'router', - module: 'destination', - version: 'v0', - input: { - request: { - body: { - input: [ - { - "destination": { - "Config": { - "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "originalTimestamp": "2020-01-24T06:29:02.358Z", - "properties": { - "path": "/tests/html/index2.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index2.html" - }, - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53708", - "sentAt": "2020-01-24T06:29:02.359Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "page", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 1, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - }, - { - "destination": { - "Config": { - "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.5" - }, - "ip": "0.0.0.0", - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.5" - }, - "locale": "en-GB", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "firstname": "Mickey" - }, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36" - }, - "integrations": { - "All": true - }, - "traits": { - "city": "Disney-1", - "country": "India", - "email": "sayan@disney.com", - "firstname": "Sayan" - }, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "originalTimestamp": "2020-01-24T06:29:02.362Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53709", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - }, - "metadata": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 2, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - } - ], - destType: 'kissmetrics', + { + name: 'fb', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + apiKey: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + prefixProperties: true, + useNativeSDK: false, }, + DestinationDefinition: { + DisplayName: 'Kiss Metrics', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'KISSMETRICS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Kiss Metrics', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'dd266c67-9199-4a52-ba32-f46ddde67312', + originalTimestamp: '2020-01-24T06:29:02.358Z', + properties: { + path: '/tests/html/index2.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index2.html', + }, + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53708', + sentAt: '2020-01-24T06:29:02.359Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'page', + userId: '', + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 1, + messageId: 'dd266c67-9199-4a52-ba32-f46ddde67312', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + }, + { + destination: { + Config: { + apiKey: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + prefixProperties: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Kiss Metrics', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'KISSMETRICS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Kiss Metrics', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + firstname: 'Mickey', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + traits: { + city: 'Disney-1', + country: 'India', + email: 'sayan@disney.com', + firstname: 'Sayan', + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53709', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '', + }, + metadata: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 2, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, }, + ], + destType: 'kissmetrics', }, - output: { - response: { - status: 200, - body: { - output: [ - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/e", - "headers": {}, - "params": { - "Page-path": "/tests/html/index2.html", - "Page-referrer": "", - "Page-search": "", - "Page-title": "", - "Page-url": "http://localhost/tests/html/index2.html", - "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_n": "Loaded a Page", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - } - ], - "metadata": [ - { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 1, - "messageId": "dd266c67-9199-4a52-ba32-f46ddde67312", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - } - }, - { - "batchedRequest": [ - { - "version": "1", - "type": "REST", - "method": "GET", - "endpoint": "https://trk.kissmetrics.com/s", - "headers": {}, - "params": { - "city": "Disney-1", - "country": "India", - "email": "sayan@disney.com", - "firstname": "Sayan", - "_k": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "_p": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "_t": "1579847342", - "_d": 1 - }, - "body": { - "JSON": {}, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "statusCode": 200 - } - ], - "metadata": [ - { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "destinationId": "1WhcOCGgj9asZu850HvugU2C3Aq", - "destinationType": "KISSMETRICS", - "jobId": 2, - "messageId": "2536eda4-d638-4c93-8014-8ffe3f083214", - "sourceId": "1WjrlZIy1d41MCceOrFbDVPnOPY" - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "apiKey": "9432f11f70f8ce386f5110c8c924b3ec4f825256", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "KISSMETRICS" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - } - } - ], + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'GET', + endpoint: 'https://trk.kissmetrics.com/e', + headers: {}, + params: { + 'Page-path': '/tests/html/index2.html', + 'Page-referrer': '', + 'Page-search': '', + 'Page-title': '', + 'Page-url': 'http://localhost/tests/html/index2.html', + _k: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + _p: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + _n: 'Loaded a Page', + _t: '1579847342', + _d: 1, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + statusCode: 200, + }, + ], + metadata: [ + { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 1, + messageId: 'dd266c67-9199-4a52-ba32-f46ddde67312', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + apiKey: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + prefixProperties: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Kiss Metrics', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'KISSMETRICS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Kiss Metrics', + Transformations: [], + }, + }, + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'GET', + endpoint: 'https://trk.kissmetrics.com/s', + headers: {}, + params: { + city: 'Disney-1', + country: 'India', + email: 'sayan@disney.com', + firstname: 'Sayan', + _k: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + _p: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + _t: '1579847342', + _d: 1, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + statusCode: 200, + }, + ], + metadata: [ + { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + destinationId: '1WhcOCGgj9asZu850HvugU2C3Aq', + destinationType: 'KISSMETRICS', + jobId: 2, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + sourceId: '1WjrlZIy1d41MCceOrFbDVPnOPY', + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + apiKey: '9432f11f70f8ce386f5110c8c924b3ec4f825256', + prefixProperties: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Kiss Metrics', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'KISSMETRICS', }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Kiss Metrics', + Transformations: [], + }, }, + ], }, + }, }, -]; \ No newline at end of file + }, +]; diff --git a/test/integrations/destinations/marketo/dataDelivery/data.ts b/test/integrations/destinations/marketo/dataDelivery/data.ts new file mode 100644 index 0000000000..47dd8e9236 --- /dev/null +++ b/test/integrations/destinations/marketo/dataDelivery/data.ts @@ -0,0 +1,490 @@ +export const data = [ + { + name: 'marketo', + description: 'Test 0', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://mktId.mktorest.com/rest/v1/leads.json/test1', + method: 'POST', + userId: '', + headers: { + Authorization: 'Bearer test_token_1', + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'marketo', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + message: 'Request Processed Successfully', + destinationResponse: { + response: { + requestId: '664#17dae8c3d48', + result: [ + { + id: 1328328, + status: 'updated', + }, + ], + success: true, + }, + status: 200, + }, + }, + }, + }, + { + name: 'marketo', + description: 'Test 1', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://mktId.mktorest.com/rest/v1/leads.json/test2', + method: 'POST', + userId: '', + headers: { + Authorization: 'Bearer test_token_2', + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'marketo', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + message: + 'Request Failed for marketo, Access token invalid (Retryable).during Marketo Response Handling', + destinationResponse: { + response: { + requestId: 'a61c#17daea5968a', + success: false, + errors: [ + { + code: '601', + message: 'Access token invalid', + }, + ], + }, + status: 200, + }, + statTags: { + destType: 'MARKETO', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + { + name: 'marketo', + description: 'Test 2', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://mktId.mktorest.com/rest/v1/leads.json/test3', + method: 'POST', + userId: '', + headers: { + Authorization: 'Bearer test_token_3', + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'marketo', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + message: + 'Request Failed for marketo, Requested resource not found (Aborted).during Marketo Response Handling', + destinationResponse: { + response: { + requestId: 'a61c#17daea5968a', + success: false, + errors: [ + { + code: '610', + message: 'Requested resource not found', + }, + ], + }, + status: 200, + }, + statTags: { + destType: 'MARKETO', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + { + name: 'marketo', + description: 'Test 3', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://mktId.mktorest.com/rest/v1/leads.json/test4', + method: 'POST', + userId: '', + headers: { + Authorization: 'Bearer test_token_4', + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'marketo', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + message: 'Request failed with status: 500', + destinationResponse: { + response: '', + status: 500, + }, + statTags: { + destType: 'MARKETO', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + { + name: 'marketo', + description: 'Test 4', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://mktId.mktorest.com/rest/v1/leads.json/test5', + method: 'POST', + userId: '', + headers: { + Authorization: 'Bearer test_token_5', + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'marketo', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + message: 'Request failed with status: 500', + destinationResponse: { + response: '', + status: 500, + }, + statTags: { + destType: 'MARKETO', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + { + name: 'marketo', + description: 'Test 5', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + endpoint: 'https://mktId.mktorest.com/rest/v1/leads.json/test6', + method: 'POST', + userId: '', + headers: { + Authorization: 'Bearer test_token_6', + 'Content-Type': 'application/json', + }, + body: { + FORM: {}, + JSON: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + JSON_ARRAY: {}, + XML: {}, + }, + files: {}, + params: { + destination: 'marketo', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + message: 'Request failed with status: 400', + destinationResponse: { + response: '[[ENOTFOUND] :: DNS lookup failed]', + status: 400, + }, + statTags: { + destType: 'MARKETO', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + { + name: 'marketo', + description: 'Test 6', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://unhandled_exception_in_proxy_req.mktorest.com/rest/v1/leads.json', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer access_token_success', + }, + body: { + JSON: { + action: 'createOrUpdate', + input: [ + { + Email: '0c7b8b80-9c43-4f8e-b2d2-5e2448a25040@j.mail', + FirstName: 'A', + LastName: 'M', + id: 4, + userId: 'e17c5a5e-5e2f-430b-b497-fe3f1ea3a704', + }, + ], + lookupField: 'id', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + params: { + destination: 'marketo', + }, + }, + }, + }, + output: { + response: { + status: 400, + message: 'Error occurred during Marketo Response Handling -> problem', + destinationResponse: { + response: { + requestId: '142e4#1835b117b76', + success: false, + errors: [ + { + code: 'random_marketo_code', + message: 'problem', + }, + ], + }, + status: 200, + }, + statTags: { + destType: 'MARKETO', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + meta: 'unhandledStatusCode', + module: 'destination', + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/marketo/network.ts b/test/integrations/destinations/marketo/network.ts new file mode 100644 index 0000000000..b0c6174281 --- /dev/null +++ b/test/integrations/destinations/marketo/network.ts @@ -0,0 +1,244 @@ +export const networkCallsData = [ + { + httpReq: { + url: 'https://mktId.mktorest.com/rest/v1/leads.json/test1', + data: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + headers: { + Authorization: 'Bearer test_token_1', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + requestId: '664#17dae8c3d48', + result: [ + { + id: 1328328, + status: 'updated', + }, + ], + success: true, + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + url: 'https://mktId.mktorest.com/rest/v1/leads.json/test2', + data: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + headers: { + Authorization: 'Bearer test_token_2', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + requestId: 'a61c#17daea5968a', + success: false, + errors: [ + { + code: '601', + message: 'Access token invalid', + }, + ], + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + url: 'https://mktId.mktorest.com/rest/v1/leads.json/test3', + data: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + headers: { + Authorization: 'Bearer test_token_3', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + requestId: 'a61c#17daea5968a', + success: false, + errors: [ + { + code: '610', + message: 'Requested resource not found', + }, + ], + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + url: 'https://mktId.mktorest.com/rest/v1/leads.json/test4', + data: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + headers: { + Authorization: 'Bearer test_token_4', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: {}, + }, + { + httpReq: { + url: 'https://mktId.mktorest.com/rest/v1/leads.json/test5', + data: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + headers: { + Authorization: 'Bearer test_token_5', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: '', + }, + { + httpReq: { + url: 'https://mktId.mktorest.com/rest/v1/leads.json/test6', + data: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + headers: { + Authorization: 'Bearer test_token_6', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + code: '[ENOTFOUND] :: DNS lookup failed', + status: 400, + }, + }, + { + httpReq: { + url: 'https://unhandled_exception_in_proxy_req.mktorest.com/rest/v1/leads.json', + data: { + action: 'createOrUpdate', + input: [ + { + Email: '0c7b8b80-9c43-4f8e-b2d2-5e2448a25040@j.mail', + FirstName: 'A', + LastName: 'M', + id: 4, + userId: 'e17c5a5e-5e2f-430b-b497-fe3f1ea3a704', + }, + ], + lookupField: 'id', + }, + headers: { + Authorization: 'Bearer access_token_success', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + requestId: '142e4#1835b117b76', + success: false, + errors: [ + { + code: 'random_marketo_code', + message: 'problem', + }, + ], + }, + status: 200, + statusText: 'OK', + }, + }, +]; diff --git a/test/integrations/destinations/marketo_static_list/dataDelivery/data.ts b/test/integrations/destinations/marketo_static_list/dataDelivery/data.ts new file mode 100644 index 0000000000..e3deebca9b --- /dev/null +++ b/test/integrations/destinations/marketo_static_list/dataDelivery/data.ts @@ -0,0 +1,368 @@ +export const data = [ + { + "name": "marketo_static_list", + "description": "Test 0", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=110&id=111&id=112", + "method": "POST", + "userId": "", + "headers": { + "Authorization": "Bearer Incorrect_token", + "Content-Type": "application/json" + }, + "body": { + "FORM": {}, + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {}, + "params": { + "destination": "marketo_static_list" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "message": "Request Processed Successfully", + "destinationResponse": { + "response": { + "requestId": "b6d1#18a8d2c10e7", + "result": [ + { + "id": 110, + "status": "skipped", + "reasons": [ + { + "code": "1015", + "message": "Lead not in list" + } + ] + }, + { + "id": 111, + "status": "removed" + }, + { + "id": 112, + "status": "removed" + } + ], + "success": true + }, + "status": 200 + }, + "status": 200 + } + } + } + } + }, + { + "name": "marketo_static_list", + "description": "Test 1", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=1&id=2&id=3", + "method": "POST", + "userId": "", + "headers": { + "Authorization": "Bearer Incorrect_token", + "Content-Type": "application/json" + }, + "body": { + "FORM": {}, + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {}, + "params": { + "destination": "marketo_static_list" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 500, + "body": { + "output": { + "status": 500, + "message": "Request Failed for Marketo Static List, Access token invalid (Retryable).during Marketo Static List Response Handling", + "destinationResponse": { + "response": { + "requestId": "68d8#1846058ee27", + "success": false, + "errors": [ + { + "code": "601", + "message": "Access token invalid" + } + ] + }, + "status": 200 + }, + "statTags": { + "destType": "MARKETO_STATIC_LIST", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "retryable", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + }, + { + "name": "marketo_static_list", + "description": "Test 2", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=1&id=2", + "method": "POST", + "userId": "", + "headers": { + "Authorization": "Bearer token", + "Content-Type": "application/json" + }, + "body": { + "FORM": {}, + "JSON": { + "action": "createOrUpdate", + "input": [ + { + "City": "Tokyo", + "Country": "JP", + "Email": "gabi29@gmail.com", + "PostalCode": "100-0001", + "Title": "Owner", + "id": 1328328, + "userId": "gabi_userId_45" + } + ], + "lookupField": "id" + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {}, + "params": { + "destination": "marketo_static_list" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "status": 200, + "message": "Request Processed Successfully", + "destinationResponse": { + "response": { + "requestId": "12d3c#1846057dce2", + "success": true, + "result": [ + { + "id": 1, + "status": "added" + }, + { + "id": 2, + "status": "added" + } + ] + }, + "status": 200 + } + } + } + } + } + }, + { + "name": "marketo_static_list", + "description": "Test 3", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=3&id=4", + "method": "POST", + "userId": "", + "headers": { + "Authorization": "Bearer token", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "FORM": {}, + "JSON": { + "action": "createOrUpdate", + "input": [ + { + "City": "Tokyo", + "Country": "JP", + "Email": "gabi29@gmail.com", + "PostalCode": "100-0001", + "Title": "Owner", + "id": 1328328, + "userId": "gabi_userId_45" + }, + { + "City": "Tokyo", + "Country": "JP", + "Email": "b@s.com", + "PostalCode": "100-0001", + "Title": "Owner", + "id": 1328329, + "userId": "ben_userId_45" + } + ], + "lookupField": "id" + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {} + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 400, + "body": { + "output": { + "destinationResponse": "", + "message": "Request failed during: during Marketo Static List Response Handling, error: [{\"code\":\"1004\",\"message\":\"Lead not found\"}]", + "statTags": { + "destType": "MARKETO_STATIC_LIST", + "errorCategory": "dataValidation", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "instrumentation", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + }, + "status": 400 + } + } + } + } + }, + { + "name": "marketo_static_list", + "description": "Test 4", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "type": "REST", + "endpoint": "https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=5&id=6", + "method": "POST", + "userId": "", + "headers": { + "Authorization": "Bearer token", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "FORM": {}, + "JSON": { + "action": "createOrUpdate", + "input": [ + { + "City": "Tokyo", + "Country": "JP", + "Email": "gabi29@gmail.com", + "PostalCode": "100-0001", + "Title": "Owner", + "id": 1328328, + "userId": "gabi_userId_45" + }, + { + "City": "Tokyo", + "Country": "JP", + "Email": "b@s.com", + "PostalCode": "100-0001", + "Title": "Owner", + "id": 1328329, + "userId": "ben_userId_45" + } + ], + "lookupField": "id" + }, + "JSON_ARRAY": {}, + "XML": {} + }, + "files": {} + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "status": 200, + "message": "Request Processed Successfully", + "destinationResponse": { + "response": { + "requestId": "12d3c#1846057dce2", + "result": { + "id": 5, + "status": "skipped", + "reasons": [ + { + "code": "1015", + "message": "Lead not in list" + } + ] + }, + "success": true + }, + "status": 200 + } + } + } + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/marketo_static_list/network.ts b/test/integrations/destinations/marketo_static_list/network.ts index c369e1af26..5c13273859 100644 --- a/test/integrations/destinations/marketo_static_list/network.ts +++ b/test/integrations/destinations/marketo_static_list/network.ts @@ -1,3 +1,182 @@ +const deliveryCallsData = [ + { + httpReq: { + url: 'https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=110&id=111&id=112', + params: { destination: 'marketo_static_list' }, + headers: { + Authorization: 'Bearer Incorrect_token', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + requestId: 'b6d1#18a8d2c10e7', + result: [ + { id: 110, status: 'skipped', reasons: [{ code: '1015', message: 'Lead not in list' }] }, + { id: 111, status: 'removed' }, + { id: 112, status: 'removed' }, + ], + success: true, + }, + status: 200, + }, + }, + { + httpReq: { + url: 'https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=1&id=2&id=3', + params: { destination: 'marketo_static_list' }, + headers: { + Authorization: 'Bearer Incorrect_token', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + requestId: '68d8#1846058ee27', + success: false, + errors: [{ code: '601', message: 'Access token invalid' }], + }, + status: 200, + }, + }, + { + httpReq: { + url: 'https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=1&id=2', + data: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + ], + lookupField: 'id', + }, + params: { destination: 'marketo_static_list' }, + headers: { + Authorization: 'Bearer token', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + requestId: '12d3c#1846057dce2', + result: [ + { id: 1, status: 'added' }, + { id: 2, status: 'added' }, + ], + success: true, + }, + status: 200, + }, + }, + { + httpReq: { + url: 'https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=3&id=4', + data: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + { + City: 'Tokyo', + Country: 'JP', + Email: 'b@s.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328329, + userId: 'ben_userId_45', + }, + ], + lookupField: 'id', + }, + params: {}, + headers: { + Authorization: 'Bearer token', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + requestId: '12d3c#1846057dce2', + result: [ + { id: 1, status: 'added' }, + { id: 4, status: 'skipped', reasons: [{ code: '1004', message: 'Lead not found' }] }, + ], + success: true, + }, + status: 200, + }, + }, + { + httpReq: { + url: 'https://marketo_acct_id_success.mktorest.com/rest/v1/lists/1234/leads.json?id=5&id=6', + data: { + action: 'createOrUpdate', + input: [ + { + City: 'Tokyo', + Country: 'JP', + Email: 'gabi29@gmail.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328328, + userId: 'gabi_userId_45', + }, + { + City: 'Tokyo', + Country: 'JP', + Email: 'b@s.com', + PostalCode: '100-0001', + Title: 'Owner', + id: 1328329, + userId: 'ben_userId_45', + }, + ], + lookupField: 'id', + }, + params: {}, + headers: { + Authorization: 'Bearer token', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + requestId: '12d3c#1846057dce2', + result: { + id: 5, + status: 'skipped', + reasons: [{ code: '1015', message: 'Lead not in list' }], + }, + success: true, + }, + status: 200, + }, + }, +]; export const networkCallsData = [ { httpReq: { @@ -19,4 +198,5 @@ export const networkCallsData = [ status: 200, }, }, + ...deliveryCallsData, ]; diff --git a/test/integrations/destinations/mp/network.ts b/test/integrations/destinations/mp/network.ts index a386451a21..cc5e265f43 100644 --- a/test/integrations/destinations/mp/network.ts +++ b/test/integrations/destinations/mp/network.ts @@ -1146,5 +1146,23 @@ const deleteNwData = [ }, }, }, + { + httpReq: { + method: 'post', + url: 'https://api-eu.mixpanel.com/engage', + data: [{ $distinct_id: 'rudder1', $token: 'test_token', $delete: null, $ignore_alias: true }], + headers: { + 'Content-Type': 'application/json', + Accept: 'text/plain', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': '1', + }, + }, + }, ]; export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/redis/processor/data.ts b/test/integrations/destinations/redis/processor/data.ts new file mode 100644 index 0000000000..72c78a1ad4 --- /dev/null +++ b/test/integrations/destinations/redis/processor/data.ts @@ -0,0 +1,661 @@ +export const data = [ + { + name: 'redis', + description: + 'Test 0: Covering flattened json, removing empty values, stringify array, prefix key from the config', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + address: 'localhost:6379', + database: 'test', + prefix: ' ', + }, + DestinationDefinition: { + DisplayName: 'Redis', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'REDIS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Redis', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + country: 'UK', + lastname: 'Mouse', + omega: 'test', + 'omega v2': 'test', + '9mega': 'test', + 'mega&': 'test', + ome$ga: 'test', + alpha$: 'test', + 'ome_ ga': 'test', + '9mega________-________90': 'test', + Cízǔ: 'test', + CamelCase123Key: 'test', + '1CComega': 'test', + arrayProp: [ + { + x: 1, + y: 2, + }, + ], + nestedProp: { + innerProp1: 'innerPropVal1', + innerProp2: 'innerPropVal2', + innerProp3: {}, + }, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53708', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + key: 'user:9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + fields: { + country: 'UK', + lastname: 'Mouse', + omega: 'test', + 'omega v2': 'test', + '9mega': 'test', + 'mega&': 'test', + ome$ga: 'test', + alpha$: 'test', + 'ome_ ga': 'test', + '9mega________-________90': 'test', + Cízǔ: 'test', + CamelCase123Key: 'test', + '1CComega': 'test', + arrayProp: '[{"x":1,"y":2}]', + 'nestedProp.innerProp1': 'innerPropVal1', + 'nestedProp.innerProp2': 'innerPropVal2', + }, + }, + userId: '9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'redis', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + address: 'localhost:6379', + database: 'test', + prefix: 'TestPrefix', + }, + DestinationDefinition: { + DisplayName: 'Redis', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'REDIS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Redis', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + country: 'UK', + lastname: 'Mouse', + omega: 'test', + 'omega v2': 'test', + '9mega': 'test', + 'mega&': 'test', + ome$ga: 'test', + alpha$: 'test', + 'ome_ ga': 'test', + '9mega________-________90': 'test', + Cízǔ: 'test', + CamelCase123Key: 'test', + '1CComega': 'test', + arrayProp: [ + { + x: 1, + y: 2, + }, + ], + nestedProp: { + innerProp1: 'innerPropVal1', + innerProp2: 'innerPropVal2', + innerProp3: {}, + }, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53708', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + key: 'TestPrefix:user:9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + fields: { + country: 'UK', + lastname: 'Mouse', + omega: 'test', + 'omega v2': 'test', + '9mega': 'test', + 'mega&': 'test', + ome$ga: 'test', + alpha$: 'test', + 'ome_ ga': 'test', + '9mega________-________90': 'test', + Cízǔ: 'test', + CamelCase123Key: 'test', + '1CComega': 'test', + arrayProp: '[{"x":1,"y":2}]', + 'nestedProp.innerProp1': 'innerPropVal1', + 'nestedProp.innerProp2': 'innerPropVal2', + }, + }, + userId: '9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'redis', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + address: 'localhost:6379', + database: 'test', + prefix: 'TestPrefix', + }, + DestinationDefinition: { + DisplayName: 'Redis', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'REDIS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Redis', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + country: 'UK', + lastname: 'Mouse', + arrayProp: [ + { + x: 1, + y: 2, + }, + ], + nestedProp: { + innerProp1: 'innerPropVal1', + innerProp2: 'innerPropVal2', + innerProp3: {}, + }, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + traits: { + country: 'USA', + firstname: 'Mickey', + }, + integrations: { + All: true, + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53708', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + key: 'TestPrefix:user:9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + fields: { + country: 'USA', + lastname: 'Mouse', + arrayProp: '[{"x":1,"y":2}]', + 'nestedProp.innerProp1': 'innerPropVal1', + 'nestedProp.innerProp2': 'innerPropVal2', + firstname: 'Mickey', + }, + }, + userId: '9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'redis', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + address: 'localhost:6379', + database: 'test', + prefix: 'TestEmptyKey', + }, + DestinationDefinition: { + DisplayName: 'Redis', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'REDIS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Redis', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + country: 'UK', + lastname: 'Mouse', + arrayProp: [ + { + x: 1, + y: 2, + }, + ], + emptyKey: '', + nestedProp: { + innerProp1: 'innerPropVal1', + innerProp2: 'innerPropVal2', + innerProp3: {}, + }, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + traits: { + country: 'USA', + firstname: 'Mickey', + }, + integrations: { + All: true, + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53708', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + key: 'TestEmptyKey:user:9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + fields: { + country: 'USA', + lastname: 'Mouse', + arrayProp: '[{"x":1,"y":2}]', + emptyKey: '', + 'nestedProp.innerProp1': 'innerPropVal1', + 'nestedProp.innerProp2': 'innerPropVal2', + firstname: 'Mickey', + }, + }, + userId: '9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'redis', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + address: 'localhost:6379', + database: 'test', + prefix: 'TestPrefix', + }, + DestinationDefinition: { + DisplayName: 'Redis', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'REDIS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Redis', + Transformations: [], + }, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.5', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.5', + }, + locale: 'en-GB', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53708', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '9bb5d4c2-a7aa-4a36-9efb-dd2b1aec5d33', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'context or context.traits or traits is empty', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'REDIS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'redis', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + address: 'localhost:6379', + database: 'test', + prefix: 'TestPrefix', + }, + DestinationDefinition: { + DisplayName: 'Redis', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'REDIS', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'Redis', + Transformations: [], + }, + metadata: { + workspaceId: 'some-workspace-id', + }, + message: { + userId: 'some-user-id', + channel: 'sources', + context: { + sources: { + job_id: 'some-job-id', + version: 'some-version', + job_run_id: 'c8el40l6e87v0c4hkbl0', + task_run_id: 'c8el40l6e87v0c4hkblg', + profiles_model: 'some-model', + profiles_entity: 'some-entity', + profiles_id_type: 'some-id-type', + }, + }, + traits: { + MODEL_ID: '1691755780', + VALID_AT: '2023-08-11T11:32:44.963062Z', + USER_MAIN_ID: 'rid5530313526204a95efe71d98cd17d5a1', + CHURN_SCORE_7_DAYS: 0.027986, + PERCENTILE_CHURN_SCORE_7_DAYS: 0, + }, + messageId: 'some-message-id', + originalTimestamp: '2020-01-24T06:29:02.362Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53708', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + message: { + hash: 'some-workspace-id:1WhcOCGgj9asZu850HvugU2C3Aq:some-entity:some-id-type:some-user-id', + key: 'some-model', + value: + '{"MODEL_ID":"1691755780","VALID_AT":"2023-08-11T11:32:44.963062Z","USER_MAIN_ID":"rid5530313526204a95efe71d98cd17d5a1","CHURN_SCORE_7_DAYS":0.027986,"PERCENTILE_CHURN_SCORE_7_DAYS":0}', + }, + userId: 'some-user-id', + }, + metadata: { + workspaceId: 'some-workspace-id', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/revenue_cat/processor/data.ts b/test/integrations/destinations/revenue_cat/processor/data.ts new file mode 100644 index 0000000000..45ff5d8499 --- /dev/null +++ b/test/integrations/destinations/revenue_cat/processor/data.ts @@ -0,0 +1,1079 @@ +export const data = [ + { + "name": "revenue_cat", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "as9d920a5e75a18acb4a29abd9ec1e2e", + "xPlatform": "stripe" + } + }, + "message": { + "userId": "rudder1235678", + "channel": "web", + "context": { + "ip": "14.5.67.21", + "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" + }, + "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)" + }, + "type": "identify", + "traits": { + "email": "chandan@companyname.com", + "phone": "92374162212", + "lastname": "Doe", + "density": "420", + "height": "1794", + "width": "1080", + "iterableCampaignId": "1234", + "iterableTemplateId": "1234" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678", + "headers": { + "Authorization": "Basic as9d920a5e75a18acb4a29abd9ec1e2e", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678/attributes", + "headers": { + "Authorization": "Basic as9d920a5e75a18acb4a29abd9ec1e2e", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "attributes": { + "app_user_id": { + "value": "rudder1235678" + }, + "$email": { + "value": "chandan@companyname.com" + }, + "$phoneNumber": { + "value": "92374162212" + }, + "$ip": { + "value": "14.5.67.21" + }, + "$iterableCampaignId": { + "value": "1234" + }, + "$iterableTemplateId": { + "value": "1234" + }, + "$displayName": { + "value": "Doe" + }, + "lastname": { + "value": "Doe" + }, + "density": { + "value": "420" + }, + "height": { + "value": "1794" + }, + "width": { + "value": "1080" + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "revenue_cat", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "a5e75dfda29abd920ec1ec8a18acb42e", + "xPlatform": "stripe" + } + }, + "message": { + "userId": "rudder1235678", + "channel": "web", + "context": { + "ip": "14.5.67.21", + "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" + }, + "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)" + }, + "type": "identify", + "traits": { + "email": "chandan@companyname.com", + "phone": "92374162212", + "firstname": "James", + "density": 420, + "height": 1794, + "width": 1080, + "iterableCampaignId": "1234", + "iterableTemplateId": "1234" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678", + "headers": { + "Authorization": "Basic a5e75dfda29abd920ec1ec8a18acb42e", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678/attributes", + "headers": { + "Authorization": "Basic a5e75dfda29abd920ec1ec8a18acb42e", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "attributes": { + "app_user_id": { + "value": "rudder1235678" + }, + "$email": { + "value": "chandan@companyname.com" + }, + "$phoneNumber": { + "value": "92374162212" + }, + "$ip": { + "value": "14.5.67.21" + }, + "$iterableCampaignId": { + "value": "1234" + }, + "$iterableTemplateId": { + "value": "1234" + }, + "$displayName": { + "value": "James" + }, + "firstname": { + "value": "James" + }, + "density": { + "value": "420" + }, + "height": { + "value": "1794" + }, + "width": { + "value": "1080" + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "revenue_cat", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "xPlatform": "stripe" + } + }, + "message": { + "userId": "rudder1235678", + "channel": "web", + "context": { + "ip": "14.5.67.21", + "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" + }, + "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)" + }, + "type": "identify", + "traits": { + "email": "chandan@companyname.com", + "phone": "92374162212", + "name": "John Doe" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Public API Key required for Authentication", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "REVENUE_CAT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "revenue_cat", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "a5e75d99c8a18acb4a29abd920ec1e2e" + } + }, + "message": { + "userId": "rudder1235678", + "channel": "web", + "context": { + "ip": "14.5.67.21", + "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" + }, + "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)" + }, + "type": "identify", + "traits": { + "email": "chandan@companyname.com", + "phone": "92374162212", + "name": "John Doe" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "GET", + "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678", + "headers": { + "Authorization": "Basic a5e75d99c8a18acb4a29abd920ec1e2e", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.revenuecat.com/v1/subscribers/rudder1235678/attributes", + "headers": { + "Authorization": "Basic a5e75d99c8a18acb4a29abd920ec1e2e", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "attributes": { + "app_user_id": { + "value": "rudder1235678" + }, + "$displayName": { + "value": "John Doe" + }, + "$email": { + "value": "chandan@companyname.com" + }, + "$phoneNumber": { + "value": "92374162212" + }, + "$ip": { + "value": "14.5.67.21" + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "revenue_cat", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "dummyApiKey" + } + }, + "message": { + "type": "track", + "userId": "rudder123", + "properties": { + "checkout_id": "12345", + "order_id": "1234", + "affiliation": "Apple Store", + "total": 20, + "revenue": 15, + "shipping": 22, + "tax": 1, + "discount": 1.5, + "coupon": "ImagePro", + "currency": "USD", + "fetch_token": "dummyFetchToken", + "product_id": "123", + "products": [ + { + "sku": "G-32", + "name": "Monopoly", + "price": 14, + "quantity": 1, + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + }, + { + "product_id": "345", + "sku": "F-32", + "name": "UNO", + "price": 3.45, + "quantity": 2, + "category": "Games", + "introductory_price": "250", + "is_restore": false, + "presented_offering_identifier": "123erd" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "X-Platform is required field", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "REVENUE_CAT", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "revenue_cat", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "xPlatform": "stripe" + } + }, + "message": { + "type": "track", + "userId": "rudder123", + "properties": { + "checkout_id": "12345", + "order_id": "1234", + "affiliation": "Apple Store", + "total": 20, + "revenue": 15, + "shipping": 22, + "tax": 1, + "discount": 1.5, + "coupon": "ImagePro", + "currency": "USD", + "fetch_token": "dummyFetchToken", + "product_id": "123", + "products": [ + { + "sku": "G-32", + "name": "Monopoly", + "price": 14, + "quantity": 1, + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + }, + { + "product_id": "345", + "sku": "F-32", + "name": "UNO", + "price": 3.45, + "quantity": 2, + "category": "Games", + "introductory_price": "250", + "is_restore": false, + "presented_offering_identifier": "123erd" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.revenuecat.com/v1/receipts", + "headers": { + "Authorization": "Basic dummyApiKey", + "Content-Type": "application/json", + "X-Platform": "stripe" + }, + "params": {}, + "body": { + "JSON": { + "app_user_id": "rudder123", + "fetch_token": "dummyFetchToken", + "product_id": "123", + "currency": "USD", + "price": 14, + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.revenuecat.com/v1/receipts", + "headers": { + "Authorization": "Basic dummyApiKey", + "Content-Type": "application/json", + "X-Platform": "stripe" + }, + "params": {}, + "body": { + "JSON": { + "app_user_id": "rudder123", + "fetch_token": "dummyFetchToken", + "product_id": "345", + "currency": "USD", + "price": 3.45, + "introductory_price": "250", + "is_restore": false, + "presented_offering_identifier": "123erd" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "revenue_cat", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "xPlatform": "stripe" + } + }, + "message": { + "type": "track", + "userId": "rudder123", + "properties": { + "checkout_id": "12345", + "order_id": "1234", + "affiliation": "Apple Store", + "total": 20, + "revenue": 15, + "shipping": 22, + "tax": 1, + "discount": 1.5, + "coupon": "ImagePro", + "currency": "USD", + "fetch_token": "dummyFetchToken", + "product_id": "123-sa", + "products": [ + { + "sku": "G-32", + "name": "Monopoly", + "price": 14, + "quantity": 1, + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + }, + { + "product_id": "345", + "sku": "F-32", + "name": "UNO", + "price": 3.45, + "quantity": 2, + "category": "Games", + "introductory_price": "250", + "is_restore": false, + "presented_offering_identifier": "123erd" + }, + { + "sku": "G-33", + "name": "SunGlass", + "price": 14, + "quantity": 1, + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + }, + { + "sku": "G-35", + "product_id": "1234sb", + "name": "Real-me", + "price": 14, + "quantity": 1, + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.revenuecat.com/v1/receipts", + "headers": { + "Authorization": "Basic dummyApiKey", + "Content-Type": "application/json", + "X-Platform": "stripe" + }, + "params": {}, + "body": { + "JSON": { + "app_user_id": "rudder123", + "fetch_token": "dummyFetchToken", + "product_id": "123-sa", + "currency": "USD", + "price": 14, + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.revenuecat.com/v1/receipts", + "headers": { + "Authorization": "Basic dummyApiKey", + "Content-Type": "application/json", + "X-Platform": "stripe" + }, + "params": {}, + "body": { + "JSON": { + "app_user_id": "rudder123", + "fetch_token": "dummyFetchToken", + "product_id": "345", + "currency": "USD", + "price": 3.45, + "introductory_price": "250", + "is_restore": false, + "presented_offering_identifier": "123erd" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.revenuecat.com/v1/receipts", + "headers": { + "Authorization": "Basic dummyApiKey", + "Content-Type": "application/json", + "X-Platform": "stripe" + }, + "params": {}, + "body": { + "JSON": { + "app_user_id": "rudder123", + "fetch_token": "dummyFetchToken", + "product_id": "123-sa", + "currency": "USD", + "price": 14, + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.revenuecat.com/v1/receipts", + "headers": { + "Authorization": "Basic dummyApiKey", + "Content-Type": "application/json", + "X-Platform": "stripe" + }, + "params": {}, + "body": { + "JSON": { + "app_user_id": "rudder123", + "fetch_token": "dummyFetchToken", + "product_id": "1234sb", + "currency": "USD", + "price": 14, + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "revenue_cat", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "apiKey": "dummyApiKey", + "xPlatform": "stripe" + } + }, + "message": { + "type": "track", + "userId": "rudder123", + "properties": { + "checkout_id": "12345", + "order_id": "1234", + "affiliation": "Apple Store", + "total": 20, + "revenue": 15, + "shipping": 22, + "tax": 1, + "discount": 1.5, + "coupon": "ImagePro", + "currency": "USD", + "fetch_token": "dummyFetchToken", + "product_id": "123-sa", + "sku": "G-32", + "name": "Monopoly", + "price": 14, + "quantity": 1, + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.revenuecat.com/v1/receipts", + "headers": { + "Authorization": "Basic dummyApiKey", + "Content-Type": "application/json", + "X-Platform": "stripe" + }, + "params": {}, + "body": { + "JSON": { + "app_user_id": "rudder123", + "fetch_token": "dummyFetchToken", + "product_id": "123-sa", + "price": 14, + "currency": "USD", + "introductory_price": "350", + "is_restore": true, + "presented_offering_identifier": "123erd" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/rockerbox/processor/data.ts b/test/integrations/destinations/rockerbox/processor/data.ts new file mode 100644 index 0000000000..ff8f6d4620 --- /dev/null +++ b/test/integrations/destinations/rockerbox/processor/data.ts @@ -0,0 +1,749 @@ +export const data = [ + { + "name": "rockerbox", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "advertiserId": "KDH4JNDHCFJHJ57SJOWJE490W01JFNHGDSSFHDKDSDF" + } + }, + "message": { + "context": { + "traits": { + "homwTown": "kanpur", + "age": "24" + } + }, + "type": "Identify", + "userId": "yash001", + "originalTimestamp": "2019-10-14T09:03:17.562Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Message type identify is not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "ROCKERBOX", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "rockerbox", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "advertiserId": "test id", + "eventFilteringOption": "disable", + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eventsMap": [ + { + "from": "Product Added To Cart", + "to": "conv.add_to_cart" + } + ], + "useNativeSDK": { + "web": false + }, + "clientAuthId": { + "web": "test-client-auth-id" + }, + "oneTrustCookieCategories": { + "web": [ + { + "oneTrustCookieCategory": "Marketing Sample" + } + ] + }, + "customDomain": { + "web": "https://cookiedomain.com" + }, + "enableCookieSync": { + "web": true + } + } + }, + "message": { + "type": "track", + "event": "Product Added", + "sentAt": "2022-08-07T20:02:19.352Z", + "userId": "userSampleX138", + "channel": "web", + "context": { + "os": { + "name": "", + "version": "" + }, + "locale": "en-IN", + "screen": { + "width": 1440, + "height": 900, + "density": 2, + "innerWidth": 584, + "innerHeight": 789 + }, + "traits": { + "email": "userSampleX120@gmail.com", + "phone": "9878764736", + "last_name": "Stack", + "first_name": "Rudder", + "subscription": "youtube" + }, + "campaign": {}, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" + }, + "rudderId": "4a47e99b-2afc-45c6-b902-ed69282ca805", + "messageId": "1659902539347900-c622426c-a1dd-44c0-ac6d-d4dbee3f4a93", + "properties": { + "checkout_id": "12345", + "product_url": "http://www.yourdomain.com/products/red-t-shirt", + "product_name": "Red T-shirt" + }, + "anonymousId": "5f093403-1457-4a2c-b4e4-c61ec3bacf56", + "integrations": { + "All": true + }, + "originalTimestamp": "2022-08-07T20:02:19.347Z" + }, + "writeKey": "2D0yaayoBD7bp8uFomnBONdedcA", + "requestIP": "[::1]", + "receivedAt": "2022-08-08T01:32:19.369+05:30" + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "The event is not associated to a RockerBox event. Aborting!", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "ROCKERBOX", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "rockerbox", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "advertiserId": "test id", + "eventFilteringOption": "disable", + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eventsMap": [ + { + "from": "Product Added", + "to": "conv.add_to_cart" + } + ], + "useNativeSDK": { + "web": false + }, + "clientAuthId": { + "web": "test-client-auth-id" + }, + "oneTrustCookieCategories": { + "web": [ + { + "oneTrustCookieCategory": "Marketing Sample" + } + ] + }, + "customDomain": { + "web": "https://cookiedomain.com" + }, + "enableCookieSync": { + "web": true + } + } + }, + "message": { + "type": "track", + "event": "Product Added", + "sentAt": "2022-08-07T20:02:19.352Z", + "userId": "userSampleX138", + "channel": "web", + "context": { + "os": { + "name": "", + "version": "" + }, + "locale": "en-IN", + "traits": { + "email": "userSampleX120@gmail.com", + "phone": "9878764736", + "last_name": "Stack", + "first_name": "Rudder" + }, + "campaign": {}, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" + }, + "rudderId": "4a47e99b-2afc-45c6-b902-ed69282ca805", + "messageId": "1659902539347900-c622426c-a1dd-44c0-ac6d-d4dbee3f4a93", + "properties": { + "checkout_id": "12345", + "product_url": "http://www.yourdomain.com/products/red-t-shirt", + "product_name": "Red T-shirt" + }, + "anonymousId": "5f093403-1457-4a2c-b4e4-c61ec3bacf56", + "integrations": { + "All": true + }, + "originalTimestamp": "2022-08-07T20:02:19.347Z" + }, + "writeKey": "2D0yaayoBD7bp8uFomnBONdedcA", + "requestIP": "[::1]", + "receivedAt": "2022-08-08T01:32:19.369+05:30" + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://webhooks.getrockerbox.com/rudderstack", + "headers": {}, + "params": { + "advertiser": "test id" + }, + "body": { + "JSON": { + "customer_id": "userSampleX138", + "anonymous_id": "5f093403-1457-4a2c-b4e4-c61ec3bacf56", + "email": "userSampleX120@gmail.com", + "phone": "9878764736", + "timestamp": 1659902539, + "conversion_source": "RudderStack", + "action": "conv.add_to_cart", + "checkout_id": "12345", + "product_url": "http://www.yourdomain.com/products/red-t-shirt", + "product_name": "Red T-shirt" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "rockerbox", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "advertiserId": "test id", + "eventFilteringOption": "disable", + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eventsMap": [ + { + "from": "Product Added", + "to": "conv.add_to_cart" + } + ], + "useNativeSDK": { + "web": false + }, + "clientAuthId": { + "web": "test-client-auth-id" + }, + "oneTrustCookieCategories": { + "web": [ + { + "oneTrustCookieCategory": "Marketing Sample" + } + ] + }, + "customDomain": { + "web": "https://cookiedomain.com" + }, + "enableCookieSync": { + "web": true + } + } + }, + "message": { + "type": "track", + "event": "Product Added", + "sentAt": "2022-08-07T20:02:19.352Z", + "userId": "userSampleX138", + "channel": "web", + "context": { + "os": { + "name": "", + "version": "" + }, + "locale": "en-IN", + "traits": { + "email": "userSampleX120@gmail.com", + "phone": "9878764736", + "last_name": "Stack", + "first_name": "Rudder" + }, + "externalId": [ + { + "type": "rockerboxExternalId", + "id": "rbUid" + } + ], + "campaign": {}, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" + }, + "rudderId": "4a47e99b-2afc-45c6-b902-ed69282ca805", + "messageId": "1659902539347900-c622426c-a1dd-44c0-ac6d-d4dbee3f4a93", + "properties": { + "checkout_id": "12345", + "product_url": "http://www.yourdomain.com/products/red-t-shirt", + "product_name": "Red T-shirt", + "externalId": "rbUid", + "countryCode": "IN", + "listingId": "10101" + }, + "anonymousId": "5f093403-1457-4a2c-b4e4-c61ec3bacf56", + "integrations": { + "All": true + }, + "originalTimestamp": "2022-08-07T20:02:19.347Z" + }, + "writeKey": "2D0yaayoBD7bp8uFomnBONdedcA", + "requestIP": "[::1]", + "receivedAt": "2022-08-08T01:32:19.369+05:30" + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://webhooks.getrockerbox.com/rudderstack", + "headers": {}, + "params": { + "advertiser": "test id" + }, + "body": { + "JSON": { + "customer_id": "userSampleX138", + "anonymous_id": "5f093403-1457-4a2c-b4e4-c61ec3bacf56", + "email": "userSampleX120@gmail.com", + "phone": "9878764736", + "timestamp": 1659902539, + "country_code": "IN", + "listing_id": "10101", + "conversion_source": "RudderStack", + "action": "conv.add_to_cart", + "checkout_id": "12345", + "product_url": "http://www.yourdomain.com/products/red-t-shirt", + "product_name": "Red T-shirt", + "externalId": "rbUid" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "rockerbox", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "advertiserId": "hdowhfiqhfwaiwhrdafshbfacicolsa", + "eventFilteringOption": "disable", + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eventsMap": [ + { + "from": "Product Added", + "to": "conv.add_to_cart" + } + ], + "customPropsMapping": [ + { + "from": "unit_id", + "to": "unitID" + }, + { + "from": "merch_id", + "to": "merch_id" + }, + { + "from": "bounce_id", + "to": "bounceID" + } + ], + "useNativeSDK": { + "web": false + }, + "useNativeSDKToSend": { + "web": false + }, + "clientAuthId": { + "web": "" + }, + "oneTrustCookieCategories": { + "web": [ + { + "oneTrustCookieCategory": "" + } + ] + }, + "customDomain": { + "web": "" + }, + "enableCookieSync": { + "web": false + } + } + }, + "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", + "anonymousId": "anon_id", + "type": "track", + "traits": { + "userId": "anon_id", + "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" + }, + "writeKey": "2D0yaayoBD7bp8uFomnBONdedcA", + "requestIP": "[::1]", + "receivedAt": "2022-08-08T01:32:19.369+05:30" + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://webhooks.getrockerbox.com/rudderstack", + "headers": {}, + "params": { + "advertiser": "hdowhfiqhfwaiwhrdafshbfacicolsa" + }, + "body": { + "JSON": { + "customer_id": "anon_id", + "anonymous_id": "anon_id", + "email": "jamesDoe@gmail.com", + "phone": "92374162212", + "timestamp": 1571043797, + "conversion_source": "RudderStack", + "action": "conv.add_to_cart", + "unit_id": 123, + "merch_id": false, + "bounceiD": "fakefake", + "counce_id": "" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "rockerbox", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "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": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Anyone of userId or anonymousId is required to make the call", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "ROCKERBOX", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/rockerbox/router/data.ts b/test/integrations/destinations/rockerbox/router/data.ts new file mode 100644 index 0000000000..caa8f1ba08 --- /dev/null +++ b/test/integrations/destinations/rockerbox/router/data.ts @@ -0,0 +1,314 @@ +export const data = [ + { + name: 'rockerbox', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + advertiserId: 'test id', + eventFilteringOption: 'disable', + whitelistedEvents: [ + { + eventName: '', + }, + ], + blacklistedEvents: [ + { + eventName: '', + }, + ], + eventsMap: [ + { + from: 'Product Added', + to: 'conv.add_to_cart', + }, + ], + useNativeSDK: { + web: false, + }, + clientAuthId: { + web: 'test-client-auth-id', + }, + oneTrustCookieCategories: { + web: [ + { + oneTrustCookieCategory: 'Marketing Sample', + }, + ], + }, + customDomain: { + web: 'https://cookiedomain.com', + }, + enableCookieSync: { + web: true, + }, + }, + }, + metadata: { + jobId: 1, + }, + message: { + type: 'track', + event: 'Product Added', + sentAt: '2022-08-07T20:02:19.352Z', + userId: 'userSampleX138', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + locale: 'en-IN', + traits: { + email: 'userSampleX120@gmail.com', + phone: '9878764736', + last_name: 'Stack', + first_name: 'Rudder', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + }, + rudderId: '4a47e99b-2afc-45c6-b902-ed69282ca805', + messageId: '1659902539347900-c622426c-a1dd-44c0-ac6d-d4dbee3f4a93', + properties: { + checkout_id: '12345', + product_url: 'http://www.yourdomain.com/products/red-t-shirt', + product_name: 'Red T-shirt', + }, + anonymousId: '5f093403-1457-4a2c-b4e4-c61ec3bacf56', + integrations: { + All: true, + }, + originalTimestamp: '2022-08-07T20:02:19.347Z', + }, + writeKey: '2D0yaayoBD7bp8uFomnBONdedcA', + requestIP: '[::1]', + receivedAt: '2022-08-08T01:32:19.369+05:30', + }, + ], + destType: 'rockerbox', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: { + body: { + FORM: {}, + JSON: { + action: 'conv.add_to_cart', + anonymous_id: '5f093403-1457-4a2c-b4e4-c61ec3bacf56', + checkout_id: '12345', + conversion_source: 'RudderStack', + customer_id: 'userSampleX138', + email: 'userSampleX120@gmail.com', + phone: '9878764736', + product_name: 'Red T-shirt', + product_url: 'http://www.yourdomain.com/products/red-t-shirt', + timestamp: 1659902539, + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://webhooks.getrockerbox.com/rudderstack', + files: {}, + headers: {}, + method: 'POST', + params: { advertiser: 'test id' }, + type: 'REST', + version: '1', + }, + destination: { + Config: { + advertiserId: 'test id', + blacklistedEvents: [{ eventName: '' }], + clientAuthId: { web: 'test-client-auth-id' }, + customDomain: { web: 'https://cookiedomain.com' }, + enableCookieSync: { web: true }, + eventFilteringOption: 'disable', + eventsMap: [{ from: 'Product Added', to: 'conv.add_to_cart' }], + oneTrustCookieCategories: { + web: [{ oneTrustCookieCategory: 'Marketing Sample' }], + }, + useNativeSDK: { web: false }, + whitelistedEvents: [{ eventName: '' }], + }, + }, + metadata: [{ jobId: 1 }], + statusCode: 200, + }, + ], + }, + }, + }, + }, + { + name: 'rockerbox', + description: 'Test 1', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + advertiserId: 'test id', + eventFilteringOption: 'disable', + whitelistedEvents: [ + { + eventName: '', + }, + ], + blacklistedEvents: [ + { + eventName: '', + }, + ], + eventsMap: [ + { + from: 'Product Viewed', + to: 'conv.add_to_cart', + }, + ], + useNativeSDK: { + web: false, + }, + clientAuthId: { + web: 'test-client-auth-id', + }, + oneTrustCookieCategories: { + web: [ + { + oneTrustCookieCategory: 'Marketing Sample', + }, + ], + }, + customDomain: { + web: 'https://cookiedomain.com', + }, + enableCookieSync: { + web: true, + }, + }, + }, + metadata: { + jobId: 2, + }, + message: { + type: 'track', + event: 'Product Viewed', + sentAt: '2022-08-07T20:02:19.352Z', + userId: 'userSampleX138', + channel: 'web', + context: { + os: { + name: '', + version: '', + }, + locale: 'en-IN', + traits: { + email: 'userSampleX120@gmail.com', + phone: '9878764736', + last_name: 'Stack', + first_name: 'Rudder', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + }, + rudderId: '4a47e99b-2afc-45c6-b902-ed69282ca805', + messageId: '1659902539347900-c622426c-a1dd-44c0-ac6d-d4dbee3f4a93', + properties: { + checkout_id: '12345', + product_url: 'http://www.yourdomain.com/products/red-t-shirt', + product_name: 'Red T-shirt', + }, + anonymousId: '5f093403-1457-4a2c-b4e4-c61ec3bacf56', + integrations: { + All: true, + }, + originalTimestamp: '2022-08-07T20:02:19.347Z', + }, + writeKey: '2D0yaayoBD7bp8uFomnBONdedcA', + requestIP: '[::1]', + receivedAt: '2022-08-08T01:32:19.369+05:30', + }, + ], + destType: 'rockerbox', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: { + body: { + FORM: {}, + JSON: { + action: 'conv.add_to_cart', + anonymous_id: '5f093403-1457-4a2c-b4e4-c61ec3bacf56', + checkout_id: '12345', + conversion_source: 'RudderStack', + customer_id: 'userSampleX138', + email: 'userSampleX120@gmail.com', + phone: '9878764736', + product_name: 'Red T-shirt', + product_url: 'http://www.yourdomain.com/products/red-t-shirt', + timestamp: 1659902539, + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://webhooks.getrockerbox.com/rudderstack', + files: {}, + headers: {}, + method: 'POST', + params: { advertiser: 'test id' }, + type: 'REST', + version: '1', + }, + destination: { + Config: { + advertiserId: 'test id', + blacklistedEvents: [{ eventName: '' }], + clientAuthId: { web: 'test-client-auth-id' }, + customDomain: { web: 'https://cookiedomain.com' }, + enableCookieSync: { web: true }, + eventFilteringOption: 'disable', + eventsMap: [{ from: 'Product Viewed', to: 'conv.add_to_cart' }], + oneTrustCookieCategories: { + web: [{ oneTrustCookieCategory: 'Marketing Sample' }], + }, + useNativeSDK: { web: false }, + whitelistedEvents: [{ eventName: '' }], + }, + }, + metadata: [{ jobId: 2 }], + statusCode: 200, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/salesforce/dataDelivery/data.ts b/test/integrations/destinations/salesforce/dataDelivery/data.ts new file mode 100644 index 0000000000..504159cc6f --- /dev/null +++ b/test/integrations/destinations/salesforce/dataDelivery/data.ts @@ -0,0 +1,833 @@ +import { AxiosError } from 'axios'; +import MockAdapter from 'axios-mock-adapter'; + +export const data = [ + { + name: 'salesforce', + description: 'Test 0', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + }, + version: '1', + endpoint: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/1', + body: { + XML: {}, + FORM: {}, + JSON: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + JSON_ARRAY: {}, + }, + metadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + params: { + destination: 'salesforce', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + status: 200, + message: 'Request for destination: salesforce Processed Successfully', + destinationResponse: { + response: { + statusText: 'No Content', + }, + status: 204, + rudderJobMetadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + }, + }, + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 1', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + }, + version: '1', + endpoint: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/3', + body: { + XML: {}, + FORM: {}, + JSON: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + JSON_ARRAY: {}, + }, + metadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + params: { + destination: 'salesforce', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + status: 500, + message: + 'Salesforce Request Failed - due to "INVALID_SESSION_ID", (Retryable) during Salesforce Response Handling', + destinationResponse: { + response: [ + { + message: 'Session expired or invalid', + errorCode: 'INVALID_SESSION_ID', + }, + ], + status: 401, + rudderJobMetadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + }, + statTags: { + destType: 'SALESFORCE', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 2', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer Incorrect_token', + }, + version: '1', + endpoint: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/2', + body: { + XML: {}, + FORM: {}, + JSON: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + JSON_ARRAY: {}, + }, + metadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + params: { + destination: 'salesforce', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: + 'Salesforce Request Failed: "401" due to "INVALID_HEADER_TYPE", (Aborted) during Salesforce Response Handling', + destinationResponse: { + response: [ + { + message: 'INVALID_HEADER_TYPE', + errorCode: 'INVALID_AUTH_HEADER', + }, + ], + status: 401, + rudderJobMetadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + }, + statTags: { + destType: 'SALESFORCE', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 3', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + }, + version: '1', + endpoint: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/4', + body: { + XML: {}, + FORM: {}, + JSON: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + JSON_ARRAY: {}, + }, + metadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + params: { + destination: 'salesforce', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 429, + body: { + output: { + status: 429, + message: + 'Salesforce Request Failed - due to "REQUEST_LIMIT_EXCEEDED", (Throttled) during Salesforce Response Handling', + destinationResponse: { + response: [ + { + message: 'Request limit exceeded', + errorCode: 'REQUEST_LIMIT_EXCEEDED', + }, + ], + status: 403, + rudderJobMetadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + }, + statTags: { + destType: 'SALESFORCE', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'throttled', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 4', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + }, + version: '1', + endpoint: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/5', + body: { + XML: {}, + FORM: {}, + JSON: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + JSON_ARRAY: {}, + }, + metadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + params: { + destination: 'salesforce', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + status: 500, + message: + 'Salesforce Request Failed - due to "Server Unavailable", (Retryable) during Salesforce Response Handling', + destinationResponse: { + response: [ + { + message: 'Server Unavailable', + errorCode: 'SERVER_UNAVAILABLE', + }, + ], + status: 503, + rudderJobMetadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + }, + statTags: { + destType: 'SALESFORCE', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 5', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + }, + version: '1', + endpoint: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/6', + body: { + XML: {}, + FORM: {}, + JSON: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + JSON_ARRAY: {}, + }, + metadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + params: { + destination: 'salesforce', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: + 'Salesforce Request Failed: "400" due to "{"error":"invalid_grant","error_description":"authentication failure"}", (Aborted) during Salesforce Response Handling', + destinationResponse: { + response: { + error: 'invalid_grant', + error_description: 'authentication failure', + }, + status: 400, + rudderJobMetadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + }, + statTags: { + destType: 'SALESFORCE', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 6', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + }, + version: '1', + endpoint: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/7', + body: { + XML: {}, + FORM: {}, + JSON: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + JSON_ARRAY: {}, + }, + metadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + params: { + destination: 'salesforce', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + destinationResponse: { + response: { + errorCode: 'SERVER_UNAVAILABLE', + message: 'Server Unavailable', + }, + rudderJobMetadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + status: 503, + }, + message: + 'Salesforce Request Failed - due to "{"message":"Server Unavailable","errorCode":"SERVER_UNAVAILABLE"}", (Retryable) during Salesforce Response Handling', + statTags: { + destType: 'SALESFORCE', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + status: 500, + }, + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 7', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + method: 'POST', + endpoint: + 'https://rudderstack.my.salesforce.com/services/data/v50.0/parameterizedSearch/?q=123&sobject=object_name&in=External_ID__c&object_name.fields=id,External_ID__c', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + }, + body: { + JSON: { + Planning_Categories__c: 'pc', + External_ID__c: 123, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + metadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + params: { + destination: 'salesforce', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + status: 200, + message: 'Request for destination: salesforce Processed Successfully', + destinationResponse: { + response: { + searchRecords: [ + { + attributes: { + type: 'object_name', + url: '/services/data/v50.0/sobjects/object_name/a0J75100002w97gEAA', + }, + Id: 'a0J75100002w97gEAA', + External_ID__c: 'external_id', + }, + { + attributes: { + type: 'object_name', + url: '/services/data/v50.0/sobjects/object_name/a0J75200002w9ZsEAI', + }, + Id: 'a0J75200002w9ZsEAI', + External_ID__c: 'external_id TEST', + }, + ], + }, + status: 200, + rudderJobMetadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + }, + }, + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 8', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + }, + version: '1', + endpoint: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/101', + body: { + XML: {}, + FORM: {}, + JSON: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + JSON_ARRAY: {}, + }, + metadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + params: { + destination: 'salesforce', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + status: 500, + message: + 'Salesforce Request Failed - due to ""[ECONNABORTED] :: Connection aborted"", (Retryable) during Salesforce Response Handling', + destinationResponse: { + response: '[ECONNABORTED] :: Connection aborted', + status: 500, + rudderJobMetadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + }, + statTags: { + destType: 'SALESFORCE', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + mockFns: (mockAdapter: MockAdapter) => { + // params has `{ destination: salesforce }` + mockAdapter + .onPost( + 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/101', + { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + 'User-Agent': 'RudderLabs', + Accept: 'application/json, text/plain, */*', + }, + ) + .abortRequest(); + }, + }, + { + name: 'salesforce', + description: 'Test 9', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + type: 'REST', + files: {}, + method: 'POST', + userId: '', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + }, + version: '1', + endpoint: 'https://rudder.my.salesforce.com/services/data/v50.0/sobjects/Lead/102', + body: { + XML: {}, + FORM: {}, + JSON: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + JSON_ARRAY: {}, + }, + metadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + params: { + destination: 'salesforce', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + status: 500, + message: + 'Salesforce Request Failed - due to ""[EAI_AGAIN] :: Temporary failure in name resolution"", (Retryable) during Salesforce Response Handling', + destinationResponse: { + response: '[EAI_AGAIN] :: Temporary failure in name resolution', + status: 500, + rudderJobMetadata: { + destInfo: { + authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', + }, + }, + }, + statTags: { + destType: 'SALESFORCE', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + mockFns: (mockAdapter: MockAdapter) => { + // params has `{ destination: salesforce }` + mockAdapter + .onPost( + 'https://rudder.my.salesforce.com/services/data/v50.0/sobjects/Lead/102', + { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + 'User-Agent': 'RudderLabs', + Accept: 'application/json, text/plain, */*', + }, + ) + .reply((config) => { + // @ts-ignore + const err = AxiosError.from('DNS not found', 'EAI_AGAIN', config); + return Promise.reject(err); + }); + }, + }, +]; diff --git a/test/integrations/destinations/salesforce/network.ts b/test/integrations/destinations/salesforce/network.ts new file mode 100644 index 0000000000..396fad9d69 --- /dev/null +++ b/test/integrations/destinations/salesforce/network.ts @@ -0,0 +1,326 @@ +const tfProxyMocksData = [ + { + httpReq: { + url: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/1', + data: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + params: { destination: 'salesforce' }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { statusText: 'No Content' }, + status: 204, + }, + }, + { + httpReq: { + url: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/3', + data: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + params: { destination: 'salesforce' }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: [{ message: 'Session expired or invalid', errorCode: 'INVALID_SESSION_ID' }], + status: 401, + }, + }, + { + httpReq: { + url: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/2', + data: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + params: { destination: 'salesforce' }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer Incorrect_token', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: [{ message: 'INVALID_HEADER_TYPE', errorCode: 'INVALID_AUTH_HEADER' }], + status: 401, + }, + }, + { + httpReq: { + url: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/4', + data: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + params: { destination: 'salesforce' }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: [{ message: 'Request limit exceeded', errorCode: 'REQUEST_LIMIT_EXCEEDED' }], + status: 403, + }, + }, + { + httpReq: { + url: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/5', + data: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + params: { destination: 'salesforce' }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: [{ message: 'Server Unavailable', errorCode: 'SERVER_UNAVAILABLE' }], + status: 503, + }, + }, + { + httpReq: { + url: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/6', + data: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + params: { destination: 'salesforce' }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { error: 'invalid_grant', error_description: 'authentication failure' }, + status: 400, + }, + }, + { + httpReq: { + url: 'https://rudderstack.my.salesforce.com/services/data/v50.0/sobjects/Lead/7', + data: { + Email: 'denis.kornilov@sbermarket.ru', + Company: 'sbermarket.ru', + LastName: 'Корнилов', + FirstName: 'Денис', + LeadSource: 'App Signup', + account_type__c: 'free_trial', + }, + params: { destination: 'salesforce' }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + message: 'Server Unavailable', + errorCode: 'SERVER_UNAVAILABLE', + }, + status: 503, + }, + }, + { + httpReq: { + url: 'https://rudderstack.my.salesforce.com/services/data/v50.0/parameterizedSearch/?q=123&sobject=object_name&in=External_ID__c&object_name.fields=id,External_ID__c', + data: { Planning_Categories__c: 'pc', External_ID__c: 123 }, + params: { destination: 'salesforce' }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer token', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + searchRecords: [ + { + attributes: { + type: 'object_name', + url: '/services/data/v50.0/sobjects/object_name/a0J75100002w97gEAA', + }, + Id: 'a0J75100002w97gEAA', + External_ID__c: 'external_id', + }, + { + attributes: { + type: 'object_name', + url: '/services/data/v50.0/sobjects/object_name/a0J75200002w9ZsEAI', + }, + Id: 'a0J75200002w9ZsEAI', + External_ID__c: 'external_id TEST', + }, + ], + }, + status: 200, + }, + }, +]; + +const transformationMocksData = [ + { + httpReq: { + url: 'https://login.salesforce.com/services/oauth2/token?username=testsalesforce1453@gmail.com&password=dummyPassword1dummyInitialAccessToken&client_id=undefined&client_secret=undefined&grant_type=password', + method: 'POST', + }, + httpRes: { + status: 200, + data: { + access_token: + '00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + instance_url: 'https://ap15.salesforce.com', + id: 'https://login.salesforce.com/id/00D2v000002lXbXEAU/0052v00000ga9WqAAI', + token_type: 'Bearer', + issued_at: '1582343657644', + signature: 'XRgUHXVBSWhLHZVoVFZby/idWXdAPA5lMW/ZdLMzB8o=', + }, + }, + }, + { + httpReq: { + url: 'https://test.salesforce.com/services/oauth2/token?username=test.c97-qvpd@force.com.test&password=dummyPassword27fiy1FKcO9sohsxq1v6J88sg&client_id=undefined&client_secret=undefined&grant_type=password', + method: 'POST', + }, + httpRes: { + status: 200, + data: { + access_token: + '00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + instance_url: 'https://ap15.salesforce.com', + id: 'https://login.salesforce.com/id/00D2v000002lXbXEAU/0052v00000ga9WqAAI', + token_type: 'Bearer', + issued_at: '1582343657644', + signature: 'XRgUHXVBSWhLHZVoVFZby/idWXdAPA5lMW/ZdLMzB8o=', + abc: '123', + }, + }, + }, + { + httpReq: { + url: 'https://ap15.salesforce.com/services/data/v50.0/parameterizedSearch/?q=peter.gibbons%40initech.com&sobject=Lead&Lead.fields=id', + method: 'GET', + }, + httpRes: { + status: 200, + data: { + searchRecords: [], + }, + }, + }, + { + httpReq: { + url: 'https://ap15.salesforce.com/services/data/v50.0/parameterizedSearch/?q=peter.gibbons%40initech.com&sobject=Lead&Lead.fields=id,IsConverted,ConvertedContactId,IsDeleted', + method: 'GET', + }, + httpRes: { + status: 200, + data: { + searchRecords: [], + }, + }, + }, + { + httpReq: { + url: 'https://ap15.salesforce.com/services/data/v50.0/parameterizedSearch/?q=peter.gibbons%40initech.com&sobject=Lead&Lead.fields=id,IsConverted,ConvertedContactId,IsDeleted', + method: 'GET', + }, + httpRes: { + status: 200, + data: { + searchRecords: [], + }, + }, + }, + { + httpReq: { + url: 'https://ap15.salesforce.com/services/data/v50.0/parameterizedSearch/?q=peter.gibbons1%40initech.com&sobject=Lead&Lead.fields=id', + method: 'GET', + }, + httpRes: { + status: 200, + data: { + searchRecords: [ + { + attributes: { + type: 'Lead', + url: '/services/data/v50.0/sobjects/Lead/leadId', + }, + Id: 'leadId', + }, + ], + }, + }, + }, + { + httpReq: { + url: 'https://ap15.salesforce.com/services/data/v50.0/parameterizedSearch/?q=ddv_ua%2B%7B%7B1234*245%7D%7D%40bugFix.com&sobject=Lead&Lead.fields=id,IsConverted,ConvertedContactId,IsDeleted', + method: 'GET', + }, + httpRes: { + status: 200, + data: { + searchRecords: [ + { + attributes: { + type: 'Lead', + url: '/services/data/v50.0/sobjects/Lead/leadId', + }, + Id: 'leadId', + }, + ], + }, + }, + }, +]; +export const networkCallsData = [...tfProxyMocksData, ...transformationMocksData]; diff --git a/test/integrations/destinations/salesforce/processor/data.ts b/test/integrations/destinations/salesforce/processor/data.ts new file mode 100644 index 0000000000..ad0dbb6843 --- /dev/null +++ b/test/integrations/destinations/salesforce/processor/data.ts @@ -0,0 +1,1384 @@ +export const data = [ + { + name: 'salesforce', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + company: 'Initech', + address: { + city: 'east greenwich', + country: 'USA', + state: 'California', + street: '19123 forest lane', + postalCode: '94115', + }, + email: 'peter.gibbons@initech.com', + name: 'Peter Gibbons', + phone: '570-690-4150', + rating: 'Hot', + title: 'VP of Derp', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + userId: '', + endpoint: 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'peter.gibbons@initech.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + }, + ], + }, + }, + }, + { + name: 'salesforce', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + company: 'Initech', + address: { + city: 'east greenwich', + country: 'USA', + state: 'California', + street: '19123 forest lane', + postalCode: '94115', + }, + email: 'peter.gibbons@initech.com', + name: 'Peter Gibbons', + phone: '570-690-4150', + rating: 'Hot', + title: 'VP of Derp', + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + userId: '', + endpoint: 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'peter.gibbons@initech.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + }, + ], + }, + }, + }, + { + name: 'salesforce', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + company: 'Initech', + address: { + city: 'east greenwich', + country: 'USA', + state: 'California', + street: '19123 forest lane', + postalCode: '94115', + }, + email: 'peter.gibbons@initech.com', + name: 'Peter Gibbons', + phone: '570-690-4150', + rating: 'Hot', + title: 'VP of Derp', + LeadSource: 'RudderLabs', + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + output: { + version: '1', + type: 'REST', + userId: '', + method: 'POST', + endpoint: 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'peter.gibbons@initech.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + LeadSource: 'RudderLabs', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + }, + ], + }, + }, + }, + { + name: 'salesforce', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + company: 'Initech', + address: { + city: 'east greenwich', + country: 'USA', + state: 'California', + street: '19123 forest lane', + postalCode: '94115', + }, + email: 'peter.gibbons@initech.com', + name: 'Peter Gibbons', + phone: '570-690-4150', + rating: 'Hot', + title: 'VP of Derp', + LeadSource: 'RudderLabs', + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'track', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'message type track is not supported', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'SALESFORCE', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'salesforce', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + company: 'Initech', + address: { + city: 'east greenwich', + country: 'USA', + state: 'California', + street: '19123 forest lane', + postalCode: '94115', + }, + email: 'peter.gibbons@initech.com', + name: 'Peter Gibbons', + phone: '570-690-4150', + rating: 'Hot', + title: 'VP of Derp', + LeadSource: 'RudderLabs', + customKey: 'customValue', + customNullValue: null, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + output: { + userId: '', + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'peter.gibbons@initech.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + LeadSource: 'RudderLabs', + customKey__c: 'customValue', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + }, + ], + }, + }, + }, + { + name: 'salesforce', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + address: { + city: 'east greenwich', + country: 'USA', + state: 'California', + street: '19123 forest lane', + postalCode: '94115', + }, + email: 'peter.gibbons@initech.com', + phone: '570-690-4150', + rating: 'Hot', + title: 'VP of Derp', + LeadSource: 'RudderLabs', + customKey: 'customValue', + customNullValue: null, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'peter.gibbons@initech.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + PostalCode: '94115', + LastName: 'n/a', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'n/a', + LeadSource: 'RudderLabs', + customKey__c: 'customValue', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'salesforce', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + City: 'east greenwich', + Company: 'Initech', + Country: 'USA', + Email: 'peter.gibbons@initech.com', + FirstName: 'Peter', + LastName: 'Gibbons', + Phone: '570-690-4150', + PostalCode: '94115', + Rating: 'Hot', + State: 'California', + Street: '19123 forest lane', + Title: 'VP of Derp', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + externalId: [ + { + type: 'Salesforce-Contact', + id: 'sf-contact-id', + }, + ], + }, + integrations: { + All: true, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Contact/sf-contact-id?_HttpMethod=PATCH', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email__c: 'peter.gibbons@initech.com', + Phone__c: '570-690-4150', + Rating__c: 'Hot', + Title__c: 'VP of Derp', + FirstName__c: 'Peter', + LastName: 'n/a', + LastName__c: 'Gibbons', + PostalCode__c: '94115', + City__c: 'east greenwich', + Country__c: 'USA', + State__c: 'California', + Street__c: '19123 forest lane', + Company__c: 'Initech', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'salesforce', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + mapProperty: false, + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + externalId: [ + { + type: 'Salesforce-Lead', + id: 'sf-contact-id', + }, + ], + }, + integrations: { + All: true, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead/sf-contact-id?_HttpMethod=PATCH', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + userId: '', + body: { + JSON: { + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + }, + ], + }, + }, + }, + { + name: 'salesforce', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: '7fiy1FKcO9sohsxq1v6J88sg', + password: 'dummyPassword2', + userName: 'test.c97-qvpd@force.com.test', + sandbox: true, + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1ut7LcVW1QC56y2EoTNo7ZwBWSY', + Name: 'Test SF', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + company: 'Initech', + address: { + city: 'east greenwich', + country: 'USA', + state: 'California', + street: '19123 forest lane', + postalCode: '94115', + }, + email: 'peter.gibbons@initech.com', + name: 'Peter Gibbons', + phone: '570-690-4150', + rating: 'Hot', + title: 'VP of Derp', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'peter.gibbons@initech.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'salesforce', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: '7fiy1FKcO9sohsxq1v6J88sg', + password: 'dummyPassword2', + userName: 'test.c97-qvpd@force.com.test', + sandbox: true, + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1ut7LcVW1QC56y2EoTNo7ZwBWSY', + Name: 'Test SF', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + mappedToDestination: true, + externalId: [ + { + id: 'a005g0000383kmUAAQ', + type: 'SALESFORCE-custom_object__c', + identifierType: 'Id', + }, + ], + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + email: 'john@rs.com', + firstname: 'john doe', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + output: { + userId: '', + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://ap15.salesforce.com/services/data/v50.0/sobjects/custom_object__c/a005g0000383kmUAAQ?_HttpMethod=PATCH', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + email: 'john@rs.com', + firstname: 'john doe', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + }, + ], + }, + }, + }, + { + name: 'salesforce', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: '7fiy1FKcO9sohsxq1v6J88sg', + password: 'dummyPassword2', + userName: 'test.c97-qvpd@force.com.test', + sandbox: true, + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1ut7LcVW1QC56y2EoTNo7ZwBWSY', + Name: 'Test SF', + Transformations: [], + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + mappedToDestination: true, + externalId: [ + { + id: 'a005g0000383kmUAAQ', + type: 'SALESFORCE-custom_object__c', + identifierType: 'Id', + }, + ], + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + email: 'john@rs.com', + firstname: 'john doe', + Id: 'some-id', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://ap15.salesforce.com/services/data/v50.0/sobjects/custom_object__c/a005g0000383kmUAAQ?_HttpMethod=PATCH', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + email: 'john@rs.com', + firstname: 'john doe', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/salesforce/router/data.ts b/test/integrations/destinations/salesforce/router/data.ts new file mode 100644 index 0000000000..8c36d3a785 --- /dev/null +++ b/test/integrations/destinations/salesforce/router/data.ts @@ -0,0 +1,635 @@ +import { FEATURES } from '../../../../../src/v0/util/tags'; + +export const data = [ + { + name: 'salesforce', + description: 'Test 0', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + company: 'Initech', + address: { + city: 'east greenwich', + country: 'USA', + state: 'California', + street: '19123 forest lane', + postalCode: '94115', + }, + email: 'peter.gibbons@initech.com', + name: 'Peter Gibbons', + phone: '570-690-4150', + rating: 'Hot', + title: 'VP of Derp', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + metadata: { + jobId: 1, + }, + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + }, + ], + destType: 'salesforce', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'peter.gibbons@initech.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + destInfo: { + authKey: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + }, + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + }, + ], + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 1', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + company: 'Initech', + address: { + city: 'east greenwich', + country: 'USA', + state: 'California', + street: '19123 forest lane', + postalCode: '94115', + }, + email: 'ddv_ua+{{1234*245}}@bugFix.com', + name: 'Peter Gibbons', + phone: '570-690-4150', + rating: 'Hot', + title: 'VP of Derp', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + }, + ], + destType: 'salesforce', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead/leadId?_HttpMethod=PATCH', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'ddv_ua+{{1234*245}}@bugFix.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + destInfo: { + authKey: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + }, + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + }, + ], + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 2', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + traits: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + company: 'Initech', + address: { + city: 'east greenwich', + country: 'USA', + state: 'California', + street: '19123 forest lane', + postalCode: '94115', + }, + email: 'peter.gibbons@initech.com', + name: 'Peter Gibbons', + phone: '570-690-4150', + rating: 'Hot', + title: 'VP of Derp', + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + metadata: { + jobId: 3, + }, + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + }, + ], + destType: 'salesforce', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'peter.gibbons@initech.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + destInfo: { + authKey: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + }, + jobId: 3, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + }, + ], + }, + }, + }, + }, + { + name: 'salesforce', + description: 'Test 3', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'peter.gibbons@initech.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + statusCode: 200, + }, + metadata: { + jobId: 4, + }, + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + }, + ], + destType: 'salesforce', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://ap15.salesforce.com/services/data/v50.0/sobjects/Lead', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Bearer 00D2v000002lXbX!ARcAQJBSGNA1Rq.MbUdtmlREscrN_nO3ckBz6kc4jRQGxqAzNkhT1XZIF0yPqyCQSnezWO3osMw1ewpjToO7q41E9.LvedWY', + }, + params: {}, + body: { + JSON: { + Email: 'peter.gibbons@initech.com', + Phone: '570-690-4150', + Rating: 'Hot', + Title: 'VP of Derp', + FirstName: 'Peter', + LastName: 'Gibbons', + PostalCode: '94115', + City: 'east greenwich', + Country: 'USA', + State: 'California', + Street: '19123 forest lane', + Company: 'Initech', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + statusCode: 200, + }, + metadata: [ + { + destInfo: { + authKey: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + }, + jobId: 4, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + initialAccessToken: 'dummyInitialAccessToken', + password: 'dummyPassword1', + userName: 'testsalesforce1453@gmail.com', + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1WqFFH5esuVPnUgHkvEoYxDcX3y', + Name: 'tst', + Transformations: [], + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/segment/processor/data.ts b/test/integrations/destinations/segment/processor/data.ts new file mode 100644 index 0000000000..0a140e2b99 --- /dev/null +++ b/test/integrations/destinations/segment/processor/data.ts @@ -0,0 +1,670 @@ +export const data = [ + { + "name": "segment", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afmecIpsJm7D72aRTksxyODrwR", + "Name": "Segment", + "DestinationDefinition": { + "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", + "Name": "SEGMENT", + "DisplayName": "Segment", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "writeKey": "abcdefghijklmnopqrstuvwxyz" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "testmp@rudderstack.com", + "firstname": "Test Kafka" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "258b77c6-442d-4bdc-8729-f0e4cef41353", + "name": "home", + "originalTimestamp": "2020-04-17T14:55:31.367Z", + "properties": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "receivedAt": "2020-04-17T20:25:31.381+05:30", + "request_ip": "[::1]:57363", + "sentAt": "2020-04-17T14:55:31.367Z", + "timestamp": "2020-04-17T20:25:31.381+05:30", + "type": "page", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "userId": "user12345", + "endpoint": "https://api.segment.io/v1/batch", + "headers": { + "Content-Type": "application/json", + "Authorization": "Basic YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo6" + }, + "params": {}, + "body": { + "JSON": { + "batch": [ + { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "type": "page", + "userId": "user12345", + "traits": { + "age": 23, + "email": "testmp@rudderstack.com", + "firstname": "Test Kafka" + }, + "properties": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "timeStamp": "2020-04-17T20:25:31.381+05:30" + } + ] + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "segment", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afmecIpsJm7D72aRTksxyODrwR", + "Name": "Segment", + "DestinationDefinition": { + "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", + "Name": "SEGMENT", + "DisplayName": "Segment", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "writeKey": "abcdefghijklmnopqrstuvwxyz" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "testmp@email.com", + "firstname": "Test Transformer" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "023a3a48-190a-4968-9394-a8e99b81a3c0", + "originalTimestamp": "2020-04-17T14:55:31.37Z", + "receivedAt": "2020-04-17T20:25:31.401+05:30", + "request_ip": "[::1]:57364", + "sentAt": "2020-04-17T14:55:31.37Z", + "timestamp": "2020-04-17T20:25:31.401+05:30", + "type": "identify", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "userId": "user12345", + "method": "POST", + "endpoint": "https://api.segment.io/v1/batch", + "headers": { + "Content-Type": "application/json", + "Authorization": "Basic YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo6" + }, + "params": {}, + "body": { + "JSON": { + "batch": [ + { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "type": "identify", + "userId": "user12345", + "traits": { + "age": 23, + "email": "testmp@email.com", + "firstname": "Test Transformer" + }, + "timeStamp": "2020-04-17T20:25:31.401+05:30" + } + ] + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "segment", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afmecIpsJm7D72aRTksxyODrwR", + "Name": "Segment", + "DestinationDefinition": { + "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", + "Name": "SEGMENT", + "DisplayName": "Segment", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "writeKey": "abcdefghijklmnopqrstuvwxyz" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "testmp@email.com", + "firstname": "Test Transformer" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "584fde02-901a-4964-a4a0-4078b999d5b2", + "originalTimestamp": "2020-04-17T14:55:31.372Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-04-17T20:25:31.401+05:30", + "request_ip": "[::1]:57365", + "sentAt": "2020-04-17T14:55:31.372Z", + "timestamp": "2020-04-17T20:25:31.401+05:30", + "type": "track", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "userId": "user12345", + "method": "POST", + "endpoint": "https://api.segment.io/v1/batch", + "headers": { + "Content-Type": "application/json", + "Authorization": "Basic YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo6" + }, + "params": {}, + "body": { + "JSON": { + "batch": [ + { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "type": "track", + "userId": "user12345", + "event": "test track with property", + "traits": { + "age": 23, + "email": "testmp@email.com", + "firstname": "Test Transformer" + }, + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "timeStamp": "2020-04-17T20:25:31.401+05:30" + } + ] + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "segment", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afmecIpsJm7D72aRTksxyODrwR", + "Name": "Segment", + "DestinationDefinition": { + "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", + "Name": "SEGMENT", + "DisplayName": "Segment", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "writeKey": "abcdefghijklmnopqrstuvwxyz" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "traits": { + "age": 23, + "email": "testmp@rudderstack.com", + "firstname": "Test Kafka" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "258b77c6-442d-4bdc-8729-f0e4cef41353", + "name": "home", + "originalTimestamp": "2020-04-17T14:55:31.367Z", + "properties": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "receivedAt": "2020-04-17T20:25:31.381+05:30", + "request_ip": "[::1]:57363", + "sentAt": "2020-04-17T14:55:31.367Z", + "timestamp": "2020-04-17T20:25:31.381+05:30", + "type": "page", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.segment.io/v1/batch", + "headers": { + "Content-Type": "application/json", + "Authorization": "Basic YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo6" + }, + "params": {}, + "body": { + "JSON": { + "batch": [ + { + "type": "page", + "userId": "user12345", + "traits": { + "age": 23, + "email": "testmp@rudderstack.com", + "firstname": "Test Kafka" + }, + "properties": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "timeStamp": "2020-04-17T20:25:31.381+05:30" + } + ] + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "user12345", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "segment", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1afmecIpsJm7D72aRTksxyODrwR", + "Name": "Segment", + "DestinationDefinition": { + "ID": "1afjjahf0X5lSyNze7Xh7aqJs11", + "Name": "SEGMENT", + "DisplayName": "Segment", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "writeKey": "abcdefghijklmnopqrstuvwxyz" + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.2" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.2" + }, + "locale": "en-GB", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/index4.html", + "referrer": "", + "search": "", + "title": "", + "url": "http://localhost/tests/html/index4.html" + }, + "screen": { + "density": 2 + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36" + }, + "event": "test track with property", + "integrations": { + "All": true + }, + "messageId": "584fde02-901a-4964-a4a0-4078b999d5b2", + "originalTimestamp": "2020-04-17T14:55:31.372Z", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "receivedAt": "2020-04-17T20:25:31.401+05:30", + "request_ip": "[::1]:57365", + "sentAt": "2020-04-17T14:55:31.372Z", + "timestamp": "2020-04-17T20:25:31.401+05:30", + "type": "track", + "userId": "user12345" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.segment.io/v1/batch", + "headers": { + "Content-Type": "application/json", + "Authorization": "Basic YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo6" + }, + "params": {}, + "body": { + "JSON": { + "batch": [ + { + "anonymousId": "ac7722c2-ccb6-4ae2-baf6-1effe861f4cd", + "type": "track", + "userId": "user12345", + "event": "test track with property", + "properties": { + "test_prop_1": "test prop", + "test_prop_2": 1232 + }, + "timeStamp": "2020-04-17T20:25:31.401+05:30" + } + ] + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "user12345", + "statusCode": 200 + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/shynet/processor/data.ts b/test/integrations/destinations/shynet/processor/data.ts new file mode 100644 index 0000000000..b3485bc8d5 --- /dev/null +++ b/test/integrations/destinations/shynet/processor/data.ts @@ -0,0 +1,218 @@ +export const data = [ + { + name: 'shynet', + description: 'Test 0: Page Call', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + shynetServiceUrl: + 'https://9710-103-211-12-1.in.ngrok.io/ingress/5b3470a9-be69-4298-9ec1-3fe3f483738c/script.js', + heartBeat: 5000, + }, + }, + message: { + type: 'page', + sentAt: '2022-08-22T13:39:21.034Z', + channel: 'web', + context: { + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/test/ourSdk.html', + path: '/Testing/test/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/test/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/test/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '', + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 689, + }, + traits: { + email: '12312@!fma', + city: 'Pune', + revenue: 93889, + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: 'bf412108-0357-4330-b119-7305e767823c', + messageId: 'bf412108-0357-4330-b119-7305e767823r', + integrations: { + All: true, + }, + originalTimestamp: '2022-08-22T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + FORM: {}, + JSON: { + location: 'http://127.0.0.1:7307/Testing/test/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/test/', + idempotency: 'bf412108-0357-4330-b119-7305e767823r', + }, + JSON_ARRAY: {}, + }, + type: 'REST', + files: {}, + userId: '', + method: 'POST', + params: {}, + headers: { + 'Content-Type': 'application/json', + }, + version: '1', + endpoint: + 'https://9710-103-211-12-1.in.ngrok.io/ingress/5b3470a9-be69-4298-9ec1-3fe3f483738c/script.js', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'shynet', + description: 'Test 1: Page Call without heartBeat Mentioned', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + shynetServiceUrl: + 'https://9710-103-211-12-1.in.ngrok.io/ingress/5b3470a9-be69-4298-9ec1-3fe3f483738c/script.js', + }, + }, + message: { + type: 'page', + sentAt: '2022-08-22T13:39:21.034Z', + channel: 'web', + context: { + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.2.20', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/test/ourSdk.html', + path: '/Testing/test/ourSdk.html', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/test/ourSdk.html', + referrer: 'http://127.0.0.1:7307/Testing/test/', + initial_referrer: '$direct', + referring_domain: '127.0.0.1:7307', + initial_referring_domain: '', + loadTime: 45, + }, + locale: 'en-US', + screen: { + width: 1440, + height: 900, + density: 2, + innerWidth: 536, + innerHeight: 689, + }, + traits: { + email: '12312@!fma', + city: 'Pune', + revenue: 93889, + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.2.20', + }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36', + }, + properties: { + loadTime: 45, + }, + rudderId: '553b5522-c575-40a7-8072-9741c5f9a647', + anonymousId: '675467tfhjgjhfcghjc', + messageId: 'bf412108-0357-4330-b119-7305e767823r', + integrations: { + All: true, + }, + originalTimestamp: '2022-08-22T13:39:21.032Z', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://9710-103-211-12-1.in.ngrok.io/ingress/5b3470a9-be69-4298-9ec1-3fe3f483738c/script.js', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + loadTime: 45, + referrer: 'http://127.0.0.1:7307/Testing/test/', + location: 'http://127.0.0.1:7307/Testing/test/ourSdk.html', + idempotency: 'bf412108-0357-4330-b119-7305e767823r', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/slack/processor/data.ts b/test/integrations/destinations/slack/processor/data.ts new file mode 100644 index 0000000000..be05a13ab5 --- /dev/null +++ b/test/integrations/destinations/slack/processor/data.ts @@ -0,0 +1,1982 @@ +export const data = [ + { + "name": "slack", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", + "eventName": "is", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", + "originalTimestamp": "2020-03-23T03:46:30.916Z", + "properties": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "receivedAt": "2020-03-23T09:16:31.041+05:30", + "request_ip": "[::1]:52056", + "sentAt": "2020-03-23T03:46:30.916Z", + "timestamp": "2020-03-23T09:16:31.041+05:30", + "type": "identify", + "userId": "12345" + }, + "metadata": { + "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 126, + "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "headers": { + "Content-Type": "application/x-www-form-urlencoded" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": { + "payload": "{\"text\":\"Identified my-namehiji: hulala \",\"username\":\"RudderStack\",\"icon_url\":\"https://cdn.rudderlabs.com/rudderstack.png\"}" + } + }, + "files": {}, + "userId": "12345", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 126, + "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", + "eventName": "is", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "identifyTemplate": "identified {{name}} with {{traits}}", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ], + "denyListOfEvents": [ + { + "eventName": "black_event" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", + "originalTimestamp": "2020-03-23T03:46:30.916Z", + "properties": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "receivedAt": "2020-03-23T09:16:31.041+05:30", + "request_ip": "[::1]:52056", + "sentAt": "2020-03-23T03:46:30.916Z", + "timestamp": "2020-03-23T09:16:31.041+05:30", + "type": "page", + "userId": "12345" + }, + "metadata": { + "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 126, + "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "anonymousId": "4de817fb-7f8e-4e23-b9be-f6736dbda20f", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 126, + "messageId": "9ecc0183-89ed-48bd-87eb-b2d8e1ca6780", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 400, + "error": "Event type page is not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SLACK", + "module": "destination", + "implementation": "native", + "feature": "processor", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL" + } + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example", + "eventName": "is", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "identifyTemplate": "identified {{name}} with {{traits}}", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "12345", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "", + "referrer": "", + "search": "", + "title": "", + "url": "" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "traits": { + "country": "USA", + "email": "test@domain.com", + "hiji": "hulala-1", + "name": "my-name-1" + }, + "integrations": { + "All": true + }, + "messageId": "4aaecff2-a513-4bbf-9824-c471f4ac9777", + "originalTimestamp": "2020-03-23T03:41:46.122Z", + "receivedAt": "2020-03-23T09:11:46.244+05:30", + "request_ip": "[::1]:52055", + "sentAt": "2020-03-23T03:41:46.123Z", + "timestamp": "2020-03-23T09:11:46.243+05:30", + "type": "identify", + "userId": "12345" + }, + "metadata": { + "anonymousId": "12345", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 123, + "messageId": "4aaecff2-a513-4bbf-9824-c471f4ac9777", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "headers": { + "Content-Type": "application/x-www-form-urlencoded" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": { + "payload": "{\"text\":\"identified my-name-1 with hiji: hulala-1 \",\"username\":\"RudderStack\",\"icon_url\":\"https://cdn.rudderlabs.com/rudderstack.png\"}" + } + }, + "files": {}, + "userId": "12345", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "12345", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 123, + "messageId": "4aaecff2-a513-4bbf-9824-c471f4ac9777", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "incomingWebhooksType": "modern", + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/demo", + "eventName": "is", + "eventRegex": true + }, + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", + "eventName": "is", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}} and traits {{traitsList.hiji}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "identifyTemplate": "identified {{name}} with {{traits}}", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ], + "denyListOfEvents": [ + { + "eventName": "black_event" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "00000000000000000000000000", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "event": "test_isent1", + "integrations": { + "All": true + }, + "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", + "originalTimestamp": "2020-03-23T03:46:30.921Z", + "properties": { + "currency": "USD", + "key1": "test_val1", + "key2": "test_val2", + "revenue": 30, + "user_actual_id": 12345 + }, + "receivedAt": "2020-03-23T09:16:31.064+05:30", + "request_ip": "[::1]:52057", + "sentAt": "2020-03-23T03:46:30.921Z", + "timestamp": "2020-03-23T09:16:31.064+05:30", + "type": "track", + "userId": "12345" + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 128, + "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://hooks.slack.com/services/id1/id2/demo", + "headers": { + "Content-Type": "application/x-www-form-urlencoded" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": { + "payload": "{\"text\":\"my-name performed test_isent1 with test_val1 test_val2 and traits hulala\"}" + } + }, + "files": {}, + "userId": "12345", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 128, + "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "incomingWebhooksType": "modern", + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example", + "eventName": "is", + "eventChannel": "example_channel", + "eventRegex": true + }, + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", + "eventName": "is", + "eventChannel": "example_channel", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "identifyTemplate": "identified {{name}} with {{traits}}", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ], + "denyListOfEvents": [ + { + "eventName": "black_event" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "00000000000000000000000000", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "event": "test_eventing_testis", + "integrations": { + "All": true + }, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "originalTimestamp": "2020-03-23T03:46:30.922Z", + "properties": { + "currency": "USD", + "key1": "test_val1", + "key2": "test_val2", + "revenue": 30, + "user_actual_id": 12345 + }, + "receivedAt": "2020-03-23T09:16:31.064+05:30", + "request_ip": "[::1]:52054", + "sentAt": "2020-03-23T03:46:30.923Z", + "timestamp": "2020-03-23T09:16:31.063+05:30", + "type": "track", + "userId": "12345" + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://hooks.slack.com/services/id1/id2/example", + "headers": { + "Content-Type": "application/x-www-form-urlencoded" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": { + "payload": "{\"text\":\"my-name performed test_eventing_testis with test_val1 test_val2\"}" + } + }, + "files": {}, + "userId": "12345", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "incomingWebhooksType": "modern", + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example", + "eventName": "test_eventing_test", + "eventChannel": "example_channel", + "eventRegex": false + }, + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", + "eventName": "", + "eventChannel": "example_channel", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "identifyTemplate": "identified {{name}} with {{traits}}", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ], + "denyListOfEvents": [ + { + "eventName": "black_event" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "00000000000000000000000000", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "event": "test_eventing_test", + "integrations": { + "All": true + }, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "originalTimestamp": "2020-03-23T03:46:30.922Z", + "properties": { + "currency": "USD", + "key1": "test_val1", + "key2": "test_val2", + "revenue": 30, + "user_actual_id": 12345 + }, + "receivedAt": "2020-03-23T09:16:31.064+05:30", + "request_ip": "[::1]:52054", + "sentAt": "2020-03-23T03:46:30.923Z", + "timestamp": "2020-03-23T09:16:31.063+05:30", + "type": "track", + "userId": "12345" + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://hooks.slack.com/services/id1/id2/example", + "headers": { + "Content-Type": "application/x-www-form-urlencoded" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": { + "payload": "{\"text\":\"my-name did test_eventing_test\"}" + } + }, + "files": {}, + "userId": "12345", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "incomingWebhooksType": "legacy", + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/demo", + "eventName": "is", + "eventRegex": true + }, + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", + "eventName": "is", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}} and traits {{traitsList.hiji}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "identifyTemplate": "identified {{name}} with {{traits}}", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ], + "denyListOfEvents": [ + { + "eventName": "black_event" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "00000000000000000000000000", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "event": "test_isent1", + "integrations": { + "All": true + }, + "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", + "originalTimestamp": "2020-03-23T03:46:30.921Z", + "properties": { + "currency": "USD", + "key1": "test_val1", + "key2": "test_val2", + "revenue": 30, + "user_actual_id": 12345 + }, + "receivedAt": "2020-03-23T09:16:31.064+05:30", + "request_ip": "[::1]:52057", + "sentAt": "2020-03-23T03:46:30.921Z", + "timestamp": "2020-03-23T09:16:31.064+05:30", + "type": "track", + "userId": "12345" + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 128, + "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "headers": { + "Content-Type": "application/x-www-form-urlencoded" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": { + "payload": "{\"text\":\"my-name performed test_isent1 with test_val1 test_val2 and traits hulala\",\"username\":\"RudderStack\",\"icon_url\":\"https://cdn.rudderlabs.com/rudderstack.png\"}" + } + }, + "files": {}, + "userId": "12345", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 128, + "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "incomingWebhooksType": "legacy", + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example", + "eventName": "is", + "eventRegex": true + }, + { + "eventChannelWebhook": "https://hooks.slack.com/services/id1/id2/example+1", + "eventChannel": "example-of-legacy", + "eventName": "is", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "identifyTemplate": "identified {{name}} with {{traits}}", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ], + "denyListOfEvents": [ + { + "eventName": "black_event" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "00000000000000000000000000", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "event": "test_eventing_testis", + "integrations": { + "All": true + }, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "originalTimestamp": "2020-03-23T03:46:30.922Z", + "properties": { + "currency": "USD", + "key1": "test_val1", + "key2": "test_val2", + "revenue": 30, + "user_actual_id": 12345 + }, + "receivedAt": "2020-03-23T09:16:31.064+05:30", + "request_ip": "[::1]:52054", + "sentAt": "2020-03-23T03:46:30.923Z", + "timestamp": "2020-03-23T09:16:31.063+05:30", + "type": "track", + "userId": "12345" + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "headers": { + "Content-Type": "application/x-www-form-urlencoded" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": { + "payload": "{\"channel\":\"example-of-legacy\",\"text\":\"my-name performed test_eventing_testis with test_val1 test_val2\",\"username\":\"RudderStack\",\"icon_url\":\"https://cdn.rudderlabs.com/rudderstack.png\"}" + } + }, + "files": {}, + "userId": "12345", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", + "eventName": "is", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "identifyTemplate": "identified {{name}} with {{traits}}", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "00000000000000000000000000", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "event": "test_eventing_testis", + "integrations": { + "All": true + }, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "originalTimestamp": "2020-03-23T03:46:30.922Z", + "properties": { + "currency": "USD", + "key1": "test_val1", + "key2": "test_val2", + "revenue": 30, + "user_actual_id": 12345 + }, + "receivedAt": "2020-03-23T09:16:31.064+05:30", + "request_ip": "[::1]:52054", + "sentAt": "2020-03-23T03:46:30.923Z", + "timestamp": "2020-03-23T09:16:31.063+05:30", + "userId": "12345" + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 400, + "error": "Event type is required", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SLACK", + "module": "destination", + "implementation": "native", + "feature": "processor", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL" + } + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", + "eventName": "is", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "identifyTemplate": "identified {{name}} with {{traits}}", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "00000000000000000000000000", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "integrations": { + "All": true + }, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "originalTimestamp": "2020-03-23T03:46:30.922Z", + "properties": { + "currency": "USD", + "key1": "test_val1", + "key2": "test_val2", + "revenue": 30, + "user_actual_id": 12345 + }, + "receivedAt": "2020-03-23T09:16:31.064+05:30", + "request_ip": "[::1]:52054", + "sentAt": "2020-03-23T03:46:30.923Z", + "timestamp": "2020-03-23T09:16:31.063+05:30", + "type": "track", + "userId": "12345" + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 400, + "error": "Event name is required", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SLACK", + "module": "destination", + "implementation": "native", + "feature": "processor", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL" + } + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", + "eventName": "is", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties. key1}} {{properties.key2}} and traits {{traitsList.hiji}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "identifyTemplate": "identified {{name}} with {{traits}}", + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "00000000000000000000000000", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.1-rc.1" + }, + "ip": "0.0.0.0", + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.1-rc.1" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "page": { + "path": "/tests/html/script-test.html", + "referrer": "http://localhost:1111/tests/html/", + "search": "", + "title": "", + "url": "http://localhost:1111/tests/html/script-test.html" + }, + "screen": { + "density": 1.7999999523162842 + }, + "traits": { + "country": "India", + "email": "name@domain.com", + "hiji": "hulala", + "name": "my-name" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" + }, + "event": "test_isent1", + "integrations": { + "All": true + }, + "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", + "originalTimestamp": "2020-03-23T03:46:30.921Z", + "properties": { + "currency": "USD", + "key1": "test_val1", + "key2": "test_val2", + "revenue": 30, + "user_actual_id": 12345 + }, + "receivedAt": "2020-03-23T09:16:31.064+05:30", + "request_ip": "[::1]:52057", + "sentAt": "2020-03-23T03:46:30.921Z", + "timestamp": "2020-03-23T09:16:31.064+05:30", + "type": "track", + "userId": "12345" + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 128, + "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 128, + "messageId": "78102118-56ac-4c5a-a495-8cd7c8f71cc2", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 400, + "error": "Something is wrong with the event template: '{{name}} performed {{event}} with {{properties. key1}} {{properties.key2}} and traits {{traitsList.hiji}}'", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "SLACK", + "module": "destination", + "implementation": "native", + "feature": "processor", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL" + } + } + ] + } + } + }, + { + "name": "slack", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "ID": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "Name": "test-slack", + "DestinationDefinition": { + "ID": "1ZQUiJVMlmF7lfsdfXg7KXQnlLV", + "Name": "SLACK", + "DisplayName": "Slack", + "Config": { + "excludeKeys": [], + "includeKeys": [] + } + }, + "Config": { + "eventChannelSettings": [ + { + "eventChannelWebhook": "https://hooks.slack.com/services/example/test/demo", + "eventName": "is", + "eventRegex": true + } + ], + "eventTemplateSettings": [ + { + "eventName": "is", + "eventRegex": true, + "eventTemplate": "{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}" + }, + { + "eventName": "", + "eventRegex": false, + "eventTemplate": "" + } + ], + "webhookUrl": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "whitelistedTraitsSettings": [ + { + "trait": "hiji" + }, + { + "trait": "" + } + ] + }, + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + }, + "message": { + "anonymousId": "00000000000000000000000000", + "channel": "web", + "context": {}, + "event": "black_event", + "integrations": { + "All": true + }, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "originalTimestamp": "2020-03-23T03:46:30.922Z", + "properties": { + "currency": "USD", + "key1": "test_val1", + "key2": "test_val2", + "revenue": 30, + "user_actual_id": 12345 + }, + "receivedAt": "2020-03-23T09:16:31.064+05:30", + "request_ip": "[::1]:52054", + "sentAt": "2020-03-23T03:46:30.923Z", + "timestamp": "2020-03-23T09:16:31.063+05:30", + "type": "track", + "userId": "12345" + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo", + "headers": { + "Content-Type": "application/x-www-form-urlencoded" + }, + "params": {}, + "body": { + "JSON": {}, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": { + "payload": "{\"text\":\"User 12345 did black_event\",\"username\":\"RudderStack\",\"icon_url\":\"https://cdn.rudderlabs.com/rudderstack.png\"}" + } + }, + "files": {}, + "userId": "12345", + "statusCode": 200 + }, + "metadata": { + "anonymousId": "00000000000000000000000000", + "destinationId": "1ZQVSU9SXNg6KYgZALaqjAO3PIL", + "destinationType": "SLACK", + "jobId": 129, + "messageId": "8b8d5937-09bc-49dc-a35e-8cd6370575f8", + "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/slack/router/data.ts b/test/integrations/destinations/slack/router/data.ts new file mode 100644 index 0000000000..87b1fe3b22 --- /dev/null +++ b/test/integrations/destinations/slack/router/data.ts @@ -0,0 +1,425 @@ +export const data = [ + { + name: 'slack', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + ID: '1ZQVSU9SXNg6KYgZALaqjAO3PIL', + Name: 'test-slack', + DestinationDefinition: { + ID: '1ZQUiJVMlmF7lfsdfXg7KXQnlLV', + Name: 'SLACK', + DisplayName: 'Slack', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + eventChannelSettings: [ + { + eventChannel: '#slack_integration', + eventName: 'is', + eventRegex: true, + }, + { + eventChannel: '', + eventName: '', + eventRegex: false, + }, + { + eventChannel: '', + eventName: '', + eventRegex: false, + }, + ], + eventTemplateSettings: [ + { + eventName: 'is', + eventRegex: true, + eventTemplate: + '{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}', + }, + { + eventName: '', + eventRegex: false, + eventTemplate: '', + }, + ], + identifyTemplate: 'identified {{name}} with {{traits}}', + webhookUrl: 'https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo', + whitelistedTraitsSettings: [ + { + trait: 'hiji', + }, + { + trait: '', + }, + ], + }, + Enabled: true, + Transformations: [], + IsrouterEnabled: true, + }, + message: { + anonymousId: '4de817fb-7f8e-4e23-b9be-f6736dbda20f', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.1', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + page: { + path: '/tests/html/script-test.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/script-test.html', + }, + screen: { + density: 1.7999999523162842, + }, + traits: { + country: 'India', + email: 'name@domain.com', + hiji: 'hulala', + name: 'my-name', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: '9ecc0183-89ed-48bd-87eb-b2d8e1ca6780', + originalTimestamp: '2020-03-23T03:46:30.916Z', + properties: { + path: '/tests/html/script-test.html', + referrer: 'http://localhost:1111/tests/html/', + search: '', + title: '', + url: 'http://localhost:1111/tests/html/script-test.html', + }, + receivedAt: '2020-03-23T09:16:31.041+05:30', + request_ip: '[::1]:52056', + sentAt: '2020-03-23T03:46:30.916Z', + timestamp: '2020-03-23T09:16:31.041+05:30', + type: 'page', + userId: '12345', + }, + metadata: { + anonymousId: '4de817fb-7f8e-4e23-b9be-f6736dbda20f', + destinationId: '1ZQVSU9SXNg6KYgZALaqjAO3PIL', + destinationType: 'SLACK', + jobId: 126, + messageId: '9ecc0183-89ed-48bd-87eb-b2d8e1ca6780', + sourceId: '1YhwKyDcKstudlGxkeN5p2wgsrp', + }, + }, + ], + destType: 'slack', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + destination: { + Config: { + eventChannelSettings: [ + { eventChannel: '#slack_integration', eventName: 'is', eventRegex: true }, + { eventChannel: '', eventName: '', eventRegex: false }, + { eventChannel: '', eventName: '', eventRegex: false }, + ], + eventTemplateSettings: [ + { + eventName: 'is', + eventRegex: true, + eventTemplate: + '{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}', + }, + { eventName: '', eventRegex: false, eventTemplate: '' }, + ], + identifyTemplate: 'identified {{name}} with {{traits}}', + webhookUrl: 'https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo', + whitelistedTraitsSettings: [{ trait: 'hiji' }, { trait: '' }], + }, + DestinationDefinition: { + Config: { excludeKeys: [], includeKeys: [] }, + DisplayName: 'Slack', + ID: '1ZQUiJVMlmF7lfsdfXg7KXQnlLV', + Name: 'SLACK', + }, + Enabled: true, + ID: '1ZQVSU9SXNg6KYgZALaqjAO3PIL', + IsrouterEnabled: true, + Name: 'test-slack', + Transformations: [], + }, + error: 'Event type page is not supported', + metadata: [ + { + anonymousId: '4de817fb-7f8e-4e23-b9be-f6736dbda20f', + destinationId: '1ZQVSU9SXNg6KYgZALaqjAO3PIL', + destinationType: 'SLACK', + jobId: 126, + messageId: '9ecc0183-89ed-48bd-87eb-b2d8e1ca6780', + sourceId: '1YhwKyDcKstudlGxkeN5p2wgsrp', + }, + ], + statTags: { + destType: 'SLACK', + destinationId: '1ZQVSU9SXNg6KYgZALaqjAO3PIL', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + }, + { + name: 'slack', + description: 'Test 1', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + ID: '1ZQVSU9SXNg6KYgZALaqjAO3PIL', + Name: 'test-slack', + DestinationDefinition: { + ID: '1ZQUiJVMlmF7lfsdfXg7KXQnlLV', + Name: 'SLACK', + DisplayName: 'Slack', + Config: { + excludeKeys: [], + includeKeys: [], + }, + }, + Config: { + eventChannelSettings: [ + { + eventChannel: '#slack_integration', + eventName: 'is', + eventRegex: true, + }, + { + eventChannel: '', + eventName: '', + eventRegex: false, + }, + { + eventChannel: '', + eventName: '', + eventRegex: false, + }, + ], + eventTemplateSettings: [ + { + eventName: 'is', + eventRegex: true, + eventTemplate: + '{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}', + }, + { + eventName: '', + eventRegex: false, + eventTemplate: '', + }, + ], + identifyTemplate: 'identified {{name}} with {{traits}}', + webhookUrl: 'https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo', + whitelistedTraitsSettings: [ + { + trait: 'hiji', + }, + { + trait: '', + }, + ], + }, + Enabled: true, + Transformations: [], + IsrouterEnabled: true, + }, + message: { + anonymousId: '12345', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.1-rc.1', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.1-rc.1', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + page: { + path: '', + referrer: '', + search: '', + title: '', + url: '', + }, + screen: { + density: 1.7999999523162842, + }, + traits: { + country: 'India', + email: 'name@domain.com', + hiji: 'hulala', + name: 'my-name', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36', + }, + traits: { + country: 'USA', + email: 'test@domain.com', + hiji: 'hulala-1', + name: 'my-name-1', + }, + integrations: { + All: true, + }, + messageId: '4aaecff2-a513-4bbf-9824-c471f4ac9777', + originalTimestamp: '2020-03-23T03:41:46.122Z', + receivedAt: '2020-03-23T09:11:46.244+05:30', + request_ip: '[::1]:52055', + sentAt: '2020-03-23T03:41:46.123Z', + timestamp: '2020-03-23T09:11:46.243+05:30', + type: 'identify', + userId: '12345', + }, + metadata: { + anonymousId: '12345', + destinationId: '1ZQVSU9SXNg6KYgZALaqjAO3PIL', + destinationType: 'SLACK', + jobId: 123, + messageId: '4aaecff2-a513-4bbf-9824-c471f4ac9777', + sourceId: '1YhwKyDcKstudlGxkeN5p2wgsrp', + }, + }, + ], + destType: 'slack', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: [ + { + body: { + FORM: { + payload: + '{"text":"identified my-name-1 with hiji: hulala-1 ","username":"RudderStack","icon_url":"https://cdn.rudderlabs.com/rudderstack.png"}', + }, + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo', + files: {}, + headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, + method: 'POST', + params: {}, + statusCode: 200, + type: 'REST', + userId: '12345', + version: '1', + }, + ], + destination: { + Config: { + eventChannelSettings: [ + { eventChannel: '#slack_integration', eventName: 'is', eventRegex: true }, + { eventChannel: '', eventName: '', eventRegex: false }, + { eventChannel: '', eventName: '', eventRegex: false }, + ], + eventTemplateSettings: [ + { + eventName: 'is', + eventRegex: true, + eventTemplate: + '{{name}} performed {{event}} with {{properties.key1}} {{properties.key2}}', + }, + { eventName: '', eventRegex: false, eventTemplate: '' }, + ], + identifyTemplate: 'identified {{name}} with {{traits}}', + webhookUrl: 'https://hooks.slack.com/services/THZM86VSS/BV9HZ2UN6/demo', + whitelistedTraitsSettings: [{ trait: 'hiji' }, { trait: '' }], + }, + DestinationDefinition: { + Config: { excludeKeys: [], includeKeys: [] }, + DisplayName: 'Slack', + ID: '1ZQUiJVMlmF7lfsdfXg7KXQnlLV', + Name: 'SLACK', + }, + Enabled: true, + ID: '1ZQVSU9SXNg6KYgZALaqjAO3PIL', + IsrouterEnabled: true, + Name: 'test-slack', + Transformations: [], + }, + metadata: [ + { + anonymousId: '12345', + destinationId: '1ZQVSU9SXNg6KYgZALaqjAO3PIL', + destinationType: 'SLACK', + jobId: 123, + messageId: '4aaecff2-a513-4bbf-9824-c471f4ac9777', + sourceId: '1YhwKyDcKstudlGxkeN5p2wgsrp', + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/snapchat_conversion/processor/data.ts b/test/integrations/destinations/snapchat_conversion/processor/data.ts new file mode 100644 index 0000000000..ed38673d95 --- /dev/null +++ b/test/integrations/destinations/snapchat_conversion/processor/data.ts @@ -0,0 +1,4300 @@ +export const data = [ + { + name: 'snapchat_conversion', + description: 'Test case for Page event-> PAGE_VIEW ', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + channel: 'web', + 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', + 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: 'page', + name: 'Home Page Viewed', + properties: { + title: 'Home | RudderStack', + url: 'http://www.rudderstack.com', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + }, + }, + metadata: { + jobId: 20, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 20, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + userId: '', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event_type: 'PAGE_VIEW', + 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: 'WEB', + page_url: 'http://www.rudderstack.com', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Prodcuts Searched event for conversion type offline', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + context: { + traits: { + email: 'test@email.com', + phone: '+91 2111111 ', + firstName: 'john', + middleName: 'victor', + lastName: 'doe', + city: 'some_city', + state: 'some_state', + }, + 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', + 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: 'Products Searched', + properties: { + brands: 'abc', + query: 't-shirts', + event_conversion_type: 'web', + number_items: 4, + click_id: 'some_click_id', + description: 'Products Searched event for conversion type offline', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + }, + }, + metadata: { + jobId: 21, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 21, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + search_string: 't-shirts', + event_type: 'SEARCH', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + number_items: 4, + click_id: 'some_click_id', + description: 'Products Searched event for conversion type offline', + hashed_first_name_sha: + '96d9632f363564cc3032521409cf22a852f2032eec099ed5967c0d000cec607a', + hashed_last_name_sha: + '799ef92a11af918e3fb741df42934f3b568ed2d93ac1df74f1b8d41a27932a6f', + hashed_state_sha: + '6db488fc98e30afdf67a05a6da916805b02891ce58f03970c6deff79129c5f1c', + hashed_middle_name_sha: + '99bde068af2d49ed7fc8b8fa79abe13a6059e0db320bb73459fd96624bb4b33f', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Track event without event Key', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + context: { + traits: { + email: 'test@email.com', + phone: '+91 2111111 ', + country: 'IN', + zicode: 'Sxp-12345', + region: 'some_region', + }, + 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', + 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', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + }, + }, + metadata: { + jobId: 22, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Event name is required', + metadata: { + jobId: 22, + destinationId: 'd2', + workspaceId: 'w2', + }, + statTags: { + destType: 'SNAPCHAT_CONVERSION', + destinationId: 'd2', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + workspaceId: 'w2', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Identify event which is not supported in this destination', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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: 'identify', + event: 'Products Searched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + }, + }, + metadata: { + jobId: 23, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 23, + destinationId: 'd2', + workspaceId: 'w2', + }, + error: 'Event type identify is not supported', + statTags: { + destType: 'SNAPCHAT_CONVERSION', + destinationId: 'd2', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + workspaceId: 'w2', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Pixel id is not set as a destination config field', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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: 'Products Searched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + }, + }, + metadata: { + jobId: 24, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 24, + destinationId: 'd2', + workspaceId: 'w2', + }, + error: 'Pixel Id is required for web and offline events', + statTags: { + destType: 'SNAPCHAT_CONVERSION', + destinationId: 'd2', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + workspaceId: 'w2', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Prodcuts Searched event for conversion type web', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + channel: 'web', + 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', + 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: 'Products Searched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + }, + }, + metadata: { + jobId: 25, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 25, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + search_string: 't-shirts', + event_type: 'SEARCH', + 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: 'WEB', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case where appId is not present in destination config', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + 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: 'Products Searched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + }, + }, + metadata: { + jobId: 26, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 26, + destinationId: 'd2', + workspaceId: 'w2', + }, + error: 'Snap App Id is required for app events', + statTags: { + destType: 'SNAPCHAT_CONVERSION', + destinationId: 'd2', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + workspaceId: 'w2', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case where snap app id is not present in destination config', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + 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: 'Products Searched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + }, + }, + metadata: { + jobId: 27, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 27, + destinationId: 'd2', + workspaceId: 'w2', + }, + error: 'Snap App Id is required for app events', + statTags: { + destType: 'SNAPCHAT_CONVERSION', + destinationId: 'd2', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + workspaceId: 'w2', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Product Searched event where conversion type is mobile app', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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: 'Products Searched', + properties: { + delivery_method: 'in_store', + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 28, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 28, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + delivery_method: 'in_store', + device_model: 'AOSP on IA Emulator', + search_string: 't-shirts', + event_type: 'SEARCH', + 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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test Case for Product List Viewed event where conversion type is mobile app', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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 ', + country: 'IN', + zipcode: 'Sxp-12345', + region: 'some_region', + }, + 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', + 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, + }, + ], + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 29, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 29, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event_type: 'VIEW_CONTENT', + item_ids: ['123', '123'], + price: '56', + country: 'IN', + hashed_zip: 'cbb2704f5b334a0cec32e5463d1fd9355f6ef73987bfe0ebb8389b7617452152', + region: 'some_region', + 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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for checkout_started event where conversion type is mobile app', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + 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: 'checkout_started', + properties: { + products: [ + { + product_id: '123', + price: '14', + }, + { + product_id: '123', + price: 14, + quantity: '2', + }, + ], + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 30, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 30, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event_type: 'START_CHECKOUT', + item_ids: ['123', '123'], + price: '42', + 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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test Case for Order Completed event where conversion type is mobile app', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + 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: { + brands: ['brand01', 'brand02'], + products: [ + { + product_id: '123', + price: '14', + quantity: 1, + }, + { + product_id: '124', + price: 14, + quantity: 3, + }, + ], + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 31, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 31, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event_type: 'PURCHASE', + item_ids: ['123', '124'], + brands: ['brand01', 'brand02'], + price: '56', + 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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test Case for Product Added event where conversion type is mobile app', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + 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 Added', + properties: { + product_id: '123', + price: '14', + category: 'shoes', + currency: 'USD', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 32, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 32, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + item_ids: '123', + item_category: 'shoes', + price: '14', + currency: 'USD', + event_type: 'ADD_CART', + 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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Product Viewed event where conversion type is web', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + channel: 'web', + 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', + 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 Viewed', + properties: { + product_id: '123', + price: '14', + category: 'shoes', + currency: 'USD', + number_items: 14, + quantity: 1, + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 33, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 33, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + item_ids: '123', + item_category: 'shoes', + price: '14', + currency: 'USD', + event_type: 'VIEW_CONTENT', + 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: 'WEB', + pixel_id: 'dummyPixelId', + number_items: 14, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Product Viewed event where conversion type is offline', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + channel: '', + 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', + 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 Viewed', + properties: { + product_id: '123', + price: '14', + category: 'shoes', + currency: 'USD', + quantity: 1, + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 34, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 34, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + item_ids: '123', + item_category: 'shoes', + price: '14', + currency: 'USD', + event_type: 'VIEW_CONTENT', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + number_items: 1, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Payment Info Entered event where conversion type is offline', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + channel: '', + 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', + 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: 'Payment Info Entered', + properties: { + checkout_id: '12dfdfdf3', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 35, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 35, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + transaction_id: '12dfdfdf3', + event_type: 'ADD_BILLING', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Subscribe event where conversion type is web', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + channel: '', + 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', + 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: 'subscribe', + properties: { + checkout_id: '123', + price: '14', + category: 'shoes', + currency: 'USD', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 36, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 36, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + item_category: 'shoes', + price: '14', + currency: 'USD', + event_type: 'SUBSCRIBE', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Promotion Viewed event for conversion type offline', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + channel: '', + 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', + 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: 'Promotion Viewed', + properties: { + checkout_id: '123', + price: '14', + category: 'shoes', + currency: 'USD', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 37, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 37, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + item_category: 'shoes', + price: '14', + currency: 'USD', + event_type: 'AD_VIEW', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Promotion Clicked event for conversion type offline', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + channel: '', + 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', + 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: 'Promotion clicked', + properties: { + checkout_id: '123', + price: '14', + category: 'shoes', + currency: 'USD', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 38, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 38, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + item_category: 'shoes', + price: '14', + currency: 'USD', + event_type: 'AD_CLICK', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for save event for conversion type offline', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + channel: '', + 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', + 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: 'save', + properties: { + checkout_id: '123', + price: '14', + category: 'shoes', + currency: 'USD', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 39, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 39, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + item_category: 'shoes', + price: '14', + currency: 'USD', + event_type: 'SAVE', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Product Viewed event where conversion type is web', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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', + 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 Viewed', + properties: { + eventConversionType: 'web', + checkout_id: '123', + price: '14', + category: 'shoes', + currency: 'USD', + url: 'hjhb.com', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 40, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 40, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + item_category: 'shoes', + page_url: 'hjhb.com', + price: '14', + currency: 'USD', + event_type: 'VIEW_CONTENT', + 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: 'WEB', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Product Viewed event where conversion type is offline', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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', + 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 Viewed', + properties: { + eventConversionType: 'offline', + checkout_id: '123', + price: '14', + category: 'shoes', + currency: 'USD', + url: 'hjhb.com', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 41, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 41, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + item_category: 'shoes', + price: '14', + currency: 'USD', + event_type: 'VIEW_CONTENT', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Product Searched event where conversion type is offline', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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', + 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: 'Products Searched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + event_tag: 'offline', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + }, + }, + metadata: { + jobId: 42, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 42, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + search_string: 't-shirts', + event_type: 'SEARCH', + event_tag: 'offline', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: + 'Test Case for Product Added To Whishlist event where conversion type is mobile app', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + 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 Added to Wishlist', + properties: { + product_id: '123', + price: '14', + category: 'shoes', + currency: 'USD', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 43, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 43, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + item_category: 'shoes', + item_ids: '123', + price: '14', + currency: 'USD', + event_type: 'ADD_TO_WISHLIST', + 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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test case for Products Searched event using event mapping', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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', + 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: 'ProdSearched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + rudderEventsToSnapEvents: [ + { + from: 'ProdSearched', + to: 'products_searched', + }, + ], + }, + }, + metadata: { + jobId: 44, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 44, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + userId: '', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + search_string: 't-shirts', + event_type: 'SEARCH', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: "Test case event doesn't match with snapchat events", + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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', + 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: 'ProdSearched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + rudderEventsToSnapEvents: [], + }, + }, + metadata: { + jobId: 45, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 45, + destinationId: 'd2', + workspaceId: 'w2', + }, + error: "Event ProdSearched doesn't match with Snapchat Events!", + statTags: { + destType: 'SNAPCHAT_CONVERSION', + destinationId: 'd2', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + workspaceId: 'w2', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: + 'test event naming (i.e passed vs the names provided in webapp) by bringing them to a common ground', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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', + 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, + }, + 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 Added to Cart', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + rudderEventsToSnapEvents: [ + { + from: 'Product_Added_To_Cart', + to: 'products_searched', + }, + ], + }, + }, + metadata: { + jobId: 46, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 46, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + search_string: 't-shirts', + event_type: 'SEARCH', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: + 'test event naming (i.e passed vs the names provided in webapp) by bringing them to a common ground - here destination config need to be modified', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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', + 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, + }, + 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_Added_to_Cart', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + rudderEventsToSnapEvents: [ + { + from: 'Product Added To Cart', + to: 'products_searched', + }, + ], + }, + }, + metadata: { + jobId: 47, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 47, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + userId: '', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + search_string: 't-shirts', + event_type: 'SEARCH', + 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: 'OFFLINE', + pixel_id: 'dummyPixelId', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Enable deduplication with duplication key as email', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + channel: 'mobile', + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + request_ip: '127.0.0.1', + 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', + 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', + custom_dedup_id: '1234', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + deduplicationKey: 'properties.custom_dedup_id', + enableDeduplication: true, + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 48, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 48, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event_type: 'PURCHASE', + item_ids: ['123', '123'], + client_dedup_id: '1234', + hashed_ip_address: + '12ca17b49af2289436f303e0166030a21e525d266e209267433801a8fd4071a0', + 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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Mapping revenue to price for product list viewed event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + 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: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 49, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 49, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + '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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Mapping revenue to price for product list viewed event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + 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: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 50, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 50, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + '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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, +].map((tc) => ({ + ...tc, + mockFns: (_) => { + // @ts-ignore + Date.now = jest.fn(() => new Date('2022-04-23T10:57:58Z')); + }, +})); diff --git a/test/integrations/destinations/snapchat_conversion/router/data.ts b/test/integrations/destinations/snapchat_conversion/router/data.ts new file mode 100644 index 0000000000..bfa9acd4d2 --- /dev/null +++ b/test/integrations/destinations/snapchat_conversion/router/data.ts @@ -0,0 +1,449 @@ +import { FEATURES, IMPLEMENTATIONS, MODULES } from '../../../../../src/v0/util/tags'; + +export const data = [ + { + name: 'snapchat_conversion', + description: 'Test 0', + feature: FEATURES.ROUTER, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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', + 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: 'Products Searched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + metadata: { + jobId: 1, + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + }, + }, + }, + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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', + 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: 'Products Searched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + }, + }, + }, + { + message: { + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2022-04-22T10:57:58Z', + 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', + 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: 'Products Searched', + properties: { + query: 't-shirts', + event_conversion_type: 'web', + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + metadata: { + jobId: 3, + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + destType: 'snapchat_conversion', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer dummyApiKey', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"search_string":"t-shirts","event_type":"SEARCH","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","hashed_email":"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2","hashed_phone_number":"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492","hashed_idfv":"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f","hashed_mobile_ad_id":"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2","timestamp":"1650625078","event_conversion_type":"OFFLINE","pixel_id":"dummyPixelId"},{"search_string":"t-shirts","event_type":"SEARCH","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","hashed_email":"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2","hashed_phone_number":"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492","hashed_idfv":"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f","hashed_mobile_ad_id":"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2","timestamp":"1650625078","event_conversion_type":"OFFLINE","pixel_id":"dummyPixelId"},{"search_string":"t-shirts","event_type":"SEARCH","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","hashed_email":"73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2","hashed_phone_number":"bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492","hashed_idfv":"54bd0b26a3d39dad90f5149db49b9fd9ba885f8e35d1d94cae69273f5e657b9f","hashed_mobile_ad_id":"f9779d734aaee50f16ee0011260bae7048f1d9a128c62b6a661077875701edd2","timestamp":"1650625078","event_conversion_type":"OFFLINE","pixel_id":"dummyPixelId"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 1, + }, + { + jobId: 2, + }, + { + jobId: 3, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + }, + }, + }, + ], + }, + }, + }, + mockFns: (_) => { + // @ts-ignore + Date.now = jest.fn(() => new Date('2022-04-22T10:57:58Z')); + }, + }, + { + name: 'snapchat_conversion', + description: 'Test 1', + feature: FEATURES.ROUTER, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + type: 'track', + event: 'Product List Viewed', + sentAt: '2022-08-01T15:04:58.764Z', + userId: 'd131b5f1fc@nana.sa', + channel: 'mobile', + context: { + os: { + name: 'iOS', + version: '15.5', + }, + app: { + name: 'CFBundleDisplayName', + build: '12.43.0.16', + version: '12.43.0', + namespace: 'iShopCloud.com', + }, + device: { + id: 'f244e389-d899-40a0-9673-1db87a8db7d3', + name: 'iPhone Monerah', + type: 'iOS', + model: 'iPhone', + manufacturer: 'Apple', + }, + locale: 'ar-SA', + screen: { + width: 896, + height: 414, + density: 2, + }, + traits: { + email: 'm@gmail.com', + phone: '00966556747779', + userId: 'd131b5f1fc@nana.sa', + address: { + city: 'الرياض', + country: 'sa', + }, + country: 'sa', + lastName: '', + firstName: 'منيرة ام عمر', + anonymousId: 'f244e389-d899-40a0-9673-1db87a8db7d3', + 'Mobile Number': '00966556747779', + 'Last App Close': '2022-07-29T21:43:30.342Z', + 'Activation code': '9997', + 'Activation date': '2022-03-24 19:37:42', + 'First App Close': '2022-05-18 07:53:03', + 'Mobile Number Status': 'Active', + 'Last Activated Device': { + UUID: 'F244E389-D899-40A0-9673-1DB87A8DB7D3', + Platform: 'IOS', + 'App Version': '12.38.0', + 'App Language': 'AR', + 'Platform Version': '15.4', + }, + ml_availability_segment: -1, + }, + library: { + name: 'rudder-ios-library', + version: '1.0.7', + }, + network: { + wifi: true, + carrier: 'unavailable', + cellular: false, + bluetooth: false, + }, + timezone: 'Asia/Riyadh', + userAgent: 'unknown', + externalId: [ + { + id: 'CBEDC847-F22C-447C-85DE-2BB693240F8E', + type: 'brazeExternalId', + }, + ], + }, + rudderId: '8fd7a036-fcbd-4ec3-b498-ea2cbf1df629', + messageId: '1659366289-4126c107-c1e1-4ee1-b534-fb49afca197b', + timestamp: '2022-08-01T15:04:49.593Z', + properties: { + Parent: 'Testing', + 'List ID': 'CAT00002903', + store_id: 'STR00001959', + 'List Name': 'User', + session_id: '', + 'Viewed From': 'home', + 'Category Position': 2, + 'Banner Position Segment': 'B', + category_personalise_segment: 'B', + }, + receivedAt: '2022-08-01T15:04:59.091Z', + request_ip: '78.95.64.84', + anonymousId: 'f244e389-d899-40a0-9673-1db87a8db7d3', + integrations: { + All: true, + }, + originalTimestamp: '2022-08-01T15:04:49.266Z', + }, + metadata: { + jobId: 4, + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + appId: 'jahsdfjk-5487-asdfa-9957-7c74eb8d3e80', + snapAppId: '', + enableDeduplication: false, + rudderEventsToSnapEvents: [ + { + from: 'Product List Viewed', + to: 'product_list_viewed', + }, + ], + }, + }, + }, + ], + destType: 'snapchat_conversion', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + metadata: [ + { + jobId: 4, + }, + ], + batched: false, + statusCode: 400, + error: 'Snap App Id is required for app events', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: FEATURES.ROUTER, + implementation: IMPLEMENTATIONS.NATIVE, + module: MODULES.DESTINATION, + destType: 'SNAPCHAT_CONVERSION', + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + apiKey: 'dummyApiKey', + appId: 'jahsdfjk-5487-asdfa-9957-7c74eb8d3e80', + snapAppId: '', + enableDeduplication: false, + rudderEventsToSnapEvents: [ + { + from: 'Product List Viewed', + to: 'product_list_viewed', + }, + ], + }, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/snapchat_custom_audience/dataDelivery/data.ts b/test/integrations/destinations/snapchat_custom_audience/dataDelivery/data.ts new file mode 100644 index 0000000000..2ed5625fe8 --- /dev/null +++ b/test/integrations/destinations/snapchat_custom_audience/dataDelivery/data.ts @@ -0,0 +1,222 @@ +export const data = [ + { + "name": "snapchat_custom_audience", + "description": "Test 0", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", + "headers": { + "Authorization": "Bearer abcd123", + "Content-Type": "application/json" + }, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "EMAIL_SHA256" + ], + "data": [ + [ + "938758751f5af66652a118e26503af824404bc13acd1cb7642ddff99916f0e1c" + ] + ] + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "snapchat_custom_audience" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 200, + "body": { + "output": { + "status": 200, + "message": "Request Processed Successfully", + "destinationResponse": { + "response": { + "request_status": "SUCCESS", + "request_id": "12345", + "users": [ + { + "sub_request_status": "SUCCESS", + "user": { + "number_uploaded_users": 1 + } + } + ] + }, + "status": 200 + } + } + } + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 1", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://adsapi.snapchat.com/v1/segments/456/users", + "headers": { + "Authorization": "Bearer abcd123", + "Content-Type": "application/json" + }, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "EMAIL_SHA256" + ], + "data": [ + [ + "938758751f5af66652a118e26503af824404bc13acd1cb7642ddff99916f0e1c" + ] + ] + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "snapchat_custom_audience" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 500, + "body": { + "output": { + "status": 500, + "destinationResponse": { + "response": "unauthorized", + "status": 401 + }, + "message": "Failed with unauthorized during snapchat_custom_audience response transformation", + "statTags": { + "destType": "SNAPCHAT_CUSTOM_AUDIENCE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "retryable", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + }, + "authErrorCategory": "REFRESH_TOKEN" + } + } + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 2", + "feature": "dataDelivery", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": { + "version": "1", + "type": "REST", + "method": "DELETE", + "endpoint": "https://adsapi.snapchat.com/v1/segments/789/users", + "headers": { + "Authorization": "Bearer abcd123", + "Content-Type": "application/json" + }, + "body": { + "JSON": { + "users": [ + { + "id": "123456", + "schema": [ + "EMAIL_SHA256" + ], + "data": [ + [ + "938758751f5af66652a118e26503af824404bc13acd1cb7642ddff99916f0e1c" + ] + ] + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "params": { + "destination": "snapchat_custom_audience" + } + }, + "method": "POST" + } + }, + "output": { + "response": { + "status": 400, + "body": { + "output": { + "authErrorCategory": "AUTH_STATUS_INACTIVE", + "status": 400, + "destinationResponse": { + "response": { + "request_status": "ERROR", + "request_id": "98e2a602-3cf4-4596-a8f9-7f034161f89a", + "debug_message": "Caller does not have permission", + "display_message": "We're sorry, but the requested resource is not available at this time", + "error_code": "E3002" + }, + "status": 403 + }, + "message": "undefined during snapchat_custom_audience response transformation", + "statTags": { + "destType": "SNAPCHAT_CUSTOM_AUDIENCE", + "errorCategory": "network", + "destinationId": "Non-determininable", + "workspaceId": "Non-determininable", + "errorType": "aborted", + "feature": "dataDelivery", + "implementation": "native", + "module": "destination" + } + } + } + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/snapchat_custom_audience/network.ts b/test/integrations/destinations/snapchat_custom_audience/network.ts new file mode 100644 index 0000000000..9be134c202 --- /dev/null +++ b/test/integrations/destinations/snapchat_custom_audience/network.ts @@ -0,0 +1,84 @@ +export const networkCallsData = [ + { + httpReq: { + url: 'https://adsapi.snapchat.com/v1/segments/123/users', + data: { + users: [ + { + schema: ['EMAIL_SHA256'], + data: [['938758751f5af66652a118e26503af824404bc13acd1cb7642ddff99916f0e1c']], + }, + ], + }, + params: { destination: 'snapchat_custom_audience' }, + headers: { + Authorization: 'Bearer abcd123', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + request_status: 'SUCCESS', + request_id: '12345', + users: [{ sub_request_status: 'SUCCESS', user: { number_uploaded_users: 1 } }], + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + url: 'https://adsapi.snapchat.com/v1/segments/456/users', + data: { + users: [ + { + schema: ['EMAIL_SHA256'], + data: [['938758751f5af66652a118e26503af824404bc13acd1cb7642ddff99916f0e1c']], + }, + ], + }, + params: { destination: 'snapchat_custom_audience' }, + headers: { + Authorization: 'Bearer abcd123', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { data: 'unauthorized', status: 401, statusText: 'Unauthorized' }, + }, + { + httpReq: { + url: 'https://adsapi.snapchat.com/v1/segments/789/users', + data: { + users: [ + { + id: '123456', + schema: ['EMAIL_SHA256'], + data: [['938758751f5af66652a118e26503af824404bc13acd1cb7642ddff99916f0e1c']], + }, + ], + }, + params: { destination: 'snapchat_custom_audience' }, + headers: { + Authorization: 'Bearer abcd123', + 'Content-Type': 'application/json', + 'User-Agent': 'RudderLabs', + }, + method: 'DELETE', + }, + httpRes: { + data: { + request_status: 'ERROR', + request_id: '98e2a602-3cf4-4596-a8f9-7f034161f89a', + debug_message: 'Caller does not have permission', + display_message: "We're sorry, but the requested resource is not available at this time", + error_code: 'E3002', + }, + status: 403, + statusText: 'Forbidden', + }, + }, +]; diff --git a/test/integrations/destinations/snapchat_custom_audience/processor/data.ts b/test/integrations/destinations/snapchat_custom_audience/processor/data.ts new file mode 100644 index 0000000000..9ad6106c7e --- /dev/null +++ b/test/integrations/destinations/snapchat_custom_audience/processor/data.ts @@ -0,0 +1,1404 @@ +export const data = [ + { + "name": "snapchat_custom_audience", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", + "headers": { + "Authorization": "Bearer dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "EMAIL_SHA256" + ], + "data": [ + [ + "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + ] + ] + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": true, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "remove": [ + { + "email": "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "DELETE", + "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", + "headers": { + "Authorization": "Bearer dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "EMAIL_SHA256" + ], + "data": [ + [ + "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + ] + ], + "id": "123" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ], + "remove": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", + "headers": { + "Authorization": "Bearer dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "EMAIL_SHA256" + ], + "data": [ + [ + "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + ] + ] + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "DELETE", + "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", + "headers": { + "Authorization": "Bearer dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "EMAIL_SHA256" + ], + "data": [ + [ + "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + ] + ], + "id": "123" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + }, + { + "email": "test@rudderstack.com", + "phone": "@09876543210", + "firstName": "rudderlabs", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", + "headers": { + "Authorization": "Bearer dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "EMAIL_SHA256" + ], + "data": [ + [ + "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + ], + [ + "1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd" + ] + ] + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "remove": [ + { + "email": "test@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + }, + { + "email": "test@rudderstack.com", + "phone": "@09876543210", + "firstName": "rudderlabs", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "DELETE", + "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", + "headers": { + "Authorization": "Bearer dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "EMAIL_SHA256" + ], + "data": [ + [ + "d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419" + ], + [ + "1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd" + ] + ], + "id": "123" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audience", + "properties": { + "listData": { + "add": [ + { + "email": "test@rudderstack.com", + "phone": "@09876543210", + "firstName": "rudderlabs", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 400, + "error": "Event type audience is not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SNAPCHAT_CUSTOM_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "properties": { + "listData": { + "add": [ + { + "email": "test@rudderstack.com", + "phone": "@09876543210", + "firstName": "rudderlabs", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 400, + "error": "Event type is required", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SNAPCHAT_CUSTOM_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 400, + "error": "Message properties is not present. Aborting message", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SNAPCHAT_CUSTOM_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 400, + "error": "listData is not present inside properties. Aborting message", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SNAPCHAT_CUSTOM_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "abc": "123" + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 400, + "error": "Neither 'add' nor 'remove' property is present inside 'listData'. Aborting message", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SNAPCHAT_CUSTOM_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "remove": [ + { + "email": "", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + }, + { + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 400, + "error": "Required schema parameter email is not found from payload", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SNAPCHAT_CUSTOM_AUDIENCE", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "email" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "remove": [ + { + "email": "abcd@abc.com", + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + }, + { + "phone": "@09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "DELETE", + "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", + "headers": { + "Authorization": "Bearer dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "EMAIL_SHA256" + ], + "data": [ + [ + "8c37cbc5d9abb3082303c6548571cfc7655a4546ddc1e943f041fc9126e7274a" + ] + ], + "id": "123" + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 12", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "phone" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "09876543210", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", + "headers": { + "Authorization": "Bearer dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "PHONE_SHA256" + ], + "data": [ + [ + "7619ee8cea49187f309616e30ecf54be072259b43760f1f550a644945d5572f2" + ] + ] + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "snapchat_custom_audience", + "description": "Test 13", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "destination": { + "Config": { + "segmentId": "123", + "disableHashing": false, + "schema": "mobileAdId" + } + }, + "message": { + "userId": "user 1", + "anonymousId": "anon-id-new", + "event": "event1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "email": "test@abc.com", + "phone": "09876543210", + "mobileId": "1334", + "firstName": "test", + "lastName": "rudderlabs", + "country": "US", + "postalCode": "1245" + } + ] + }, + "enablePartialFailure": true + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://adsapi.snapchat.com/v1/segments/123/users", + "headers": { + "Authorization": "Bearer dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "users": [ + { + "schema": [ + "MOBILE_AD_ID_SHA256" + ], + "data": [ + [ + "eb43272640b269219a01caf99c5a4122d6edc0916d45ac13c0ce80ca3ad2def0" + ] + ] + } + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "secret": { + "access_token": "dummyAccessToken", + "refresh_token": "dummyRefreshToken", + "developer_token": "dummyDeveloperToken" + } + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/snapchat_custom_audience/router/data.ts b/test/integrations/destinations/snapchat_custom_audience/router/data.ts new file mode 100644 index 0000000000..2807201e73 --- /dev/null +++ b/test/integrations/destinations/snapchat_custom_audience/router/data.ts @@ -0,0 +1,124 @@ +import { FEATURES, MODULES } from '../../../../../src/v0/util/tags'; + +const DEST_TYPE = 'snapchat_custom_audience'; + +export const data = [ + { + name: DEST_TYPE, + description: 'Test 0', + feature: FEATURES.ROUTER, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + input: [ + { + metadata: { + secret: { + access_token: 'dummyAccessToken', + refresh_token: 'dummyRefreshToken', + developer_token: 'dummyDeveloperToken', + }, + }, + destination: { + Config: { + segmentId: '123', + disableHashing: false, + schema: 'email', + }, + }, + message: { + userId: 'user 1', + anonymousId: 'anon-id-new', + event: 'event1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + email: 'test@abc.com', + phone: '@09876543210', + firstName: 'test', + lastName: 'rudderlabs', + country: 'US', + postalCode: '1245', + }, + ], + }, + enablePartialFailure: true, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + }, + ], + destType: DEST_TYPE, + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://adsapi.snapchat.com/v1/segments/123/users', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer dummyAccessToken', + }, + params: {}, + body: { + JSON: { + users: [ + { + data: [ + ['d3142c8f9c9129484daf28df80cc5c955791efed5e69afabb603bc8cb9ffd419'], + ], + schema: ['EMAIL_SHA256'], + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + metadata: [ + { + secret: { + access_token: 'dummyAccessToken', + developer_token: 'dummyDeveloperToken', + refresh_token: 'dummyRefreshToken', + }, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + disableHashing: false, + schema: 'email', + segmentId: '123', + }, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/splitio/processor/data.ts b/test/integrations/destinations/splitio/processor/data.ts new file mode 100644 index 0000000000..6f77c6f562 --- /dev/null +++ b/test/integrations/destinations/splitio/processor/data.ts @@ -0,0 +1,915 @@ +export const data = [ + { + "name": "splitio", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "traits": { + "martin": 21.565, + "trafficTypeName": "user", + "vertical": "restaurant", + "eventTypeId": "page_load end to end", + "timestamp": 1513357833000, + "GMV": false + }, + "userId": "user123", + "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", + "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", + "context": { + "ip": "14.5.67.21", + "traits": { + "abc": "new-val", + "key": "key_user_0", + "value": "0.93" + }, + "library": { + "name": "http" + } + }, + "type": "group", + "groupId": "group1", + "timestamp": "2020-01-21T00:21:34.208Z", + "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", + "receivedAt": "2021-04-19T14:53:18.215+05:30", + "requestIP": "[::1]" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "staging", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://events.split.io/api/events", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer abcde" + }, + "params": {}, + "body": { + "JSON": { + "eventTypeId": "group", + "key": "user123", + "timestamp": 1579566094208, + "environmentName": "staging", + "trafficTypeName": "user", + "properties": { + "martin": 21.565, + "vertical": "restaurant", + "GMV": false + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "splitio", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "traits": { + "martin": 21.565, + "trafficTypeName": "user", + "eventTypeId": "page_load end to end", + "timestamp": 1513357833000, + "address": { + "city": "San Francisco", + "state": "CA", + "country": "USA" + }, + "key1": { + "a": "a" + }, + "key2": [ + 1, + 2, + 3 + ], + "key3": { + "key4": {} + }, + "key5": null + }, + "userId": "user123", + "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", + "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", + "context": { + "ip": "14.5.67.21", + "traits": { + "abc": "new-val", + "key": "key_user_0" + }, + "library": { + "name": "http" + } + }, + "type": "identify", + "timestamp": "2020-01-21T00:21:34.208Z", + "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", + "receivedAt": "2021-04-19T14:53:18.215+05:30", + "requestIP": "[::1]" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "staging", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://events.split.io/api/events", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer abcde" + }, + "params": {}, + "body": { + "JSON": { + "eventTypeId": "identify", + "key": "user123", + "timestamp": 1579566094208, + "environmentName": "staging", + "trafficTypeName": "user", + "properties": { + "martin": 21.565, + "address.city": "San Francisco", + "address.state": "CA", + "address.country": "USA", + "key1.a": "a", + "key2[0]": 1, + "key2[1]": 2, + "key2[2]": 3 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "splitio", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "event": "splitio_test_1", + "messageId": "9b200548-5961-4448-9dbc-098b7ce85751", + "properties": { + "eventTypeId": "page_load", + "trafficTypeName": "user", + "key": "key_user_0", + "timestamp": 1513357833000, + "value": "0.93", + "martin": 21.565, + "vertical": "restaurant", + "GMV": true, + "abc": "new-val", + "property1": { + "property2": 1, + "property3": "test", + "property4": { + "subProp1": { + "a": "a", + "b": "b" + }, + "subProp2": [ + "a", + "b" + ], + "subProp3": { + "prop": {} + } + } + }, + "properties5": null + }, + "receivedAt": "2021-03-01T22:55:54.806Z", + "rudderId": "6886eb9e-215d-4f61-a651-4b8ef18aaea3", + "timestamp": "2021-03-01T22:55:54.771Z", + "type": "track", + "userId": "user 1" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "production", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://events.split.io/api/events", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer abcde" + }, + "params": {}, + "body": { + "JSON": { + "eventTypeId": "splitio_test_1", + "key": "user 1", + "timestamp": 1614639354771, + "value": 0.93, + "environmentName": "production", + "trafficTypeName": "user", + "properties": { + "martin": 21.565, + "vertical": "restaurant", + "GMV": true, + "abc": "new-val", + "property1.property2": 1, + "property1.property3": "test", + "property1.property4.subProp1.a": "a", + "property1.property4.subProp1.b": "b", + "property1.property4.subProp2[0]": "a", + "property1.property4.subProp2[1]": "b" + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "splitio", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "name": "splitio_test_1", + "messageId": "9b200548-5961-4448-9dbc-098b7ce85751", + "properties": { + "eventTypeId": "page_load", + "trafficTypeName": "user", + "key": "key_user_0", + "timestamp": 1513357833000, + "value": "0.93", + "martin": 21.565, + "vertical": "restaurant", + "GMV": true, + "abc": "new-val" + }, + "receivedAt": "2021-03-01T22:55:54.806Z", + "rudderId": "6886eb9e-215d-4f61-a651-4b8ef18aaea3", + "timestamp": "2021-03-01T22:55:54.771Z", + "type": "page", + "userId": "user 1" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "production", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://events.split.io/api/events", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer abcde" + }, + "params": {}, + "body": { + "JSON": { + "eventTypeId": "Viewed_splitio_test_1_page", + "key": "user 1", + "timestamp": 1614639354771, + "value": 0.93, + "environmentName": "production", + "trafficTypeName": "user", + "properties": { + "martin": 21.565, + "vertical": "restaurant", + "GMV": true, + "abc": "new-val" + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "splitio", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "name": "splitio_test_1", + "messageId": "9b200548-5961-4448-9dbc-098b7ce85751", + "properties": { + "eventTypeId": "page_load", + "trafficTypeName": "user", + "key": "key_user_0", + "timestamp": 1513357833000, + "value": "0.93", + "martin": 21.565, + "vertical": "restaurant", + "GMV": true, + "abc": "new-val" + }, + "receivedAt": "2021-03-01T22:55:54.806Z", + "rudderId": "6886eb9e-215d-4f61-a651-4b8ef18aaea3", + "timestamp": "2021-03-01T22:55:54.771Z", + "type": "screen", + "userId": "user 1" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "staging", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://events.split.io/api/events", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer abcde" + }, + "params": {}, + "body": { + "JSON": { + "eventTypeId": "Viewed_splitio_test_1_screen", + "key": "user 1", + "timestamp": 1614639354771, + "value": 0.93, + "environmentName": "staging", + "trafficTypeName": "user", + "properties": { + "martin": 21.565, + "vertical": "restaurant", + "GMV": true, + "abc": "new-val" + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "splitio", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "userId": "user123", + "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", + "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", + "context": { + "ip": "14.5.67.21", + "traits": { + "abc": "new-val", + "key": "key_user_0", + "newProperty": "1", + "martin": 21.565, + "vertical": "restaurant", + "GMV": false + }, + "library": { + "name": "http" + } + }, + "type": "identify", + "timestamp": "2020-01-21T00:21:34.208Z", + "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", + "receivedAt": "2021-04-19T14:53:18.215+05:30", + "requestIP": "[::1]" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "staging", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://events.split.io/api/events", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer abcde" + }, + "params": {}, + "body": { + "JSON": { + "eventTypeId": "identify", + "key": "user123", + "timestamp": 1579566094208, + "environmentName": "staging", + "trafficTypeName": "user", + "properties": { + "abc": "new-val", + "newProperty": "1", + "martin": 21.565, + "vertical": "restaurant", + "GMV": false + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "splitio", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "userId": "user123", + "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", + "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", + "context": { + "ip": "14.5.67.21", + "traits": { + "abc": "new-val", + "key": "key_user_0", + "newProperty": "1" + }, + "library": { + "name": "http" + } + }, + "timestamp": "2020-01-21T00:21:34.208Z", + "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", + "receivedAt": "2021-04-19T14:53:18.215+05:30", + "requestIP": "[::1]" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "staging", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Event type is required", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SPLITIO", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "splitio", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "userId": "user123", + "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", + "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", + "context": { + "ip": "14.5.67.21", + "traits": { + "abc": "new-val", + "key": "key_user_0", + "newProperty": "1" + }, + "library": { + "name": "http" + } + }, + "type": "abc", + "timestamp": "2020-01-21T00:21:34.208Z", + "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", + "receivedAt": "2021-04-19T14:53:18.215+05:30", + "requestIP": "[::1]" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "staging", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Event type abc is not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SPLITIO", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "splitio", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "name": "@$%%^&", + "messageId": "9b200548-5961-4448-9dbc-098b7ce85751", + "properties": { + "eventTypeId": "page_load", + "trafficTypeName": "user", + "key": "key_user_0", + "timestamp": 1513357833000, + "value": "0.93", + "martin": 21.565, + "vertical": "restaurant", + "GMV": true, + "abc": "new-val" + }, + "receivedAt": "2021-03-01T22:55:54.806Z", + "rudderId": "6886eb9e-215d-4f61-a651-4b8ef18aaea3", + "timestamp": "2021-03-01T22:55:54.771Z", + "type": "page", + "userId": "user 1" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "production", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "eventTypeId does not match with ideal format /^[\\dA-Za-z][\\w.-]{0,79}$/", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "SPLITIO", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "splitio", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "name": "1pplication accepted", + "messageId": "9b200548-5961-4448-9dbc-098b7ce85751", + "category": "food", + "properties": { + "eventTypeId": "page_load", + "trafficTypeName": "user", + "key": "key_user_0", + "timestamp": 1513357833000, + "value": "bc2", + "martin": 21.565, + "vertical": [ + "restaurant", + "mall" + ], + "GMV": true, + "abc": "new-val" + }, + "receivedAt": "2021-03-01T22:55:54.806Z", + "rudderId": "6886eb9e-215d-4f61-a651-4b8ef18aaea3", + "timestamp": "2021-03-01T22:55:54.771Z", + "type": "page", + "userId": "user 1" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "production", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://events.split.io/api/events", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer abcde" + }, + "params": {}, + "body": { + "JSON": { + "eventTypeId": "Viewed_1pplication_accepted_page", + "key": "user 1", + "timestamp": 1614639354771, + "environmentName": "production", + "trafficTypeName": "user", + "properties": { + "martin": 21.565, + "vertical[0]": "restaurant", + "vertical[1]": "mall", + "GMV": true, + "abc": "new-val", + "category": "food" + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "splitio", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "userId": "user123", + "messageId": "c73198a8-41d8-4426-9fd9-de167194d5f3", + "rudderId": "bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5", + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "type": "identify", + "timestamp": "2020-01-21T00:21:34.208Z", + "writeKey": "1pe7u01A7rYOrvacE6WSgI6ESXh", + "receivedAt": "2021-04-19T14:53:18.215+05:30", + "requestIP": "[::1]" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "environment": "staging", + "trafficType": "user" + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://events.split.io/api/events", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer abcde" + }, + "params": {}, + "body": { + "JSON": { + "eventTypeId": "identify", + "key": "user123", + "timestamp": 1579566094208, + "environmentName": "staging", + "trafficTypeName": "user", + "properties": {} + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/splitio/router/data.ts b/test/integrations/destinations/splitio/router/data.ts new file mode 100644 index 0000000000..1004756812 --- /dev/null +++ b/test/integrations/destinations/splitio/router/data.ts @@ -0,0 +1,224 @@ +import { FEATURES } from '../../../../../src/v0/util/tags'; + +export const data = [ + { + name: 'splitio', + description: 'Test 0', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + traits: { + martin: 21.565000000000001, + trafficTypeName: 'user', + vertical: 'restaurant', + eventTypeId: 'page_load end to end', + timestamp: 1513357833000, + GMV: false, + }, + userId: 'user123', + messageId: 'c73198a8-41d8-4426-9fd9-de167194d5f3', + rudderId: 'bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5', + context: { + ip: '14.5.67.21', + traits: { + abc: 'new-val', + key: 'key_user_0', + value: '0.93', + }, + library: { + name: 'http', + }, + }, + type: 'group', + groupId: 'group1', + timestamp: '2020-01-21T00:21:34.208Z', + writeKey: '1pe7u01A7rYOrvacE6WSgI6ESXh', + receivedAt: '2021-04-19T14:53:18.215+05:30', + requestIP: '[::1]', + }, + metadata: { + jobId: 1, + }, + destination: { + Config: { + apiKey: 'abcde', + environment: 'staging', + trafficType: 'user', + }, + }, + }, + ], + destType: 'splitio', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://events.split.io/api/events', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer abcde', + }, + params: {}, + body: { + JSON: { + eventTypeId: 'group', + key: 'user123', + timestamp: 1579566094208, + environmentName: 'staging', + trafficTypeName: 'user', + properties: { + martin: 21.565, + vertical: 'restaurant', + GMV: false, + }, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 1, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + apiKey: 'abcde', + environment: 'staging', + trafficType: 'user', + }, + }, + }, + ], + }, + }, + }, + }, + { + name: 'splitio', + description: 'Test 1', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + traits: { + martin: 21.565000000000001, + trafficTypeName: 'user', + eventTypeId: 'page_load end to end', + timestamp: 1513357833000, + }, + userId: 'user123', + messageId: 'c73198a8-41d8-4426-9fd9-de167194d5f3', + rudderId: 'bda76e3e-87eb-4153-9d1e-e9c2ed48b7a5', + context: { + ip: '14.5.67.21', + traits: { + abc: 'new-val', + key: 'key_user_0', + }, + library: { + name: 'http', + }, + }, + type: 'identify', + timestamp: '2020-01-21T00:21:34.208Z', + writeKey: '1pe7u01A7rYOrvacE6WSgI6ESXh', + receivedAt: '2021-04-19T14:53:18.215+05:30', + requestIP: '[::1]', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + apiKey: 'abcde', + environment: 'staging', + trafficType: 'user', + }, + }, + }, + ], + destType: 'splitio', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://events.split.io/api/events', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer abcde', + }, + params: {}, + body: { + JSON: { + eventTypeId: 'identify', + key: 'user123', + timestamp: 1579566094208, + environmentName: 'staging', + trafficTypeName: 'user', + properties: { + martin: 21.565, + }, + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 2, + }, + ], + batched: false, + statusCode: 200, + destination: { + Config: { + apiKey: 'abcde', + environment: 'staging', + trafficType: 'user', + }, + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/statsig/processor/data.ts b/test/integrations/destinations/statsig/processor/data.ts new file mode 100644 index 0000000000..c76ce506dc --- /dev/null +++ b/test/integrations/destinations/statsig/processor/data.ts @@ -0,0 +1,1511 @@ +export const data = [ + { + name: 'statsig', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createdat: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'Product Clicked', + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + properties: { + revenue: '30', + currency: 'USD', + quantity: '5', + test_key_2: { + test_child_key_1: 'test_child_value_1', + }, + price: '58.0', + }, + originalTimestamp: '2020-05-25T18:37:10.917Z', + sentAt: '2020-05-25T18:37:10.917Z', + type: 'track', + userId: 'sample_user_id', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + secretKey: 'secret-tHe5ecr37', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.statsig.com/v1/webhooks/rudderstack', + headers: { + 'STATSIG-API-KEY': 'secret-tHe5ecr37', + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSPonIAEmulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createdat: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9112340345', + username: 'john_sparrow', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'Product Clicked', + integrations: { + All: true, + }, + messageId: '1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06', + properties: { + revenue: '30', + currency: 'USD', + quantity: '5', + test_key_2: { + test_child_key_1: 'test_child_value_1', + }, + price: '58.0', + }, + originalTimestamp: '2020-05-25T18:37:10.917Z', + sentAt: '2020-05-25T18:37:10.917Z', + type: 'track', + userId: 'sample_user_id', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, + { + name: 'statsig', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createdat: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9876543210', + username: 'john_sparrow', + quantity: '5', + price: '56.0', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'identify', + integrations: { + All: true, + }, + messageId: '1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9', + originalTimestamp: '2020-05-25T18:37:10.865Z', + sentAt: '2020-05-25T18:37:10.917Z', + type: 'identify', + userId: 'sample_user_id', + }, + destination: { + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + }, + Config: { + secretKey: 'secret-tHe5ecr37', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.statsig.com/v1/webhooks/rudderstack', + headers: { + 'STATSIG-API-KEY': 'secret-tHe5ecr37', + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createdat: '18th March 2020', + description: 'Premium User for 3 years', + email: 'identify@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9876543210', + username: 'john_sparrow', + quantity: '5', + price: '56.0', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'identify', + integrations: { + All: true, + }, + messageId: '1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9', + originalTimestamp: '2020-05-25T18:37:10.865Z', + sentAt: '2020-05-25T18:37:10.917Z', + type: 'identify', + userId: 'sample_user_id', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, + { + name: 'statsig', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createdat: '18th March 2020', + description: 'Premium User for 3 years', + email: 'page@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9876543210', + username: 'john_sparrow', + quantity: '5', + price: '56.0', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'page', + integrations: { + All: true, + }, + messageId: '1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9', + originalTimestamp: '2020-05-25T18:37:10.865Z', + sentAt: '2020-05-25T18:37:10.917Z', + type: 'page', + userId: 'sample_user_id', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + secretKey: 'secret-tHe5ecr37', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.statsig.com/v1/webhooks/rudderstack', + headers: { + 'STATSIG-API-KEY': 'secret-tHe5ecr37', + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createdat: '18th March 2020', + description: 'Premium User for 3 years', + email: 'page@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9876543210', + username: 'john_sparrow', + quantity: '5', + price: '56.0', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'page', + integrations: { + All: true, + }, + messageId: '1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9', + originalTimestamp: '2020-05-25T18:37:10.865Z', + sentAt: '2020-05-25T18:37:10.917Z', + type: 'page', + userId: 'sample_user_id', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, + { + name: 'statsig', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createdat: '18th March 2020', + description: 'Premium User for 3 years', + email: 'screen@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9876543210', + username: 'john_sparrow', + quantity: '5', + price: '56.0', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'screen', + integrations: { + All: true, + }, + messageId: '1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9', + originalTimestamp: '2020-05-25T18:37:10.865Z', + sentAt: '2020-05-25T18:37:10.917Z', + type: 'screen', + userId: 'sample_user_id', + }, + destination: { + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + }, + Config: { + secretKey: 'secret-tHe5ecr37', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.statsig.com/v1/webhooks/rudderstack', + headers: { + 'STATSIG-API-KEY': 'secret-tHe5ecr37', + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createdat: '18th March 2020', + description: 'Premium User for 3 years', + email: 'screen@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9876543210', + username: 'john_sparrow', + quantity: '5', + price: '56.0', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'screen', + integrations: { + All: true, + }, + messageId: '1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9', + originalTimestamp: '2020-05-25T18:37:10.865Z', + sentAt: '2020-05-25T18:37:10.917Z', + type: 'screen', + userId: 'sample_user_id', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, + { + name: 'statsig', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createdat: '18th March 2020', + description: 'Premium User for 3 years', + email: 'screen@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9876543210', + username: 'john_sparrow', + quantity: '5', + price: '56.0', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'screen', + integrations: { + All: true, + }, + messageId: '1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9', + originalTimestamp: '2020-05-25T18:37:10.865Z', + sentAt: '2020-05-25T18:37:10.917Z', + type: 'screen', + userId: 'sample_user_id', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + secretKey: 'secret-4n07h3rsecr3t', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.statsig.com/v1/webhooks/rudderstack', + headers: { + 'STATSIG-API-KEY': 'secret-4n07h3rsecr3t', + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + anonymousId: '8d872292709c6fbe', + channel: 'mobile', + context: { + app: { + build: '1', + name: 'AMTestProject', + namespace: 'com.rudderstack.android.rudderstack.sampleAndroidApp', + version: '1.0', + }, + device: { + id: '8d872292709c6fbe', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'android', + }, + library: { + name: 'com.rudderstack.android.sdk.core', + version: '1.0.2', + }, + locale: 'en-US', + network: { + carrier: 'Android', + bluetooth: false, + cellular: true, + wifi: true, + }, + os: { + name: 'Android', + version: '9', + }, + screen: { + density: 420, + height: 1794, + width: 1080, + }, + timezone: 'Asia/Kolkata', + traits: { + address: { + city: 'Kolkata', + country: 'India', + postalcode: '700096', + state: 'West bengal', + street: 'Park Street', + }, + age: '30', + anonymousId: '8d872292709c6fbe', + birthday: '2020-05-26', + createdat: '18th March 2020', + description: 'Premium User for 3 years', + email: 'screen@test.com', + firstname: 'John', + userId: 'sample_user_id', + lastname: 'Sparrow', + name: 'John Sparrow', + id: 'sample_user_id', + phone: '9876543210', + username: 'john_sparrow', + quantity: '5', + price: '56.0', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)', + }, + event: 'screen', + integrations: { + All: true, + }, + messageId: '1590431830865-3be680d6-7dcd-4b05-8460-f3acc30046d9', + originalTimestamp: '2020-05-25T18:37:10.865Z', + sentAt: '2020-05-25T18:37:10.917Z', + type: 'screen', + userId: 'sample_user_id', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, + { + name: 'statsig', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.5', + }, + traits: { + name: 'Shehan Study', + category: 'SampleIdentify', + email: 'test@rudderstack.com', + plan: 'Open source', + logins: 5, + createdAt: 1599264000, + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.5', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 0.8999999761581421, + }, + campaign: { + source: 'google', + medium: 'medium', + term: 'keyword', + content: 'some content', + name: 'some campaign', + test: 'other value', + }, + page: { + path: '/destinations/amplitude', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/amplitude', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'alias', + messageId: 'dd46338d-5f83-493b-bd28-3b48f55d0be8', + originalTimestamp: '2020-10-20T08:14:28.778Z', + anonymousId: 'my-anonymous-id-new', + userId: 'newUserIdAlias', + integrations: { + All: true, + }, + previousId: 'sampleusrRudder3', + sentAt: '2020-10-20T08:14:28.778Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + }, + Config: { + secretKey: 'secret-tHe5ecr37', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.statsig.com/v1/webhooks/rudderstack', + headers: { + 'STATSIG-API-KEY': 'secret-tHe5ecr37', + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.5', + }, + traits: { + name: 'Shehan Study', + category: 'SampleIdentify', + email: 'test@rudderstack.com', + plan: 'Open source', + logins: 5, + createdAt: 1599264000, + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.5', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 0.8999999761581421, + }, + campaign: { + source: 'google', + medium: 'medium', + term: 'keyword', + content: 'some content', + name: 'some campaign', + test: 'other value', + }, + page: { + path: '/destinations/amplitude', + referrer: '', + search: '', + title: '', + url: 'https://docs.rudderstack.com/destinations/amplitude', + category: 'destination', + initial_referrer: 'https://docs.rudderstack.com', + initial_referring_domain: 'docs.rudderstack.com', + }, + }, + type: 'alias', + messageId: 'dd46338d-5f83-493b-bd28-3b48f55d0be8', + originalTimestamp: '2020-10-20T08:14:28.778Z', + anonymousId: 'my-anonymous-id-new', + userId: 'newUserIdAlias', + integrations: { + All: true, + }, + previousId: 'sampleusrRudder3', + sentAt: '2020-10-20T08:14:28.778Z', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, + { + name: 'statsig', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + anonymousId: '123456', + userId: '123456', + type: 'group', + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + secretKey: 'secret-tHe5ecr37', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.statsig.com/v1/webhooks/rudderstack', + headers: { + 'STATSIG-API-KEY': 'secret-tHe5ecr37', + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + 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', + anonymousId: '123456', + userId: '123456', + type: 'group', + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, + { + name: 'statsig', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + anonymousId: '123456', + userId: '123456', + type: 'NOT_A_TYPE', + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + }, + Config: { + secretKey: 'secret-tHe5ecr37', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'Bad event. Original error: message type "NOT_A_TYPE" not supported for "statsig"', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'STATSIG', + module: 'destination', + implementation: 'cdkV1', + destinationId: 'd1', + workspaceId: 'w1', + feature: 'processor', + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/tiktok_ads/dataDelivery/data.ts b/test/integrations/destinations/tiktok_ads/dataDelivery/data.ts new file mode 100644 index 0000000000..810e1de475 --- /dev/null +++ b/test/integrations/destinations/tiktok_ads/dataDelivery/data.ts @@ -0,0 +1,672 @@ +import { AxiosError } from 'axios'; +import MockAxiosAdapter from 'axios-mock-adapter'; +import lodash from 'lodash'; + +export const data = [ + { + name: 'tiktok_ads', + description: 'Test 0', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + 'test-dest-response-key': 'successResponse', + }, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + params: { + destination: 'tiktok_ads', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + status: 200, + message: '[TIKTOK_ADS Response Handler] - Request Processed Successfully', + destinationResponse: { + response: { + code: 0, + message: 'OK', + }, + status: 200, + }, + }, + }, + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 1', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + 'test-dest-response-key': 'invalidDataTypeResponse', + }, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: 1077218, + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: 1197218, + }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + params: { + destination: 'tiktok_ads', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: 'Request failed with status: 40002', + destinationResponse: { + response: { + code: 40002, + message: 'Batch.0.properties.contents.0.content_id: Not a valid string', + }, + status: 200, + }, + statTags: { + destType: 'TIKTOK_ADS', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 2', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + 'test-dest-response-key': 'invalidPermissionsResponse', + }, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: 1077218, + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: 1197218, + }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + params: { + destination: 'tiktok_ads', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 400, + body: { + output: { + status: 400, + message: 'Request failed with status: 40001', + destinationResponse: { + response: { + code: 40001, + message: + 'No permission to operate pixel code: BU35TSQHT2A1QT375OMG. You must be an admin or operator of this advertiser account.', + }, + status: 200, + }, + statTags: { + destType: 'TIKTOK_ADS', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'aborted', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 3', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + 'test-dest-response-key': 'tooManyRequests', + }, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: 1077218, + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: 1197218, + }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + params: { + destination: 'tiktok_ads', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 429, + body: { + output: { + status: 429, + message: 'Request failed with status: 40100', + destinationResponse: { + response: { + code: 40100, + message: 'Too many requests. Please retry in some time.', + }, + status: 200, + }, + statTags: { + destType: 'TIKTOK_ADS', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'throttled', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 4', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + 'test-dest-response-key': '502-BadGateway', + }, + params: { + destination: 'tiktok_ads', + }, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: 1077218, + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: 1197218, + }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 502, + body: { + output: { + status: 502, + message: 'Request failed with status: 502', + destinationResponse: { + response: + '\r\n502 Bad Gateway\r\n\r\n

502 Bad Gateway

\r\n
nginx
\r\n\r\n\r\n', + status: 502, + }, + statTags: { + destType: 'TIKTOK_ADS', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 5', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: { + destination: 'tiktok_ads', + }, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: 1077218, + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: 1197218, + }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + status: 500, + message: 'Request failed with status: 500', + destinationResponse: { + response: '[ECONNRESET] :: Connection reset by peer', + status: 500, + }, + statTags: { + destType: 'TIKTOK_ADS', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + mockFns: (mockAdapter: MockAxiosAdapter) => { + mockAdapter + .onPost( + 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + { + asymmetricMatch: (actual) => { + const expected = { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: 1077218, // casted to string + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: 1197218, // casted to string + }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }; + const isMatched = lodash.isMatch(actual, expected); + return isMatched; + }, + }, + { + asymmetricMatch: (actualHeader) => { + const isMatched = lodash.isMatch(actualHeader, { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }); + return isMatched; + }, + }, + ) + .reply((config) => { + // @ts-ignore + const err = AxiosError.from('Connection reset by peer', 'ECONNRESET', config); + return Promise.reject(err); + }); + }, + }, +]; diff --git a/test/integrations/destinations/tiktok_ads/network.ts b/test/integrations/destinations/tiktok_ads/network.ts new file mode 100644 index 0000000000..1cf0920259 --- /dev/null +++ b/test/integrations/destinations/tiktok_ads/network.ts @@ -0,0 +1,241 @@ +export const networkCallsData = [ + { + httpReq: { + url: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + data: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { price: 8, quantity: 2, content_type: 'socks', content_id: '1077218' }, + { price: 30, quantity: 1, content_type: 'dress', content_id: '1197218' }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { callback: '123ATXSfe' }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + params: { destination: 'tiktok_ads' }, + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + 'test-dest-response-key': 'successResponse', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { data: { code: 0, message: 'OK' }, status: 200 }, + }, + { + httpReq: { + url: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + data: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { price: 8, quantity: 2, content_type: 'socks', content_id: 1077218 }, + { price: 30, quantity: 1, content_type: 'dress', content_id: 1197218 }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { callback: '123ATXSfe' }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + params: { destination: 'tiktok_ads' }, + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + 'test-dest-response-key': 'invalidDataTypeResponse', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + code: 40002, + message: 'Batch.0.properties.contents.0.content_id: Not a valid string', + }, + status: 200, + }, + }, + { + httpReq: { + url: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + data: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { price: 8, quantity: 2, content_type: 'socks', content_id: 1077218 }, + { price: 30, quantity: 1, content_type: 'dress', content_id: 1197218 }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { callback: '123ATXSfe' }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + params: { destination: 'tiktok_ads' }, + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + 'test-dest-response-key': 'invalidPermissionsResponse', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + code: 40001, + message: + 'No permission to operate pixel code: BU35TSQHT2A1QT375OMG. You must be an admin or operator of this advertiser account.', + }, + status: 200, + }, + }, + { + httpReq: { + url: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + data: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { price: 8, quantity: 2, content_type: 'socks', content_id: 1077218 }, + { price: 30, quantity: 1, content_type: 'dress', content_id: 1197218 }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { callback: '123ATXSfe' }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + params: { destination: 'tiktok_ads' }, + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + 'test-dest-response-key': 'tooManyRequests', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { code: 40100, message: 'Too many requests. Please retry in some time.' }, + status: 200, + }, + }, + { + httpReq: { + url: 'https://business-api.tiktok.com/open_api/v1.2/pixel/batch/', + data: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { price: 8, quantity: 2, content_type: 'socks', content_id: 1077218 }, + { price: 30, quantity: 1, content_type: 'dress', content_id: 1197218 }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { callback: '123ATXSfe' }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + external_id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + params: { destination: 'tiktok_ads' }, + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + 'test-dest-response-key': '502-BadGateway', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: '\r\n502 Bad Gateway\r\n\r\n

502 Bad Gateway

\r\n
nginx
\r\n\r\n\r\n', + status: 502, + }, + }, +]; diff --git a/test/integrations/destinations/tiktok_ads/processor/data.ts b/test/integrations/destinations/tiktok_ads/processor/data.ts new file mode 100644 index 0000000000..38fec1e1e0 --- /dev/null +++ b/test/integrations/destinations/tiktok_ads/processor/data.ts @@ -0,0 +1,4690 @@ +export const data = [ + { + "name": "tiktok_ads", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "checkout step completed", + "properties": { + "eventId": "1616318632825_357", + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "CompletePayment", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "checkout started", + "properties": { + "eventId": "1616318632825_357", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "InitiateCheckout", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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" + }, + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "Product Added to Wishlist", + "properties": { + "eventId": "1616318632825_357", + "testEventCode": "sample rudder test_event_code", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "AddToWishlist", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "test_event_code": "sample rudder test_event_code", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "Product Added to Wishlist1", + "properties": { + "eventId": "1616318632825_357", + "testEventCode": "sample rudder test_event_code", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Event name (product added to wishlist1) is not valid, must be mapped to one of standard events", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "TIKTOK_ADS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "Product Added to Wishlist", + "properties": { + "eventId": "1616318632825_357", + "testEventCode": "sample rudder test_event_code", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "AddToWishlist", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "test_event_code": "sample rudder test_event_code", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "Product Added to Wishlist", + "properties": { + "eventId": "1616318632825_357", + "testEventCode": "sample rudder test_event_code", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "AddToWishlist", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "test_event_code": "sample rudder test_event_code", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "1234" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "SubscriBe", + "properties": { + "eventId": "1616318632825_357", + "testEventCode": "", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "+868987675687", + "email": "sample@sample.com" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "Subscribe", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "1d96e70d2bf54087e33586457cde2790825bee7b1a3b05d26481cb12ec8e63fd", + "email": "774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa", + "external_id": "03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "payment info entered", + "properties": { + "eventId": "1616318632825_357", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "AddPaymentInfo", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "properties": { + "eventId": "1616318632825_357", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Event name is required", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "TIKTOK_ADS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "eventId": "1616318632825_357", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Event type is required", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "TIKTOK_ADS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "type": "track", + "event": "payment info entered", + "properties": { + "eventId": "1616318632825_357", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "AddPaymentInfo", + "event_id": "1616318632825_357", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "submitform", + "properties": { + "eventId": "16163186328257", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "SubmitForm", + "event_id": "16163186328257", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 12", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "submitform", + "properties": { + "eventId": "16163186328257", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + }, + "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131" + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "SubmitForm", + "event_id": "16163186328257", + "timestamp": "2020-09-17T19:49:27Z", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 13", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "contact", + "properties": { + "eventId": "16163186328257", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "Contact", + "event_id": "16163186328257", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 14", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "identify", + "event": "contact", + "properties": { + "eventId": "16163186328257", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Event type identify is not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "TIKTOK_ADS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 15", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "checkout step completed", + "properties": { + "eventId": "1616318632825_357", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "CompletePayment", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 16", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "order completed", + "properties": { + "eventId": "1616318632825_357", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "PlaceAnOrder", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 17", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "user@sample.com", + "phone": "+919912345678" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "SubscriBe", + "properties": { + "eventId": "1616318632825_357", + "testEventCode": "TEST0000000011", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "+918987674657", + "email": "sample@rudder.com" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "Subscribe", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "test_event_code": "TEST0000000011", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "1b6abcebb79b2208929967160ba291656f3fcd4f00e93b6a846c1e56c0e177c6", + "email": "02e47a94635c1ffd6f6a69fe2c7a92dbfbb9d5e2ebddb54810520b34989b66a7", + "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 18", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "email": "user@sample.com", + "phone": "+919912345678" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "locale": "en-US", + "ip": "13.57.97.131", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "SubscriBe", + "properties": { + "eventId": "1616318632825_357", + "testEventCode": "TEST0000000011", + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "", + "email": "" + } + }, + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": true + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "Subscribe", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "test_event_code": "TEST0000000011", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "241102c24fa8a642e3d1346a31fbce3dd312563c015ae577a2253cb8652581eb", + "email": "a344da1fac6201ed1c1f20a07e1b55bb896a5ac0abd269c1e9daf1afbbffca3b", + "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 19", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "ad": { + "callback": "999ATXSfe" + }, + "page": { + "url": "http://rudder.mywebsite.com/purchase", + "referrer": "http://rudder.mywebsite.com" + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "checkout step completed", + "properties": { + "eventId": "1616318632825_357", + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46, + "context": { + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "CompletePayment", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "999ATXSfe" + }, + "page": { + "url": "http://rudder.mywebsite.com/purchase", + "referrer": "http://rudder.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 20", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "abc", + "properties": { + "eventId": "1616318632825_357", + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false, + "eventsToStandard": [ + { + "from": "abc", + "to": "download" + }, + { + "from": "abc", + "to": "search" + }, + { + "from": "def", + "to": "search" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "download", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "search", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 21", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "abc", + "properties": { + "eventId": "1616318632825_357", + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false, + "eventsToStandard": [ + { + "from": "def", + "to": "download" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Event name (abc) is not valid, must be mapped to one of standard events", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "TIKTOK_ADS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 22", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "abc", + "properties": { + "eventId": "1616318632825_357", + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false, + "eventsToStandard": [ + { + "from": "abc", + "to": "download" + }, + { + "from": "def", + "to": "download" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "download", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 23", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "abc", + "properties": { + "eventId": "1616318632825_357", + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "+371234567890123", + "email": "sample@sample.com" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": true, + "eventsToStandard": [ + { + "from": "abc", + "to": "download" + }, + { + "from": "def", + "to": "download" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "download", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "6080191ec608e10062e9257702cbca694cfe1bfa53944ba5701119d8f8b99ad6", + "email": "774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa", + "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 24", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "abc", + "properties": { + "eventId": "1616318632825_357", + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "+3712345678", + "email": "sample@sample.com" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": true, + "eventsToStandard": [ + { + "from": "abc", + "to": "download" + }, + { + "from": "def", + "to": "download" + } + ] + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "download", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "6e6c1bb39126b3ecf537e62847909b1372a1a22de9b28d85960e12c78f322035", + "email": "774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa", + "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 25", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "checkout step completed", + "properties": { + "eventId": "1616318632825_357", + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "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" + } + ], + "currency": "USD", + "value": 46, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "CompletePayment", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "contents": [ + { + "price": 8, + "quantity": 2, + "content_type": "socks", + "content_id": "1077218" + }, + { + "price": 30, + "quantity": 1, + "content_type": "dress", + "content_id": "1197218" + } + ], + "currency": "USD", + "value": 46 + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 26", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "checkout step completed", + "properties": { + "eventId": "1616318632825_357", + "products": [ + { + "product_id": 123, + "sku": "G-32", + "name": "Monopoly", + "price": 14, + "quantity": 1, + "contentType": "product_group", + "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, + "contentType": "product_group", + "quantity": 2 + } + ], + "currency": "USD", + "value": 46, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "CompletePayment", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "currency": "USD", + "value": 46, + "contents": [ + { + "content_type": "product_group", + "content_id": "123", + "content_category": "Games", + "content_name": "Monopoly", + "price": 14, + "quantity": 1 + }, + { + "content_type": "product_group", + "content_id": "345", + "content_name": "UNO", + "price": 3.45, + "quantity": 2 + } + ] + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 27", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "checkout step completed", + "properties": { + "eventId": "1616318632825_357", + "products": [ + { + "contentType": "product_group", + "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" + }, + { + "contentType": "product_group", + "product_id": "345", + "sku": "F-32", + "name": "UNO", + "price": 3.45, + "quantity": 2, + "category": "Games" + } + ], + "currency": "USD", + "value": 46, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "CompletePayment", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "currency": "USD", + "value": 46, + "contents": [ + { + "content_type": "product_group", + "content_id": "123", + "content_category": "Games", + "content_name": "Monopoly", + "price": 14, + "quantity": 1 + }, + { + "content_type": "product_group", + "content_id": "345", + "content_category": "Games", + "content_name": "UNO", + "price": 3.45, + "quantity": 2 + } + ] + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads", + "description": "Test 28", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "anonymousId": "21e13f4bc7ceddad", + "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", + "ip": "13.57.97.131", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 2 + }, + "externalId": [ + { + "type": "tiktokExternalId", + "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + } + ] + }, + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "originalTimestamp": "2019-10-14T09:03:17.562Z", + "timestamp": "2020-09-17T19:49:27Z", + "type": "track", + "event": "checkout step completed", + "properties": { + "category": "Urban", + "status": "processed", + "name": "games", + "contentType": "product_group", + "productId": "qqw21221341234", + "eventId": "1616318632825_357", + "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" + } + ], + "currency": "USD", + "value": 46, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" + } + } + }, + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "pixelCode": "A1T8T4UYGVIQA8ORZMX9", + "hashUserProperties": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "pixel_code": "A1T8T4UYGVIQA8ORZMX9", + "event": "CompletePayment", + "event_id": "1616318632825_357", + "timestamp": "2020-09-17T19:49:27Z", + "properties": { + "content_category": "Urban", + "status": "processed", + "content_name": "games", + "content_id": "qqw21221341234", + "content_type": "product_group", + "currency": "USD", + "value": 46, + "contents": [ + { + "content_type": "product_group", + "content_id": "123", + "content_category": "Games", + "content_name": "Monopoly", + "price": 14, + "quantity": 1 + }, + { + "content_type": "product_group", + "content_id": "345", + "content_category": "Games", + "content_name": "UNO", + "price": 3.45, + "quantity": 2 + } + ] + }, + "context": { + "ad": { + "callback": "123ATXSfe" + }, + "page": { + "url": "http://demo.mywebsite.com/purchase", + "referrer": "http://demo.mywebsite.com" + }, + "user": { + "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", + "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", + "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" + }, + "ip": "13.57.97.131", + "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" + }, + "partner_name": "RudderStack" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/tiktok_ads/router/data.ts b/test/integrations/destinations/tiktok_ads/router/data.ts new file mode 100644 index 0000000000..60bb5628ca --- /dev/null +++ b/test/integrations/destinations/tiktok_ads/router/data.ts @@ -0,0 +1,809 @@ +import { FEATURES } from '../../../../../src/v0/util/tags'; + +export const data = [ + { + name: 'tiktok_ads', + description: 'Test 0', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'checkout step completed', + properties: { + eventId: '1616318632825_357', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46.0, + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + jobId: 5, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'checkout started', + properties: { + eventId: '1616318632825_357', + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46.0, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + jobId: 1, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'download', + properties: { + eventId: '1616318632825_357', + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + userAgent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46.0, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + jobId: 2, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'search', + properties: { + eventId: '1616318632825_357', + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + userAgent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46.0, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + jobId: 4, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + destType: 'tiktok_ads', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/batch/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + batch: [ + { + event: 'CompletePayment', + event_id: '1616318632825_357', + type: 'track', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + email: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + }, + { + event: 'InitiateCheckout', + event_id: '1616318632825_357', + type: 'track', + timestamp: '2020-09-17T19:49:27Z', + context: { + ad: { + callback: '123ATXSfe', + }, + ip: '13.57.97.131', + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + email: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + }, + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + properties: { + value: 46, + contents: [ + { + price: 8, + quantity: 2, + content_id: '1077218', + content_type: 'socks', + }, + { + price: 30, + quantity: 1, + content_id: '1197218', + content_type: 'dress', + }, + ], + currency: 'USD', + }, + }, + { + event: 'Download', + event_id: '1616318632825_357', + type: 'track', + timestamp: '2020-09-17T19:49:27Z', + context: { + ad: { + callback: '123ATXSfe', + }, + ip: '13.57.97.131', + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + email: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + }, + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + properties: { + value: 46, + contents: [ + { + price: 8, + quantity: 2, + content_id: '1077218', + content_type: 'socks', + }, + { + price: 30, + quantity: 1, + content_id: '1197218', + content_type: 'dress', + }, + ], + currency: 'USD', + }, + }, + { + event: 'Search', + event_id: '1616318632825_357', + type: 'track', + timestamp: '2020-09-17T19:49:27Z', + context: { + ad: { + callback: '123ATXSfe', + }, + ip: '13.57.97.131', + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + email: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + }, + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + properties: { + value: 46, + contents: [ + { + price: 8, + quantity: 2, + content_id: '1077218', + content_type: 'socks', + }, + { + price: 30, + quantity: 1, + content_id: '1197218', + content_type: 'dress', + }, + ], + currency: 'USD', + }, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + metadata: [ + { + jobId: 5, + }, + { + jobId: 1, + }, + { + jobId: 2, + }, + { + jobId: 4, + }, + ], + batched: true, + statusCode: 200, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 1', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: '1234', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'Product Added to Wishlist', + properties: { + eventId: '1616318632825_357', + testEventCode: 'sample rudder test_event_code', + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: '+858987675687', + email: 'sample@sample.com', + }, + userAgent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46.0, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + jobId: 3, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: true, + }, + }, + }, + ], + destType: 'tiktok_ads', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: [ + { + body: { + FORM: {}, + JSON: { + context: { + ad: { + callback: '123ATXSfe', + }, + ip: '13.57.97.131', + page: { + referrer: 'http://demo.mywebsite.com', + url: 'http://demo.mywebsite.com/purchase', + }, + user: { + external_id: + '03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4', + phone_number: + '4443dd476f2be18201447ef046731c1a715accee4edc5192641a3b4c3ba921c7', + email: '774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa', + }, + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + event: 'AddToWishlist', + event_id: '1616318632825_357', + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + partner_name: 'RudderStack', + properties: { + contents: [ + { + content_id: '1077218', + content_type: 'socks', + price: 8, + quantity: 2, + }, + { + content_id: '1197218', + content_type: 'dress', + price: 30, + quantity: 1, + }, + ], + currency: 'USD', + value: 46, + }, + test_event_code: 'sample rudder test_event_code', + timestamp: '2020-09-17T19:49:27Z', + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + files: {}, + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + method: 'POST', + params: {}, + type: 'REST', + version: '1', + }, + ], + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: true, + }, + }, + metadata: [ + { + jobId: 3, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/tiktok_ads_offline_events/processor/data.ts b/test/integrations/destinations/tiktok_ads_offline_events/processor/data.ts new file mode 100644 index 0000000000..a4ff796f37 --- /dev/null +++ b/test/integrations/destinations/tiktok_ads_offline_events/processor/data.ts @@ -0,0 +1,618 @@ +export const data = [ + { + "name": "tiktok_ads_offline_events", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "hashUserProperties": true + } + }, + "message": { + "type": "Identify", + "userId": "yash001", + "originalTimestamp": "2019-10-14T09:03:17.562Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Event type identify is not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "TIKTOK_ADS_OFFLINE_EVENTS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "tiktok_ads_offline_events", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "hashUserProperties": false + } + }, + "message": { + "event": "subscribe", + "context": { + "traits": { + "phone": "c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646" + }, + "channel": "web" + }, + "properties": { + "eventSetId": "7181537436256731137", + "eventId": "1616318632825_352", + "order_id": "abc_xyz", + "shop_id": "123abc", + "currency": "USD", + "value": 46, + "price": 8, + "quantity": 2, + "content_type": "product1234", + "product_id": "1077218", + "name": "socks", + "category": "Men's cloth" + }, + "type": "track", + "userId": "eventIdn01", + "timestamp": "2023-01-03" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/offline/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event_set_id": "7181537436256731137", + "event_id": "1616318632825_352", + "timestamp": "2023-01-03", + "properties": { + "order_id": "abc_xyz", + "shop_id": "123abc", + "currency": "USD", + "value": 46, + "event_channel": "web", + "contents": [ + { + "content_name": "socks", + "content_type": "product1234", + "content_category": "Men's cloth", + "content_id": "1077218", + "price": 8, + "quantity": 2 + } + ] + }, + "event": "Subscribe", + "partner_name": "RudderStack", + "context": { + "user": { + "phone_numbers": [ + "c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "event_set_id": "7181537436256731137", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads_offline_events", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "hashUserProperties": true + } + }, + "message": { + "event": "subscribe", + "context": { + "traits": { + "phone": "1234567890" + }, + "channel": "web" + }, + "properties": { + "eventSetId": "7181537436256731137", + "eventId": "1616318632825_352", + "prop1": "val1" + }, + "type": "track", + "userId": "eventIdn01", + "timestamp": "2023-01-03" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/offline/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event_set_id": "7181537436256731137", + "event_id": "1616318632825_352", + "timestamp": "2023-01-03", + "properties": { + "event_channel": "web" + }, + "event": "Subscribe", + "partner_name": "RudderStack", + "context": { + "user": { + "phone_numbers": [ + "c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "event_set_id": "7181537436256731137", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads_offline_events", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "hashUserProperties": true, + "eventsToStandard": [ + { + "from": "RandomEvent", + "to": "SubmitForm" + } + ] + } + }, + "message": { + "event": "RandomEvent", + "context": { + "traits": { + "phone": "1234567890" + }, + "channel": "web" + }, + "properties": { + "eventSetId": "7185009018564395009", + "eventId": "1616318632003_004", + "prop1": "val1" + }, + "userId": "eventIdn01", + "timestamp": "2023-01-03", + "type": "track" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/offline/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event_set_id": "7185009018564395009", + "event_id": "1616318632003_004", + "timestamp": "2023-01-03", + "properties": { + "event_channel": "web" + }, + "event": "SubmitForm", + "partner_name": "RudderStack", + "context": { + "user": { + "phone_numbers": [ + "c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "event_set_id": "7185009018564395009", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads_offline_events", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "hashUserProperties": true + } + }, + "message": { + "type": "track", + "userId": "yash001", + "originalTimestamp": "2019-10-14T09:03:17.562Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Access Token not found", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "configuration", + "destType": "TIKTOK_ADS_OFFLINE_EVENTS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + }, + { + "name": "tiktok_ads_offline_events", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "hashUserProperties": true + } + }, + "message": { + "event": "subscribe", + "context": { + "traits": { + "phone": "1234567890", + "email": "random@mail.com" + }, + "channel": "web" + }, + "properties": { + "eventSetId": "7181537436256731137", + "eventId": "1616318632825_352", + "products": [ + { + "price": 8, + "quantity": 2, + "content_type": "product1", + "product_id": "1077218", + "name": "socks", + "category": "Men's cloth" + }, + { + "price": 18, + "quantity": 12, + "content_type": "product2", + "product_id": "1077219", + "name": "socks1", + "category": "Men's cloth1" + } + ] + }, + "type": "track", + "userId": "eventIdn01", + "timestamp": "2023-01-03" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/offline/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event_set_id": "7181537436256731137", + "event_id": "1616318632825_352", + "timestamp": "2023-01-03", + "properties": { + "event_channel": "web", + "contents": [ + { + "content_name": "socks", + "content_type": "product1", + "content_category": "Men's cloth", + "content_id": "1077218", + "price": 8, + "quantity": 2 + }, + { + "content_name": "socks1", + "content_type": "product2", + "content_category": "Men's cloth1", + "content_id": "1077219", + "price": 18, + "quantity": 12 + } + ] + }, + "event": "Subscribe", + "partner_name": "RudderStack", + "context": { + "user": { + "emails": [ + "d9fcca64ec1b250da4261a3f89a8e0f7749c4e0f5a1a918e5397194c8b5a9f16" + ], + "phone_numbers": [ + "c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "event_set_id": "7181537436256731137", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_ads_offline_events", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "accessToken": "dummyAccessToken", + "hashUserProperties": true, + "eventsToStandard": [ + { + "from": "CompletePayment", + "to": "Purchase" + } + ] + } + }, + "message": { + "type": "track", + "event": "CompletePayment", + "sentAt": "2023-03-22T00:02:33.802Z", + "traits": { + "email": [ + "efaaf5c8803af4fbf305d7a110c832673d89ed40983770329092fd04b0ba7900", + "078d6c8e19f24093368d1712d7801970467f59216f7ccc087bf81b91e0e1f68f" + ], + "phone": [ + "c4994d14e724936f1169147dddf1673a09af69b55cc54bc695dbe246bd093b05", + "078d6c8e19f24093368d1712d7801970467f59216f7ccc087bf81b91e0e1f68f" + ] + }, + "userId": "60241286212", + "channel": "sources", + "context": { + "sources": { + "job_id": "2N4WuoNQpGYmCPASUvnV86QyhY4/Syncher", + "version": "v1.20.0", + "job_run_id": "cgd4a063b2fn2e1j0q90", + "task_run_id": "cgd4a063b2fn2e1j0qa0" + } + }, + "recordId": "16322", + "rudderId": "5b4ed73f-69aa-4198-88d1-3d4d509acbf1", + "messageId": "cgd4b663b2fn2e1j8th0", + "timestamp": "2023-03-22T00:02:33.170Z", + "properties": { + "phone": "c4994d14e724936f1169147dddf1673a09af69b55cc54bc695dbe246bd093b05", + "value": 32.839999999999996, + "emails": "[\"efaaf5c8803af4fbf305d7a110c832673d89ed40983770329092fd04b0ba7900\",\"078d6c8e19f24093368d1712d7801970467f59216f7ccc087bf81b91e0e1f68f\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]", + "eventId": "8965fb56-090f-47a5-aa7f-bbab22d9ec90", + "currency": "USD", + "order_id": 60241286212, + "eventSetId": "7211223771099742210", + "event_name": "CompletePayment" + }, + "receivedAt": "2023-03-22T00:02:33.171Z", + "request_ip": "10.7.78.187", + "anonymousId": "60241286212", + "originalTimestamp": "2023-03-22T00:02:33.802Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/offline/track/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "event_set_id": "7211223771099742210", + "event_id": "8965fb56-090f-47a5-aa7f-bbab22d9ec90", + "timestamp": "2023-03-22T00:02:33.170Z", + "properties": { + "order_id": 60241286212, + "currency": "USD", + "value": 32.839999999999996 + }, + "event": "Purchase", + "partner_name": "RudderStack", + "context": { + "user": { + "emails": [ + "4dc75b075057df6f6b729e74a9feed1244dcf8ceb7903eaba13203f3268ae4b9", + "77b639edeb3cd6c801ea05176b8acbfa38d5f38490b764cd0c80756d0cf9ec68" + ], + "phone_numbers": [ + "28b7b205c2936d2ded022d2587fb2677a76e560e921b3ad615b739b0238baa5d", + "77b639edeb3cd6c801ea05176b8acbfa38d5f38490b764cd0c80756d0cf9ec68" + ] + } + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "event_set_id": "7211223771099742210", + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/tiktok_ads_offline_events/router/data.ts b/test/integrations/destinations/tiktok_ads_offline_events/router/data.ts new file mode 100644 index 0000000000..c479da741b --- /dev/null +++ b/test/integrations/destinations/tiktok_ads_offline_events/router/data.ts @@ -0,0 +1,416 @@ +import { FEATURES } from '../../../../../src/v0/util/tags'; + +export const data = [ + { + name: 'tiktok_ads_offline_events', + description: 'Test 0', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + metadata: { + jobId: 1, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + hashUserProperties: true, + }, + }, + message: { + event: 'subscribe', + context: { + traits: { + phone: '1234567890', + }, + channel: 'web', + }, + properties: { + eventSetId: '7181537436256731137', + eventId: '1616318632825_352', + order_id: 'abc_xyz', + shop_id: '123abc', + currency: 'USD', + value: 46.0, + price: 8, + quantity: 2, + content_type: 'product1234', + product_id: '1077218', + name: 'socks', + category: "Men's cloth", + }, + type: 'track', + userId: 'eventIdn01', + timestamp: '2023-01-03', + }, + }, + { + metadata: { + jobId: 2, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + hashUserProperties: true, + }, + }, + message: { + event: 'subscribe', + context: { + traits: { + phone: '1234567890', + email: 'random@mail.com', + }, + channel: 'web', + }, + properties: { + eventSetId: '7181537436256731137', + eventId: '1616318632825_352', + products: [ + { + price: 8, + quantity: 2, + content_type: 'product1', + product_id: '1077218', + name: 'socks', + category: "Men's cloth", + }, + { + price: 18, + quantity: 12, + content_type: 'product2', + product_id: '1077219', + name: 'socks1', + category: "Men's cloth1", + }, + ], + }, + type: 'track', + userId: 'eventIdn01', + timestamp: '2023-01-03', + }, + }, + ], + destType: 'tiktok_ads_offline_events', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: true, + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/offline/batch/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event_set_id: '7181537436256731137', + partner_name: 'RudderStack', + batch: [ + { + event_set_id: '7181537436256731137', + event: 'Subscribe', + event_id: '1616318632825_352', + timestamp: '2023-01-03', + partner_name: 'RudderStack', + context: { + user: { + phone_numbers: [ + 'c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646', + ], + }, + }, + properties: { + order_id: 'abc_xyz', + shop_id: '123abc', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'product1234', + content_id: '1077218', + content_name: 'socks', + content_category: "Men's cloth", + }, + ], + event_channel: 'web', + currency: 'USD', + value: 46.0, + }, + }, + { + event_set_id: '7181537436256731137', + event: 'Subscribe', + event_id: '1616318632825_352', + timestamp: '2023-01-03', + partner_name: 'RudderStack', + context: { + user: { + phone_numbers: [ + 'c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646', + ], + emails: [ + 'd9fcca64ec1b250da4261a3f89a8e0f7749c4e0f5a1a918e5397194c8b5a9f16', + ], + }, + }, + properties: { + event_channel: 'web', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'product1', + content_id: '1077218', + content_name: 'socks', + content_category: "Men's cloth", + }, + { + price: 18, + quantity: 12, + content_type: 'product2', + content_id: '1077219', + content_name: 'socks1', + content_category: "Men's cloth1", + }, + ], + }, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + hashUserProperties: true, + }, + }, + metadata: [ + { + jobId: 1, + }, + { + jobId: 2, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, + { + name: 'tiktok_ads_offline_events', + description: 'Test 1', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + metadata: { + jobId: 3, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + hashUserProperties: true, + }, + }, + message: { + event: 'subscribe', + context: { + traits: { + phone: '1234567890', + }, + channel: 'web', + }, + properties: { + eventSetId: '6071537445256731123', + eventId: '1616318632825_352', + currency: 'USD', + value: 46.0, + price: 8, + content_type: 'product1234', + }, + type: 'track', + userId: 'eventIdn01', + timestamp: '2023-01-03', + }, + }, + ], + destType: 'tiktok_ads_offline_events', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: true, + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/offline/batch/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event_set_id: '6071537445256731123', + partner_name: 'RudderStack', + batch: [ + { + event_set_id: '6071537445256731123', + event: 'Subscribe', + event_id: '1616318632825_352', + timestamp: '2023-01-03', + partner_name: 'RudderStack', + context: { + user: { + phone_numbers: [ + 'c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646', + ], + }, + }, + properties: { + contents: [ + { + price: 8, + content_type: 'product1234', + }, + ], + event_channel: 'web', + currency: 'USD', + value: 46.0, + }, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + hashUserProperties: true, + }, + }, + metadata: [ + { + jobId: 3, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, + { + name: 'tiktok_ads_offline_events', + description: 'Test 2', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + metadata: { + jobId: 4, + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + hashUserProperties: true, + }, + }, + message: { + context: { + traits: { + phone: '1234567890', + }, + channel: 'web', + }, + properties: { + eventSetId: '2345676543', + eventId: '1616318632825_352', + }, + type: 'track', + userId: 'eventIdn01', + timestamp: '2023-01-03', + }, + }, + ], + destType: 'tiktok_ads_offline_events', + }, + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + destination: { + Config: { + accessToken: 'dummyAccessToken', + hashUserProperties: true, + }, + }, + batched: false, + error: 'Event name is required', + metadata: [ + { + jobId: 4, + }, + ], + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'TIKTOK_ADS_OFFLINE_EVENTS', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/destinations/twitter_ads/processor/data.ts b/test/integrations/destinations/twitter_ads/processor/data.ts new file mode 100644 index 0000000000..b6a7512880 --- /dev/null +++ b/test/integrations/destinations/twitter_ads/processor/data.ts @@ -0,0 +1,906 @@ +const authHeaderConstant = + 'OAuth oauth_consumer_key="qwe", oauth_nonce="V1kMh028kZLLhfeYozuL0B45Pcx6LvuW", oauth_signature="Di4cuoGv4PnCMMEeqfWTcqhvdwc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1685603652", oauth_token="dummyAccessToken", oauth_version="1.0"'; + +export const data = [ + { + name: 'twitter_ads', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'ABC Searched', + channel: 'web', + context: { + source: 'test', + userAgent: 'chrome', + traits: { + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + email: 'abc@gmail.com', + phone: '+1234589947', + ge: 'male', + db: '19950715', + lastname: 'Rudderlabs', + firstName: 'Test', + address: { + city: 'Kolkata', + state: 'WB', + zip: '700114', + country: 'IN', + }, + }, + device: { + advertisingId: 'abc123', + }, + library: { + name: 'rudder-sdk-ruby-sync', + version: '1.0.6', + }, + }, + messageId: '7208bbb6-2c4e-45bb-bf5b-ad426f3593e9', + timestamp: '2020-08-14T05:30:30.118Z', + properties: { + conversionTime: '2023-06-01T06:03:08.739Z', + tax: 2, + total: 27.5, + coupon: 'hasbros', + revenue: 48, + price: 25, + quantity: 2, + currency: 'USD', + priceCurrency: 'USD', + conversionId: '213123', + numberItems: '2323', + phone: '+919927455678', + twclid: '543', + shipping: 3, + subtotal: 22.5, + affiliation: 'Google Store', + checkout_id: 'fksdjfsdjfisjf9sdfjsd9f', + email: 'abc@ax.com', + contents: [ + { + price: '123.3345', + quantity: '12', + id: '12', + }, + { + price: 200, + quantity: 11, + id: '4', + }, + ], + }, + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + integrations: { + All: true, + }, + }, + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + twitterAdsEventNames: [ + { + rudderEventName: 'ABC Searched', + twitterEventId: 'tw-234234324234', + }, + { + rudderEventName: 'Home Page Viewed', + twitterEventId: 'tw-odt2o-odt2q', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://ads-api.twitter.com/12/measurement/conversions/dummyPixelId', + headers: { + Authorization: authHeaderConstant, + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + conversions: [ + { + conversion_time: '2023-06-01T06:03:08.739Z', + number_items: 2, + price_currency: 'USD', + value: '25', + conversion_id: '213123', + contents: [ + { + content_id: '12', + content_price: 123.3345, + num_items: 12, + }, + { + content_id: '4', + content_price: 200, + num_items: 11, + }, + ], + event_id: 'tw-234234324234', + identifiers: [ + { + hashed_email: + '4c3c8a8cba2f3bb1e9e617301f85d1f68e816a01c7b716f482f2ab9adb8181fb', + }, + { + hashed_phone_number: + 'b308962b96b40cce7981493a372db9478edae79f83c2d8ca6cd15a39566f8c56', + }, + { + twclid: '543', + }, + ], + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'twitter_ads', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Home Page Viewed', + channel: 'web', + context: { + source: 'test', + userAgent: 'chrome', + traits: { + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + email: 'abc@gmail.com', + phone: '+1234589947', + ge: 'male', + db: '19950715', + lastname: 'Rudderlabs', + firstName: 'Test', + address: { + city: 'Kolkata', + state: 'WB', + zip: '700114', + country: 'IN', + }, + }, + device: { + advertisingId: 'abc123', + }, + library: { + name: 'rudder-sdk-ruby-sync', + version: '1.0.6', + }, + }, + messageId: '7208bbb6-2c4e-45bb-bf5b-ad426f3593e9', + timestamp: '2020-08-14T05:30:30.118Z', + properties: { + conversionTime: '2023-06-01T06:03:08.739Z', + eventId: '429047995', + tax: 2, + total: 27.5, + coupon: 'hasbros', + revenue: 48, + price: 25, + quantity: 2, + currency: 'USD', + priceCurrency: 'USD', + conversionId: '213123', + numberItems: '2323', + shipping: 3, + subtotal: 22.5, + affiliation: 'Google Store', + checkout_id: 'fksdjfsdjfisjf9sdfjsd9f', + }, + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + integrations: { + All: true, + }, + }, + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + twitterAdsEventNames: [ + { + rudderEventName: 'ABC Searched', + twitterEventId: 'tw-234234324234', + }, + { + rudderEventName: 'Home Page Viewed', + twitterEventId: 'tw-2dfsdf', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + statusCode: 400, + error: '[TWITTER ADS]: one of twclid, phone or email must be present in properties.', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'TWITTER_ADS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'twitter_ads', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Home Page Viewed', + channel: 'web', + context: { + source: 'test', + userAgent: 'chrome', + traits: { + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + email: 'abc@gmail.com', + phone: '+1234589947', + ge: 'male', + db: '19950715', + lastname: 'Rudderlabs', + firstName: 'Test', + address: { + city: 'Kolkata', + state: 'WB', + zip: '700114', + country: 'IN', + }, + }, + device: { + advertisingId: 'abc123', + }, + library: { + name: 'rudder-sdk-ruby-sync', + version: '1.0.6', + }, + }, + messageId: '7208bbb6-2c4e-45bb-bf5b-ad426f3593e9', + timestamp: '2020-08-14T05:30:30.118Z', + properties: { + pixelId: 'dummyPixelId', + conversionTime: '2023-06-01T06:03:08.739Z', + eventId: '429047995', + tax: 2, + total: 27.5, + coupon: 'hasbros', + revenue: 48, + price: 25.55, + quantity: 2, + currency: 'USD', + priceCurrency: 'USD', + conversionId: '213123', + numberItems: '2323', + phone: '+919927455678', + twclid: '543', + shipping: 3, + subtotal: 22.5, + affiliation: 'Google Store', + checkout_id: 'fksdjfsdjfisjf9sdfjsd9f', + email: 'abc@ax.com', + }, + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + integrations: { + All: true, + }, + }, + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + twitterAdsEventNames: [ + { + rudderEventName: 'ABC Searched', + twitterEventId: 'tw-234234324234', + }, + { + rudderEventName: 'Home Page Viewed', + twitterEventId: 'tw-324fdsf', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://ads-api.twitter.com/12/measurement/conversions/dummyPixelId', + headers: { + Authorization: authHeaderConstant, + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + conversions: [ + { + event_id: '429047995', + conversion_time: '2023-06-01T06:03:08.739Z', + number_items: 2, + price_currency: 'USD', + value: '25.55', + conversion_id: '213123', + identifiers: [ + { + hashed_email: + '4c3c8a8cba2f3bb1e9e617301f85d1f68e816a01c7b716f482f2ab9adb8181fb', + }, + { + hashed_phone_number: + 'b308962b96b40cce7981493a372db9478edae79f83c2d8ca6cd15a39566f8c56', + }, + { + twclid: '543', + }, + ], + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'twitter_ads', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Home Page', + channel: 'web', + context: { + source: 'test', + userAgent: 'chrome', + traits: { + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + email: 'abc@gmail.com', + phone: '+1234589947', + ge: 'male', + db: '19950715', + lastname: 'Rudderlabs', + firstName: 'Test', + address: { + city: 'Kolkata', + state: 'WB', + zip: '700114', + country: 'IN', + }, + }, + device: { + advertisingId: 'abc123', + }, + library: { + name: 'rudder-sdk-ruby-sync', + version: '1.0.6', + }, + }, + messageId: '7208bbb6-2c4e-45bb-bf5b-ad426f3593e9', + timestamp: '2020-08-14T05:30:30.118Z', + properties: { + pixelId: 'dummyPixelId', + conversionTime: '2023-06-01T06:03:08.739Z', + tax: 2, + total: 27.5, + coupon: 'hasbros', + revenue: 48, + price: 25, + quantity: 2, + currency: 'USD', + priceCurrency: 'USD', + conversionId: '213123', + numberItems: '2323', + phone: '+919927455678', + twclid: '543', + shipping: 3, + subtotal: 22.5, + affiliation: 'Google Store', + checkout_id: 'fksdjfsdjfisjf9sdfjsd9f', + email: 'abc@ax.com', + }, + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + integrations: { + All: true, + }, + }, + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + twitterAdsEventNames: [ + { + rudderEventName: 'ABC Searched', + twitterEventId: 'tw-234234324234', + }, + { + rudderEventName: 'Home Page Viewed', + twitterEventId: 'tw-324fdsf', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + statusCode: 400, + error: + "[TWITTER ADS]: Event - 'Home Page' do not have a corresponding eventId in configuration. Aborting", + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'TWITTER_ADS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'twitter_ads', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Home Page', + channel: 'web', + context: { + source: 'test', + userAgent: 'chrome', + traits: { + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + email: 'abc@gmail.com', + phone: '+1234589947', + ge: 'male', + db: '19950715', + lastname: 'Rudderlabs', + firstName: 'Test', + address: { + city: 'Kolkata', + state: 'WB', + zip: '700114', + country: 'IN', + }, + }, + device: { + advertisingId: 'abc123', + }, + library: { + name: 'rudder-sdk-ruby-sync', + version: '1.0.6', + }, + }, + messageId: '7208bbb6-2c4e-45bb-bf5b-ad426f3593e9', + timestamp: '2020-08-14T05:30:30.118Z', + properties: { + pixelId: 'dummyPixelId', + conversionTime: '2023-06-01T06:03:08.739Z', + tax: 2, + total: 27.5, + coupon: 'hasbros', + revenue: 48, + price: 25, + quantity: 2, + currency: 'USD', + priceCurrency: 'USD', + conversionId: '213123', + numberItems: '2323', + phone: '+919927455678', + twclid: '543', + shipping: 3, + subtotal: 22.5, + affiliation: 'Google Store', + checkout_id: 'fksdjfsdjfisjf9sdfjsd9f', + email: 'abc@ax.com', + }, + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + integrations: { + All: true, + }, + }, + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + twitterAdsEventNames: [ + { + rudderEventName: ' ', + twitterEventId: 'tw-324fdsf', + }, + { + rudderEventName: 'Home Page Viewed', + twitterEventId: 'tw-324fdsf', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + statusCode: 400, + error: + "[TWITTER ADS]: Event - 'Home Page' do not have a corresponding eventId in configuration. Aborting", + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'TWITTER_ADS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'twitter_ads', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Home Page Viewed', + channel: 'web', + context: { + source: 'test', + userAgent: 'chrome', + traits: { + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + email: 'abc@gmail.com', + phone: '+1234589947', + ge: 'male', + db: '19950715', + lastname: 'Rudderlabs', + firstName: 'Test', + address: { + city: 'Kolkata', + state: 'WB', + zip: '700114', + country: 'IN', + }, + }, + device: { + advertisingId: 'abc123', + }, + library: { + name: 'rudder-sdk-ruby-sync', + version: '1.0.6', + }, + }, + messageId: '7208bbb6-2c4e-45bb-bf5b-ad426f3593e9', + timestamp: '2020-08-14T05:30:30.118Z', + properties: { + conversionTime: '2023-06-01T06:03:08.739Z', + tax: 2, + total: 27.5, + coupon: 'hasbros', + revenue: 48, + price: 25, + quantity: 2, + currency: 'USD', + priceCurrency: 'USD', + conversionId: '213123', + numberItems: '2323', + phone: '+919927455678', + twclid: '543', + shipping: 3, + subtotal: 22.5, + affiliation: 'Google Store', + checkout_id: 'fksdjfsdjfisjf9sdfjsd9f', + email: 'abc@ax.com', + contents: [ + { + price: '123.3345', + quantity: '12', + id: '12', + }, + { + price: 200, + quantity: 11, + id: '4', + }, + ], + }, + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + integrations: { + All: true, + }, + }, + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + destination: { + Config: { + pixelId: 'dummyPixelId', + rudderAccountId: '2EOknn1JNH7WK1MfNku4fGYKkRK', + twitterAdsEventNames: [ + { + rudderEventName: 'ABC Searched', + twitterEventId: 'tw-234234324234', + }, + { + rudderEventName: 'Home Page Viewed', + twitterEventId: 'tw-odt2o-odt2q', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://ads-api.twitter.com/12/measurement/conversions/dummyPixelId', + headers: { + Authorization: authHeaderConstant, + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + conversions: [ + { + conversion_time: '2023-06-01T06:03:08.739Z', + number_items: 2, + price_currency: 'USD', + value: '25', + conversion_id: '213123', + contents: [ + { + content_id: '12', + content_price: 123.3345, + num_items: 12, + }, + { + content_id: '4', + content_price: 200, + num_items: 11, + }, + ], + event_id: 'tw-odt2o-odt2q', + identifiers: [ + { + hashed_email: + '4c3c8a8cba2f3bb1e9e617301f85d1f68e816a01c7b716f482f2ab9adb8181fb', + }, + { + hashed_phone_number: + 'b308962b96b40cce7981493a372db9478edae79f83c2d8ca6cd15a39566f8c56', + }, + { + twclid: '543', + }, + ], + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + secret: { + consumerKey: 'qwe', + consumerSecret: 'fdghv', + accessToken: 'dummyAccessToken', + accessTokenSecret: 'testAccessTokenSecret', + }, + }, + statusCode: 200, + }, + ], + }, + }, + }, +].map((tc) => ({ + ...tc, + mockFns: (_) => { + jest.mock('../../../../../src/v0/destinations/twitter_ads/util', () => ({ + getAuthHeaderForRequest: (_a, _b) => { + return { Authorization: authHeaderConstant }; + }, + })); + }, +})); diff --git a/test/integrations/destinations/variance/processor/data.ts b/test/integrations/destinations/variance/processor/data.ts new file mode 100644 index 0000000000..ae33b75e5f --- /dev/null +++ b/test/integrations/destinations/variance/processor/data.ts @@ -0,0 +1,953 @@ +export const data = [ + { + name: 'variance', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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: 'spin_result', + integrations: { + All: 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + originalTimestamp: '2019-09-01T15:46:51.693229+05:30', + sentAt: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + webhookUrl: 'http://6b0e6a60.ngrok.io', + authHeader: 'Basic MVA4dUtGOF=', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'http://6b0e6a60.ngrok.io', + headers: { + authorization: 'Basic MVA4dUtGOF=', + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + 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: 'spin_result', + integrations: { + All: 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + originalTimestamp: '2019-09-01T15:46:51.693229+05:30', + sentAt: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, + { + name: 'variance', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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: 'spin_result', + integrations: { + All: 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + originalTimestamp: '2019-09-01T15:46:51.693229+05:30', + sentAt: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + }, + Config: { + webhookUrl: 'https://6b0e6a60.ngrok.io/n', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://6b0e6a60.ngrok.io/n', + headers: { + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + 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: 'spin_result', + integrations: { + All: 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + originalTimestamp: '2019-09-01T15:46:51.693229+05:30', + sentAt: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, + { + name: 'variance', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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: 'spin_result', + integrations: { + All: 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + originalTimestamp: '2019-09-01T15:46:51.693229+05:30', + sentAt: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + webhookUrl: 'https://6b0e6a60.', + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://6b0e6a60.', + headers: { + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + 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: 'spin_result', + integrations: { + All: 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + originalTimestamp: '2019-09-01T15:46:51.693229+05:30', + sentAt: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + user_properties: { + coin_balance: 9466052, + current_module_name: 'CasinoGameModule', + fb_profile: '0', + game_fps: 30, + game_name: 'FireEagleSlots', + gem_balance: 0, + graphicsQuality: 'HD', + idfa: '2bf99787-33d2-4ae2-a76a-c49672f97252', + internetReachability: 'ReachableViaLocalAreaNetwork', + isLowEndDevice: false, + level: 6, + lifetime_gem_balance: 0, + player_total_battles: 0, + player_total_shields: 0, + start_date: '2019-08-01', + total_payments: 0, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, + { + name: 'variance', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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: 'spin_result', + integrations: { + All: 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + originalTimestamp: '2019-09-01T15:46:51.693229+05:30', + sentAt: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + request_ip: '127.0.0.1', + }, + destination: { + DestinationDefinition: { + Config: { + cdkEnabled: true, + }, + }, + Config: { + webhookUrl: 'http://6b0e6a60.ngrok.io', + header: [ + { + from: 'test1', + to: 'value1', + }, + { + from: 'test2', + to: 'value2', + }, + ], + }, + }, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'http://6b0e6a60.ngrok.io', + headers: { + 'content-type': 'application/json', + }, + params: {}, + body: { + JSON: { + 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', + }, + ip: '127.0.0.1', + }, + event: 'spin_result', + integrations: { + All: 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', + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + versionSessionCount: 2, + win_amount: 0, + }, + timestamp: '2019-09-01T15:46:51.693229+05:30', + originalTimestamp: '2019-09-01T15:46:51.693229+05:30', + sentAt: '2019-09-01T15:46:51.693229+05:30', + type: 'track', + request_ip: '127.0.0.1', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + statusCode: 200, + metadata: { + destinationId: 'd1', + workspaceId: 'w1', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/vero/processor/data.ts b/test/integrations/destinations/vero/processor/data.ts new file mode 100644 index 0000000000..7834f0a541 --- /dev/null +++ b/test/integrations/destinations/vero/processor/data.ts @@ -0,0 +1,818 @@ +export const data = [ + { + "name": "vero", + "description": "Test 0", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "context": { + "traits": { + "homwTown": "kanpur", + "age": "24" + } + }, + "type": "Identify", + "userId": "yash001", + "originalTimestamp": "2019-10-14T09:03:17.562Z" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getvero.com/api/v2/users/track", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "id": "yash001", + "data": { + "homwTown": "kanpur", + "age": "24" + }, + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 1", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "context": { + "traits": { + "email": "user1001@tech.com" + } + }, + "type": "Identify", + "userId": "user1001" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getvero.com/api/v2/users/track", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "id": "user1001", + "email": "user1001@tech.com", + "data": {}, + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 2", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "context": { + "traits": { + "email": "user1002@tech.com" + } + }, + "type": "Identify", + "anonymousId": "b4ffheww8eisndbdjgdewifewfgerwibderv" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getvero.com/api/v2/users/track", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "id": "b4ffheww8eisndbdjgdewifewfgerwibderv", + "email": "user1002@tech.com", + "data": {}, + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 3", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "context": { + "traits": { + "address": "Caravela Beach Goa", + "homwTown": "Mawsynram", + "email": "user1005@tech.com" + } + }, + "integrations": { + "vero": { + "tags": { + "add": [ + "a", + "b" + ] + } + } + }, + "type": "Identify", + "userId": "fprediruser001" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getvero.com/api/v2/users/track", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "id": "fprediruser001", + "email": "user1005@tech.com", + "data": { + "address": "Caravela Beach Goa", + "homwTown": "Mawsynram" + }, + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://api.getvero.com/api/v2/users/tags/edit", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "id": "fprediruser001", + "auth_token": "testAuthToken", + "add": [ + "a", + "b" + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 4", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "event": "Random event with nonexisting userId and email", + "properties": { + "movieWatched": 3, + "gamesPlayed": 4, + "email": "eventIdn01@sample.com" + }, + "type": "track", + "userId": "eventIdn01" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getvero.com/api/v2/events/track", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "identity": { + "id": "eventIdn01", + "email": "eventIdn01@sample.com" + }, + "event_name": "Random event with nonexisting userId and email", + "data": { + "movieWatched": 3, + "gamesPlayed": 4, + "email": "eventIdn01@sample.com" + }, + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 5", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "event": "Random event with existing userId and some tags removed", + "properties": { + "movieWatched": 3, + "gamesPlayed": 4, + "email": "eventIdn01@sample.com" + }, + "integrations": { + "Vero": { + "tags": { + "remove": [ + "a" + ] + } + } + }, + "type": "track", + "userId": "fprediruser001" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getvero.com/api/v2/events/track", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "identity": { + "id": "fprediruser001", + "email": "eventIdn01@sample.com" + }, + "event_name": "Random event with existing userId and some tags removed", + "data": { + "movieWatched": 3, + "gamesPlayed": 4, + "email": "eventIdn01@sample.com" + }, + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://api.getvero.com/api/v2/users/tags/edit", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "id": "fprediruser001", + "auth_token": "testAuthToken", + "remove": [ + "a" + ] + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 6", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "type": "alias", + "userId": "sample101", + "previousId": "newsamplel01" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "PUT", + "endpoint": "https://api.getvero.com/api/v2/users/reidentify", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "new_id": "sample101", + "id": "newsamplel01", + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 7", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "context": { + "traits": { + "email": "user1001@tech.com" + }, + "os": { + "name": "android" + }, + "device": { + "token": "qwertyuioiuytrewwertyu", + "name": "Mi" + } + }, + "type": "Identify", + "userId": "user1001" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getvero.com/api/v2/users/track", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "id": "user1001", + "email": "user1001@tech.com", + "data": {}, + "channels": { + "platform": "android", + "address": "qwertyuioiuytrewwertyu", + "device": "Mi", + "type": "push" + }, + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 8", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "context": { + "traits": { + "email": "user1001@tech.com" + }, + "device": { + "token": "qwertyuioiuytrewwertyu", + "name": "Mi" + } + }, + "type": "Identify", + "userId": "user1001" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getvero.com/api/v2/users/track", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "id": "user1001", + "email": "user1001@tech.com", + "data": {}, + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 9", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "event": "unsubscribe", + "type": "track", + "userId": "eventIdn01" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getvero.com/api/v2/users/unsubscribe", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "id": "eventIdn01", + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 10", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "name": "Rudderstack", + "properties": { + "title": "rudderstack", + "path": "/" + }, + "type": "page", + "userId": "eventIdn01" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.getvero.com/api/v2/events/track", + "headers": {}, + "params": {}, + "body": { + "JSON": { + "identity": { + "id": "eventIdn01" + }, + "event_name": "Viewed Rudderstack Page", + "data": { + "title": "rudderstack", + "path": "/" + }, + "auth_token": "testAuthToken" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "vero", + "description": "Test 11", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "destination": { + "Config": { + "authToken": "testAuthToken" + } + }, + "message": { + "groupId": "1234", + "traits": { + "name": "MyGroup", + "industry": "IT", + "employees": 450, + "plan": "basic" + }, + "type": "group", + "userId": "eventIdn01" + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "statusCode": 400, + "error": "Event type group is not supported", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "VERO", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/vero/router/data.ts b/test/integrations/destinations/vero/router/data.ts new file mode 100644 index 0000000000..17aba359d1 --- /dev/null +++ b/test/integrations/destinations/vero/router/data.ts @@ -0,0 +1,367 @@ +import { FEATURES } from '../../../../../src/v0/util/tags'; + +export const data = [ + { + name: 'vero', + description: 'Test 0', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + authToken: 'testAuthToken', + }, + }, + metadata: { + jobId: 1, + }, + message: { + context: { + traits: { + email: 'user001@tech.com', + }, + }, + type: 'Identify', + userId: 'user001', + }, + }, + ], + destType: 'vero', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getvero.com/api/v2/users/track', + headers: {}, + params: {}, + body: { + JSON: { + id: 'user001', + email: 'user001@tech.com', + data: {}, + auth_token: 'testAuthToken', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + destination: { + Config: { + authToken: 'testAuthToken', + }, + }, + metadata: [ + { + jobId: 1, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, + { + name: 'vero', + description: 'Test 1', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + authToken: 'testAuthToken', + }, + }, + metadata: { + jobId: 2, + }, + message: { + context: { + traits: { + email: 'user002@tech.com', + }, + }, + type: 'Identify', + anonymousId: 'b4ffheww8eisndbdjgdewifewfgerwibderv', + }, + }, + ], + destType: 'vero', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getvero.com/api/v2/users/track', + headers: {}, + params: {}, + body: { + JSON: { + id: 'b4ffheww8eisndbdjgdewifewfgerwibderv', + email: 'user002@tech.com', + data: {}, + auth_token: 'testAuthToken', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + destination: { + Config: { + authToken: 'testAuthToken', + }, + }, + metadata: [ + { + jobId: 2, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, + { + name: 'vero', + description: 'Test 2', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + authToken: 'testAuthToken', + }, + }, + metadata: { + jobId: 3, + }, + message: { + context: { + traits: { + address: 'Caravela Beach Goa', + homwTown: 'Mawsynram', + email: 'user005@tech.com', + }, + }, + integrations: { + vero: { + tags: { + add: ['a', 'b'], + }, + }, + }, + type: 'Identify', + userId: 'fprediruser001', + }, + }, + ], + destType: 'vero', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getvero.com/api/v2/users/track', + headers: {}, + params: {}, + body: { + JSON: { + id: 'fprediruser001', + email: 'user005@tech.com', + data: { + address: 'Caravela Beach Goa', + homwTown: 'Mawsynram', + }, + auth_token: 'testAuthToken', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'PUT', + endpoint: 'https://api.getvero.com/api/v2/users/tags/edit', + headers: {}, + params: {}, + body: { + JSON: { + auth_token: 'testAuthToken', + id: 'fprediruser001', + add: ['a', 'b'], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + destination: { + Config: { + authToken: 'testAuthToken', + }, + }, + metadata: [ + { + jobId: 3, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, + { + name: 'vero', + description: 'Test 3', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + authToken: 'testAuthToken', + }, + }, + metadata: { + jobId: 4, + }, + message: { + event: 'Random event with nonexisting userId and email', + properties: { + movieWatched: 3, + gamesPlayed: 4, + email: 'eventIdn02@sample.com', + }, + type: 'track', + userId: 'eventIdn01', + }, + }, + ], + destType: 'vero', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.getvero.com/api/v2/events/track', + headers: {}, + params: {}, + body: { + JSON: { + identity: { + id: 'eventIdn01', + email: 'eventIdn02@sample.com', + }, + event_name: 'Random event with nonexisting userId and email', + data: { + movieWatched: 3, + gamesPlayed: 4, + email: 'eventIdn02@sample.com', + }, + auth_token: 'testAuthToken', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + destination: { + Config: { + authToken: 'testAuthToken', + }, + }, + metadata: [ + { + jobId: 4, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, +]; From 9c4fcd3595534a8b563df3467e23c94c580f08a6 Mon Sep 17 00:00:00 2001 From: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:13:20 +0530 Subject: [PATCH 59/98] feat: add custom utm parameters to mixpanel (#2771) * feat: add custom utm parameters to mixpanel * test: add testcases * refactor: add optional chaining * refactor: add isObject check --- .../mp/data/MPEventPropertiesConfig.json | 24 -------------- src/v0/destinations/mp/transform.js | 3 ++ src/v0/destinations/mp/util.js | 31 ++++++++++++++++++ src/v0/destinations/mp/util.test.js | 32 +++++++++++++++++++ .../destinations/mp/processor/data.ts | 22 +++++++++++-- 5 files changed, 86 insertions(+), 26 deletions(-) diff --git a/src/v0/destinations/mp/data/MPEventPropertiesConfig.json b/src/v0/destinations/mp/data/MPEventPropertiesConfig.json index 680daccb38..956b60248e 100644 --- a/src/v0/destinations/mp/data/MPEventPropertiesConfig.json +++ b/src/v0/destinations/mp/data/MPEventPropertiesConfig.json @@ -35,30 +35,6 @@ "sourceKeys": "context.screen.density", "destKey": "$screen_dpi" }, - { - "sourceKeys": "context.campaign.name", - "destKey": "utm_campaign" - }, - { - "sourceKeys": "context.campaign.source", - "destKey": "utm_source" - }, - { - "sourceKeys": "context.campaign.medium", - "destKey": "utm_medium" - }, - { - "sourceKeys": "context.campaign.term", - "destKey": "utm_term" - }, - { - "sourceKeys": "context.campaign.content", - "destKey": "utm_content" - }, - { - "sourceKeys": "context.campaign.test", - "destKey": "utm_test" - }, { "sourceKeys": "context.network.carrier", "destKey": "$carrier" diff --git a/src/v0/destinations/mp/transform.js b/src/v0/destinations/mp/transform.js index 10e8eb0779..a5f1bf2d9d 100644 --- a/src/v0/destinations/mp/transform.js +++ b/src/v0/destinations/mp/transform.js @@ -30,6 +30,7 @@ const { const { createIdentifyResponse, isImportAuthCredentialsAvailable, + buildUtmParams, combineBatchRequestsWithSameJobIds, groupEventsByEndpoint, batchEvents, @@ -179,6 +180,7 @@ const getEventValueForTrackEvent = (message, destination) => { token: destination.Config.token, distinct_id: message.userId || message.anonymousId, time: unixTimestamp, + ...buildUtmParams(message.context?.campaign), }; if (destination.Config?.identityMergeApi === 'simplified') { @@ -267,6 +269,7 @@ const processPageOrScreenEvents = (message, type, destination) => { token: destination.Config.token, distinct_id: message.userId || message.anonymousId, time: toUnixTimestamp(message.timestamp), + ...buildUtmParams(message.context?.campaign), }; if (destination.Config?.identityMergeApi === 'simplified') { properties = { diff --git a/src/v0/destinations/mp/util.js b/src/v0/destinations/mp/util.js index abc4134302..30173fd514 100644 --- a/src/v0/destinations/mp/util.js +++ b/src/v0/destinations/mp/util.js @@ -12,6 +12,7 @@ const { getSuccessRespEvents, defaultBatchRequestConfig, IsGzipSupported, + isObject, } = require('../../util'); const { ConfigCategory, @@ -173,6 +174,35 @@ const removeDuplicateMetadata = (mergedBatches) => { }); }; +/** + * Builds UTM parameters from a campaign object. + * + * @param {Object} campaign - The campaign object containing the campaign details. + * @returns {Object} - The object containing the UTM parameters extracted from the campaign object. + * + * @example + * const campaign = { + * name: 'summer_sale', + * source: 'newsletter', + * medium: 'email' + * }; + * { utm_campaign: 'summer_sale', utm_source: 'newsletter', utm_medium: 'email' } + */ +const buildUtmParams = (campaign) => { + const utmParams = {}; + if (isObject(campaign)) { + Object.keys(campaign).forEach((key) => { + if (key === 'name') { + utmParams.utm_campaign = campaign[key]; + } else { + utmParams[`utm_${key}`] = campaign[key]; + } + }); + } + + return utmParams; +}; + /** * Group events with the same endpoint together in batches * @param {*} events - An array of events @@ -295,6 +325,7 @@ const combineBatchRequestsWithSameJobIds = (inputBatches) => { module.exports = { createIdentifyResponse, isImportAuthCredentialsAvailable, + buildUtmParams, groupEventsByEndpoint, generateBatchedPayloadForArray, batchEvents, diff --git a/src/v0/destinations/mp/util.test.js b/src/v0/destinations/mp/util.test.js index b5a1e90a9a..6d5b24766d 100644 --- a/src/v0/destinations/mp/util.test.js +++ b/src/v0/destinations/mp/util.test.js @@ -3,6 +3,7 @@ const { groupEventsByEndpoint, batchEvents, generateBatchedPayloadForArray, + buildUtmParams, } = require('./util'); const { FEATURE_GZIP_SUPPORT } = require('../../util/constant'); @@ -570,4 +571,35 @@ describe('Mixpanel utils test', () => { expect(result).toEqual(expectedBatchedRequest); }); }); + + describe('Unit test cases for buildUtmParams', () => { + it('should return an empty object when campaign is undefined', () => { + const campaign = undefined; + const result = buildUtmParams(campaign); + expect(result).toEqual({}); + }); + + it('should return an empty object when campaign is an empty object', () => { + const campaign = {}; + const result = buildUtmParams(campaign); + expect(result).toEqual({}); + }); + + it('should return an empty object when campaign is not an object', () => { + const campaign = [{ name: 'test' }]; + const result = buildUtmParams(campaign); + expect(result).toEqual({}); + }); + + it('should handle campaign object with null/undefined values', () => { + const campaign = { name: null, source: 'rudder', medium: 'rudder', test: undefined }; + const result = buildUtmParams(campaign); + expect(result).toEqual({ + utm_campaign: null, + utm_source: 'rudder', + utm_medium: 'rudder', + test: undefined, + }); + }); + }); }); diff --git a/test/integrations/destinations/mp/processor/data.ts b/test/integrations/destinations/mp/processor/data.ts index 13ff3b953e..2745c09ecc 100644 --- a/test/integrations/destinations/mp/processor/data.ts +++ b/test/integrations/destinations/mp/processor/data.ts @@ -40,6 +40,15 @@ export const data = [ initial_referrer: 'https://docs.rudderstack.com', initial_referring_domain: 'docs.rudderstack.com', }, + campaign: { + name: 'test_name', + source: 'rudder', + medium: 'test_medium', + term: 'test_tem', + content: 'test_content', + test: 'test', + keyword: 'test_keyword', + }, userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', }, @@ -85,7 +94,7 @@ export const data = [ JSON: {}, JSON_ARRAY: { batch: - '[{"event":"Loaded a Page","properties":{"ip":"0.0.0.0","$user_id":"hjikl","$current_url":"https://docs.rudderstack.com/destinations/mixpanel","$screen_dpi":2,"mp_lib":"RudderLabs JavaScript SDK","$app_build_number":"1.0.0","$app_version_string":"1.0.5","$insert_id":"dd266c67-9199-4a52-ba32-f46ddde67312","token":"dummyApiKey","distinct_id":"hjikl","time":1579847342,"name":"Contact Us","$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + '[{"event":"Loaded a Page","properties":{"ip":"0.0.0.0","campaign_id":"test_name","$user_id":"hjikl","$current_url":"https://docs.rudderstack.com/destinations/mixpanel","$screen_dpi":2,"mp_lib":"RudderLabs JavaScript SDK","$app_build_number":"1.0.0","$app_version_string":"1.0.5","$insert_id":"dd266c67-9199-4a52-ba32-f46ddde67312","token":"dummyApiKey","distinct_id":"hjikl","time":1579847342,"utm_campaign":"test_name","utm_source":"rudder","utm_medium":"test_medium","utm_term":"test_tem","utm_content":"test_content","utm_test":"test","utm_keyword":"test_keyword","name":"Contact Us","$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', }, XML: {}, FORM: {}, @@ -600,6 +609,15 @@ export const data = [ initial_referrer: 'https://docs.rudderstack.com', initial_referring_domain: 'docs.rudderstack.com', }, + campaign: { + name: 'test_name', + source: 'rudder', + medium: 'test_medium', + term: 'test_tem', + content: 'test_content', + test: 'test', + keyword: 'test_keyword', + }, userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', }, @@ -687,7 +705,7 @@ export const data = [ JSON: {}, JSON_ARRAY: { batch: - '[{"event":"test revenue MIXPANEL","properties":{"currency":"USD","revenue":45.89,"counter":1,"item_purchased":"2","number_of_logins":"","city":"Disney","country":"USA","email":"mickey@disney.com","firstName":"Mickey","ip":"0.0.0.0","$current_url":"https://docs.rudderstack.com/destinations/mixpanel","$screen_dpi":2,"mp_lib":"RudderLabs JavaScript SDK","$app_build_number":"1.0.0","$app_version_string":"1.0.5","$insert_id":"a6a0ad5a-bd26-4f19-8f75-38484e580fc7","token":"dummyApiKey","distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","time":1579847342,"$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + '[{"event":"test revenue MIXPANEL","properties":{"currency":"USD","revenue":45.89,"counter":1,"item_purchased":"2","number_of_logins":"","city":"Disney","country":"USA","email":"mickey@disney.com","firstName":"Mickey","ip":"0.0.0.0","campaign_id":"test_name","$current_url":"https://docs.rudderstack.com/destinations/mixpanel","$screen_dpi":2,"mp_lib":"RudderLabs JavaScript SDK","$app_build_number":"1.0.0","$app_version_string":"1.0.5","$insert_id":"a6a0ad5a-bd26-4f19-8f75-38484e580fc7","token":"dummyApiKey","distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","time":1579847342,"utm_campaign":"test_name","utm_source":"rudder","utm_medium":"test_medium","utm_term":"test_tem","utm_content":"test_content","utm_test":"test","utm_keyword":"test_keyword","$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', }, XML: {}, FORM: {}, From 14c5e40284af7df9e4f5b262ad226dd3afef226e Mon Sep 17 00:00:00 2001 From: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Date: Mon, 30 Oct 2023 13:31:00 +0530 Subject: [PATCH 60/98] feat: onboard facebook custom audience to transformer proxy (#2769) * feat: error codes added in fbUtils * adding single test case * adding test cases in new format * adding test cases in new format * fix: fixing the test cases * fix: cleaning up files * fix: cleaning up files * fix: cleaning up files * fix: review comments addressed * fix: review comments addressed * Empty commit * fix: deleting wrongly spelled file * fix: add network handler for fb_custom_audience with correct spelling --------- Co-authored-by: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Co-authored-by: Sai Sankeerth --- .../fb_custom_audience/networkHandler.js | 6 + src/v0/util/facebookUtils/networkHandler.js | 46 +- .../data/facebook_pixel_proxy_output.json | 2 +- test/__tests__/data/fb_proxy_output.json | 2 +- .../facebook_pixel/dataDelivery/data.ts | 2 +- .../destinations/fb/dataDelivery/data.ts | 2 +- .../fb_custom_audience/dataDelivery/data.ts | 617 ++++++++++++++++++ .../fb_custom_audience/network.ts | 456 +++++++++++++ 8 files changed, 1128 insertions(+), 5 deletions(-) create mode 100644 src/v0/destinations/fb_custom_audience/networkHandler.js create mode 100644 test/integrations/destinations/fb_custom_audience/dataDelivery/data.ts create mode 100644 test/integrations/destinations/fb_custom_audience/network.ts diff --git a/src/v0/destinations/fb_custom_audience/networkHandler.js b/src/v0/destinations/fb_custom_audience/networkHandler.js new file mode 100644 index 0000000000..0ea7aff7da --- /dev/null +++ b/src/v0/destinations/fb_custom_audience/networkHandler.js @@ -0,0 +1,6 @@ +const { networkHandler, errorResponseHandler } = require('../../util/facebookUtils/networkHandler'); + +module.exports = { + networkHandler, + errorResponseHandler, +}; diff --git a/src/v0/util/facebookUtils/networkHandler.js b/src/v0/util/facebookUtils/networkHandler.js index d53d0f76f9..87c2ced2b4 100644 --- a/src/v0/util/facebookUtils/networkHandler.js +++ b/src/v0/util/facebookUtils/networkHandler.js @@ -75,7 +75,7 @@ const errorDetailsMap = { 33: new ErrorDetailsExtractorBuilder() .setStatus(400) .setMessage( - "Object with ID 'PIXEL_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", + "Object with ID 'PIXEL_ID' / 'DATASET_ID' / 'AUDIENCE_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", ) .build(), default: new ErrorDetailsExtractorBuilder() @@ -151,6 +151,50 @@ const errorDetailsMap = { .setMessage('API User Too Many Calls') .build(), }, + // facebook custom audience related error codes + // ref: + // https://developers.facebook.com/docs/marketing-api/reference/custom-audience/#error-codes-4 + // https://developers.facebook.com/docs/marketing-api/error-reference/ + 294: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessage( + 'Missing permission. Please make sure you have ads_management permission and the application is included in the allowlist', + ) + .build(), + }, + 1487301: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessage( + 'Custom Audience Unavailable: The custom audience you are trying to use has not been shared with your ad account', + ) + .build(), + }, + 1487366: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessage('Custom Audience Has Been Deleted') + .build(), + }, + 2650: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessage('Failed to update the custom audience') + .build(), + }, + 105: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(400) + .setMessage('The number of parameters exceeded the maximum for this operation') + .build(), + }, + 80003: { + default: new ErrorDetailsExtractorBuilder() + .setStatus(429) + .setMessage('There have been too many calls to this ad-account.') + .build(), + }, }; const getErrorDetailsFromErrorMap = (error) => { diff --git a/test/__tests__/data/facebook_pixel_proxy_output.json b/test/__tests__/data/facebook_pixel_proxy_output.json index 607ac7804e..e0afb028d3 100644 --- a/test/__tests__/data/facebook_pixel_proxy_output.json +++ b/test/__tests__/data/facebook_pixel_proxy_output.json @@ -91,7 +91,7 @@ { "output": { "status": 400, - "message": "Object with ID 'PIXEL_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", + "message": "Object with ID 'PIXEL_ID' / 'DATASET_ID' / 'AUDIENCE_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", "destinationResponse": { "error": { "message": "Unsupported post request. Object with ID '1234567891234569' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api", diff --git a/test/__tests__/data/fb_proxy_output.json b/test/__tests__/data/fb_proxy_output.json index e9dbf0d128..12e06cff2c 100644 --- a/test/__tests__/data/fb_proxy_output.json +++ b/test/__tests__/data/fb_proxy_output.json @@ -91,7 +91,7 @@ { "output": { "status": 400, - "message": "Object with ID 'PIXEL_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", + "message": "Object with ID 'PIXEL_ID' / 'DATASET_ID' / 'AUDIENCE_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", "destinationResponse": { "error": { "message": "Unsupported post request. Object with ID '1234567891234569' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api", diff --git a/test/integrations/destinations/facebook_pixel/dataDelivery/data.ts b/test/integrations/destinations/facebook_pixel/dataDelivery/data.ts index e4e4a7d4c8..d560658341 100644 --- a/test/integrations/destinations/facebook_pixel/dataDelivery/data.ts +++ b/test/integrations/destinations/facebook_pixel/dataDelivery/data.ts @@ -290,7 +290,7 @@ export const data = [ output: { status: 400, message: - "Object with ID 'PIXEL_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", + "Object with ID 'PIXEL_ID' / 'DATASET_ID' / 'AUDIENCE_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", destinationResponse: { error: { message: diff --git a/test/integrations/destinations/fb/dataDelivery/data.ts b/test/integrations/destinations/fb/dataDelivery/data.ts index 70538a6ea0..c50cffee80 100644 --- a/test/integrations/destinations/fb/dataDelivery/data.ts +++ b/test/integrations/destinations/fb/dataDelivery/data.ts @@ -328,7 +328,7 @@ export const data = [ "body": { "output": { "status": 400, - "message": "Object with ID 'PIXEL_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", + "message": "Object with ID 'PIXEL_ID' / 'DATASET_ID' / 'AUDIENCE_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation", "destinationResponse": { "error": { "message": "Unsupported post request. Object with ID '1234567891234569' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api", diff --git a/test/integrations/destinations/fb_custom_audience/dataDelivery/data.ts b/test/integrations/destinations/fb_custom_audience/dataDelivery/data.ts new file mode 100644 index 0000000000..ddb081ba87 --- /dev/null +++ b/test/integrations/destinations/fb_custom_audience/dataDelivery/data.ts @@ -0,0 +1,617 @@ +export const data = [ + { + name: 'fb_custom_audience', + description: 'successfully adding users to audience', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + "test-dest-response-key": "successResponse" + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + } + }, + }, + output: { + response: { + status: 200, + body: { + output: { + status: 200, + message: 'Request Processed Successfully', + destinationResponse: { + audience_id: 'aud1', + invalid_entry_samples: {}, + num_invalid_entries: 0, + num_received: 4, + session_id: '123' + } + } + } + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'user addition failed due to missing permission', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + "test-dest-response-key": "permissionMissingError" + }, + params: { + access_token: 'BCD', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + } + }, + }, + output: { + response: { + status: 400, + body: { + output: { + destinationResponse: { + error: { + code: 294, + message: "Missing permission. Please make sure you have ads_management permission and the application is included in the allowlist", + type: "GraphMethodException", + }, + status: 400, + + }, + message: "Missing permission. Please make sure you have ads_management permission and the application is included in the allowlist", + statTags: { + destType: "FB_CUSTOM_AUDIENCE", + destinationId: "Non-determininable", + errorCategory: "network", + errorType: "aborted", + feature: "dataDelivery", + implementation: "native", + module: "destination", + workspaceId: "Non-determininable", + }, + "status": 400, + }, + }, + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'user addition failed due to unavailable audience error', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + "test-dest-response-key": "audienceUnavailableError" + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + } + }, + }, + output: { + response: { + status: 400, + body: { + output: { + destinationResponse: { + error: { + code: 1487301, + message: "Custom Audience Unavailable: The custom audience you are trying to use has not been shared with your ad account", + type: "GraphMethodException", + }, + status: 400, + + }, + message: "Custom Audience Unavailable: The custom audience you are trying to use has not been shared with your ad account", + statTags: { + destType: "FB_CUSTOM_AUDIENCE", + destinationId: "Non-determininable", + errorCategory: "network", + errorType: "aborted", + feature: "dataDelivery", + implementation: "native", + module: "destination", + workspaceId: "Non-determininable", + }, + "status": 400, + }, + }, + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'user addition failed because the custom audience has been deleted', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + "test-dest-response-key": "audienceDeletedError" + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + } + }, + }, + output: { + response: { + status: 400, + body: { + output: { + destinationResponse: { + error: { + code: 1487366, + message: "Custom Audience Has Been Deleted", + type: "GraphMethodException", + }, + status: 400, + + }, + message: "Custom Audience Has Been Deleted", + statTags: { + destType: "FB_CUSTOM_AUDIENCE", + destinationId: "Non-determininable", + errorCategory: "network", + errorType: "aborted", + feature: "dataDelivery", + implementation: "native", + module: "destination", + workspaceId: "Non-determininable", + }, + "status": 400, + }, + }, + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Failed to update the custom audience for unknown reason', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + "test-dest-response-key": "failedToUpdateAudienceError" + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + } + }, + }, + output: { + response: { + status: 400, + body: { + output: { + destinationResponse: { + error: { + code: 2650, + message: "Failed to update the custom audience", + type: "GraphMethodException", + }, + status: 400, + + }, + message: "Failed to update the custom audience", + statTags: { + destType: "FB_CUSTOM_AUDIENCE", + destinationId: "Non-determininable", + errorCategory: "network", + errorType: "aborted", + feature: "dataDelivery", + implementation: "native", + module: "destination", + workspaceId: "Non-determininable", + }, + "status": 400, + }, + }, + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'Failed to update the custom audience as excessive number of parameters were passed in the request', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + "test-dest-response-key": "parameterExceededError" + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + } + }, + }, + output: { + response: { + status: 400, + body: { + output: { + destinationResponse: { + error: { + code: 105, + message: "The number of parameters exceeded the maximum for this operation", + type: "GraphMethodException", + }, + status: 400, + + }, + message: "The number of parameters exceeded the maximum for this operation", + statTags: { + destType: "FB_CUSTOM_AUDIENCE", + destinationId: "Non-determininable", + errorCategory: "network", + errorType: "aborted", + feature: "dataDelivery", + implementation: "native", + module: "destination", + workspaceId: "Non-determininable", + }, + "status": 400, + }, + }, + }, + }, + }, + { + name: 'fb_custom_audience', + description: 'user update request is throttled due to too many calls to the ad account', + feature: 'dataDelivery', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + "test-dest-response-key": "tooManyCallsError" + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + } + }, + }, + output: { + response: { + status: 429, + body: { + output: { + destinationResponse: { + error: { + code: 80003, + message: "There have been too many calls to this ad-account.", + type: "GraphMethodException", + }, + status: 429, + + }, + message: "There have been too many calls to this ad-account.", + statTags: { + destType: "FB_CUSTOM_AUDIENCE", + destinationId: "Non-determininable", + errorCategory: "network", + errorType: "throttled", + feature: "dataDelivery", + implementation: "native", + module: "destination", + workspaceId: "Non-determininable", + }, + "status": 429, + }, + }, + }, + }, + } +] \ No newline at end of file diff --git a/test/integrations/destinations/fb_custom_audience/network.ts b/test/integrations/destinations/fb_custom_audience/network.ts new file mode 100644 index 0000000000..2c19a6fe0d --- /dev/null +++ b/test/integrations/destinations/fb_custom_audience/network.ts @@ -0,0 +1,456 @@ +export const networkCallsData = [ + { + httpReq: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + 'test-dest-response-key': 'successResponse' + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + httpRes: { + "data": { + "audience_id": "aud1", + "session_id": "123", + "num_received": 4, + "num_invalid_entries": 0, + "invalid_entry_samples": {} + }, + "status": 200 + } + }, + { + httpReq: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + 'test-dest-response-key': 'permissionMissingError' + }, + params: { + access_token: 'BCD', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + httpRes: { + data: { + error: { + code: 294, + message: "Missing permission. Please make sure you have ads_management permission and the application is included in the allowlist", + type: "GraphMethodException", + } + }, + "status": 400 + } + }, + { + httpReq: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + 'test-dest-response-key': 'audienceUnavailableError' + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + httpRes: { + data: { + error: { + code: 1487301, + message: "Custom Audience Unavailable: The custom audience you are trying to use has not been shared with your ad account", + type: "GraphMethodException", + } + }, + "status": 400 + } + }, + { + httpReq: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + 'test-dest-response-key': 'audienceDeletedError' + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + httpRes: { + data: { + error: { + code: 1487366, + message: "Custom Audience Has Been Deleted", + type: "GraphMethodException", + } + }, + "status": 400 + } + }, + { + httpReq: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + 'test-dest-response-key': 'failedToUpdateAudienceError' + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + httpRes: { + data: { + error: { + code: 2650, + message: "Failed to update the custom audience", + type: "GraphMethodException", + } + }, + "status": 400 + } + }, + { + httpReq: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + 'test-dest-response-key': 'parameterExceededError' + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + httpRes: { + data: { + error: { + code: 105, + message: "The number of parameters exceeded the maximum for this operation", + type: "GraphMethodException", + } + }, + "status": 400 + } + }, + { + httpReq: { + version: '1', + type: 'REST', + method: 'DELETE', + endpoint: 'https://graph.facebook.com/v17.0/aud1/users', + headers: { + 'test-dest-response-key': 'tooManyCallsError' + }, + params: { + access_token: 'ABC', + payload: { + is_raw: true, + data_source: { + sub_type: 'ANYTHING', + }, + schema: [ + 'EMAIL', + 'DOBM', + 'DOBD', + 'DOBY', + 'PHONE', + 'GEN', + 'FI', + 'MADID', + 'ZIP', + 'ST', + 'COUNTRY', + ], + data: [ + [ + 'shrouti@abc.com', + '2', + '13', + '2013', + '@09432457768', + 'f', + 'Ms.', + 'ABC', + 'ZIP ', + '123abc ', + 'IN', + ], + ], + }, + }, + userId: '', + body: { + JSON: {}, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + }, + httpRes: { + data: { + error: { + code: 80003, + message: "There have been too many calls to this ad-account.", + type: "GraphMethodException", + } + }, + "status": 429 + } + } +]; \ No newline at end of file From 748b6225cc71e04a69597067ca7c0fd2faf2a557 Mon Sep 17 00:00:00 2001 From: Yashasvi Bajpai <33063622+yashasvibajpai@users.noreply.github.com> Date: Mon, 30 Oct 2023 14:31:07 +0530 Subject: [PATCH 61/98] chore: add yashasvibajpai and sanpj2292 to release workflow actors (#2778) --- .github/workflows/draft-new-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/draft-new-release.yml b/.github/workflows/draft-new-release.yml index 0657561f2b..a0a558440a 100644 --- a/.github/workflows/draft-new-release.yml +++ b/.github/workflows/draft-new-release.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest # Only allow release stakeholders to initiate releases - if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116') + if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116' || github.actor == 'yashasvibajpai' || github.actor == 'sanpj2292') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116' || github.triggering_actor == 'yashasvibajpai' || github.triggering_actor == 'sanpj2292') steps: - name: Checkout uses: actions/checkout@v3.5.3 From a210cbdbf88fbe8e0faaaa0fea2740ae3467df5c Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 30 Oct 2023 09:10:59 +0000 Subject: [PATCH 62/98] chore(release): 1.47.0 --- CHANGELOG.md | 17 +++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c52759ab48..e0db65c3c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,23 @@ 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.47.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.5...v1.47.0) (2023-10-30) + + +### Features + +* add custom utm parameters to mixpanel ([#2771](https://github.com/rudderlabs/rudder-transformer/issues/2771)) ([9c4fcd3](https://github.com/rudderlabs/rudder-transformer/commit/9c4fcd3595534a8b563df3467e23c94c580f08a6)) +* add support filtering component tests by feature and index ([#2748](https://github.com/rudderlabs/rudder-transformer/issues/2748)) ([146f1c6](https://github.com/rudderlabs/rudder-transformer/commit/146f1c63db4e895c7d5ce2848a1b60e7c5bb9fb6)) +* onboard destination ortto ([#2730](https://github.com/rudderlabs/rudder-transformer/issues/2730)) ([9be5740](https://github.com/rudderlabs/rudder-transformer/commit/9be5740d8670890b0318da3d37f258ddc5e35445)) +* onboard facebook custom audience to transformer proxy ([#2769](https://github.com/rudderlabs/rudder-transformer/issues/2769)) ([14c5e40](https://github.com/rudderlabs/rudder-transformer/commit/14c5e40284af7df9e4f5b262ad226dd3afef226e)) + + +### Bug Fixes + +* bugsnag error for salesforce ([#2753](https://github.com/rudderlabs/rudder-transformer/issues/2753)) ([a2ccdad](https://github.com/rudderlabs/rudder-transformer/commit/a2ccdad52a1fb88f962745800cb45d605b5e0bf3)) +* oom kill while stringifying large response json ([#2754](https://github.com/rudderlabs/rudder-transformer/issues/2754)) ([c8baf5b](https://github.com/rudderlabs/rudder-transformer/commit/c8baf5b2b6325d9e30200339055dcbefd780936c)) +* salesforce: handle ECONNABORTED error ([#2732](https://github.com/rudderlabs/rudder-transformer/issues/2732)) ([6b23a9b](https://github.com/rudderlabs/rudder-transformer/commit/6b23a9b33acd28fdacaa2390c1970a1fa4415ffa)) + ### [1.46.5](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.4...v1.46.5) (2023-10-23) diff --git a/package-lock.json b/package-lock.json index d399b529f8..4643d1325d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.46.5", + "version": "1.47.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.46.5", + "version": "1.47.0", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 8714141981..adc5f0e8f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.46.5", + "version": "1.47.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From a586a92bf410679d0f3aa7012d4d10f8e2f515d5 Mon Sep 17 00:00:00 2001 From: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Date: Mon, 30 Oct 2023 20:30:33 +0530 Subject: [PATCH 63/98] feat: add custom event name support in pinterest v5 (#2773) --- .../pinterest_tag/procWorkflow.yaml | 6 +- src/v0/destinations/pinterest_tag/utils.js | 18 ++--- test/__tests__/data/pinterest_tag_output.json | 65 +++++++++++++++++-- .../pinterest_tag/processor/data.ts | 60 ++++++++++++++--- .../destinations/pinterest_tag/step/data.ts | 61 ++++++++++++++--- 5 files changed, 169 insertions(+), 41 deletions(-) diff --git a/src/cdk/v2/destinations/pinterest_tag/procWorkflow.yaml b/src/cdk/v2/destinations/pinterest_tag/procWorkflow.yaml index 6854573cfa..e0b81e0afe 100644 --- a/src/cdk/v2/destinations/pinterest_tag/procWorkflow.yaml +++ b/src/cdk/v2/destinations/pinterest_tag/procWorkflow.yaml @@ -179,10 +179,8 @@ steps: eventNames = $.convertToSnakeCase(eventNames); eventNames.length === 0 ? eventNames = $.ecomEventMaps.(){eventInLowerCase in .src}.dest[] ?? []; (eventNames.length === 0 && .destination.Config.sendAsCustomEvent) ? eventNames = ["custom"]; - (eventNames.length === 0 && $.outputs.apiVersion === {{$.API_VERSION.v3}}) ? eventNames = [event]; - $.assertConfig(eventNames.length > 0, - event + " is not mapped in UI. Make sure to map the event in UI or enable the 'send as custom event' setting") - eventNames + eventNames.length === 0 ? eventNames = [event]; + eventNames; - name: payload template: | diff --git a/src/v0/destinations/pinterest_tag/utils.js b/src/v0/destinations/pinterest_tag/utils.js index c8ca8dabad..c6822636dc 100644 --- a/src/v0/destinations/pinterest_tag/utils.js +++ b/src/v0/destinations/pinterest_tag/utils.js @@ -165,7 +165,7 @@ const convertToSnakeCase = (eventName) => const deduceTrackScreenEventName = (message, Config) => { let eventName; const { event, name } = message; - const { apiVersion = API_VERSION.v3, eventsMapping, sendAsCustomEvent } = Config; + const { eventsMapping, sendAsCustomEvent } = Config; const trackEventOrScreenName = event || name; if (!trackEventOrScreenName) { throw new InstrumentationError('event_name could not be mapped. Aborting'); @@ -209,17 +209,11 @@ const deduceTrackScreenEventName = (message, Config) => { return ['custom']; } - if (apiVersion === API_VERSION.v3) { - /* - Step 4: In case both of the above stated cases fail, will send the event name as it is. - This is going to be reflected as "unknown" event in conversion API dashboard. - */ - return [trackEventOrScreenName]; - } - - throw new ConfigurationError( - `${event} is not mapped in UI. Make sure to map the event in UI or enable the 'send as custom event' setting`, - ); + /* + Step 4: In case all of the above stated cases failed, will send the event name as it is. + This is going to be reflected as "unknown" event in conversion API dashboard. + */ + return [trackEventOrScreenName]; }; /** diff --git a/test/__tests__/data/pinterest_tag_output.json b/test/__tests__/data/pinterest_tag_output.json index d09e534f4b..9fb809d112 100644 --- a/test/__tests__/data/pinterest_tag_output.json +++ b/test/__tests__/data/pinterest_tag_output.json @@ -671,7 +671,12 @@ "advertiser_id": "123456", "app_id": "429047995", "custom_data": { - "contents": [{ "item_price": "undefined", "quantity": 1 }], + "contents": [ + { + "item_price": "undefined", + "quantity": 1 + } + ], "currency": "USD", "num_items": 0, "order_id": "50314b8e9bcf000000000000", @@ -698,7 +703,9 @@ }, "endpoint": "https://ct.pinterest.com/events/v3", "files": {}, - "headers": { "Content-Type": "application/json" }, + "headers": { + "Content-Type": "application/json" + }, "method": "POST", "params": {}, "type": "REST", @@ -906,8 +913,54 @@ "statusCode": 400, "error": "Conversion Token not found. Aborting" }, - { - "statusCode": 400, - "error": "custom event is not mapped in UI. Make sure to map the event in UI or enable the 'send as custom event' setting" - } + [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.pinterest.com/v5/ad_accounts/accountId123/events", + "headers": { + "Content-Type": "application/json", + "Authorization": "Bearer conversionToken123" + }, + "params": {}, + "body": { + "JSON": { + "event_name": "custom event", + "event_time": 1597383030, + "action_source": "web", + "event_id": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", + "app_id": "429047995", + "user_data": { + "em": ["48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08"], + "ph": ["d164bbe036663cb5c96835e9ccc6501e9a521127ea62f6359744928ba932413b"], + "ln": ["dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251"], + "fn": ["9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"], + "ct": ["6689106ca7922c30b2fd2c175c85bc7fc2d52cc4941bdd7bb622c6cdc6284a85"], + "st": ["3b45022ab36728cdae12e709e945bba267c50ee8a91e6e4388539a8e03a3fdcd"], + "zp": ["1a4292e00780e18d00e76fde9850aee5344e939ba593333cd5e4b4aa2cd33b0c"], + "country": ["582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf"], + "hashed_maids": ["6ca13d52ca70c883e0f0bb101e425a89e8624de51db2d2392593af6a84118090"], + "client_user_agent": "chrome" + }, + "custom_data": { + "currency": "USD", + "value": "27.5", + "order_id": "50314b8e9bcf000000000000", + "num_items": 0, + "contents": [ + { + "quantity": 1, + "item_price": "undefined" + } + ] + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {} + } + ] ] diff --git a/test/integrations/destinations/pinterest_tag/processor/data.ts b/test/integrations/destinations/pinterest_tag/processor/data.ts index 344d4ff507..c7f482aadd 100644 --- a/test/integrations/destinations/pinterest_tag/processor/data.ts +++ b/test/integrations/destinations/pinterest_tag/processor/data.ts @@ -3417,16 +3417,58 @@ export const data = [ body: [ { metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq' }, - error: - "custom event is not mapped in UI. Make sure to map the event in UI or enable the 'send as custom event' setting: Workflow: procWorkflow, Step: eventNames, ChildStep: undefined, OriginalError: custom event is not mapped in UI. Make sure to map the event in UI or enable the 'send as custom event' setting", - statTags: { - destType: 'PINTEREST_TAG', - errorCategory: 'platform', - feature: 'processor', - implementation: 'cdkV2', - module: 'destination', + output: { + body: { + JSON: { + event_time: 1597383030, + action_source: 'web', + event_id: '7208bbb6-2c4e-45bb-bf5b-ad426f3593e9', + app_id: '429047995', + user_data: { + em: ['48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08'], + ph: ['d164bbe036663cb5c96835e9ccc6501e9a521127ea62f6359744928ba932413b'], + ln: ['dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251'], + fn: ['9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08'], + ct: ['6689106ca7922c30b2fd2c175c85bc7fc2d52cc4941bdd7bb622c6cdc6284a85'], + st: ['3b45022ab36728cdae12e709e945bba267c50ee8a91e6e4388539a8e03a3fdcd'], + zp: ['1a4292e00780e18d00e76fde9850aee5344e939ba593333cd5e4b4aa2cd33b0c'], + country: ['582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf'], + hashed_maids: [ + '6ca13d52ca70c883e0f0bb101e425a89e8624de51db2d2392593af6a84118090', + ], + client_user_agent: 'chrome', + }, + custom_data: { + num_items: 0, + contents: [ + { + quantity: 1, + item_price: 'undefined', + }, + ], + currency: 'USD', + value: '27.5', + order_id: '50314b8e9bcf000000000000', + }, + event_name: 'custom event', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.pinterest.com/v5/ad_accounts/accountId123/events', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer conversionToken123', + }, + params: {}, + files: {}, + userId: '', }, - statusCode: 400, + statusCode: 200, }, ], }, diff --git a/test/integrations/destinations/pinterest_tag/step/data.ts b/test/integrations/destinations/pinterest_tag/step/data.ts index b5d6f5186f..cbd0b243bb 100644 --- a/test/integrations/destinations/pinterest_tag/step/data.ts +++ b/test/integrations/destinations/pinterest_tag/step/data.ts @@ -3339,17 +3339,58 @@ export const data = [ status: 200, body: [ { - error: - "custom event is not mapped in UI. Make sure to map the event in UI or enable the 'send as custom event' setting", - statTags: { - destType: 'PINTEREST_TAG', - errorCategory: 'dataValidation', - errorType: 'configuration', - feature: 'processor', - implementation: 'native', - module: 'destination', + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.pinterest.com/v5/ad_accounts/accountId123/events', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer conversionToken123', + }, + params: {}, + body: { + JSON: { + event_name: 'custom event', + event_time: 1597383030, + action_source: 'web', + event_id: '7208bbb6-2c4e-45bb-bf5b-ad426f3593e9', + app_id: '429047995', + user_data: { + em: ['48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08'], + ph: ['d164bbe036663cb5c96835e9ccc6501e9a521127ea62f6359744928ba932413b'], + ln: ['dcf000c2386fb76d22cefc0d118a8511bb75999019cd373df52044bccd1bd251'], + fn: ['9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08'], + ct: ['6689106ca7922c30b2fd2c175c85bc7fc2d52cc4941bdd7bb622c6cdc6284a85'], + st: ['3b45022ab36728cdae12e709e945bba267c50ee8a91e6e4388539a8e03a3fdcd'], + zp: ['1a4292e00780e18d00e76fde9850aee5344e939ba593333cd5e4b4aa2cd33b0c'], + country: ['582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf'], + hashed_maids: [ + '6ca13d52ca70c883e0f0bb101e425a89e8624de51db2d2392593af6a84118090', + ], + client_user_agent: 'chrome', + }, + custom_data: { + currency: 'USD', + value: '27.5', + order_id: '50314b8e9bcf000000000000', + num_items: 0, + contents: [ + { + quantity: 1, + item_price: 'undefined', + }, + ], + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', }, - statusCode: 400, + statusCode: 200, }, ], }, From f641a1e18355e84215981f905870bc6d7c4bc9ea Mon Sep 17 00:00:00 2001 From: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:09:04 +0530 Subject: [PATCH 64/98] chore: update changelog for pinterest custom event name support (#2781) --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0db65c3c2..e7d295645f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file. See [standa * add support filtering component tests by feature and index ([#2748](https://github.com/rudderlabs/rudder-transformer/issues/2748)) ([146f1c6](https://github.com/rudderlabs/rudder-transformer/commit/146f1c63db4e895c7d5ce2848a1b60e7c5bb9fb6)) * onboard destination ortto ([#2730](https://github.com/rudderlabs/rudder-transformer/issues/2730)) ([9be5740](https://github.com/rudderlabs/rudder-transformer/commit/9be5740d8670890b0318da3d37f258ddc5e35445)) * onboard facebook custom audience to transformer proxy ([#2769](https://github.com/rudderlabs/rudder-transformer/issues/2769)) ([14c5e40](https://github.com/rudderlabs/rudder-transformer/commit/14c5e40284af7df9e4f5b262ad226dd3afef226e)) +* add custom event name support in pinterest v5 ([#2773](https://github.com/rudderlabs/rudder-transformer/pull/2773)) ([a586a92](https://github.com/rudderlabs/rudder-transformer/commit/a586a92bf410679d0f3aa7012d4d10f8e2f515d5)) ### Bug Fixes From 57fee0496f718837768f493eb4e204e948c34554 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Thu, 2 Nov 2023 11:25:09 +0530 Subject: [PATCH 65/98] chore: refactoring amplitude using optional chaining (#2645) * chore: refactoring amplitude using optional chaining * test cases added for source endpoint * chore: minor fixes * chore: comment addressed * chore: solve sonar issues 1 * chore: solve sonar issues 2 * chore: solve sonar issues 3 * chore: resolve sonar hotspot * chore: resolve sonar * chore: solve sonar issues 4 * chore: small fixes and test cases addition * chore: small fixes and test cases addition+1 * chore: merge develop issue fix * Update src/v0/destinations/am/transform.js Co-authored-by: Sankeerth * Update src/v0/destinations/am/transform.js Co-authored-by: Sankeerth * chore: addressed comments * chore: reduce cognitive complexity+1 * chore: add test cases * chore: addressed comments * chore: addressed comments+1 * chore: comments addressed * chore: comments addressed+1 * chore: resolve sonar * chore: comments addressed+2 * sonarcloud fix+1 --------- Co-authored-by: Sai Sankeerth Co-authored-by: Sankeerth --- src/v0/destinations/am/config.js | 5 +- src/v0/destinations/am/transform.js | 742 ++++++++++++---------- src/v0/destinations/am/utils.js | 32 +- src/v0/util/index.js | 11 + src/v0/util/index.test.js | 1 + src/v0/util/testdata/isValidInteger.json | 31 + test/__tests__/data/am_batch_input.json | 63 ++ test/__tests__/data/am_batch_output.json | 59 +- test/__tests__/data/am_input.json | 376 ++++++++++- test/__tests__/data/am_output.json | 323 +++++++++- test/__tests__/data/am_router_output.json | 4 +- 11 files changed, 1224 insertions(+), 423 deletions(-) create mode 100644 src/v0/util/testdata/isValidInteger.json diff --git a/src/v0/destinations/am/config.js b/src/v0/destinations/am/config.js index 5e6fc06c27..3e51a67137 100644 --- a/src/v0/destinations/am/config.js +++ b/src/v0/destinations/am/config.js @@ -122,7 +122,8 @@ events.forEach((event) => { const DELETE_MAX_BATCH_SIZE = 100; const DESTINATION = 'amplitude'; const IDENTIFY_AM = '$identify'; - +const AMBatchSizeLimit = 20 * 1024 * 1024; // 20 MB +const AMBatchEventLimit = 500; // event size limit from sdk is 32KB => 15MB module.exports = { DESTINATION, Event, @@ -134,4 +135,6 @@ module.exports = { DELETE_MAX_BATCH_SIZE, batchEventsWithUserIdLengthLowerThanFive, IDENTIFY_AM, + AMBatchSizeLimit, + AMBatchEventLimit }; diff --git a/src/v0/destinations/am/transform.js b/src/v0/destinations/am/transform.js index e6ccf585df..b74625e273 100644 --- a/src/v0/destinations/am/transform.js +++ b/src/v0/destinations/am/transform.js @@ -1,6 +1,7 @@ /* eslint-disable no-lonely-if */ /* eslint-disable no-nested-ternary */ /* eslint-disable no-param-reassign */ +const cloneDeep = require('lodash/cloneDeep'); const get = require('get-value'); const set = require('set-value'); const { @@ -26,6 +27,7 @@ const { isAppleFamily, isDefinedAndNotNullAndNotEmpty, simpleProcessRouterDest, + isValidInteger, } = require('../../util'); const { BASE_URL, @@ -34,18 +36,17 @@ const { mappingConfig, batchEventsWithUserIdLengthLowerThanFive, IDENTIFY_AM, + AMBatchSizeLimit, + AMBatchEventLimit, } = require('./config'); const tags = require('../../util/tags'); const AMUtils = require('./utils'); const logger = require('../../../logger'); -const { InstrumentationError } = require('../../util/errorTypes'); +const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); -const AMBatchSizeLimit = 20 * 1024 * 1024; // 20 MB -const AMBatchEventLimit = 500; // event size limit from sdk is 32KB => 15MB - const EVENTS_KEY_PATH = 'body.JSON.events'; const baseEndpoint = (destConfig) => { @@ -79,82 +80,96 @@ const aliasEndpoint = (destConfig) => { return retVal; }; -function handleSessionIdUnderRoot(message) { - const sessionId = get(message, 'session_id'); +const handleSessionIdUnderRoot = (sessionId) => { if (typeof sessionId === 'string') { - return sessionId.substr(sessionId.lastIndexOf(':') + 1, sessionId.length); + const extractedPart = sessionId.split(':').reverse(); + if (!isValidInteger(extractedPart[0])) return -1; + return Number(extractedPart[0]); } - return sessionId; -} + return Number(sessionId); +}; -function handleSessionIdUnderContext(message) { - let sessionId = get(message, 'context.sessionId'); - sessionId = Number(sessionId); - if (Number.isNaN(sessionId)) return -1; - return sessionId; -} +const handleSessionIdUnderContext = (sessionId) => { + if (!isValidInteger(sessionId)) return -1; + return Number(sessionId); +}; -function getSessionId(message) { - return get(message, 'session_id') - ? handleSessionIdUnderRoot(message) - : get(message, 'context.sessionId') - ? handleSessionIdUnderContext(message) - : -1; -} +const checkForJSONAndUserIdLengthAndDeviceId = (jsonBody, userId, deviceId) => + Object.keys(jsonBody).length === 0 || + (userId && + userId.length < 5 && + (!batchEventsWithUserIdLengthLowerThanFive || + (batchEventsWithUserIdLengthLowerThanFive && !deviceId))); +const getSessionId = (message) => { + let sessionId = -1; + const rootSessionId = get(message, 'session_id'); + if (rootSessionId) { + sessionId = handleSessionIdUnderRoot(rootSessionId); + if (sessionId !== -1) { + return sessionId; + } + } + const contextSessionId = get(message, 'context.sessionId'); + if (contextSessionId) { + sessionId = handleSessionIdUnderContext(contextSessionId); + } + return sessionId; +}; -function addMinIdlength() { - return { min_id_length: 1 }; -} +const addMinIdlength = () => ({ min_id_length: 1 }); -function setPriceQuanityInPayload(message, rawPayload) { +const setPriceQuanityInPayload = (message, rawPayload) => { let price; let quantity; - if (isDefinedAndNotNull(message.properties.price)) { + if (isDefinedAndNotNull(message.properties?.price)) { price = message.properties.price; - quantity = message.properties.quantity || 1; + quantity = message.properties?.quantity || 1; } else { - price = message.properties.revenue; + price = message.properties?.revenue; quantity = 1; } rawPayload.price = price; rawPayload.quantity = quantity; - rawPayload.revenue = message.properties.revenue; + rawPayload.revenue = message.properties?.revenue; return rawPayload; -} +}; -function createRevenuePayload(message, rawPayload) { - rawPayload.productId = message.properties.product_id; +const createRevenuePayload = (message, rawPayload) => { + rawPayload.productId = message.properties?.product_id; rawPayload.revenueType = - message.properties.revenueType || message.properties.revenue_type || 'Purchased'; + message.properties?.revenueType || message.properties?.revenue_type || 'Purchased'; rawPayload = setPriceQuanityInPayload(message, rawPayload); return rawPayload; -} +}; -function updateTraitsObject(property, traitsObject, actionKey) { +const updateTraitsObject = (property, traitsObject, actionKey) => { const propertyToUpdate = getValueFromMessage(traitsObject, property); if (traitsObject[actionKey] && property && typeof property === 'string') { traitsObject[actionKey][property] = propertyToUpdate; deleteObjectProperty(traitsObject, property); } return traitsObject; -} +}; -function prepareTraitsConfig(configPropertyTrait, actionKey, traitsObject) { +const prepareTraitsConfig = (configPropertyTrait, actionKey, traitsObject) => { traitsObject[actionKey] = {}; configPropertyTrait.forEach((traitsElement) => { - const property = traitsElement.traits; + const property = traitsElement?.traits; traitsObject = updateTraitsObject(property, traitsObject, actionKey); }); - if (Object.keys(traitsObject[actionKey]).length === 0) { + if ( + typeof traitsObject?.[actionKey] === 'object' && + Object.keys(traitsObject?.[actionKey] || {})?.length === 0 + ) { delete traitsObject[actionKey]; } return traitsObject; -} +}; -function handleTraits(messageTrait, destination) { +const handleTraits = (messageTrait, destination) => { let traitsObject = JSON.parse(JSON.stringify(messageTrait)); - if (destination.Config.traitsToIncrement) { + if (destination.Config?.traitsToIncrement) { const actionKey = '$add'; traitsObject = prepareTraitsConfig( destination.Config.traitsToIncrement, @@ -162,29 +177,41 @@ function handleTraits(messageTrait, destination) { traitsObject, ); } - if (destination.Config.traitsToSetOnce) { + if (destination.Config?.traitsToSetOnce) { const actionKey = '$setOnce'; traitsObject = prepareTraitsConfig(destination.Config.traitsToSetOnce, actionKey, traitsObject); } - if (destination.Config.traitsToAppend) { + if (destination.Config?.traitsToAppend) { const actionKey = '$append'; traitsObject = prepareTraitsConfig(destination.Config.traitsToAppend, actionKey, traitsObject); } - if (destination.Config.traitsToPrepend) { + if (destination.Config?.traitsToPrepend) { const actionKey = '$prepend'; traitsObject = prepareTraitsConfig(destination.Config.traitsToPrepend, actionKey, traitsObject); } return traitsObject; -} +}; + +const getScreenevTypeAndUpdatedProperties = (message, CATEGORY_KEY) => { + const name = message.name || message.event || get(message, CATEGORY_KEY); + const updatedName = name ? `${name} ` : ''; + return { + evType: `Viewed ${updatedName}Screen`, + updatedProperties: { + ...message.properties, + name, + }, + }; +}; -function handleMappingJsonObject( +const handleMappingJsonObject = ( mappingJson, sourceKey, validatePayload, payload, message, Config, -) { +) => { const { isFunc, funcName, outKey } = mappingJson[sourceKey]; if (isFunc) { if (validatePayload) { @@ -203,150 +230,242 @@ function handleMappingJsonObject( if (isDefinedAndNotNull(data)) { set(payload, outKey, data); delete message.traits[outKey]; - } else { - // get the destKey/outKey value from calling the util function - set(payload, outKey, AMUtils[funcName](message, sourceKey, Config)); + return; } + // get the destKey/outKey value from calling the util function + set(payload, outKey, AMUtils[funcName](message, sourceKey, Config)); } } -} +}; -function updateConfigProperty(message, payload, mappingJson, validatePayload, Config) { +const updateConfigProperty = (message, payload, mappingJson, validatePayload, Config) => { const sourceKeys = Object.keys(mappingJson); sourceKeys.forEach((sourceKey) => { // check if custom processing is required on the payload sourceKey ==> destKey if (typeof mappingJson[sourceKey] === 'object') { handleMappingJsonObject(mappingJson, sourceKey, validatePayload, payload, message, Config); - } else { - // For common config - if (validatePayload) { - // if data is present in traits assign - const messageData = get(message.traits, mappingJson[sourceKey]); - if (isDefinedAndNotNull(messageData)) { - set(payload, mappingJson[sourceKey], messageData); - } else { - const data = get(payload, mappingJson[sourceKey]); - if (!isDefinedAndNotNull(data)) { - const val = get(message, sourceKey); - if (val || val === false || val === 0) { - set(payload, mappingJson[sourceKey], val); - } + } else if (validatePayload) { + // if data is present in traits assign + const messageData = get(message.traits, mappingJson[sourceKey]); + if (isDefinedAndNotNull(messageData)) { + set(payload, mappingJson[sourceKey], messageData); + } else { + const data = get(payload, mappingJson[sourceKey]); + if (!isDefinedAndNotNull(data)) { + const val = get(message, sourceKey); + if (val || val === false || val === 0) { + set(payload, mappingJson[sourceKey], val); } } + } + } else { + const data = get(message.traits, mappingJson[sourceKey]); + if (isDefinedAndNotNull(data)) { + set(payload, mappingJson[sourceKey], data); } else { - const data = get(message.traits, mappingJson[sourceKey]); - if (isDefinedAndNotNull(data)) { - set(payload, mappingJson[sourceKey], data); - } else { - set(payload, mappingJson[sourceKey], get(message, sourceKey)); - } + set(payload, mappingJson[sourceKey], get(message, sourceKey)); } } }); -} +}; +const identifyBuilder = (message, destination, rawPayload) => { + // update payload user_properties from userProperties/traits/context.traits/nested traits of Rudder message + // traits like address converted to top level user properties (think we can skip this extra processing as AM supports nesting upto 40 levels) + let traits = getFieldValueFromMessage(message, 'traits'); + if (traits) { + traits = handleTraits(traits, destination); + } + rawPayload.user_properties = { + ...rawPayload.user_properties, + ...message.userProperties, + }; + if (traits) { + Object.keys(traits).forEach((trait) => { + if (SpecedTraits.includes(trait)) { + const mapping = TraitsMapping[trait]; + Object.keys(mapping).forEach((key) => { + const checkKey = get(rawPayload.user_properties, key); + // this is done only if we want to add default values under address to the user_properties + // these values are also sent to the destination at the top level. + if (!isDefinedAndNotNull(checkKey)) { + set(rawPayload, `user_properties.${key}`, get(traits, mapping[key])); + } + }); + } else { + set(rawPayload, `user_properties.${trait}`, get(traits, trait)); + } + }); + } + return rawPayload; +}; -function getResponseData(evType, destination, rawPayload, message, groupInfo) { - let endpoint = defaultEndpoint(destination.Config); - let traits; +const getDefaultResponseData = (message, rawPayload, evType, groupInfo) => { + const traits = getFieldValueFromMessage(message, 'traits'); + set(rawPayload, 'event_properties', message.properties); + + if (traits) { + rawPayload.user_properties = { + ...rawPayload.user_properties, + ...traits, + }; + } + + rawPayload.event_type = evType; + rawPayload.user_id = message.userId; + if (message.isRevenue) { + // making the revenue payload + rawPayload = createRevenuePayload(message, rawPayload); + // deleting the properties price, product_id, quantity and revenue from event_properties since it is already in root + if (rawPayload.event_properties) { + delete rawPayload.event_properties.price; + delete rawPayload.event_properties.product_id; + delete rawPayload.event_properties.quantity; + delete rawPayload.event_properties.revenue; + } + } + const groups = groupInfo && cloneDeep(groupInfo); + return { groups, rawPayload }; +}; +const getResponseData = (evType, destination, rawPayload, message, groupInfo) => { let groups; switch (evType) { case EventType.IDENTIFY: + // event_type for identify event is $identify + rawPayload.event_type = IDENTIFY_AM; + identifyBuilder(message, destination, rawPayload); + break; case EventType.GROUP: - endpoint = defaultEndpoint(destination.Config); // event_type for identify event is $identify rawPayload.event_type = IDENTIFY_AM; - - if (evType === EventType.IDENTIFY) { - // update payload user_properties from userProperties/traits/context.traits/nested traits of Rudder message - // traits like address converted to top level user properties (think we can skip this extra processing as AM supports nesting upto 40 levels) - traits = getFieldValueFromMessage(message, 'traits'); - if (traits) { - traits = handleTraits(traits, destination); - } - rawPayload.user_properties = { - ...rawPayload.user_properties, - ...message.userProperties, - }; - if (traits) { - Object.keys(traits).forEach((trait) => { - if (SpecedTraits.includes(trait)) { - const mapping = TraitsMapping[trait]; - Object.keys(mapping).forEach((key) => { - const checkKey = get(rawPayload.user_properties, key); - // this is done only if we want to add default values under address to the user_properties - // these values are also sent to the destination at the top level. - if (!isDefinedAndNotNull(checkKey)) { - set(rawPayload, `user_properties.${key}`, get(traits, mapping[key])); - } - }); - } else { - set(rawPayload, `user_properties.${trait}`, get(traits, trait)); - } - }); - } - } - - if ( - evType === EventType.GROUP && // for Rudder group call, update the user_properties with group info - // Refer (1.) - groupInfo && - groupInfo.group_type && - groupInfo.group_value - ) { + // for Rudder group call, update the user_properties with group info + if (groupInfo?.group_type && groupInfo?.group_value) { groups = {}; groups[groupInfo.group_type] = groupInfo.group_value; set(rawPayload, `user_properties.${[groupInfo.group_type]}`, groupInfo.group_value); } break; case EventType.ALIAS: - endpoint = aliasEndpoint(destination.Config); break; default: - traits = getFieldValueFromMessage(message, 'traits'); - set(rawPayload, 'event_properties', message.properties); - - if (traits) { - rawPayload.user_properties = { - ...rawPayload.user_properties, - ...traits, - }; - } + ({ groups, rawPayload } = getDefaultResponseData(message, rawPayload, evType, groupInfo)); + } + return { rawPayload, groups }; +}; - rawPayload.event_type = evType; - rawPayload.user_id = message.userId; - if (message.isRevenue) { - // making the revenue payload - rawPayload = createRevenuePayload(message, rawPayload); - // deleting the properties price, product_id, quantity and revenue from event_properties since it is already in root - if (rawPayload.event_properties) { - delete rawPayload.event_properties.price; - delete rawPayload.event_properties.product_id; - delete rawPayload.event_properties.quantity; - delete rawPayload.event_properties.revenue; - } - } - groups = groupInfo && Object.assign(groupInfo); +const buildPayloadForMobileChannel = (message, destination, payload) => { + if (!destination.Config.mapDeviceBrand) { + set(payload, 'device_brand', get(message, 'context.device.manufacturer')); } - return { endpoint, rawPayload, groups }; -} -function responseBuilderSimple( + const deviceId = get(message, 'context.device.id'); + const platform = get(message, 'context.device.type'); + const advertId = get(message, 'context.device.advertisingId'); + + if (platform) { + if (isAppleFamily(platform)) { + set(payload, 'idfa', advertId); + set(payload, 'idfv', deviceId); + } else if (platform.toLowerCase() === 'android') { + set(payload, 'adid', advertId); + } + } +}; +const nonAliasResponsebuilder = ( + message, + payload, + destination, + evType, + groupInfo, + rootElementName, +) => { + const respList = []; + const addOptions = 'options'; + const response = defaultRequestConfig(); + const groupResponse = defaultRequestConfig(); + const endpoint = defaultEndpoint(destination.Config); + if (message.channel === 'mobile') { + buildPayloadForMobileChannel(message, destination, payload); + } + payload.time = new Date(getFieldValueFromMessage(message, 'timestamp')).getTime(); + + // send user_id only when present, for anonymous users not required + if (message.userId && message.userId !== null) { + payload.user_id = message.userId; + } + payload.session_id = getSessionId(message); + + updateConfigProperty( + message, + payload, + mappingConfig[ConfigCategory.COMMON_CONFIG.name], + true, + destination.Config, + ); + + // we are not fixing the verson for android specifically any more because we've put a fix in iOS SDK + // for correct versionName + // ==================== + // fixVersion(payload, message); + + if (payload.user_properties) { + delete payload.user_properties.city; + delete payload.user_properties.country; + if (payload.user_properties.address) { + delete payload.user_properties.address.city; + delete payload.user_properties.address.country; + } + } + + if (!payload.user_id && !payload.device_id) { + logger.debug('Either of user ID or device ID fields must be specified'); + throw new InstrumentationError('Either of user ID or device ID fields must be specified'); + } + + payload.ip = getParsedIP(message); + payload.library = 'rudderstack'; + payload = removeUndefinedAndNullValues(payload); + response.endpoint = endpoint; + response.method = defaultPostRequestConfig.requestMethod; + response.headers = { + 'Content-Type': JSON_MIME_TYPE, + }; + response.userId = message.anonymousId; + response.body.JSON = { + api_key: destination.Config.apiKey, + [rootElementName]: [payload], + [addOptions]: addMinIdlength(), + }; + respList.push(response); + + // https://developers.amplitude.com/docs/group-identify-api + // Refer (1.), Rudder group call updates group propertiees. + if (evType === EventType.GROUP && groupInfo) { + groupResponse.method = defaultPostRequestConfig.requestMethod; + groupResponse.endpoint = groupEndpoint(destination.Config); + let groupPayload = cloneDeep(groupInfo); + groupResponse.userId = message.anonymousId; + groupPayload = removeUndefinedValues(groupPayload); + groupResponse.body.FORM = { + api_key: destination.Config.apiKey, + identification: [JSON.stringify(groupPayload)], + }; + respList.push(groupResponse); + } + return respList; +}; + +const responseBuilderSimple = ( groupInfo, rootElementName, message, evType, mappingJson, destination, -) { - let rawPayload = {}; - const addOptions = 'options'; +) => { + const rawPayload = {}; const respList = []; - const response = defaultRequestConfig(); - const groupResponse = defaultRequestConfig(); const aliasResponse = defaultRequestConfig(); - let endpoint = defaultEndpoint(destination.Config); - if ( EventType.IDENTIFY && // If mapped to destination, Add externalId to traits get(message, MappedToDestinationKey) @@ -375,7 +494,7 @@ function responseBuilderSimple( const oldKeys = Object.keys(campaign); // appends utm_ prefix to all the keys of campaign object. For example the `name` key in campaign object will be changed to `utm_name` oldKeys.forEach((oldKey) => { - Object.assign(campaign, { [`utm_${oldKey}`]: campaign[oldKey] }); + campaign[`utm_${oldKey}`] = campaign[oldKey]; delete campaign[oldKey]; }); @@ -390,14 +509,13 @@ function responseBuilderSimple( }; const respData = getResponseData(evType, destination, rawPayload, message, groupInfo); - const { groups } = respData; - ({ endpoint, rawPayload } = respData); + const { groups, rawPayload: updatedRawPayload } = respData; // for https://api.amplitude.com/2/httpapi , pass the "groups" key // refer (1.) for passing "groups" for Rudder group call // https://developers.amplitude.com/docs/http-api-v2#schemaevent - set(rawPayload, 'groups', groups); - let payload = removeUndefinedValues(rawPayload); + set(updatedRawPayload, 'groups', groups); + let payload = removeUndefinedValues(updatedRawPayload); let unmapUserId; if (evType === EventType.ALIAS) { // By default (1.), Alias config file populates user_id and global_user_id @@ -419,113 +537,60 @@ function responseBuilderSimple( }; respList.push(aliasResponse); } else { - if (message.channel === 'mobile') { - if (!destination.Config.mapDeviceBrand) { - set(payload, 'device_brand', get(message, 'context.device.manufacturer')); - } - - const deviceId = get(message, 'context.device.id'); - const platform = get(message, 'context.device.type'); - const advertId = get(message, 'context.device.advertisingId'); - - if (platform) { - if (isAppleFamily(platform)) { - set(payload, 'idfa', advertId); - set(payload, 'idfv', deviceId); - } else if (platform.toLowerCase() === 'android') { - set(payload, 'adid', advertId); - } - } - } - - payload.time = new Date(getFieldValueFromMessage(message, 'timestamp')).getTime(); - - // send user_id only when present, for anonymous users not required - if ( - message.userId && - message.userId !== '' && - message.userId !== 'null' && - message.userId !== null - ) { - payload.user_id = message.userId; - } - payload.session_id = getSessionId(message); - - updateConfigProperty( + return nonAliasResponsebuilder( message, payload, - mappingConfig[ConfigCategory.COMMON_CONFIG.name], - true, - destination.Config, + destination, + evType, + groupInfo, + rootElementName, ); + } + return respList; +}; - // we are not fixing the verson for android specifically any more because we've put a fix in iOS SDK - // for correct versionName - // ==================== - // fixVersion(payload, message); - - if (payload.user_properties) { - delete payload.user_properties.city; - delete payload.user_properties.country; - if (payload.user_properties.address) { - delete payload.user_properties.address.city; - delete payload.user_properties.address.country; - } - } - - if (!payload.user_id && !payload.device_id) { - logger.debug('Either of user ID or device ID fields must be specified'); - throw new InstrumentationError('Either of user ID or device ID fields must be specified'); - } - - payload.ip = getParsedIP(message); - payload.library = 'rudderstack'; - payload = removeUndefinedAndNullValues(payload); - response.endpoint = endpoint; - response.method = defaultPostRequestConfig.requestMethod; - response.headers = { - 'Content-Type': JSON_MIME_TYPE, - }; - response.userId = message.anonymousId; - response.body.JSON = { - api_key: destination.Config.apiKey, - [rootElementName]: [payload], - [addOptions]: addMinIdlength(), - }; - respList.push(response); - - // https://developers.amplitude.com/docs/group-identify-api - // Refer (1.), Rudder group call updates group propertiees. - if (evType === EventType.GROUP && groupInfo) { - groupResponse.method = defaultPostRequestConfig.requestMethod; - groupResponse.endpoint = groupEndpoint(destination.Config); - let groupPayload = Object.assign(groupInfo); - groupResponse.userId = message.anonymousId; - groupPayload = removeUndefinedValues(groupPayload); - groupResponse.body.FORM = { - api_key: destination.Config.apiKey, - identification: [JSON.stringify(groupPayload)], - }; - respList.push(groupResponse); +const getGroupInfo = (destination, groupInfo, groupTraits) => { + const { groupTypeTrait, groupValueTrait } = destination.Config; + if (groupTypeTrait && groupValueTrait) { + let updatedGroupInfo = { ...groupInfo }; + const groupTypeValue = get(groupTraits, groupTypeTrait); + const groupNameValue = get(groupTraits, groupValueTrait); + // since the property updates on group at https://api2.amplitude.com/groupidentify + // expects a string group name and value , so error out if the keys are not primitive + // Note: This different for groups object at https://api.amplitude.com/2/httpapi where the + // group value can be array of strings as well. + if ( + groupTypeValue && + typeof groupTypeValue === 'string' && + groupNameValue && + (typeof groupNameValue === 'string' || typeof groupNameValue === 'number') + ) { + updatedGroupInfo = {}; + updatedGroupInfo.group_type = groupTypeValue; + updatedGroupInfo.group_value = groupNameValue; + // passing the entire group traits without deleting the above keys + updatedGroupInfo.group_properties = groupTraits; + return updatedGroupInfo; } + logger.debug('Group call parameters are not valid'); + throw new InstrumentationError('Group call parameters are not valid'); } - - return respList; -} + return groupInfo; +}; +const getUpdatedPageNameWithoutUserDefinedPageEventName = (name, message, CATEGORY_KEY) => + name || get(message, CATEGORY_KEY) ? `${name || get(message, CATEGORY_KEY)} ` : undefined; // Generic process function which invokes specific handler functions depending on message type // and event type where applicable -function processSingleMessage(message, destination) { +const processSingleMessage = (message, destination) => { let payloadObjectName = 'events'; let evType; - let groupTraits; - let groupTypeTrait; - let groupValueTrait; // It is expected that Rudder alias. identify group calls won't have this set // To be used for track/page calls to associate the event to a group in AM let groupInfo = get(message, 'integrations.Amplitude.groups') || undefined; let category = ConfigCategory.DEFAULT; - + let { properties } = message; + const { name, event } = message; const messageType = message.type.toLowerCase(); const CATEGORY_KEY = 'properties.category'; const { useUserDefinedPageEventName, userProvidedPageEventString } = destination.Config; @@ -545,26 +610,30 @@ function processSingleMessage(message, destination) { .trim(); evType = userProvidedPageEventString.trim() === '' - ? message.name + ? name : userProvidedPageEventString .trim() .replaceAll(/{{([^{}]+)}}/g, get(message, getMessagePath)); } else { - evType = `Viewed ${message.name || get(message, CATEGORY_KEY) || ''} Page`; + const updatedName = getUpdatedPageNameWithoutUserDefinedPageEventName( + name, + message, + CATEGORY_KEY, + ); + evType = `Viewed ${updatedName || ''}Page`; } - message.properties = { ...message.properties, - name: message.name || get(message, CATEGORY_KEY), + name: name || get(message, CATEGORY_KEY), }; category = ConfigCategory.PAGE; break; case EventType.SCREEN: - evType = `Viewed ${message.name || message.event || get(message, CATEGORY_KEY) || ''} Screen`; - message.properties = { - ...message.properties, - name: message.name || message.event || get(message, CATEGORY_KEY), - }; + ({ evType, updatedProperties: properties } = getScreenevTypeAndUpdatedProperties( + message, + CATEGORY_KEY, + )); + message.properties = properties; category = ConfigCategory.SCREEN; break; case EventType.GROUP: @@ -574,34 +643,13 @@ function processSingleMessage(message, destination) { // read from group traits from message // groupTraits => top level "traits" for JS SDK // groupTraits => "context.traits" for mobile SDKs - groupTraits = getFieldValueFromMessage(message, 'groupTraits'); + groupInfo = getGroupInfo( + destination, + groupInfo, + getFieldValueFromMessage(message, 'groupTraits'), + ); // read destination config related group settings // https://developers.amplitude.com/docs/group-identify-api - groupTypeTrait = get(destination, 'Config.groupTypeTrait'); - groupValueTrait = get(destination, 'Config.groupValueTrait'); - if (groupTypeTrait && groupValueTrait) { - const groupTypeValue = get(groupTraits, groupTypeTrait); - const groupNameValue = get(groupTraits, groupValueTrait); - // since the property updates on group at https://api2.amplitude.com/groupidentify - // expects a string group name and value , so error out if the keys are not primitive - // Note: This different for groups object at https://api.amplitude.com/2/httpapi where the - // group value can be array of strings as well. - if ( - groupTypeValue && - typeof groupTypeValue === 'string' && - groupNameValue && - (typeof groupNameValue === 'string' || typeof groupNameValue === 'number') - ) { - groupInfo = {}; - groupInfo.group_type = groupTypeValue; - groupInfo.group_value = groupNameValue; - // passing the entire group traits without deleting the above keys - groupInfo.group_properties = groupTraits; - } else { - logger.debug('Group call parameters are not valid'); - throw new InstrumentationError('Group call parameters are not valid'); - } - } break; case EventType.ALIAS: evType = 'alias'; @@ -611,21 +659,19 @@ function processSingleMessage(message, destination) { category = ConfigCategory.ALIAS; break; case EventType.TRACK: - evType = message.event; + evType = event; if (!isDefinedAndNotNullAndNotEmpty(evType)) { - throw new InstrumentationError('message type not defined'); + throw new InstrumentationError('Event not present. Please send event field'); } if ( message.properties && - isDefinedAndNotNull(message.properties.revenue) && - isDefinedAndNotNull(message.properties.revenue_type) + isDefinedAndNotNull(message.properties?.revenue) && + isDefinedAndNotNull(message.properties?.revenue_type) ) { // if properties has revenue and revenue_type fields // consider the event as revenue event directly category = ConfigCategory.REVENUE; - break; } - break; default: logger.debug('could not determine type'); @@ -639,10 +685,10 @@ function processSingleMessage(message, destination) { mappingConfig[category.name], destination, ); -} +}; -function createProductPurchasedEvent(message, destination, product, counter) { - const eventClonePurchaseProduct = JSON.parse(JSON.stringify(message)); +const createProductPurchasedEvent = (message, destination, product, counter) => { + const eventClonePurchaseProduct = cloneDeep(message); eventClonePurchaseProduct.event = 'Product Purchased'; // In product purchased event event properties consists of the details of each product @@ -654,17 +700,17 @@ function createProductPurchasedEvent(message, destination, product, counter) { // need to modify the message id of each newly created event, as it is mapped to insert_id and that is used by Amplitude for dedup. eventClonePurchaseProduct.messageId = `${message.messageId}-${counter}`; return eventClonePurchaseProduct; -} +}; -function isProductArrayInPayload(message) { +const isProductArrayInPayload = (message) => { const isProductArray = - (message.properties.products && + (message.properties?.products && Array.isArray(message.properties.products) && message.properties.products.length > 0) === true; return isProductArray; -} +}; -function getProductPurchasedEvents(message, destination) { +const getProductPurchasedEvents = (message, destination) => { const productPurchasedEvents = []; if (isProductArrayInPayload(message)) { let counter = 0; @@ -682,16 +728,16 @@ function getProductPurchasedEvents(message, destination) { }); } return productPurchasedEvents; -} +}; -function trackRevenueEvent(message, destination) { +const trackRevenueEvent = (message, destination) => { let sendEvents = []; - const originalEvent = JSON.parse(JSON.stringify(message)); + const originalEvent = cloneDeep(message); if (destination.Config.trackProductsOnce === false) { if (isProductArrayInPayload(message)) { // when trackProductsOnce false no product array present - delete originalEvent.properties.products; + delete originalEvent.properties?.products; } else { // when product array is not there in payload, will track the revenue of the original event. originalEvent.isRevenue = true; @@ -719,16 +765,19 @@ function trackRevenueEvent(message, destination) { } } return sendEvents; -} +}; -function process(event) { +const process = (event) => { const respList = []; const { message, destination } = event; - const messageType = message.type.toLowerCase(); + const messageType = message.type?.toLowerCase(); const toSendEvents = []; + if (!destination?.Config?.apiKey) { + throw new ConfigurationError('No API Key is Found. Please Configure API key from dashbaord'); + } if (messageType === EventType.TRACK) { const { properties } = message; - if (properties && isDefinedAndNotNull(properties.revenue)) { + if (isDefinedAndNotNull(properties?.revenue)) { const revenueEvents = trackRevenueEvent(message, destination); revenueEvents.forEach((revenueEvent) => { toSendEvents.push(revenueEvent); @@ -744,9 +793,9 @@ function process(event) { respList.push(...processSingleMessage(sendEvent, destination)); }); return respList; -} +}; -function getBatchEvents(message, destination, metadata, batchEventResponse) { +const getBatchEvents = (message, destination, metadata, batchEventResponse) => { let batchComplete = false; const batchEventArray = get(batchEventResponse, 'batchedRequest.body.JSON.events') || []; const batchEventJobs = get(batchEventResponse, 'metadata') || []; @@ -760,18 +809,19 @@ function getBatchEvents(message, destination, metadata, batchEventResponse) { : incomingMessageEvent; const userId = incomingMessageEvent.user_id; - // delete the userId as it is less than 5 as AM is giving 400 - // that is not a documented behviour where it states if either deviceid or userid is present - // batch request won't return 400 - // { - // "code": 400, - // "events_with_invalid_id_lengths": { - // "user_id": [ - // 0 - // ] - // }, - // "error": "Invalid id length for user_id or device_id" - // } + /* delete the userId as it is less than 5 as AM is giving 400 + that is not a documented behviour where it states if either deviceid or userid is present + batch request won't return 400 + { + "code": 400, + "events_with_invalid_id_lengths": { + "user_id": [ + 0 + ] + }, + "error": "Invalid id length for user_id or device_id" + } + */ if (batchEventsWithUserIdLengthLowerThanFive && userId && userId.length < 5) { delete incomingMessageEvent.user_id; } @@ -782,10 +832,7 @@ function getBatchEvents(message, destination, metadata, batchEventResponse) { if (batchEventArray.length === 0) { if (JSON.stringify(incomingMessageJSON).length < AMBatchSizeLimit) { delete message.body.JSON.options; - batchEventResponse = Object.assign(batchEventResponse, { - batchedRequest: message, - }); - + batchEventResponse.batchedRequest = message; set(batchEventResponse, 'batchedRequest.endpoint', BATCH_ENDPOINT); batchEventResponse.metadata = [metadata]; } @@ -807,16 +854,16 @@ function getBatchEvents(message, destination, metadata, batchEventResponse) { } } return batchComplete; -} +}; -function batch(destEvents) { +const getFirstEvent = (messageEvent) => + messageEvent && Array.isArray(messageEvent) ? messageEvent[0] : messageEvent; +const batch = (destEvents) => { const respList = []; let batchEventResponse = defaultBatchRequestConfig(); let response; let isBatchComplete; let jsonBody; - let userId; - let deviceId; let messageEvent; let destinationObject; destEvents.forEach((ev) => { @@ -824,18 +871,11 @@ function batch(destEvents) { destinationObject = { ...destination }; jsonBody = get(message, 'body.JSON'); messageEvent = get(message, EVENTS_KEY_PATH); - userId = - messageEvent && Array.isArray(messageEvent) - ? messageEvent[0].user_id - : messageEvent - ? messageEvent.user_id - : undefined; - deviceId = - messageEvent && Array.isArray(messageEvent) - ? messageEvent[0].device_id - : messageEvent - ? messageEvent.device_id - : undefined; + const firstEvent = getFirstEvent(messageEvent); + + const userId = firstEvent?.user_id ?? undefined; + const deviceId = firstEvent?.device_id ?? undefined; + // this case shold not happen and should be filtered already // by the first pass of single event transformation if (messageEvent && !userId && !deviceId) { @@ -851,16 +891,13 @@ function batch(destEvents) { respList.push(errorResponse); return; } - // check if not a JSON body or (userId length < 5 && batchEventsWithUserIdLengthLowerThanFive is false) or - // (batchEventsWithUserIdLengthLowerThanFive is true and userId is less than 5 but deviceId not present) - // , send the event as is after batching - if ( - Object.keys(jsonBody).length === 0 || - (!batchEventsWithUserIdLengthLowerThanFive && userId && userId.length < 5) || - (batchEventsWithUserIdLengthLowerThanFive && userId && userId.length < 5 && !deviceId) - ) { + /* check if not a JSON body or (userId length < 5 && batchEventsWithUserIdLengthLowerThanFive is false) or + (batchEventsWithUserIdLengthLowerThanFive is true and userId is less than 5 but deviceId not present), + send the event as is after batching + */ + if (checkForJSONAndUserIdLengthAndDeviceId(jsonBody, userId, deviceId)) { response = defaultBatchRequestConfig(); - response = Object.assign(response, { batchedRequest: message }); + response.batchedRequest = message; response.metadata = [metadata]; response.destination = destinationObject; respList.push(response); @@ -868,8 +905,9 @@ function batch(destEvents) { // check if the event can be pushed to an existing batch isBatchComplete = getBatchEvents(message, destination, metadata, batchEventResponse); if (isBatchComplete) { - // if the batch is already complete, push it to response list - // and push the event to a new batch + /* if the batch is already complete, push it to response list + and push the event to a new batch + */ batchEventResponse.destination = destinationObject; respList.push({ ...batchEventResponse }); batchEventResponse = defaultBatchRequestConfig(); @@ -879,12 +917,12 @@ function batch(destEvents) { } }); // if there is some unfinished batch push it to response list - if (isBatchComplete !== undefined && isBatchComplete === false) { + if (isDefinedAndNotNull(isBatchComplete) && !isBatchComplete) { batchEventResponse.destination = destinationObject; respList.push(batchEventResponse); } return respList; -} +}; const processRouterDest = async (inputs, reqMetadata) => { const respList = await simpleProcessRouterDest(inputs, process, reqMetadata); diff --git a/src/v0/destinations/am/utils.js b/src/v0/destinations/am/utils.js index 33040c2146..b9925c20d8 100644 --- a/src/v0/destinations/am/utils.js +++ b/src/v0/destinations/am/utils.js @@ -13,65 +13,65 @@ const uaParser = require('@amplitude/ua-parser-js'); const logger = require('../../../logger'); const { isDefinedAndNotNull } = require('../../util'); -function getInfoFromUA(path, payload, defaultVal) { +const getInfoFromUA = (path, payload, defaultVal) => { const ua = get(payload, 'context.userAgent'); const devInfo = ua ? uaParser(ua) : {}; return get(devInfo, path) || defaultVal; -} +}; -function getOSName(payload, sourceKey) { +const getOSName = (payload, sourceKey) => { const payloadVal = get(payload, sourceKey); if (payload.channel && payload.channel.toLowerCase() === 'web') { return getInfoFromUA('browser.name', payload, payloadVal); } return payloadVal; -} +}; -function getOSVersion(payload, sourceKey) { +const getOSVersion = (payload, sourceKey) => { const payloadVal = get(payload, sourceKey); if (payload.channel && payload.channel.toLowerCase() === 'web') { return getInfoFromUA('browser.version', payload, payloadVal); } return payloadVal; -} +}; -function getDeviceModel(payload, sourceKey) { +const getDeviceModel = (payload, sourceKey) => { const payloadVal = get(payload, sourceKey); if (payload.channel && payload.channel.toLowerCase() === 'web') { return getInfoFromUA('os.name', payload, payloadVal); } return payloadVal; -} +}; -function getDeviceManufacturer(payload, sourceKey) { +const getDeviceManufacturer = (payload, sourceKey) => { const payloadVal = get(payload, sourceKey); if (payload.channel && payload.channel.toLowerCase() === 'web') { return getInfoFromUA('device.vendor', payload, payloadVal); } return payloadVal; -} +}; -function getPlatform(payload, sourceKey) { +const getPlatform = (payload, sourceKey) => { const payloadVal = get(payload, sourceKey); return payload.channel ? payload.channel.toLowerCase() === 'web' ? 'Web' : payloadVal : payloadVal; -} +}; -function getBrand(payload, sourceKey, Config) { +const getBrand = (payload, sourceKey, Config) => { if (Config.mapDeviceBrand) { const payloadVal = get(payload, sourceKey); return payloadVal; } return undefined; -} +}; -function getEventId(payload, sourceKey) { +const getEventId = (payload, sourceKey) => { const eventId = get(payload, sourceKey); if (isDefinedAndNotNull(eventId)) { @@ -80,7 +80,7 @@ function getEventId(payload, sourceKey) { } else return eventId; } return undefined; -} +}; module.exports = { getOSName, diff --git a/src/v0/util/index.js b/src/v0/util/index.js index 4ea3d3783d..ea08d08c8a 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -2053,6 +2053,16 @@ const getAuthErrCategoryFromStCode = (status) => { return ''; }; +const isValidInteger = (value) => { + if (Number.isNaN(value) || !isDefinedAndNotNull(value)) { + return false; + } + if (typeof value === 'number' && value % 1 === 0) { + return true; + } + // Use a regular expression to check if the string is a valid integer or a valid floating-point number + return typeof value === 'string' ? /^-?\d+$/.test(value) : false; +}; const validateEventType = (event) => { if (!event || typeof event !== 'string') { throw new InstrumentationError('Event is a required field and should be a string'); @@ -2172,6 +2182,7 @@ module.exports = { hasCircularReference, getAuthErrCategoryFromErrDetailsAndStCode, getAuthErrCategoryFromStCode, + isValidInteger, isNewStatusCodesAccepted, IsGzipSupported, }; diff --git a/src/v0/util/index.test.js b/src/v0/util/index.test.js index ce341e8187..e39c583aab 100644 --- a/src/v0/util/index.test.js +++ b/src/v0/util/index.test.js @@ -13,6 +13,7 @@ const functionNames = [ 'batchMultiplexedEvents', 'removeUndefinedNullValuesAndEmptyObjectArray', 'groupEventsByType', + 'isValidInteger', ]; // Names of the utility functions to test which expects multiple arguments as values and not objects diff --git a/src/v0/util/testdata/isValidInteger.json b/src/v0/util/testdata/isValidInteger.json new file mode 100644 index 0000000000..be7be936a6 --- /dev/null +++ b/src/v0/util/testdata/isValidInteger.json @@ -0,0 +1,31 @@ +[ + { + "description": "Number is undefined", + "output": false + }, + { + "description": "Number in string format", + "input": "123", + "output": true + }, + { + "description": "Normal Integer", + "input": 123, + "output": true + }, + { + "description": "Float", + "input": 123.91, + "output": false + }, + { + "description": "Float string", + "input": "123.00", + "output": false + }, + { + "description": "Alphanumeric String", + "input": "abcd1234", + "output": false + } +] diff --git a/test/__tests__/data/am_batch_input.json b/test/__tests__/data/am_batch_input.json index 64fe0b4ec7..5b0440babf 100644 --- a/test/__tests__/data/am_batch_input.json +++ b/test/__tests__/data/am_batch_input.json @@ -1,4 +1,67 @@ [ + [ + { + "message": { + "body": { + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {}, + "JSON": { + "events": [ + { + "ip": "0.0.0.0", + "time": 1603132665557, + "os_name": "", + "app_name": "RudderLabs JavaScript SDK", + "language": "en-US", + "library": "rudderstack", + "event_type": "$identify", + "os_version": "", + "session_id": -1, + "app_version": "1.1.5", + "user_properties": { + "name": "some campaign", + "plan": "Open source", + "term": "keyword", + "test": "other value", + "email": "test@rudderstack.com", + "logins": 5, + "medium": "medium", + "source": "google", + "content": "some content", + "category": "SampleIdentify", + "createdAt": 1599264000 + } + } + ], + "api_key": "4c7ed7573eb73517ee4c26ed4bde9a85", + "options": { + "min_id_length": 1 + } + } + }, + "type": "REST", + "files": {}, + "method": "POST", + "params": {}, + "headers": { + "Content-Type": "application/json" + }, + "version": "1", + "endpoint": "https://api.eu.amplitude.com/2/httpapi" + }, + "metadata": { + "job_id": 1 + }, + "destination": { + "ID": "a", + "url": "a", + "Config": { + "residencyServer": "EU" + } + } + } + ], [ { "message": { diff --git a/test/__tests__/data/am_batch_output.json b/test/__tests__/data/am_batch_output.json index dac6400585..32735b000f 100644 --- a/test/__tests__/data/am_batch_output.json +++ b/test/__tests__/data/am_batch_output.json @@ -1,4 +1,18 @@ [ + [ + { + "batched": false, + "error": "Both userId and deviceId cannot be undefined", + "metadata": { + "job_id": 1 + }, + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation" + }, + "statusCode": 400 + } + ], [ { "batchedRequest": { @@ -108,7 +122,9 @@ "JSON_ARRAY": {}, "FORM": { "api_key": "4c7ed7573eb73517ee4c26ed4bde9a85", - "mapping": ["{\"global_user_id\":\"newUserIdAlias\",\"user_id\":\"sampleusrRudder3\"}"] + "mapping": [ + "{\"global_user_id\":\"newUserIdAlias\",\"user_id\":\"sampleusrRudder3\"}" + ] }, "JSON": {} }, @@ -361,7 +377,9 @@ "JSON_ARRAY": {}, "FORM": { "api_key": "4c7ed7573eb73517ee4c26ed4bde9a85", - "mapping": ["{\"global_user_id\":\"newUserIdAlias\",\"user_id\":\"sampleusrRudder3\"}"] + "mapping": [ + "{\"global_user_id\":\"newUserIdAlias\",\"user_id\":\"sampleusrRudder3\"}" + ] }, "JSON": {} }, @@ -687,14 +705,29 @@ "DisplayName": "Braze", "Config": { "destConfig": { - "android": ["useNativeSDK"], - "defaultConfig": ["appKey", "dataCenter", "restApiKey"], - "ios": ["useNativeSDK"], - "web": ["useNativeSDK"] + "android": [ + "useNativeSDK" + ], + "defaultConfig": [ + "appKey", + "dataCenter", + "restApiKey" + ], + "ios": [ + "useNativeSDK" + ], + "web": [ + "useNativeSDK" + ] }, "excludeKeys": [], - "includeKeys": ["appKey", "dataCenter"], - "secretKeys": ["restApiKey"], + "includeKeys": [ + "appKey", + "dataCenter" + ], + "secretKeys": [ + "restApiKey" + ], "supportedSourceTypes": [ "android", "ios", @@ -760,7 +793,9 @@ "JSON_ARRAY": {}, "FORM": { "api_key": "4c7ed7573eb73517ee4c26ed4bde9a85", - "mapping": ["{\"global_user_id\":\"newUserIdAlias\",\"user_id\":\"sampleusrRudder3\"}"] + "mapping": [ + "{\"global_user_id\":\"newUserIdAlias\",\"user_id\":\"sampleusrRudder3\"}" + ] }, "JSON": {} }, @@ -1043,7 +1078,9 @@ "JSON_ARRAY": {}, "FORM": { "api_key": "4c7ed7573eb73517ee4c26ed4bde9a85", - "mapping": ["{\"global_user_id\":\"newUserIdAlias\",\"user_id\":\"sampleusrRudder3\"}"] + "mapping": [ + "{\"global_user_id\":\"newUserIdAlias\",\"user_id\":\"sampleusrRudder3\"}" + ] }, "JSON": {} }, @@ -1189,4 +1226,4 @@ } } ] -] +] \ No newline at end of file diff --git a/test/__tests__/data/am_input.json b/test/__tests__/data/am_input.json index 664894f7f5..3e5cde2cca 100644 --- a/test/__tests__/data/am_input.json +++ b/test/__tests__/data/am_input.json @@ -1,4 +1,214 @@ [ + { + "message": { + "type": "track", + "sentAt": "2020-08-14T05:30:30.118Z", + "context": { + "source": "test", + "traits": { + "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1" + }, + "library": { + "name": "rudder-sdk-ruby-sync", + "version": "1.0.6" + } + }, + "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", + "timestamp": "2020-08-14T05:30:30.118Z", + "properties": { + "tax": 2, + "total": 27.5, + "coupon": "hasbros", + "revenue": 48, + "revenue_type": "Purchased", + "quantity": 2, + "currency": "USD", + "discount": 2.5, + "order_id": "50314b8e9bcf000000000000", + "shipping": 3, + "subtotal": 22.5, + "affiliation": "Google Store", + "checkout_id": "fksdjfsdjfisjf9sdfjsd9f" + }, + "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", + "integrations": { + "S3": false, + "All": true + } + }, + "destination": { + "Config": { + "apiKey": "abcde", + "groupTypeTrait": "email", + "groupValueTrait": "age", + "trackProductsOnce": true, + "trackRevenuePerProduct": false + } + } + }, + { + "message": { + "type": "UNSUPPORTED-TYPE", + "event": "Order Completed", + "sentAt": "2020-08-14T05:30:30.118Z", + "context": {}, + "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", + "timestamp": "2020-08-14T05:30:30.118Z", + "properties": {}, + "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", + "integrations": { + "S3": false, + "All": true + } + }, + "destination": { + "Config": { + "groupTypeTrait": "email", + "apiKey": "abcde", + "groupValueTrait": "age", + "trackProductsOnce": true, + "trackRevenuePerProduct": false + } + } + }, + { + "message": { + "event": "Order Completed", + "sentAt": "2020-08-14T05:30:30.118Z", + "context": {}, + "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", + "timestamp": "2020-08-14T05:30:30.118Z", + "properties": {}, + "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", + "integrations": { + "S3": false, + "All": true + } + }, + "destination": { + "Config": { + "groupTypeTrait": "email", + "groupValueTrait": "age", + "trackProductsOnce": true, + "trackRevenuePerProduct": false + } + } + }, + { + "message": { + "type": "track", + "event": "Order Completed", + "sentAt": "2020-08-14T05:30:30.118Z", + "context": { + "source": "test", + "traits": { + "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1" + }, + "library": { + "name": "rudder-sdk-ruby-sync", + "version": "1.0.6" + } + }, + "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", + "timestamp": "2020-08-14T05:30:30.118Z", + "properties": { + "tax": 2, + "total": 27.5, + "coupon": "hasbros", + "revenue": 48, + "revenue_type": "Purchased", + "quantity": 2, + "currency": "USD", + "discount": 2.5, + "order_id": "50314b8e9bcf000000000000", + "shipping": 3, + "subtotal": 22.5, + "affiliation": "Google Store", + "checkout_id": "fksdjfsdjfisjf9sdfjsd9f" + }, + "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", + "integrations": { + "S3": false, + "All": true + } + }, + "destination": { + "Config": { + "apiKey": "abcde", + "groupTypeTrait": "email", + "groupValueTrait": "age", + "trackProductsOnce": true, + "trackRevenuePerProduct": false + } + } + }, + { + "message": { + "type": "track", + "event": "Order Completed", + "sentAt": "2020-08-14T05:30:30.118Z", + "context": { + "source": "test", + "traits": { + "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1" + }, + "library": { + "name": "rudder-sdk-ruby-sync", + "version": "1.0.6" + } + }, + "messageId": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", + "timestamp": "2020-08-14T05:30:30.118Z", + "properties": { + "tax": 2, + "total": 27.5, + "coupon": "hasbros", + "revenue": 48, + "quantity": 2, + "currency": "USD", + "discount": 2.5, + "order_id": "50314b8e9bcf000000000000", + "products": [ + { + "sku": "45790-32", + "url": "https://www.example.com/product/path", + "name": "Monopoly: 3rd Edition", + "price": 19, + "category": "Games", + "quantity": 1, + "image_url": "https:///www.example.com/product/path.jpg", + "product_id": "507f1f77bcf86cd799439011" + }, + { + "sku": "46493-32", + "name": "Uno Card Game", + "price": 3, + "category": "Games", + "quantity": 2, + "product_id": "505bd76785ebb509fc183733" + } + ], + "shipping": 3, + "subtotal": 22.5, + "affiliation": "Google Store", + "checkout_id": "fksdjfsdjfisjf9sdfjsd9f" + }, + "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1", + "integrations": { + "S3": false, + "All": true + } + }, + "destination": { + "Config": { + "apiKey": "abcde", + "groupTypeTrait": "email", + "groupValueTrait": "age", + "trackProductsOnce": true, + "trackRevenuePerProduct": false + } + } + }, { "message": { "channel": "web", @@ -629,6 +839,91 @@ } } }, + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.1.5" + }, + "traits": { + "name": "Shehan Study", + "category": "SampleIdentify", + "email": "test@rudderstack.com", + "plan": "Open source", + "logins": 5, + "createdAt": 1599264000 + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.1.5" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36", + "locale": "en-US", + "os": { + "name": "", + "version": "" + }, + "screen": { + "density": 0.8999999761581421 + }, + "campaign": { + "source": "google", + "medium": "medium", + "term": "keyword", + "content": "some content", + "name": "some campaign", + "test": "other value" + }, + "page": { + "path": "/destinations/amplitude", + "referrer": "", + "search": "", + "title": "", + "url": "https://docs.rudderstack.com/destinations/amplitude", + "category": "destination", + "initial_referrer": "https://docs.rudderstack.com", + "initial_referring_domain": "docs.rudderstack.com" + } + }, + "type": "group", + "messageId": "e5034df0-a404-47b4-a463-76df99934fea", + "originalTimestamp": "2020-10-20T07:54:58.983Z", + "anonymousId": "my-anonymous-id-new", + "userId": "sampleusrRudder3", + "integrations": { + "All": true, + "Amplitude": { + "groups": { + "group_type": "Company", + "group_value": "ABC" + } + } + }, + "groupId": "Sample_groupId23", + "traits": { + "KEY_3": { + "CHILD_KEY_92": "value_95", + "CHILD_KEY_102": "value_103" + }, + "KEY_2": { + "CHILD_KEY_92": "value_95", + "CHILD_KEY_102": "value_103" + }, + "name_trait": "Company", + "value_trait": "ABC" + }, + "sentAt": "2020-10-20T07:54:58.983Z" + }, + "destination": { + "Config": { + "apiKey": "abcde" + } + } + }, { "message": { "channel": "web", @@ -698,7 +993,7 @@ "CHILD_KEY_102": "value_103" }, "name_trait": "Company", - "value_trait": "Comapny-ABC" + "value_trait": "ABC" }, "sentAt": "2020-10-20T07:54:58.983Z" }, @@ -779,7 +1074,9 @@ "CHILD_KEY_102": "value_103" }, "name_trait": "Company", - "value_trait": ["Comapny-ABC"] + "value_trait": [ + "ABC" + ] }, "sentAt": "2020-10-20T07:54:58.983Z" }, @@ -3173,7 +3470,7 @@ "CHILD_KEY_102": "value_103" }, "name_trait": "Company", - "value_trait": "Comapny-ABC" + "value_trait": "ABC" }, "sentAt": "2020-10-20T07:54:58.983Z" }, @@ -3718,7 +4015,7 @@ "CHILD_KEY_102": "value_103" }, "name_trait": "Company", - "value_trait": "Comapny-ABC" + "value_trait": "ABC" }, "sentAt": "2020-10-20T07:54:58.983Z" }, @@ -3965,6 +4262,69 @@ } } }, + { + "message": { + "anonymousId": "5d205961641ee6c5", + "channel": "mobile", + "context": { + "app": { + "build": "6", + "name": "Sample Kotlin", + "namespace": "com.example.testapp1mg", + "version": "1.2" + }, + "device": { + "id": "5d205961641ee6c5", + "manufacturer": "Google", + "model": "Android SDK built for x86", + "name": "generic_x86", + "type": "Android" + }, + "library": { + "name": "com.rudderstack.android.sdk.core", + "version": "1.7.0" + }, + "locale": "en-US", + "network": { + "carrier": "Android", + "bluetooth": false, + "cellular": true, + "wifi": true + }, + "os": { + "name": "Android", + "version": "7.1.1" + }, + "screen": { + "density": 440, + "height": 2148, + "width": 1080 + }, + "sessionId": "1662393792", + "timezone": "Asia/Kolkata", + "traits": { + "anonymousId": "5d205961641ee6c5", + "id": "User Android", + "userId": "User Android" + }, + "userAgent": "Dalvik/2.1.0 (Linux; U; Android 7.1.1; Android SDK built for x86 Build/NYC)" + }, + "integrations": { + "All": true + }, + "messageId": "1662393883248-509420bf-b812-4f8d-bdb2-8c811bfde87f", + "properties": { + }, + "originalTimestamp": "2022-09-05T16:04:43.250Z", + "type": "screen", + "userId": "User Android" + }, + "destination": { + "Config": { + "apiKey": "abcde" + } + } + }, { "message": { "channel": "web", @@ -4185,7 +4545,7 @@ "CHILD_KEY_102": "value_103" }, "name_trait": "Company", - "value_trait": "Comapny-ABC" + "value_trait": "ABC" }, "sentAt": "2020-10-20T07:54:58.983Z" }, @@ -4464,7 +4824,6 @@ "search": "", "title": "", "url": "https://docs.rudderstack.com/destinations/amplitude", - "category": "destination", "initial_referrer": "https://docs.rudderstack.com", "initial_referring_domain": "docs.rudderstack.com" }, @@ -4474,15 +4833,14 @@ "event_id": 2 } }, - "name": "ApplicationLoaded", "sentAt": "2019-10-14T11:15:53.296Z" }, "destination": { "Config": { "apiKey": "abcde", - "useUserDefinedPageEventName": true, + "useUserDefinedPageEventName": false, "userProvidedPageEventString": "Viewed {{context.page.title}} event." } } } -] +] \ No newline at end of file diff --git a/test/__tests__/data/am_output.json b/test/__tests__/data/am_output.json index b82df8ae0d..34471f4922 100644 --- a/test/__tests__/data/am_output.json +++ b/test/__tests__/data/am_output.json @@ -1,4 +1,138 @@ [ + { + "error": "Event not present. Please send event field" + }, + { + "error": "message type not supported" + }, + { + "error": "No API Key is Found. Please Configure API key from dashbaord" + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.amplitude.com/2/httpapi", + "headers": { + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "api_key": "abcde", + "events": [ + { + "device_id": "50be5c78-6c3f-4b60-be84-97805a316fb1", + "library": "rudderstack", + "event_type": "Order Completed", + "insert_id": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", + "event_properties": { + "tax": 2, + "total": 27.5, + "coupon": "hasbros", + "currency": "USD", + "discount": 2.5, + "order_id": "50314b8e9bcf000000000000", + "revenue_type": "Purchased", + "shipping": 3, + "subtotal": 22.5, + "affiliation": "Google Store", + "checkout_id": "fksdjfsdjfisjf9sdfjsd9f" + }, + "revenueType": "Purchased", + "price": 48, + "quantity": 1, + "revenue": 48, + "time": 1597383030118, + "user_properties": { + "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1" + }, + "session_id": -1 + } + ], + "options": { + "min_id_length": 1 + } + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "50be5c78-6c3f-4b60-be84-97805a316fb1" + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.amplitude.com/2/httpapi", + "headers": { + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "api_key": "abcde", + "events": [ + { + "device_id": "50be5c78-6c3f-4b60-be84-97805a316fb1", + "library": "rudderstack", + "event_type": "Order Completed", + "insert_id": "7208bbb6-2c4e-45bb-bf5b-ad426f3593e9", + "event_properties": { + "tax": 2, + "total": 27.5, + "coupon": "hasbros", + "currency": "USD", + "discount": 2.5, + "order_id": "50314b8e9bcf000000000000", + "products": [ + { + "category": "Games", + "image_url": "https:///www.example.com/product/path.jpg", + "name": "Monopoly: 3rd Edition", + "price": 19, + "product_id": "507f1f77bcf86cd799439011", + "quantity": 1, + "sku": "45790-32", + "url": "https://www.example.com/product/path" + }, + { + "category": "Games", + "name": "Uno Card Game", + "price": 3, + "product_id": "505bd76785ebb509fc183733", + "quantity": 2, + "sku": "46493-32" + } + ], + "shipping": 3, + "subtotal": 22.5, + "affiliation": "Google Store", + "checkout_id": "fksdjfsdjfisjf9sdfjsd9f" + }, + "revenueType": "Purchased", + "price": 48, + "quantity": 1, + "revenue": 48, + "time": 1597383030118, + "user_properties": { + "anonymousId": "50be5c78-6c3f-4b60-be84-97805a316fb1" + }, + "session_id": -1 + } + ], + "options": { + "min_id_length": 1 + } + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "50be5c78-6c3f-4b60-be84-97805a316fb1" + }, { "version": "1", "type": "REST", @@ -21,7 +155,7 @@ "app_name": "RudderLabs JavaScript SDK", "app_version": "1.0.0", "language": "en-US", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "insert_id": "84e26acc-56a5-4835-8233-591137fca468", "ip": "0.0.0.0", "user_properties": { @@ -77,7 +211,7 @@ "app_name": "RudderLabs JavaScript SDK", "app_version": "1.0.0", "language": "en-US", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "insert_id": "84e26acc-56a5-4835-8233-591137fca468", "ip": "0.0.0.0", "user_properties": { @@ -137,7 +271,7 @@ "app_name": "RudderLabs JavaScript SDK", "app_version": "1.0.0", "language": "en-US", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "event_type": "$identify", "user_properties": { "anonymousId": "123456", @@ -202,7 +336,7 @@ "initial_referring_domain": "docs.rudderstack.com", "initial_referrer": "https://docs.rudderstack.com" }, - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "ip": "1.1.1.1", "time": 1571051718299, "user_id": "12345", @@ -261,7 +395,7 @@ "initial_referring_domain": "docs.rudderstack.com", "initial_referrer": "https://docs.rudderstack.com" }, - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "ip": "1.1.1.1", "groups": { "Company": "ABC" @@ -312,7 +446,7 @@ "app_version": "1.0.0", "language": "en-US", "event_type": "test track event", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "event_properties": { "user_actual_role": "system_admin", "user_actual_id": 12345, @@ -366,7 +500,7 @@ "app_name": "RudderLabs JavaScript SDK", "app_version": "1.0.0", "language": "en-US", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "event_type": "$identify", "user_properties": { "anonymousId": "123456", @@ -419,7 +553,7 @@ "timestamp": "2020-08-28 09:00:00" }, "event_type": "$identify", - "session_id": "1598597129", + "session_id": 1598597129, "time": 0, "user_id": "ubcdfghi0001" } @@ -450,7 +584,7 @@ "events": [ { "device_id": "123456", - "session_id": "1598597129", + "session_id": 1598597129, "event_type": "$identify", "library": "rudderstack", "user_properties": { @@ -555,6 +689,83 @@ "files": {}, "userId": "123456" }, + [ + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.amplitude.com/2/httpapi", + "headers": { + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "api_key": "abcde", + "events": [ + { + "os_name": "Chrome", + "os_version": "85.0.4183.121", + "platform": "Web", + "library": "rudderstack", + "device_model": "Mac", + "device_id": "my-anonymous-id-new", + "app_name": "RudderLabs JavaScript SDK", + "app_version": "1.1.5", + "language": "en-US", + "event_type": "$identify", + "groups": { + "Company": "ABC" + }, + "user_properties": { + "Company": "ABC", + "utm_content": "some content", + "utm_medium": "medium", + "utm_name": "some campaign", + "utm_source": "google", + "utm_term": "keyword", + "utm_test": "other value", + "initial_referring_domain": "docs.rudderstack.com", + "initial_referrer": "https://docs.rudderstack.com" + }, + "time": 1603180498983, + "user_id": "sampleusrRudder3", + "session_id": -1 + } + ], + "options": { + "min_id_length": 1 + } + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "my-anonymous-id-new" + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.amplitude.com/groupidentify", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "api_key": "abcde", + "identification": [ + "{\"group_type\":\"Company\",\"group_value\":\"ABC\"}" + ] + } + }, + "files": {}, + "userId": "my-anonymous-id-new" + } + ], [ { "version": "1", @@ -581,7 +792,7 @@ "language": "en-US", "event_type": "$identify", "user_properties": { - "Company": "Comapny-ABC", + "Company": "ABC", "utm_content": "some content", "utm_medium": "medium", "utm_name": "some campaign", @@ -592,7 +803,7 @@ "initial_referrer": "https://docs.rudderstack.com" }, "groups": { - "Company": "Comapny-ABC" + "Company": "ABC" }, "time": 1603180498983, "user_id": "sampleusrRudder3", @@ -624,7 +835,7 @@ "FORM": { "api_key": "abcde", "identification": [ - "{\"group_type\":\"Company\",\"group_value\":\"Comapny-ABC\",\"group_properties\":{\"KEY_3\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"KEY_2\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"name_trait\":\"Company\",\"value_trait\":\"Comapny-ABC\"}}" + "{\"group_type\":\"Company\",\"group_value\":\"ABC\",\"group_properties\":{\"KEY_3\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"KEY_2\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"name_trait\":\"Company\",\"value_trait\":\"ABC\"}}" ] } }, @@ -2244,7 +2455,7 @@ "event_type": "Order Completed", "user_id": "userID123", "revenueType": "Purchased", - "price": 25, + "price": 25.0, "quantity": 2, "revenue": 48, "time": 1597383030118, @@ -2886,7 +3097,7 @@ "app_name": "RudderLabs JavaScript SDK", "app_version": "1.0.0", "language": "en-US", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "event_type": "$identify", "device_brand": "testBrand", "device_manufacturer": "testManufacturer", @@ -3031,7 +3242,7 @@ "app_name": "RudderLabs JavaScript SDK", "app_version": "1.0.0", "language": "en-US", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "insert_id": "84e26acc-56a5-4835-8233-591137fca468", "ip": "0.0.0.0", "user_properties": { @@ -3091,7 +3302,7 @@ "language": "en-US", "event_type": "$identify", "user_properties": { - "Company": "Comapny-ABC", + "Company": "ABC", "utm_content": "some content", "utm_medium": "medium", "utm_name": "some campaign", @@ -3102,7 +3313,7 @@ "initial_referrer": "https://docs.rudderstack.com" }, "groups": { - "Company": "Comapny-ABC" + "Company": "ABC" }, "time": 1603180498983, "user_id": "sampleusrRudder3", @@ -3134,7 +3345,7 @@ "FORM": { "api_key": "abcde", "identification": [ - "{\"group_type\":\"Company\",\"group_value\":\"Comapny-ABC\",\"group_properties\":{\"KEY_3\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"KEY_2\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"name_trait\":\"Company\",\"value_trait\":\"Comapny-ABC\"}}" + "{\"group_type\":\"Company\",\"group_value\":\"ABC\",\"group_properties\":{\"KEY_3\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"KEY_2\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"name_trait\":\"Company\",\"value_trait\":\"ABC\"}}" ] } }, @@ -3483,11 +3694,11 @@ "utm_content": "some content", "utm_name": "some campaign", "utm_test": "other value", - "Company": "Comapny-ABC" + "Company": "ABC" }, "event_type": "$identify", "groups": { - "Company": "Comapny-ABC" + "Company": "ABC" }, "time": 1603180498983, "user_id": "sampleusrRudder3", @@ -3520,7 +3731,7 @@ "FORM": { "api_key": "abcde", "identification": [ - "{\"group_type\":\"Company\",\"group_value\":\"Comapny-ABC\",\"group_properties\":{\"KEY_3\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"KEY_2\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"name_trait\":\"Company\",\"value_trait\":\"Comapny-ABC\"}}" + "{\"group_type\":\"Company\",\"group_value\":\"ABC\",\"group_properties\":{\"KEY_3\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"KEY_2\":{\"CHILD_KEY_92\":\"value_95\",\"CHILD_KEY_102\":\"value_103\"},\"name_trait\":\"Company\",\"value_trait\":\"ABC\"}}" ] } }, @@ -3603,7 +3814,7 @@ "initial_referring_domain": "docs.rudderstack.com", "name": "ApplicationLoaded" }, - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "insert_id": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", "ip": "1.1.1.1", "event_id": 2, @@ -3702,6 +3913,56 @@ "files": {}, "userId": "5d205961641ee6c5" }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.amplitude.com/2/httpapi", + "headers": { + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "api_key": "abcde", + "events": [ + { + "os_name": "Android", + "os_version": "7.1.1", + "device_model": "Android SDK built for x86", + "device_manufacturer": "Google", + "device_id": "5d205961641ee6c5", + "carrier": "Android", + "app_name": "Sample Kotlin", + "app_version": "1.2", + "platform": "Android", + "language": "en-US", + "event_properties": {}, + "insert_id": "1662393883248-509420bf-b812-4f8d-bdb2-8c811bfde87f", + "user_properties": { + "anonymousId": "5d205961641ee6c5", + "id": "User Android", + "userId": "User Android" + }, + "event_type": "Viewed Screen", + "user_id": "User Android", + "device_brand": "Google", + "time": 1662393883250, + "session_id": 1662393792, + "library": "rudderstack" + } + ], + "options": { + "min_id_length": 1 + } + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "5d205961641ee6c5" + }, { "version": "1", "type": "REST", @@ -3741,7 +4002,7 @@ "event_type": "$identify", "time": 1571043797562, "user_id": "123456", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": 1662393792, "country": "India", "city": "kolkata", "library": "rudderstack" @@ -3847,7 +4108,7 @@ "initial_referring_domain": "docs.rudderstack.com", "name": "ApplicationLoaded" }, - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "insert_id": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", "ip": "1.1.1.1", "event_id": 2, @@ -3907,7 +4168,7 @@ "initial_referring_domain": "docs.rudderstack.com", "name": "ApplicationLoaded" }, - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "insert_id": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", "ip": "1.1.1.1", "event_id": 2, @@ -3967,7 +4228,7 @@ "initial_referring_domain": "docs.rudderstack.com", "name": "ApplicationLoaded" }, - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "insert_id": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", "ip": "1.1.1.1", "event_id": 2, @@ -4015,19 +4276,17 @@ "app_name": "RudderLabs JavaScript SDK", "app_version": "1.0.0", "language": "en-US", - "event_type": "Viewed Home Page event.", + "event_type": "Viewed Page", "event_properties": { "path": "/destinations/amplitude", "referrer": "", "search": "", "title": "", "url": "https://docs.rudderstack.com/destinations/amplitude", - "category": "destination", "initial_referrer": "https://docs.rudderstack.com", - "initial_referring_domain": "docs.rudderstack.com", - "name": "ApplicationLoaded" + "initial_referring_domain": "docs.rudderstack.com" }, - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "insert_id": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", "ip": "1.1.1.1", "event_id": 2, @@ -4053,4 +4312,4 @@ "files": {}, "userId": "00000000000000000000000000" } -] +] \ No newline at end of file diff --git a/test/__tests__/data/am_router_output.json b/test/__tests__/data/am_router_output.json index 5c9e23840a..bfccb478b3 100644 --- a/test/__tests__/data/am_router_output.json +++ b/test/__tests__/data/am_router_output.json @@ -24,7 +24,7 @@ "app_name": "RudderLabs JavaScript SDK", "app_version": "1.0.0", "language": "en-US", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "insert_id": "84e26acc-56a5-4835-8233-591137fca468", "city": "kolkata", "country": "India", @@ -109,7 +109,7 @@ "initial_referring_domain": "docs.rudderstack.com", "name": "ApplicationLoaded" }, - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", + "session_id": -1, "insert_id": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", "ip": "1.1.1.1", "user_properties": { From 9bc0fd8efcee44871a190bd6cb9e89c5cf035ff8 Mon Sep 17 00:00:00 2001 From: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> Date: Thu, 2 Nov 2023 19:31:33 +0530 Subject: [PATCH 66/98] feat: add new destination tiktok_audience (#2710) * feat: add new destination tiktok_audience * remove log * refactor code * chore: refactor workflows * add test cases * chore: refactore code * refactor code and add negative test case --------- Co-authored-by: Dilip Kola Co-authored-by: mihir-4116 Co-authored-by: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> --- src/cdk/v2/bindings/default.js | 6 + .../v2/destinations/tiktok_audience/config.js | 9 + .../tiktok_audience/procWorkflow.yaml | 67 ++ .../tiktok_audience/rtWorkflow.yaml | 32 + src/features.json | 1 + .../tiktok_audience/processor/data.ts | 854 ++++++++++++++++++ .../tiktok_audience/router/data.ts | 833 +++++++++++++++++ 7 files changed, 1802 insertions(+) create mode 100644 src/cdk/v2/destinations/tiktok_audience/config.js create mode 100644 src/cdk/v2/destinations/tiktok_audience/procWorkflow.yaml create mode 100644 src/cdk/v2/destinations/tiktok_audience/rtWorkflow.yaml create mode 100644 test/integrations/destinations/tiktok_audience/processor/data.ts create mode 100644 test/integrations/destinations/tiktok_audience/router/data.ts diff --git a/src/cdk/v2/bindings/default.js b/src/cdk/v2/bindings/default.js index 0bba7210f0..b86b6d2b63 100644 --- a/src/cdk/v2/bindings/default.js +++ b/src/cdk/v2/bindings/default.js @@ -1,3 +1,4 @@ +const crypto = require('crypto'); const { InstrumentationError, ConfigurationError, @@ -47,7 +48,12 @@ function assertHttpResp(processedResponse, message) { } } +function MD5(data) { + return crypto.createHash('md5').update(data).digest('hex'); +} + module.exports = { + MD5, isValidEventType, assert, assertConfig, diff --git a/src/cdk/v2/destinations/tiktok_audience/config.js b/src/cdk/v2/destinations/tiktok_audience/config.js new file mode 100644 index 0000000000..853f372505 --- /dev/null +++ b/src/cdk/v2/destinations/tiktok_audience/config.js @@ -0,0 +1,9 @@ +const ACTION_MAP = { + add: 'add', + remove: 'delete', +}; +const SHA256_TRAITS = ['IDFA_SHA256', 'AAID_SHA256', 'EMAIL_SHA256', 'PHONE_SHA256']; +module.exports = { + ACTION_MAP, + SHA256_TRAITS, +}; diff --git a/src/cdk/v2/destinations/tiktok_audience/procWorkflow.yaml b/src/cdk/v2/destinations/tiktok_audience/procWorkflow.yaml new file mode 100644 index 0000000000..cd84ecbc87 --- /dev/null +++ b/src/cdk/v2/destinations/tiktok_audience/procWorkflow.yaml @@ -0,0 +1,67 @@ + +bindings: + - name: EventType + path: ../../../../constants + - path: ../../bindings/jsontemplate + exportAll: true + - path: ./config + - name: removeUndefinedAndNullValues + path: ../../../../v0/util + - name: defaultRequestConfig + path: ../../../../v0/util + +steps: + - name: validateInput + template: | + let messageType = .message.type; + $.assert(.message.type, "message Type is not present. Aborting message."); + $.assert(.message.type.toLowerCase() ==='audiencelist', "Event type " + .message.type.toLowerCase() + " is not supported. Aborting message."); + $.assert(.message.properties, "Message properties is not present. Aborting message."); + $.assert(.message.properties.listData, "listData is not present inside properties. Aborting message."); + $.assert($.containsAll(Object.keys(.message.properties.listData), ["add", "remove"]), "unsupported action type. Aborting message.") + + - name: prepareIdentifiersList + description: | + Populate list of identifiers to be updated + template: | + const destinationFields = .message.context.destinationFields.split(", ") + const audienceId = .message.context.externalId[0].type.split("-")[1]; + const isHashRequired = .destination.Config.isHashRequired; + const advertiserIds = .metadata.secret.advertiserIds; + const hashTraits = function(traits) { + traits@trait.(destinationFields@destinationField.( + trait[destinationField] ? { + id: isHashRequired ? + destinationField in $.SHA256_TRAITS ? + $.SHA256(trait[destinationField]) : $.MD5(trait[destinationField]) + : trait[destinationField], + audience_ids:[audienceId] + } : {} + )[]) + }; + const listData = .message.properties.listData; + const actions = Object.keys(listData) + actions@action.({ + "batch_data": hashTraits(listData[action]), + "id_schema": destinationFields, + "advertiser_ids": advertiserIds, + "action": $.ACTION_MAP[action], + })[] + + + - name: buildResponseForProcessTransformation + description: build response + template: | + const accessToken = .metadata.secret.accessToken + const anonymousId = .message.anonymousId; + $.outputs.prepareIdentifiersList@body.( + let response = $.defaultRequestConfig(); + response.body.JSON = body; + response.userId = anonymousId; + response.endpoint = "https://business-api.tiktok.com/open_api/v1.3/segment/mapping/"; + response.headers = { + "Access-Token": accessToken, + "Content-Type": "application/json" + }; + response + ) diff --git a/src/cdk/v2/destinations/tiktok_audience/rtWorkflow.yaml b/src/cdk/v2/destinations/tiktok_audience/rtWorkflow.yaml new file mode 100644 index 0000000000..3db4c405ad --- /dev/null +++ b/src/cdk/v2/destinations/tiktok_audience/rtWorkflow.yaml @@ -0,0 +1,32 @@ +bindings: + - name: handleRtTfSingleEventError + path: ../../../../v0/util/index + +steps: + - name: validateInput + template: | + $.assert(Array.isArray(^) && ^.length > 0, "Invalid event array") + + - name: transform + externalWorkflow: + path: ./procWorkflow.yaml + loopOverInput: true + + - name: successfulEvents + debug: true + template: | + $.outputs.transform#idx{"output" in .}.({ + "batchedRequest": .output, + "batched": true, + "destination": ^[idx].destination, + "metadata": ^[idx].metadata[], + "statusCode": 200 + })[] + - name: failedEvents + template: | + $.outputs.transform#idx.error.( + $.handleRtTfSingleEventError(^[idx], .originalError ?? ., {}) + )[] + - name: finalPayload + template: | + [...$.outputs.failedEvents, ...$.outputs.successfulEvents] diff --git a/src/features.json b/src/features.json index 7de214ab39..fb5b0735f0 100644 --- a/src/features.json +++ b/src/features.json @@ -58,6 +58,7 @@ "OPTIMIZELY_FULLSTACK": true, "TWITTER_ADS": true, "CLEVERTAP": true, + "TIKTOK_AUDIENCE": true, "ORTTO": true } } diff --git a/test/integrations/destinations/tiktok_audience/processor/data.ts b/test/integrations/destinations/tiktok_audience/processor/data.ts new file mode 100644 index 0000000000..a715aa2f72 --- /dev/null +++ b/test/integrations/destinations/tiktok_audience/processor/data.ts @@ -0,0 +1,854 @@ +export const data = [ + { + "name": "tiktok_audience", + "description": "Test 1: Containing SHA256 traits only", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "EMAIL_SHA256": "alex@email.com" + }, + { + "EMAIL_SHA256": "amy@abc.com" + }, + { + "EMAIL_SHA256": "van@abc.com" + } + ], + "remove": [ + { + "EMAIL_SHA256": "alex@email.com" + }, + { + "EMAIL_SHA256": "amy@abc.com" + }, + { + "EMAIL_SHA256": "van@abc.com" + } + ] + } + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + }, + "externalId": [ + { + "type": "TIKTOK_AUDIENCE-23856594064540489", + "identifierType": "EMAIL_SHA256" + } + ], + "destinationFields": "EMAIL_SHA256" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "metadata": { + "jobId": 1, + "secret": { + "accessToken": "dummyAccessToken", + "advertiserIds": [ + "dummyAdverTiserID" + ] + } + }, + "destination": { + "DestinationDefinition": { + "Config": { + "cdkV2Enabled": true + } + }, + "Config": { + "isHashRequired": true, + "registerDeviceOrBrowserApiKey": true, + "apiKey": "intercomApiKey", + "appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0", + "collectContext": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/segment/mapping/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "batch_data": [ + [ + { + "id": "ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b", + "audience_ids": [ + "23856594064540489" + ] + } + ], + [ + { + "id": "49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579", + "audience_ids": [ + "23856594064540489" + ] + } + ], + [ + { + "id": "2048acfa84a01121060ca2fc8a673a76d427176dc37224d4408c21973bd90e5c", + "audience_ids": [ + "23856594064540489" + ] + } + ] + ], + "id_schema": [ + "EMAIL_SHA256" + ], + "advertiser_ids": [ + "dummyAdverTiserID" + ], + "action": "add" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "jobId": 1, + "secret": { + "accessToken": "dummyAccessToken", + "advertiserIds": [ + "dummyAdverTiserID" + ] + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/segment/mapping/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "batch_data": [ + [ + { + "id": "ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b", + "audience_ids": [ + "23856594064540489" + ] + } + ], + [ + { + "id": "49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579", + "audience_ids": [ + "23856594064540489" + ] + } + ], + [ + { + "id": "2048acfa84a01121060ca2fc8a673a76d427176dc37224d4408c21973bd90e5c", + "audience_ids": [ + "23856594064540489" + ] + } + ] + ], + "id_schema": [ + "EMAIL_SHA256" + ], + "advertiser_ids": [ + "dummyAdverTiserID" + ], + "action": "delete" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "jobId": 1, + "secret": { + "accessToken": "dummyAccessToken", + "advertiserIds": [ + "dummyAdverTiserID" + ] + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_audience", + "description": "Test 2: Containing SHA256 and MD5 traits", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "EMAIL_SHA256": "alex@email.com", + "AAID_MD5": "1234567" + }, + { + "EMAIL_SHA256": "amy@abc.com", + "AAID_MD5": "1234568" + }, + { + "EMAIL_SHA256": "van@abc.com", + "AAID_MD5": "1234569" + } + ], + "remove": [ + { + "EMAIL_SHA256": "alex@email.com", + "AAID_MD5": "1234570" + }, + { + "EMAIL_SHA256": "amy@abc.com", + "AAID_MD5": "1234571" + }, + { + "EMAIL_SHA256": "van@abc.com", + "AAID_MD5": "1234572" + } + ] + } + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + }, + "externalId": [ + { + "type": "TIKTOK_AUDIENCE-23856594064540489", + "identifierType": "EMAIL_SHA256" + } + ], + "destinationFields": "EMAIL_SHA256, AAID_MD5" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "metadata": { + "jobId": 1, + "secret": { + "accessToken": "dummyAccessToken", + "advertiserIds": [ + "dummyAdverTiserID" + ] + } + }, + "destination": { + "DestinationDefinition": { + "Config": { + "cdkV2Enabled": true + } + }, + "Config": { + "isHashRequired": true, + "registerDeviceOrBrowserApiKey": true, + "apiKey": "intercomApiKey", + "appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0", + "collectContext": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/segment/mapping/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "batch_data": [ + [ + { + "id": "ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "fcea920f7412b5da7be0cf42b8c93759", + "audience_ids": [ + "23856594064540489" + ] + } + ], + [ + { + "id": "49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "fe743d8d97aa7dfc6c93ccdc2e749513", + "audience_ids": [ + "23856594064540489" + ] + } + ], + [ + { + "id": "2048acfa84a01121060ca2fc8a673a76d427176dc37224d4408c21973bd90e5c", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "e36a2f90240e9e84483504fd4a704452", + "audience_ids": [ + "23856594064540489" + ] + } + ] + ], + "id_schema": [ + "EMAIL_SHA256", + "AAID_MD5" + ], + "advertiser_ids": [ + "dummyAdverTiserID" + ], + "action": "add" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "jobId": 1, + "secret": { + "accessToken": "dummyAccessToken", + "advertiserIds": [ + "dummyAdverTiserID" + ] + } + }, + "statusCode": 200 + }, + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/segment/mapping/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "batch_data": [ + [ + { + "id": "ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "c1abd65fea29d573ddef1bce925e3276", + "audience_ids": [ + "23856594064540489" + ] + } + ], + [ + { + "id": "49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "7298110702a080dfc6903f13333eb04a", + "audience_ids": [ + "23856594064540489" + ] + } + ], + [ + { + "id": "2048acfa84a01121060ca2fc8a673a76d427176dc37224d4408c21973bd90e5c", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "d9cb68b1fd3b9d32abc5f4cab8b42b68", + "audience_ids": [ + "23856594064540489" + ] + } + ] + ], + "id_schema": [ + "EMAIL_SHA256", + "AAID_MD5" + ], + "advertiser_ids": [ + "dummyAdverTiserID" + ], + "action": "delete" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "jobId": 1, + "secret": { + "accessToken": "dummyAccessToken", + "advertiserIds": [ + "dummyAdverTiserID" + ] + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_audience", + "description": "Test 3: Containing all possible traits", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "EMAIL_SHA256": "alex@email.com", + "PHONE_SHA256": "+129988776655", + "IDFA_SHA256": "1234lkasfjdalj12321", + "AAID_SHA256": "000999OOOQQQQ", + "AAID_MD5": "000999OOOQQQQ", + "IDFA_MD5": "1234lkasfjdalj12321" + }, + { + "EMAIL_SHA256": "amy@abc.com", + "PHONE_SHA256": "+129988776677", + "IDFA_SHA256": "1234lkasfjdalj114455", + "AAID_SHA256": "000999OOOPPPP", + "AAID_MD5": "000999OOOPPPP", + "IDFA_MD5": "1234lkasfjdalj114455" + } + ] + } + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + }, + "externalId": [ + { + "type": "TIKTOK_AUDIENCE-23856594064540489", + "identifierType": "EMAIL_SHA256" + } + ], + "destinationFields": "EMAIL_SHA256, PHONE_SHA256, IDFA_SHA256, AAID_SHA256, AAID_MD, IDFA_MD5" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "metadata": { + "jobId": 1, + "secret": { + "accessToken": "dummyAccessToken", + "advertiserIds": [ + "dummyAdverTiserID" + ] + } + }, + "destination": { + "DestinationDefinition": { + "Config": { + "cdkV2Enabled": true + } + }, + "Config": { + "isHashRequired": true, + "registerDeviceOrBrowserApiKey": true, + "apiKey": "intercomApiKey", + "appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0", + "collectContext": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/segment/mapping/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "batch_data": [ + [ + { + "id": "ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "31e78a3bf9ce2b43316f64fe883a531d6266938091e94e2f2480272481163dee", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "0259f595f7172c8dd692a5c37b4d296939555f862aae8adb964391bdb65006ab", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "b06fbe7a29f33576a792ba3df3c9bf838cd26ea88cf574285fa60dc0234a8485", + "audience_ids": [ + "23856594064540489" + ] + }, + {}, + { + "id": "32ee3d063320815a13e0058c2498ff76", + "audience_ids": [ + "23856594064540489" + ] + } + ], + [ + { + "id": "49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "fb40adc7debbf40e7b45b0a4a91886785dff1a28809276f95f1c44f7045f9b4d", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "e6bbdf34c5f3472f31b2923a26811560a599233f3dea4c9971595c3bb7b1e8dc", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "661125f7d337811256c5b55996b22c89047804dcec494db72659e4be71e03091", + "audience_ids": [ + "23856594064540489" + ] + }, + {}, + { + "id": "94162773066d6ae88b2658dc58ca2317", + "audience_ids": [ + "23856594064540489" + ] + } + ] + ], + "id_schema": [ + "EMAIL_SHA256", + "PHONE_SHA256", + "IDFA_SHA256", + "AAID_SHA256", + "AAID_MD", + "IDFA_MD5" + ], + "advertiser_ids": [ + "dummyAdverTiserID" + ], + "action": "add" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "jobId": 1, + "secret": { + "accessToken": "dummyAccessToken", + "advertiserIds": [ + "dummyAdverTiserID" + ] + } + }, + "statusCode": 200 + } + ] + } + } + }, + { + "name": "tiktok_audience", + "description": "Test 4: Considering some null values", + "feature": "processor", + "module": "destination", + "version": "v0", + "input": { + "request": { + "body": [ + { + "message": { + "userId": "user 1", + "type": "audiencelist", + "properties": { + "listData": { + "add": [ + { + "EMAIL_SHA256": "alex@email.com", + "PHONE_SHA256": "+129988776655", + "AAID_MD5": "000999OOOQQQQ", + "IDFA_MD5": "1234lkasfjdalj12321" + }, + { + "EMAIL_SHA256": "amy@abc.com", + "AAID_SHA256": "000999OOOPPPP", + "AAID_MD5": "000999OOOPPPP", + "IDFA_MD5": "1234lkasfjdalj114455" + } + ] + } + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + }, + "externalId": [ + { + "type": "TIKTOK_AUDIENCE-23856594064540489", + "identifierType": "EMAIL_SHA256" + } + ], + "destinationFields": "EMAIL_SHA256, PHONE_SHA256, IDFA_SHA256, AAID_SHA256, AAID_MD, IDFA_MD5" + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "metadata": { + "jobId": 1, + "secret": { + "accessToken": "dummyAccessToken", + "advertiserIds": [ + "dummyAdverTiserID" + ] + } + }, + "destination": { + "DestinationDefinition": { + "Config": { + "cdkV2Enabled": true + } + }, + "Config": { + "isHashRequired": true, + "registerDeviceOrBrowserApiKey": true, + "apiKey": "intercomApiKey", + "appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0", + "collectContext": false + } + } + } + ] + } + }, + "output": { + "response": { + "status": 200, + "body": [ + { + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://business-api.tiktok.com/open_api/v1.3/segment/mapping/", + "headers": { + "Access-Token": "dummyAccessToken", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "batch_data": [ + [ + { + "id": "ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b", + "audience_ids": [ + "23856594064540489" + ] + }, + { + "id": "31e78a3bf9ce2b43316f64fe883a531d6266938091e94e2f2480272481163dee", + "audience_ids": [ + "23856594064540489" + ] + }, + {}, + {}, + {}, + { + "id": "32ee3d063320815a13e0058c2498ff76", + "audience_ids": [ + "23856594064540489" + ] + } + ], + [ + { + "id": "49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579", + "audience_ids": [ + "23856594064540489" + ] + }, + {}, + {}, + { + "id": "661125f7d337811256c5b55996b22c89047804dcec494db72659e4be71e03091", + "audience_ids": [ + "23856594064540489" + ] + }, + {}, + { + "id": "94162773066d6ae88b2658dc58ca2317", + "audience_ids": [ + "23856594064540489" + ] + } + ] + ], + "id_schema": [ + "EMAIL_SHA256", + "PHONE_SHA256", + "IDFA_SHA256", + "AAID_SHA256", + "AAID_MD", + "IDFA_MD5" + ], + "advertiser_ids": [ + "dummyAdverTiserID" + ], + "action": "add" + }, + "JSON_ARRAY": {}, + "XML": {}, + "FORM": {} + }, + "files": {}, + "userId": "" + }, + "metadata": { + "jobId": 1, + "secret": { + "accessToken": "dummyAccessToken", + "advertiserIds": [ + "dummyAdverTiserID" + ] + } + }, + "statusCode": 200 + } + ] + } + } + } +] \ No newline at end of file diff --git a/test/integrations/destinations/tiktok_audience/router/data.ts b/test/integrations/destinations/tiktok_audience/router/data.ts new file mode 100644 index 0000000000..c8a8b93d30 --- /dev/null +++ b/test/integrations/destinations/tiktok_audience/router/data.ts @@ -0,0 +1,833 @@ +export const data = [ + { + name: 'tiktok_audience', + description: 'Multiple jobs with different metadata', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL_SHA256: 'alex@email.com', + }, + { + EMAIL_SHA256: 'amy@abc.com', + }, + { + EMAIL_SHA256: 'van@abc.com', + }, + ], + remove: [ + { + EMAIL_SHA256: 'alex@email.com', + }, + { + EMAIL_SHA256: 'amy@abc.com', + }, + { + EMAIL_SHA256: 'van@abc.com', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + externalId: [ + { + type: 'TIKTOK_AUDIENCE-23856594064540489', + identifierType: 'EMAIL_SHA256', + }, + ], + destinationFields: 'EMAIL_SHA256', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + metadata: { + jobId: 1, + secret: { + accessToken: 'dummyAccessToken', + advertiserIds: ['dummyAdverTiserID'], + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + isHashRequired: true, + registerDeviceOrBrowserApiKey: true, + apiKey: 'intercomApiKey', + appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0', + collectContext: false, + }, + }, + }, + { + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL_SHA256: 'alex@email.com', + AAID_MD5: '1234567', + }, + { + EMAIL_SHA256: 'amy@abc.com', + AAID_MD5: '1234568', + }, + { + EMAIL_SHA256: 'van@abc.com', + AAID_MD5: '1234569', + }, + ], + remove: [ + { + EMAIL_SHA256: 'alex@email.com', + AAID_MD5: '1234570', + }, + { + EMAIL_SHA256: 'amy@abc.com', + AAID_MD5: '1234571', + }, + { + EMAIL_SHA256: 'van@abc.com', + AAID_MD5: '1234572', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + externalId: [ + { + type: 'TIKTOK_AUDIENCE-23856594064540489', + identifierType: 'EMAIL_SHA256', + }, + ], + destinationFields: 'EMAIL_SHA256, AAID_MD5', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + metadata: { + jobId: 2, + secret: { + accessToken: 'dummyAccessToken', + advertiserIds: ['dummyAdverTiserID'], + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + isHashRequired: true, + registerDeviceOrBrowserApiKey: true, + apiKey: 'intercomApiKey', + appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0', + collectContext: false, + }, + }, + }, + { + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL_SHA256: 'alex@email.com', + PHONE_SHA256: '+129988776655', + IDFA_SHA256: '1234lkasfjdalj12321', + AAID_SHA256: '000999OOOQQQQ', + AAID_MD5: '000999OOOQQQQ', + IDFA_MD5: '1234lkasfjdalj12321', + }, + { + EMAIL_SHA256: 'amy@abc.com', + PHONE_SHA256: '+129988776677', + IDFA_SHA256: '1234lkasfjdalj114455', + AAID_SHA256: '000999OOOPPPP', + AAID_MD5: '000999OOOPPPP', + IDFA_MD5: '1234lkasfjdalj114455', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + externalId: [ + { + type: 'TIKTOK_AUDIENCE-23856594064540489', + identifierType: 'EMAIL_SHA256', + }, + ], + destinationFields: + 'EMAIL_SHA256, PHONE_SHA256, IDFA_SHA256, AAID_SHA256, AAID_MD, IDFA_MD5', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + metadata: { + jobId: 3, + secret: { + accessToken: 'dummyAccessToken', + advertiserIds: ['dummyAdverTiserID'], + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + isHashRequired: true, + registerDeviceOrBrowserApiKey: true, + apiKey: 'intercomApiKey', + appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0', + collectContext: false, + }, + }, + }, + { + message: { + userId: 'user 1', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + EMAIL_SHA256: 'alex@email.com', + PHONE_SHA256: '+129988776655', + AAID_MD5: '000999OOOQQQQ', + IDFA_MD5: '1234lkasfjdalj12321', + }, + { + EMAIL_SHA256: 'amy@abc.com', + AAID_SHA256: '000999OOOPPPP', + AAID_MD5: '000999OOOPPPP', + IDFA_MD5: '1234lkasfjdalj114455', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + externalId: [ + { + type: 'TIKTOK_AUDIENCE-23856594064540489', + identifierType: 'EMAIL_SHA256', + }, + ], + destinationFields: + 'EMAIL_SHA256, PHONE_SHA256, IDFA_SHA256, AAID_SHA256, AAID_MD, IDFA_MD5', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + metadata: { + jobId: 4, + secret: { + accessToken: 'dummyAccessToken', + advertiserIds: ['dummyAdverTiserID'], + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + isHashRequired: true, + registerDeviceOrBrowserApiKey: true, + apiKey: 'intercomApiKey', + appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0', + collectContext: false, + }, + }, + }, + { + message: { + userId: 'user 1', + properties: { + listData: { + add: [ + { + EMAIL_SHA256: 'alex@email.com', + PHONE_SHA256: '+129988776655', + AAID_MD5: '000999OOOQQQQ', + IDFA_MD5: '1234lkasfjdalj12321', + }, + { + EMAIL_SHA256: 'amy@abc.com', + AAID_SHA256: '000999OOOPPPP', + AAID_MD5: '000999OOOPPPP', + IDFA_MD5: '1234lkasfjdalj114455', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + externalId: [ + { + type: 'TIKTOK_AUDIENCE-23856594064540489', + identifierType: 'EMAIL_SHA256', + }, + ], + destinationFields: + 'EMAIL_SHA256, PHONE_SHA256, IDFA_SHA256, AAID_SHA256, AAID_MD, IDFA_MD5', + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + metadata: { + jobId: 1524545, + secret: { + accessToken: 'dummyAccessToken', + advertiserIds: ['dummyAdverTiserID'], + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + isHashRequired: true, + registerDeviceOrBrowserApiKey: true, + apiKey: 'intercomApiKey', + appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0', + collectContext: false, + }, + }, + }, + ], + destType: 'tiktok_audience', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + error: 'message Type is not present. Aborting message.', + batched: false, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + isHashRequired: true, + registerDeviceOrBrowserApiKey: true, + apiKey: 'intercomApiKey', + appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0', + collectContext: false, + }, + }, + metadata: [ + { + jobId: 1524545, + secret: { + accessToken: 'dummyAccessToken', + advertiserIds: ['dummyAdverTiserID'], + }, + }, + ], + statTags: { + destType: 'TIKTOK_AUDIENCE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + }, + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/segment/mapping/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + batch_data: [ + [ + { + id: 'ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b', + audience_ids: ['23856594064540489'], + }, + ], + [ + { + id: '49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579', + audience_ids: ['23856594064540489'], + }, + ], + [ + { + id: '2048acfa84a01121060ca2fc8a673a76d427176dc37224d4408c21973bd90e5c', + audience_ids: ['23856594064540489'], + }, + ], + ], + id_schema: ['EMAIL_SHA256'], + advertiser_ids: ['dummyAdverTiserID'], + action: 'add', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/segment/mapping/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + batch_data: [ + [ + { + id: 'ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b', + audience_ids: ['23856594064540489'], + }, + ], + [ + { + id: '49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579', + audience_ids: ['23856594064540489'], + }, + ], + [ + { + id: '2048acfa84a01121060ca2fc8a673a76d427176dc37224d4408c21973bd90e5c', + audience_ids: ['23856594064540489'], + }, + ], + ], + id_schema: ['EMAIL_SHA256'], + advertiser_ids: ['dummyAdverTiserID'], + action: 'delete', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + batched: true, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + isHashRequired: true, + registerDeviceOrBrowserApiKey: true, + apiKey: 'intercomApiKey', + appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0', + collectContext: false, + }, + }, + metadata: [ + { + jobId: 1, + secret: { + accessToken: 'dummyAccessToken', + advertiserIds: ['dummyAdverTiserID'], + }, + }, + ], + statusCode: 200, + }, + { + batchedRequest: [ + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/segment/mapping/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + batch_data: [ + [ + { + id: 'ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b', + audience_ids: ['23856594064540489'], + }, + { + id: 'fcea920f7412b5da7be0cf42b8c93759', + audience_ids: ['23856594064540489'], + }, + ], + [ + { + id: '49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579', + audience_ids: ['23856594064540489'], + }, + { + id: 'fe743d8d97aa7dfc6c93ccdc2e749513', + audience_ids: ['23856594064540489'], + }, + ], + [ + { + id: '2048acfa84a01121060ca2fc8a673a76d427176dc37224d4408c21973bd90e5c', + audience_ids: ['23856594064540489'], + }, + { + id: 'e36a2f90240e9e84483504fd4a704452', + audience_ids: ['23856594064540489'], + }, + ], + ], + id_schema: ['EMAIL_SHA256', 'AAID_MD5'], + advertiser_ids: ['dummyAdverTiserID'], + action: 'add', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/segment/mapping/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + batch_data: [ + [ + { + id: 'ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b', + audience_ids: ['23856594064540489'], + }, + { + id: 'c1abd65fea29d573ddef1bce925e3276', + audience_ids: ['23856594064540489'], + }, + ], + [ + { + id: '49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579', + audience_ids: ['23856594064540489'], + }, + { + id: '7298110702a080dfc6903f13333eb04a', + audience_ids: ['23856594064540489'], + }, + ], + [ + { + id: '2048acfa84a01121060ca2fc8a673a76d427176dc37224d4408c21973bd90e5c', + audience_ids: ['23856594064540489'], + }, + { + id: 'd9cb68b1fd3b9d32abc5f4cab8b42b68', + audience_ids: ['23856594064540489'], + }, + ], + ], + id_schema: ['EMAIL_SHA256', 'AAID_MD5'], + advertiser_ids: ['dummyAdverTiserID'], + action: 'delete', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + ], + batched: true, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + isHashRequired: true, + registerDeviceOrBrowserApiKey: true, + apiKey: 'intercomApiKey', + appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0', + collectContext: false, + }, + }, + metadata: [ + { + jobId: 2, + secret: { + accessToken: 'dummyAccessToken', + advertiserIds: ['dummyAdverTiserID'], + }, + }, + ], + statusCode: 200, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/segment/mapping/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + batch_data: [ + [ + { + id: 'ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b', + audience_ids: ['23856594064540489'], + }, + { + id: '31e78a3bf9ce2b43316f64fe883a531d6266938091e94e2f2480272481163dee', + audience_ids: ['23856594064540489'], + }, + { + id: '0259f595f7172c8dd692a5c37b4d296939555f862aae8adb964391bdb65006ab', + audience_ids: ['23856594064540489'], + }, + { + id: 'b06fbe7a29f33576a792ba3df3c9bf838cd26ea88cf574285fa60dc0234a8485', + audience_ids: ['23856594064540489'], + }, + {}, + { + id: '32ee3d063320815a13e0058c2498ff76', + audience_ids: ['23856594064540489'], + }, + ], + [ + { + id: '49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579', + audience_ids: ['23856594064540489'], + }, + { + id: 'fb40adc7debbf40e7b45b0a4a91886785dff1a28809276f95f1c44f7045f9b4d', + audience_ids: ['23856594064540489'], + }, + { + id: 'e6bbdf34c5f3472f31b2923a26811560a599233f3dea4c9971595c3bb7b1e8dc', + audience_ids: ['23856594064540489'], + }, + { + id: '661125f7d337811256c5b55996b22c89047804dcec494db72659e4be71e03091', + audience_ids: ['23856594064540489'], + }, + {}, + { + id: '94162773066d6ae88b2658dc58ca2317', + audience_ids: ['23856594064540489'], + }, + ], + ], + id_schema: [ + 'EMAIL_SHA256', + 'PHONE_SHA256', + 'IDFA_SHA256', + 'AAID_SHA256', + 'AAID_MD', + 'IDFA_MD5', + ], + advertiser_ids: ['dummyAdverTiserID'], + action: 'add', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + batched: true, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + isHashRequired: true, + registerDeviceOrBrowserApiKey: true, + apiKey: 'intercomApiKey', + appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0', + collectContext: false, + }, + }, + metadata: [ + { + jobId: 3, + secret: { + accessToken: 'dummyAccessToken', + advertiserIds: ['dummyAdverTiserID'], + }, + }, + ], + statusCode: 200, + }, + { + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/segment/mapping/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + batch_data: [ + [ + { + id: 'ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b', + audience_ids: ['23856594064540489'], + }, + { + id: '31e78a3bf9ce2b43316f64fe883a531d6266938091e94e2f2480272481163dee', + audience_ids: ['23856594064540489'], + }, + {}, + {}, + {}, + { + id: '32ee3d063320815a13e0058c2498ff76', + audience_ids: ['23856594064540489'], + }, + ], + [ + { + id: '49eaeca26c878f268ad33af8cfa8194ca5b8b8e448b1c775bf9153a2de734579', + audience_ids: ['23856594064540489'], + }, + {}, + {}, + { + id: '661125f7d337811256c5b55996b22c89047804dcec494db72659e4be71e03091', + audience_ids: ['23856594064540489'], + }, + {}, + { + id: '94162773066d6ae88b2658dc58ca2317', + audience_ids: ['23856594064540489'], + }, + ], + ], + id_schema: [ + 'EMAIL_SHA256', + 'PHONE_SHA256', + 'IDFA_SHA256', + 'AAID_SHA256', + 'AAID_MD', + 'IDFA_MD5', + ], + advertiser_ids: ['dummyAdverTiserID'], + action: 'add', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + batched: true, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + isHashRequired: true, + registerDeviceOrBrowserApiKey: true, + apiKey: 'intercomApiKey', + appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0', + collectContext: false, + }, + }, + metadata: [ + { + jobId: 4, + secret: { + accessToken: 'dummyAccessToken', + advertiserIds: ['dummyAdverTiserID'], + }, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, +]; From bc1a76066c0aeb43776ded0b266ec48f5e69aa16 Mon Sep 17 00:00:00 2001 From: Jayc Date: Tue, 31 Oct 2023 20:29:55 +0530 Subject: [PATCH 67/98] feat: add support to add custom network policies for specific workspaces in faas pods --- src/util/customTransformer-faas.js | 16 ++++++-- src/util/openfaas/index.js | 62 +++++++++++++++++++++++++----- src/v0/util/index.js | 7 ++++ 3 files changed, 71 insertions(+), 14 deletions(-) diff --git a/src/util/customTransformer-faas.js b/src/util/customTransformer-faas.js index d1fa48d2d1..54d2410313 100644 --- a/src/util/customTransformer-faas.js +++ b/src/util/customTransformer-faas.js @@ -1,7 +1,7 @@ const { v4: uuidv4 } = require('uuid'); const crypto = require('crypto'); const NodeCache = require('node-cache'); -const { getMetadata } = require('../v0/util'); +const { getMetadata, getTransformationMetadata } = require('../v0/util'); const stats = require('./stats'); const { setupFaasFunction, @@ -82,10 +82,10 @@ async function setOpenFaasUserTransform( libraryVersionIds, pregeneratedFnName, testMode = false, + trMetadata = {}, ) { const tags = { transformerVersionId: userTransformation.versionId, - language: userTransformation.language, identifier: 'openfaas', testMode, }; @@ -106,6 +106,7 @@ async function setOpenFaasUserTransform( testMode, ), testMode, + trMetadata, ); stats.timing('creation_time', setupTime, tags); @@ -129,16 +130,22 @@ async function runOpenFaasUserTransform( const metaTags = events[0].metadata ? getMetadata(events[0].metadata) : {}; const tags = { transformerVersionId: userTransformation.versionId, - language: userTransformation.language, identifier: 'openfaas', testMode, ...metaTags, }; + const trMetadata = events[0].metadata ? getTransformationMetadata(events[0].metadata) : {}; // check and deploy faas function if not exists const functionName = generateFunctionName(userTransformation, libraryVersionIds, testMode); if (testMode) { - await setOpenFaasUserTransform(userTransformation, libraryVersionIds, functionName, testMode); + await setOpenFaasUserTransform( + userTransformation, + libraryVersionIds, + functionName, + testMode, + trMetadata, + ); } const invokeTime = new Date(); @@ -156,6 +163,7 @@ async function runOpenFaasUserTransform( testMode, ), testMode, + trMetadata, ); stats.timing('run_time', invokeTime, tags); return result; diff --git a/src/util/openfaas/index.js b/src/util/openfaas/index.js index 60ad316e1b..f80aa01c23 100644 --- a/src/util/openfaas/index.js +++ b/src/util/openfaas/index.js @@ -23,6 +23,8 @@ const CONFIG_BACKEND_URL = process.env.CONFIG_BACKEND_URL || 'https://api.rudder const GEOLOCATION_URL = process.env.GEOLOCATION_URL || ''; const FAAS_AST_VID = 'ast'; const FAAS_AST_FN_NAME = 'fn-ast'; +const CUSTOM_NETWORK_POLICY_WORKSPACE_IDS = process.env.CUSTOM_NETWORK_POLICY_WORKSPACE_IDS || ''; +const customNetworkPolicyWorkspaceIds = CUSTOM_NETWORK_POLICY_WORKSPACE_IDS.split(','); // Initialise node cache const functionListCache = new NodeCache(); @@ -111,7 +113,14 @@ const invalidateFnCache = () => { functionListCache.set(FUNC_LIST_KEY, []); }; -const deployFaasFunction = async (functionName, code, versionId, libraryVersionIDs, testMode) => { +const deployFaasFunction = async ( + functionName, + code, + versionId, + libraryVersionIDs, + testMode, + trMetadata = {}, +) => { try { logger.debug('[Faas] Deploying a faas function'); let envProcess = 'python index.py'; @@ -132,6 +141,22 @@ const deployFaasFunction = async (functionName, code, versionId, libraryVersionI if (GEOLOCATION_URL) { envVars.geolocation_url = GEOLOCATION_URL; } + // labels + const labels = { + 'openfaas-fn': 'true', + 'parent-component': 'openfaas', + 'com.openfaas.scale.max': FAAS_MAX_PODS_IN_TEXT, + 'com.openfaas.scale.min': FAAS_MIN_PODS_IN_TEXT, + transformationId: trMetadata.transformationId, + workspaceId: trMetadata.workspaceId, + }; + if ( + trMetadata.workspaceId && + customNetworkPolicyWorkspaceIds.includes(trMetadata.workspaceId) + ) { + labels['custom-network-policy'] = 'true'; + } + // TODO: investigate and add more required labels and annotations const payload = { service: functionName, @@ -139,12 +164,7 @@ const deployFaasFunction = async (functionName, code, versionId, libraryVersionI image: FAAS_BASE_IMG, envProcess, envVars, - labels: { - 'openfaas-fn': 'true', - 'parent-component': 'openfaas', - 'com.openfaas.scale.max': FAAS_MAX_PODS_IN_TEXT, - 'com.openfaas.scale.min': FAAS_MIN_PODS_IN_TEXT, - }, + labels, annotations: { 'prometheus.io.scrape': 'true', }, @@ -175,14 +195,28 @@ const deployFaasFunction = async (functionName, code, versionId, libraryVersionI } }; -async function setupFaasFunction(functionName, code, versionId, libraryVersionIDs, testMode) { +async function setupFaasFunction( + functionName, + code, + versionId, + libraryVersionIDs, + testMode, + trMetadata = {}, +) { try { if (!testMode && isFunctionDeployed(functionName)) { logger.debug(`[Faas] Function ${functionName} already deployed`); return; } // deploy faas function - await deployFaasFunction(functionName, code, versionId, libraryVersionIDs, testMode); + await deployFaasFunction( + functionName, + code, + versionId, + libraryVersionIDs, + testMode, + trMetadata, + ); // This api call is only used to check if function is spinned correctly await awaitFunctionReadiness(functionName); @@ -201,6 +235,7 @@ const executeFaasFunction = async ( versionId, libraryVersionIDs, testMode, + trMetadata = {}, ) => { try { logger.debug('[Faas] Invoking faas function'); @@ -217,7 +252,14 @@ const executeFaasFunction = async ( error.message.includes(`error finding function ${functionName}`) ) { removeFunctionFromCache(functionName); - await setupFaasFunction(functionName, null, versionId, libraryVersionIDs, testMode); + await setupFaasFunction( + functionName, + null, + versionId, + libraryVersionIDs, + testMode, + trMetadata, + ); throw new RetryRequestError(`${functionName} not found`); } diff --git a/src/v0/util/index.js b/src/v0/util/index.js index 4ea3d3783d..bed515624c 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -1403,6 +1403,12 @@ const getMetadata = (metadata) => ({ destinationType: metadata.destinationType, k8_namespace: metadata.namespace, }); + +const getTransformationMetadata = (metadata) => ({ + transformationId: metadata.transformationId, + workspaceId: metadata.workspaceId, +}); + // checks if array 2 is a subset of array 1 function checkSubsetOfArray(array1, array2) { const result = array2.every((val) => array1.includes(val)); @@ -2113,6 +2119,7 @@ module.exports = { getIntegrationsObj, getMappingConfig, getMetadata, + getTransformationMetadata, getParsedIP, getStringValueOfJSON, getSuccessRespEvents, From 3e1fb26422f4e274a48df129e74600374669a0a6 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 2 Nov 2023 23:50:11 +0000 Subject: [PATCH 68/98] chore(release): 1.48.0 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7d295645f..01631435d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.48.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.47.0...v1.48.0) (2023-11-02) + + +### Features + +* add support to add custom network policies for specific workspaces in faas pods ([bc1a760](https://github.com/rudderlabs/rudder-transformer/commit/bc1a76066c0aeb43776ded0b266ec48f5e69aa16)) + ## [1.47.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.46.5...v1.47.0) (2023-10-30) diff --git a/package-lock.json b/package-lock.json index 4643d1325d..0822a9b42b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.47.0", + "version": "1.48.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.47.0", + "version": "1.48.0", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index adc5f0e8f5..46f728664d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.47.0", + "version": "1.48.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 570532ce790c05a69621d9289758a1b1a7acda8c Mon Sep 17 00:00:00 2001 From: Yashasvi Bajpai <33063622+yashasvibajpai@users.noreply.github.com> Date: Fri, 3 Nov 2023 17:41:02 +0530 Subject: [PATCH 69/98] fix: allow support for full url from UI in freshsales and freshmarketer (#2780) * fix: allow support for full url from UI in freshsales * fix: allow support for full url from UI in freshmarketer * fix: tests * fix: testsx2 --- src/v0/destinations/freshmarketer/config.js | 14 ++--- src/v0/destinations/freshmarketer/utils.js | 2 +- src/v0/destinations/freshsales/config.js | 10 +-- test/__tests__/data/freshmarketer.json | 62 +++++++++---------- .../data/freshmarketer_router_input.json | 6 +- .../data/freshmarketer_router_output.json | 6 +- test/__tests__/data/freshsales.json | 50 +++++++-------- .../data/freshsales_router_input.json | 2 +- .../data/freshsales_router_output.json | 2 +- 9 files changed, 77 insertions(+), 77 deletions(-) diff --git a/src/v0/destinations/freshmarketer/config.js b/src/v0/destinations/freshmarketer/config.js index f1018d439c..a0d6449c3a 100644 --- a/src/v0/destinations/freshmarketer/config.js +++ b/src/v0/destinations/freshmarketer/config.js @@ -4,23 +4,23 @@ const CONFIG_CATEGORIES = { IDENTIFY: { name: 'FRESHMARKETERIdentifyConfig', type: 'identify', - baseUrl: '.myfreshworks.com/crm/sales/api/contacts/upsert', + baseUrl: '/crm/sales/api/contacts/upsert', }, GROUP: { name: 'FRESHMARKETERGroupConfig', type: 'group', - baseUrlAccount: '.myfreshworks.com/crm/sales/api/sales_accounts/upsert', - baseUrlList: '.myfreshworks.com/crm/sales/api/lists', + baseUrlAccount: '/crm/sales/api/sales_accounts/upsert', + baseUrlList: '/crm/sales/api/lists', }, SALES_ACTIVITY: { name: 'SalesActivityConfig', - baseUrlCreate: '.myfreshworks.com/crm/sales/api/sales_activities', - baseUrlListAll: '.myfreshworks.com/crm/sales/api/selector/sales_activity_types', + baseUrlCreate: '/crm/sales/api/sales_activities', + baseUrlListAll: '/crm/sales/api/selector/sales_activity_types', }, }; -const DELETE_ENDPOINT = '.myfreshworks.com/crm/sales/api/contacts/'; -const LIFECYCLE_STAGE_ENDPOINT = '.myfreshworks.com/crm/sales/api/selector/lifecycle_stages'; +const DELETE_ENDPOINT = '/crm/sales/api/contacts/'; +const LIFECYCLE_STAGE_ENDPOINT = '/crm/sales/api/selector/lifecycle_stages'; const MAPPING_CONFIG = getMappingConfig(CONFIG_CATEGORIES, __dirname); module.exports = { diff --git a/src/v0/destinations/freshmarketer/utils.js b/src/v0/destinations/freshmarketer/utils.js index 5b47bb9170..f7dcc46b06 100644 --- a/src/v0/destinations/freshmarketer/utils.js +++ b/src/v0/destinations/freshmarketer/utils.js @@ -203,7 +203,7 @@ const updateAccountWOContact = (payload, Config) => { */ const updateContactWithList = (userId, listId, Config) => { const response = defaultRequestConfig(); - response.endpoint = `https://${Config.domain}.myfreshworks.com/crm/sales/api/lists/${listId}/add_contacts`; + response.endpoint = `https://${Config.domain}/crm/sales/api/lists/${listId}/add_contacts`; response.headers = getHeaders(Config.apiKey); response.body.JSON = { ids: [userId], diff --git a/src/v0/destinations/freshsales/config.js b/src/v0/destinations/freshsales/config.js index c6ae4b8165..62f54c1297 100644 --- a/src/v0/destinations/freshsales/config.js +++ b/src/v0/destinations/freshsales/config.js @@ -4,23 +4,23 @@ const CONFIG_CATEGORIES = { IDENTIFY: { name: 'identifyConfig', type: 'identify', - baseUrl: '.myfreshworks.com/crm/sales/api/contacts/upsert', + baseUrl: '/crm/sales/api/contacts/upsert', method: 'POST', }, GROUP: { name: 'groupConfig', type: 'group', - baseUrlAccount: '.myfreshworks.com/crm/sales/api/sales_accounts/upsert', + baseUrlAccount: '/crm/sales/api/sales_accounts/upsert', method: 'POST', }, SALES_ACTIVITY: { name: 'SalesActivityConfig', - baseUrlCreate: '.myfreshworks.com/crm/sales/api/sales_activities', - baseUrlListAll: '.myfreshworks.com/crm/sales/api/selector/sales_activity_types', + baseUrlCreate: '/crm/sales/api/sales_activities', + baseUrlListAll: '/crm/sales/api/selector/sales_activity_types', }, }; -const LIFECYCLE_STAGE_ENDPOINT = '.myfreshworks.com/crm/sales/api/selector/lifecycle_stages'; +const LIFECYCLE_STAGE_ENDPOINT = '/crm/sales/api/selector/lifecycle_stages'; const MAPPING_CONFIG = getMappingConfig(CONFIG_CATEGORIES, __dirname); module.exports = { diff --git a/test/__tests__/data/freshmarketer.json b/test/__tests__/data/freshmarketer.json index 3d30841b30..390c0fb44e 100644 --- a/test/__tests__/data/freshmarketer.json +++ b/test/__tests__/data/freshmarketer.json @@ -5,7 +5,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } }, "message": { @@ -94,7 +94,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } }, "message": { @@ -183,7 +183,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } }, "message": { @@ -248,7 +248,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } }, "message": { @@ -312,7 +312,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "message": { @@ -422,7 +422,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "message": { @@ -491,7 +491,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "message": { @@ -558,7 +558,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "message": { @@ -627,7 +627,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "message": { @@ -760,7 +760,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -843,7 +843,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -927,7 +927,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1019,7 +1019,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1127,7 +1127,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1228,7 +1228,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1315,7 +1315,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1406,7 +1406,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1496,7 +1496,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1586,7 +1586,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1696,7 +1696,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1757,7 +1757,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1788,7 +1788,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1825,7 +1825,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1892,7 +1892,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1937,7 +1937,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1976,7 +1976,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -2043,7 +2043,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -2145,7 +2145,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -2232,7 +2232,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -2334,7 +2334,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -2427,7 +2427,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder", + "domain": "domain-rudder.myfreshworks.com", "rudderEventsToFreshmarketerEvents": [ { "from": "test_activity", diff --git a/test/__tests__/data/freshmarketer_router_input.json b/test/__tests__/data/freshmarketer_router_input.json index 0e05c7f5f8..2cc5ce58de 100644 --- a/test/__tests__/data/freshmarketer_router_input.json +++ b/test/__tests__/data/freshmarketer_router_input.json @@ -3,7 +3,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } }, "metadata": { @@ -59,7 +59,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } }, "metadata": { @@ -115,7 +115,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "metadata": { diff --git a/test/__tests__/data/freshmarketer_router_output.json b/test/__tests__/data/freshmarketer_router_output.json index 01740cb626..3525e4bb16 100644 --- a/test/__tests__/data/freshmarketer_router_output.json +++ b/test/__tests__/data/freshmarketer_router_output.json @@ -43,7 +43,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } } }, @@ -91,7 +91,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } } }, @@ -156,7 +156,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } } diff --git a/test/__tests__/data/freshsales.json b/test/__tests__/data/freshsales.json index 2527e37b90..55193532f4 100644 --- a/test/__tests__/data/freshsales.json +++ b/test/__tests__/data/freshsales.json @@ -69,7 +69,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -90,7 +90,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } }, "message": { @@ -179,7 +179,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } }, "message": { @@ -268,7 +268,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } }, "message": { @@ -356,7 +356,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "rudderstack-476952domain3105" + "domain": "rudderstack-476952domain3105.myfreshworks.com" } }, "message": { @@ -421,7 +421,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "message": { @@ -531,7 +531,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "message": { @@ -600,7 +600,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "message": { @@ -667,7 +667,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "message": { @@ -736,7 +736,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } }, "message": { @@ -869,7 +869,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -952,7 +952,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1036,7 +1036,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1128,7 +1128,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder", + "domain": "domain-rudder.myfreshworks.com", "rudderEventsToFreshsalesEvents": [ { "from": "test", @@ -1244,7 +1244,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1345,7 +1345,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1432,7 +1432,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1523,7 +1523,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1613,7 +1613,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1703,7 +1703,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1813,7 +1813,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1874,7 +1874,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -1966,7 +1966,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -2053,7 +2053,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, @@ -2155,7 +2155,7 @@ "destination": { "Config": { "apiKey": "dummyApiKey", - "domain": "domain-rudder" + "domain": "domain-rudder.myfreshworks.com" } } }, diff --git a/test/__tests__/data/freshsales_router_input.json b/test/__tests__/data/freshsales_router_input.json index 856a127f51..ea4b9887dd 100644 --- a/test/__tests__/data/freshsales_router_input.json +++ b/test/__tests__/data/freshsales_router_input.json @@ -66,7 +66,7 @@ }, "Config": { "apiKey": "hrkjfergeferf", - "domain": "rudderstack-479541159204968909" + "domain": "rudderstack-479541159204968909.myfreshworks.com" }, "Enabled": true, "Transformations": [], diff --git a/test/__tests__/data/freshsales_router_output.json b/test/__tests__/data/freshsales_router_output.json index 449d6eb45a..69d259ff00 100644 --- a/test/__tests__/data/freshsales_router_output.json +++ b/test/__tests__/data/freshsales_router_output.json @@ -72,7 +72,7 @@ }, "Config": { "apiKey": "hrkjfergeferf", - "domain": "rudderstack-479541159204968909" + "domain": "rudderstack-479541159204968909.myfreshworks.com" }, "Enabled": true, "Transformations": [], From 818858e046ce5f9735bbb97715c43a959ad3aa3c Mon Sep 17 00:00:00 2001 From: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Date: Mon, 6 Nov 2023 11:04:36 +0530 Subject: [PATCH 70/98] feat: onboard one signal to router transform (#2785) --- src/features.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/features.json b/src/features.json index fb5b0735f0..9793f667e3 100644 --- a/src/features.json +++ b/src/features.json @@ -58,7 +58,8 @@ "OPTIMIZELY_FULLSTACK": true, "TWITTER_ADS": true, "CLEVERTAP": true, - "TIKTOK_AUDIENCE": true, - "ORTTO": true + "ORTTO": true, + "ONE_SIGNAL": true, + "TIKTOK_AUDIENCE": true } } From 0947c58948a8192ac16f1a7e9b5b7520d5dc7530 Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Mon, 6 Nov 2023 11:32:34 +0530 Subject: [PATCH 71/98] chore: update release owner (#2794) * chore: update release owner * chore: update release-owners --- .github/workflows/create-hotfix-branch.yml | 2 +- .github/workflows/draft-new-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-hotfix-branch.yml b/.github/workflows/create-hotfix-branch.yml index d1397cb608..97611f1eee 100644 --- a/.github/workflows/create-hotfix-branch.yml +++ b/.github/workflows/create-hotfix-branch.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest # Only allow these users to create new hotfix branch from 'main' - if: github.ref == 'refs/heads/main' && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116') + if: github.ref == 'refs/heads/main' && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116' || github.actor == 'ujjwal-ab') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116' || github.triggering_actor == 'ujjwal-ab) steps: - name: Create Branch uses: peterjgrainger/action-create-branch@v2.4.0 diff --git a/.github/workflows/draft-new-release.yml b/.github/workflows/draft-new-release.yml index a0a558440a..23e243918f 100644 --- a/.github/workflows/draft-new-release.yml +++ b/.github/workflows/draft-new-release.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest # Only allow release stakeholders to initiate releases - if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116' || github.actor == 'yashasvibajpai' || github.actor == 'sanpj2292') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116' || github.triggering_actor == 'yashasvibajpai' || github.triggering_actor == 'sanpj2292') + if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/')) && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116' || github.actor == 'yashasvibajpai' || github.actor == 'sanpj2292' || github.actor == 'ujjwal-ab') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116' || github.triggering_actor == 'yashasvibajpai' || github.triggering_actor == 'sanpj2292' || github.triggering_actor == 'ujjwal-ab') steps: - name: Checkout uses: actions/checkout@v3.5.3 From 55f96374b4d73db7013c1d5e72bfc9c8257b224b Mon Sep 17 00:00:00 2001 From: Yashasvi Bajpai <33063622+yashasvibajpai@users.noreply.github.com> Date: Mon, 6 Nov 2023 12:48:38 +0530 Subject: [PATCH 72/98] feat: onboard revenuecat as a source (#2774) * refactor: revenuecat source code * chore: refactor, address comments --- src/v0/sources/revenuecat/mapping.json | 10 + src/v0/sources/revenuecat/transform.js | 47 +++ test/integrations/sources/revenuecat/data.ts | 286 +++++++++++++++++++ 3 files changed, 343 insertions(+) create mode 100644 src/v0/sources/revenuecat/mapping.json create mode 100644 src/v0/sources/revenuecat/transform.js create mode 100644 test/integrations/sources/revenuecat/data.ts diff --git a/src/v0/sources/revenuecat/mapping.json b/src/v0/sources/revenuecat/mapping.json new file mode 100644 index 0000000000..541568b71b --- /dev/null +++ b/src/v0/sources/revenuecat/mapping.json @@ -0,0 +1,10 @@ +[ + { + "sourceKeys": "event.type", + "destKeys": "event" + }, + { + "sourceKeys": "event.id", + "destKeys": "messageId" + } +] diff --git a/src/v0/sources/revenuecat/transform.js b/src/v0/sources/revenuecat/transform.js new file mode 100644 index 0000000000..36944e10fa --- /dev/null +++ b/src/v0/sources/revenuecat/transform.js @@ -0,0 +1,47 @@ +const { camelCase } = require('lodash'); +const moment = require('moment'); +const { removeUndefinedAndNullValues, isDefinedAndNotNull } = require('../../util'); +const Message = require('../message'); + +function process(event) { + const message = new Message(`RevenueCat`); + + // we are setting event type as track always + message.setEventType('track'); + + const properties = {}; + // dump all event properties to message.properties after converting them to camelCase + if (event.event) { + Object.keys(event.event).forEach((key) => { + properties[camelCase(key)] = event.event[key]; + }); + message.setProperty('properties', properties); + } + + // setting up app_user_id to externalId : revenuecatAppUserId + if (event?.event?.app_user_id) { + message.context.externalId = [ + { + type: 'revenuecatAppUserId', + id: event?.event?.app_user_id, + }, + ]; + } + + if ( + isDefinedAndNotNull(event?.event?.event_timestamp_ms) && + moment(event?.event?.event_timestamp_ms).isValid() + ) { + const validTimestamp = new Date(event.event.event_timestamp_ms).toISOString(); + message.setProperty('originalTimestamp', validTimestamp); + message.setProperty('sentAt', validTimestamp); + } + message.event = event?.event?.type; + message.messageId = event?.event?.id; + + // removing undefined and null values from message + removeUndefinedAndNullValues(message); + return message; +} + +module.exports = { process }; diff --git a/test/integrations/sources/revenuecat/data.ts b/test/integrations/sources/revenuecat/data.ts new file mode 100644 index 0000000000..4963781763 --- /dev/null +++ b/test/integrations/sources/revenuecat/data.ts @@ -0,0 +1,286 @@ +export const data = [ + { + name: 'revenuecat', + description: 'Simple track call', + module: 'source', + version: 'v0', + input: { + request: { + body: [ + { + api_version: '1.0', + event: { + aliases: [ + 'f8e14f51-0c76-49ba-8d67-c229f1875dd9', + '389ad6dd-bb40-4c03-9471-1353da2d55ec', + ], + app_user_id: 'f8e14f51-0c76-49ba-8d67-c229f1875dd9', + commission_percentage: null, + country_code: 'US', + currency: null, + entitlement_id: null, + entitlement_ids: null, + environment: 'SANDBOX', + event_timestamp_ms: 1698617217232, + expiration_at_ms: 1698624417232, + id: '8CF0CD6C-CAF3-41FB-968A-661938235AF0', + is_family_share: null, + offer_code: null, + original_app_user_id: 'f8e14f51-0c76-49ba-8d67-c229f1875dd9', + original_transaction_id: null, + period_type: 'NORMAL', + presented_offering_id: null, + price: null, + price_in_purchased_currency: null, + product_id: 'test_product', + purchased_at_ms: 1698617217232, + store: 'APP_STORE', + subscriber_attributes: { + $displayName: { + updated_at_ms: 1698617217232, + value: 'Mister Mistoffelees', + }, + $email: { + updated_at_ms: 1698617217232, + value: 'tuxedo@revenuecat.com', + }, + $phoneNumber: { + updated_at_ms: 1698617217232, + value: '+19795551234', + }, + my_custom_attribute_1: { + updated_at_ms: 1698617217232, + value: 'catnip', + }, + }, + takehome_percentage: null, + tax_percentage: null, + transaction_id: null, + type: 'TEST', + }, + }, + ], + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + batch: [ + { + context: { + library: { + name: 'unknown', + version: 'unknown', + }, + integration: { + name: 'RevenueCat', + }, + externalId: [ + { + type: 'revenuecatAppUserId', + id: 'f8e14f51-0c76-49ba-8d67-c229f1875dd9', + }, + ], + }, + integrations: { + RevenueCat: false, + }, + type: 'track', + properties: { + aliases: [ + 'f8e14f51-0c76-49ba-8d67-c229f1875dd9', + '389ad6dd-bb40-4c03-9471-1353da2d55ec', + ], + appUserId: 'f8e14f51-0c76-49ba-8d67-c229f1875dd9', + commissionPercentage: null, + countryCode: 'US', + currency: null, + entitlementId: null, + entitlementIds: null, + environment: 'SANDBOX', + eventTimestampMs: 1698617217232, + expirationAtMs: 1698624417232, + id: '8CF0CD6C-CAF3-41FB-968A-661938235AF0', + isFamilyShare: null, + offerCode: null, + originalAppUserId: 'f8e14f51-0c76-49ba-8d67-c229f1875dd9', + originalTransactionId: null, + periodType: 'NORMAL', + presentedOfferingId: null, + price: null, + priceInPurchasedCurrency: null, + productId: 'test_product', + purchasedAtMs: 1698617217232, + store: 'APP_STORE', + subscriberAttributes: { + $displayName: { + updated_at_ms: 1698617217232, + value: 'Mister Mistoffelees', + }, + $email: { + updated_at_ms: 1698617217232, + value: 'tuxedo@revenuecat.com', + }, + $phoneNumber: { + updated_at_ms: 1698617217232, + value: '+19795551234', + }, + my_custom_attribute_1: { + updated_at_ms: 1698617217232, + value: 'catnip', + }, + }, + takehomePercentage: null, + taxPercentage: null, + transactionId: null, + type: 'TEST', + }, + event: 'TEST', + messageId: '8CF0CD6C-CAF3-41FB-968A-661938235AF0', + originalTimestamp: '2023-10-29T22:06:57.232Z', + sentAt: '2023-10-29T22:06:57.232Z', + }, + ], + }, + }, + ], + }, + }, + }, + { + name: 'revenuecat', + description: 'Initial purchase event', + module: 'source', + version: 'v0', + input: { + request: { + body: [ + { + api_version: '1.0', + event: { + aliases: ['yourCustomerAliasedID', 'yourCustomerAliasedID'], + app_id: 'yourAppID', + app_user_id: 'yourCustomerAppUserID', + commission_percentage: 0.3, + country_code: 'US', + currency: 'USD', + entitlement_id: 'pro_cat', + entitlement_ids: ['pro_cat'], + environment: 'PRODUCTION', + event_timestamp_ms: 1591121855319, + expiration_at_ms: 1591726653000, + id: 'UniqueIdentifierOfEvent', + is_family_share: false, + offer_code: 'free_month', + original_app_user_id: 'OriginalAppUserID', + original_transaction_id: '1530648507000', + period_type: 'NORMAL', + presented_offering_id: 'OfferingID', + price: 2.49, + price_in_purchased_currency: 2.49, + product_id: 'onemonth_no_trial', + purchased_at_ms: 1591121853000, + store: 'APP_STORE', + subscriber_attributes: { + '$Favorite Cat': { + updated_at_ms: 1581121853000, + value: 'Garfield', + }, + }, + takehome_percentage: 0.7, + tax_percentage: 0.3, + transaction_id: '170000869511114', + type: 'INITIAL_PURCHASE', + }, + }, + ], + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + batch: [ + { + context: { + library: { + name: 'unknown', + version: 'unknown', + }, + integration: { + name: 'RevenueCat', + }, + externalId: [ + { + type: 'revenuecatAppUserId', + id: 'yourCustomerAppUserID', + }, + ], + }, + integrations: { + RevenueCat: false, + }, + type: 'track', + properties: { + aliases: ['yourCustomerAliasedID', 'yourCustomerAliasedID'], + appId: 'yourAppID', + appUserId: 'yourCustomerAppUserID', + commissionPercentage: 0.3, + countryCode: 'US', + currency: 'USD', + entitlementId: 'pro_cat', + entitlementIds: ['pro_cat'], + environment: 'PRODUCTION', + eventTimestampMs: 1591121855319, + expirationAtMs: 1591726653000, + id: 'UniqueIdentifierOfEvent', + isFamilyShare: false, + offerCode: 'free_month', + originalAppUserId: 'OriginalAppUserID', + originalTransactionId: '1530648507000', + periodType: 'NORMAL', + presentedOfferingId: 'OfferingID', + price: 2.49, + priceInPurchasedCurrency: 2.49, + productId: 'onemonth_no_trial', + purchasedAtMs: 1591121853000, + store: 'APP_STORE', + subscriberAttributes: { + '$Favorite Cat': { + updated_at_ms: 1581121853000, + value: 'Garfield', + }, + }, + takehomePercentage: 0.7, + taxPercentage: 0.3, + transactionId: '170000869511114', + type: 'INITIAL_PURCHASE', + }, + event: 'INITIAL_PURCHASE', + messageId: 'UniqueIdentifierOfEvent', + originalTimestamp: '2020-06-02T18:17:35.319Z', + sentAt: '2020-06-02T18:17:35.319Z', + }, + ], + }, + }, + ], + }, + }, + }, +]; From 6e89cd3f67ea887ba17c1cd5ffbca6675f54d96c Mon Sep 17 00:00:00 2001 From: Yashasvi Bajpai <33063622+yashasvibajpai@users.noreply.github.com> Date: Mon, 6 Nov 2023 12:55:19 +0530 Subject: [PATCH 73/98] fix: add check to remove null and undefined properties before sending (#2796) * fix: add check to remove null and undefined properties before sending * chore: fix test --- src/v0/destinations/adobe_analytics/transform.js | 3 ++- test/__tests__/data/adobe_analytics.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/v0/destinations/adobe_analytics/transform.js b/src/v0/destinations/adobe_analytics/transform.js index 54806bf578..67bb66310a 100644 --- a/src/v0/destinations/adobe_analytics/transform.js +++ b/src/v0/destinations/adobe_analytics/transform.js @@ -11,6 +11,7 @@ const { isDefinedAndNotNull, isDefinedAndNotNullAndNotEmpty, getIntegrationsObj, + removeUndefinedAndNullValues, simpleProcessRouterDest, } = require('../../util'); const { @@ -394,7 +395,7 @@ const handleTrack = (message, destinationConfig) => { break; } - return payload; + return removeUndefinedAndNullValues(payload); }; const process = async (event) => { diff --git a/test/__tests__/data/adobe_analytics.json b/test/__tests__/data/adobe_analytics.json index cfffccb8da..6361f92640 100644 --- a/test/__tests__/data/adobe_analytics.json +++ b/test/__tests__/data/adobe_analytics.json @@ -1010,7 +1010,6 @@ }, "messageId": "1578564113557-af022c68-429e-4af4-b99b-2b9174056383", "properties": { - "order_id": "1234", "affiliation": "Apple Store", "value": 20, "revenue": 15.0, @@ -1019,6 +1018,7 @@ "discount": 1.5, "coupon": "ImagePro", "currency": "USD", + "purchaseId": "p101", "products": [ { "product_id": "123", @@ -1205,7 +1205,7 @@ "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/12020-01-09T10:01:53.558Zmktcloudid001scCheckoutGames;Monopoly;1;14.00,Games;UNO;2;6.90footlockerrudderstackpoc" + "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+bestsellerroottval001RudderLabs JavaScript SDKocheckout startedhttps://www.estore.com/best-seller/12020-01-09T10:01:53.558Zmktcloudid001p101scCheckoutGames;Monopoly;1;14.00,Games;UNO;2;6.90footlockerrudderstackpoc" }, "FORM": {} }, From 11fb7c47910681833e37d25a1573d2005e62742b Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Mon, 6 Nov 2023 14:28:51 +0530 Subject: [PATCH 74/98] fix: busgnag issues for klaviyo, freshsales, customeio (#2795) * chore(klaviyo): remove error notifier * fix(freshsales): stringify event before lowercase * fix(customerio): convert eventName to string for truncate * fix: add validation for event Name type and update function name * fix: remove unrequired validation --- src/v0/destinations/customerio/transform.js | 3 +++ src/v0/destinations/customerio/util.js | 2 -- src/v0/destinations/freshsales/transform.js | 7 ++----- src/v0/destinations/klaviyo/util.js | 6 ------ src/v0/destinations/monday/transform.js | 4 ++-- src/v0/util/index.js | 4 ++-- 6 files changed, 9 insertions(+), 17 deletions(-) diff --git a/src/v0/destinations/customerio/transform.js b/src/v0/destinations/customerio/transform.js index 5f953ee2f0..984fb7e67f 100644 --- a/src/v0/destinations/customerio/transform.js +++ b/src/v0/destinations/customerio/transform.js @@ -12,6 +12,7 @@ const { adduserIdFromExternalId, getFieldValueFromMessage, handleRtTfSingleEventError, + validateEventName, } = require('../../util'); const logger = require('../../../logger'); @@ -101,6 +102,7 @@ function processSingleMessage(message, destination) { break; case EventType.TRACK: evType = 'event'; + validateEventName(message.event); evName = message.event; break; case EventType.ALIAS: @@ -113,6 +115,7 @@ function processSingleMessage(message, destination) { logger.error(`could not determine type ${messageType}`); throw new InstrumentationError(`could not determine type ${messageType}`); } + evName = evName ? String(evName) : evName; const response = responseBuilder(message, evType, evName, destination, messageType); // replace default domain with EU data center domainc for EU based account diff --git a/src/v0/destinations/customerio/util.js b/src/v0/destinations/customerio/util.js index 2e7f000fba..6b4dbc0e11 100644 --- a/src/v0/destinations/customerio/util.js +++ b/src/v0/destinations/customerio/util.js @@ -10,7 +10,6 @@ const { defaultDeleteRequestConfig, isAppleFamily, validateEmail, - validateEventType, } = require('../../util'); const { EventType, SpecedTraits, TraitsMapping } = require('../../../constants'); @@ -288,7 +287,6 @@ const defaultResponseBuilder = (message, evName, userId, evType, destination, me // 100 - len(`Viewed Screen`) = 86 trimmedEvName = `Viewed ${truncate(message.event || message.properties.name, 86)} Screen`; } else { - validateEventType(evName); trimmedEvName = truncate(evName, 100); } // anonymous_id needs to be sent for anon track calls to provide information on which anon user is being tracked diff --git a/src/v0/destinations/freshsales/transform.js b/src/v0/destinations/freshsales/transform.js index cd7518a101..c1e18482ed 100644 --- a/src/v0/destinations/freshsales/transform.js +++ b/src/v0/destinations/freshsales/transform.js @@ -8,7 +8,7 @@ const { defaultPostRequestConfig, getValidDynamicFormConfig, simpleProcessRouterDest, - validateEventType, + validateEventName, } = require('../../util'); const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); @@ -67,7 +67,6 @@ const identifyResponseBuilder = (message, { Config }) => { * @returns */ const trackResponseBuilder = async (message, { Config }, event) => { - validateEventType(event); let payload; const response = defaultRequestConfig(); @@ -125,9 +124,6 @@ const groupResponseBuilder = async (message, { Config }) => { // Checks if there are any mapping events for the track event and returns them function eventMappingHandler(message, destination) { const event = get(message, 'event'); - if (!event) { - throw new InstrumentationError('Event name is required'); - } let { rudderEventsToFreshsalesEvents } = destination.Config; const mappedEvents = new Set(); @@ -161,6 +157,7 @@ const processEvent = async (message, destination) => { response = identifyResponseBuilder(message, destination); break; case EventType.TRACK: { + validateEventName(message.event); const mappedEvents = eventMappingHandler(message, destination); if (mappedEvents.length > 0) { const respList = await Promise.all( diff --git a/src/v0/destinations/klaviyo/util.js b/src/v0/destinations/klaviyo/util.js index 4304edd78f..b31dafd78b 100644 --- a/src/v0/destinations/klaviyo/util.js +++ b/src/v0/destinations/klaviyo/util.js @@ -17,7 +17,6 @@ const { handleHttpRequest } = require('../../../adapters/network'); const { JSON_MIME_TYPE, HTTP_STATUS_CODES } = require('../../util/constant'); const { NetworkError, InstrumentationError } = require('../../util/errorTypes'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); -const { client: errNotificationClient } = require('../../../util/errorNotifier'); const { BASE_ENDPOINT, MAPPING_CONFIG, CONFIG_CATEGORIES, MAX_BATCH_SIZE } = require('./config'); const REVISION_CONSTANT = '2023-02-22'; @@ -69,11 +68,6 @@ const getIdFromNewOrExistingProfile = async (endpoint, payload, requestOptions) let statusCode = resp.status; if (resp.status === 201 || resp.status === 409) { // retryable error if the profile id is not found in the response - errNotificationClient.notify( - new Error('Klaviyo: ProfileId not found'), - 'Profile Id not Found in the response', - JSON.stringify(resp.response), - ); statusCode = 500; } diff --git a/src/v0/destinations/monday/transform.js b/src/v0/destinations/monday/transform.js index 34ada34780..37ee835e50 100644 --- a/src/v0/destinations/monday/transform.js +++ b/src/v0/destinations/monday/transform.js @@ -8,7 +8,7 @@ const { removeUndefinedAndNullValues, simpleProcessRouterDest, getDestinationExternalID, - validateEventType, + validateEventName, } = require('../../util'); const { ConfigurationError, @@ -42,7 +42,7 @@ const trackResponseBuilder = async (message, { Config }) => { const { apiToken } = Config; let boardId = getDestinationExternalID(message, 'boardId'); const event = get(message, 'event'); - validateEventType(event); + validateEventName(event); if (!boardId) { boardId = Config.boardId; } diff --git a/src/v0/util/index.js b/src/v0/util/index.js index e5ec1642b4..d6f6621220 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -2069,7 +2069,7 @@ const isValidInteger = (value) => { // Use a regular expression to check if the string is a valid integer or a valid floating-point number return typeof value === 'string' ? /^-?\d+$/.test(value) : false; }; -const validateEventType = (event) => { +const validateEventName = (event) => { if (!event || typeof event !== 'string') { throw new InstrumentationError('Event is a required field and should be a string'); } @@ -2177,7 +2177,7 @@ module.exports = { getDestAuthCacheInstance, refinePayload, validateEmail, - validateEventType, + validateEventName, validatePhoneWithCountryCode, getEventReqMetadata, isHybridModeEnabled, From 373535524c9c88f38cfbe558ec38e028221117fb Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 6 Nov 2023 10:17:13 +0000 Subject: [PATCH 75/98] chore(release): 1.49.0 --- CHANGELOG.md | 16 ++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01631435d2..b9256fa915 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ 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.49.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.48.0...v1.49.0) (2023-11-06) + + +### Features + +* add new destination tiktok_audience ([#2710](https://github.com/rudderlabs/rudder-transformer/issues/2710)) ([9bc0fd8](https://github.com/rudderlabs/rudder-transformer/commit/9bc0fd8efcee44871a190bd6cb9e89c5cf035ff8)) +* onboard one signal to router transform ([#2785](https://github.com/rudderlabs/rudder-transformer/issues/2785)) ([818858e](https://github.com/rudderlabs/rudder-transformer/commit/818858e046ce5f9735bbb97715c43a959ad3aa3c)) +* onboard revenuecat as a source ([#2774](https://github.com/rudderlabs/rudder-transformer/issues/2774)) ([55f9637](https://github.com/rudderlabs/rudder-transformer/commit/55f96374b4d73db7013c1d5e72bfc9c8257b224b)) + + +### Bug Fixes + +* add check to remove null and undefined properties before sending ([#2796](https://github.com/rudderlabs/rudder-transformer/issues/2796)) ([6e89cd3](https://github.com/rudderlabs/rudder-transformer/commit/6e89cd3f67ea887ba17c1cd5ffbca6675f54d96c)) +* allow support for full url from UI in freshsales and freshmarketer ([#2780](https://github.com/rudderlabs/rudder-transformer/issues/2780)) ([570532c](https://github.com/rudderlabs/rudder-transformer/commit/570532ce790c05a69621d9289758a1b1a7acda8c)) +* busgnag issues for klaviyo, freshsales, customeio ([#2795](https://github.com/rudderlabs/rudder-transformer/issues/2795)) ([11fb7c4](https://github.com/rudderlabs/rudder-transformer/commit/11fb7c47910681833e37d25a1573d2005e62742b)) + ## [1.48.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.47.0...v1.48.0) (2023-11-02) diff --git a/package-lock.json b/package-lock.json index 0822a9b42b..5e857f6bb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.48.0", + "version": "1.49.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.48.0", + "version": "1.49.0", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 46f728664d..ac0ae2bbeb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.48.0", + "version": "1.49.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From c99361b951960224b8220c854f9c509ec2844b52 Mon Sep 17 00:00:00 2001 From: Anant Jain Date: Tue, 7 Nov 2023 12:20:39 +0530 Subject: [PATCH 76/98] chore: comments addressed --- src/v0/destinations/am/transform.js | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/src/v0/destinations/am/transform.js b/src/v0/destinations/am/transform.js index b74625e273..d7d8f95565 100644 --- a/src/v0/destinations/am/transform.js +++ b/src/v0/destinations/am/transform.js @@ -589,8 +589,8 @@ const processSingleMessage = (message, destination) => { // To be used for track/page calls to associate the event to a group in AM let groupInfo = get(message, 'integrations.Amplitude.groups') || undefined; let category = ConfigCategory.DEFAULT; - let { properties } = message; - const { name, event } = message; + let updatedProperties; + const { name, event, properties } = message; const messageType = message.type.toLowerCase(); const CATEGORY_KEY = 'properties.category'; const { useUserDefinedPageEventName, userProvidedPageEventString } = destination.Config; @@ -623,17 +623,14 @@ const processSingleMessage = (message, destination) => { evType = `Viewed ${updatedName || ''}Page`; } message.properties = { - ...message.properties, + ...properties, name: name || get(message, CATEGORY_KEY), }; category = ConfigCategory.PAGE; break; case EventType.SCREEN: - ({ evType, updatedProperties: properties } = getScreenevTypeAndUpdatedProperties( - message, - CATEGORY_KEY, - )); - message.properties = properties; + ({ evType, updatedProperties } = getScreenevTypeAndUpdatedProperties(message, CATEGORY_KEY)); + message.properties = updatedProperties; category = ConfigCategory.SCREEN; break; case EventType.GROUP: @@ -664,9 +661,9 @@ const processSingleMessage = (message, destination) => { throw new InstrumentationError('Event not present. Please send event field'); } if ( - message.properties && - isDefinedAndNotNull(message.properties?.revenue) && - isDefinedAndNotNull(message.properties?.revenue_type) + properties && + isDefinedAndNotNull(properties?.revenue) && + isDefinedAndNotNull(properties?.revenue_type) ) { // if properties has revenue and revenue_type fields // consider the event as revenue event directly From 54120233ab07bb8c095f91a2dcb90a7d8e5fdf8e Mon Sep 17 00:00:00 2001 From: Anant Jain Date: Tue, 7 Nov 2023 12:49:08 +0530 Subject: [PATCH 77/98] chore: refactor screen code for evType and properties --- src/v0/destinations/am/transform.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/v0/destinations/am/transform.js b/src/v0/destinations/am/transform.js index d7d8f95565..04a1c5a107 100644 --- a/src/v0/destinations/am/transform.js +++ b/src/v0/destinations/am/transform.js @@ -196,7 +196,7 @@ const getScreenevTypeAndUpdatedProperties = (message, CATEGORY_KEY) => { const name = message.name || message.event || get(message, CATEGORY_KEY); const updatedName = name ? `${name} ` : ''; return { - evType: `Viewed ${updatedName}Screen`, + eventType: `Viewed ${updatedName}Screen`, updatedProperties: { ...message.properties, name, @@ -589,7 +589,6 @@ const processSingleMessage = (message, destination) => { // To be used for track/page calls to associate the event to a group in AM let groupInfo = get(message, 'integrations.Amplitude.groups') || undefined; let category = ConfigCategory.DEFAULT; - let updatedProperties; const { name, event, properties } = message; const messageType = message.type.toLowerCase(); const CATEGORY_KEY = 'properties.category'; @@ -629,9 +628,15 @@ const processSingleMessage = (message, destination) => { category = ConfigCategory.PAGE; break; case EventType.SCREEN: - ({ evType, updatedProperties } = getScreenevTypeAndUpdatedProperties(message, CATEGORY_KEY)); - message.properties = updatedProperties; - category = ConfigCategory.SCREEN; + { + const { eventType, updatedProperties } = getScreenevTypeAndUpdatedProperties( + message, + CATEGORY_KEY, + ); + evType = eventType; + message.properties = updatedProperties; + category = ConfigCategory.SCREEN; + } break; case EventType.GROUP: evType = 'group'; From b41aebf5f06800dceaf6ededce033b756c385559 Mon Sep 17 00:00:00 2001 From: Abhimanyu Babbar Date: Wed, 8 Nov 2023 11:38:30 +0530 Subject: [PATCH 78/98] chore(dm): added stats for the user transformation batch request (#2788) * added stats for user transform on openfaas * added stats for user transform to ivm --- src/legacy/router.js | 11 ---- src/services/userTransform.ts | 3 - src/util/customTransformer-faas.js | 17 +----- src/util/customTransformer-v1.js | 89 ++++++++++++---------------- src/util/customTransformer.js | 21 ++++--- src/util/customTransformerFactory.js | 28 +++++++-- src/util/openfaas/index.js | 54 +++++++++++------ src/util/prometheus.js | 67 ++++++++++----------- src/util/stats.js | 21 ++++--- 9 files changed, 156 insertions(+), 155 deletions(-) diff --git a/src/legacy/router.js b/src/legacy/router.js index a8c2b49a1a..99fb8570fb 100644 --- a/src/legacy/router.js +++ b/src/legacy/router.js @@ -571,14 +571,9 @@ if (startDestTransformer) { destEvents.length > 0 && destEvents[0].metadata ? getMetadata(destEvents[0].metadata) : {}; - const userFuncStartTime = new Date(); if (transformationVersionId) { let destTransformedEvents; try { - stats.counter('user_transform_function_input_events', destEvents.length, { - processSessions, - ...metaTags, - }); destTransformedEvents = await userTransformHandler()( destEvents, transformationVersionId, @@ -630,12 +625,6 @@ if (startDestTransformer) { processSessions, ...metaTags, }); - } finally { - stats.timing('user_transform_function_latency', userFuncStartTime, { - transformationVersionId, - processSessions, - ...metaTags, - }); } } else { const errorMessage = 'Transformation VersionID not found'; diff --git a/src/services/userTransform.ts b/src/services/userTransform.ts index 18165615a8..4fe1ad0b52 100644 --- a/src/services/userTransform.ts +++ b/src/services/userTransform.ts @@ -85,9 +85,6 @@ export default class UserTransformService { } const userFuncStartTime = new Date(); try { - stats.counter('user_transform_function_input_events', eventsToProcess.length, { - ...metaTags, - }); const destTransformedEvents: UserTransformationResponse[] = await userTransformHandler()( eventsToProcess, transformationVersionId, diff --git a/src/util/customTransformer-faas.js b/src/util/customTransformer-faas.js index 54d2410313..2c0bbfd8c0 100644 --- a/src/util/customTransformer-faas.js +++ b/src/util/customTransformer-faas.js @@ -24,8 +24,8 @@ function generateFunctionName(userTransformation, libraryVersionIds, testMode) { const ids = [userTransformation.workspaceId, userTransformation.versionId].concat( (libraryVersionIds || []).sort(), ); - const hash = crypto.createHash('md5').update(`${ids}`).digest('hex'); + const hash = crypto.createHash('md5').update(`${ids}`).digest('hex'); return `fn-${userTransformation.workspaceId}-${hash}`.substring(0, 63).toLowerCase(); } @@ -127,15 +127,8 @@ async function runOpenFaasUserTransform( if (events.length === 0) { throw new Error('Invalid payload. No events'); } - const metaTags = events[0].metadata ? getMetadata(events[0].metadata) : {}; - const tags = { - transformerVersionId: userTransformation.versionId, - identifier: 'openfaas', - testMode, - ...metaTags, - }; - const trMetadata = events[0].metadata ? getTransformationMetadata(events[0].metadata) : {}; + const trMetadata = events[0].metadata ? getTransformationMetadata(events[0].metadata) : {}; // check and deploy faas function if not exists const functionName = generateFunctionName(userTransformation, libraryVersionIds, testMode); if (testMode) { @@ -148,9 +141,7 @@ async function runOpenFaasUserTransform( ); } - const invokeTime = new Date(); - stats.counter('events_to_process', events.length, tags); - const result = await executeFaasFunction( + return await executeFaasFunction( functionName, events, userTransformation.versionId, @@ -165,8 +156,6 @@ async function runOpenFaasUserTransform( testMode, trMetadata, ); - stats.timing('run_time', invokeTime, tags); - return result; } module.exports = { diff --git a/src/util/customTransformer-v1.js b/src/util/customTransformer-v1.js index 397281d8d9..60f8e493fa 100644 --- a/src/util/customTransformer-v1.js +++ b/src/util/customTransformer-v1.js @@ -1,7 +1,7 @@ const ivm = require('isolated-vm'); const { getFactory } = require('./ivmFactory'); -const { getMetadata } = require('../v0/util'); +const { getMetadata, getTransformationMetadata } = require('../v0/util'); const logger = require('../logger'); const stats = require('./stats'); @@ -54,63 +54,48 @@ async function userTransformHandlerV1( libraryVersionIds, testMode = false, ) { - /* - Removing pool usage to address memory leaks - Env variable ON_DEMAND_ISOLATE_VM is not being used anymore - */ - if (userTransformation.versionId) { - const metaTags = events.length && events[0].metadata ? getMetadata(events[0].metadata) : {}; - const tags = { - transformerVersionId: userTransformation.versionId, - identifier: 'v1', - ...metaTags, - }; - - logger.debug(`Isolate VM being created... `); - const isolatevmFactory = await getFactory( - userTransformation.code, - libraryVersionIds, - userTransformation.versionId, - userTransformation.secrets || {}, - testMode, - ); - const isolatevm = await isolatevmFactory.create(); - logger.debug(`Isolate VM created... `); + if (!userTransformation.versionId) { + return { transformedEvents : events }; + } - // Transform the event... - stats.counter('events_to_process', events.length, tags); - const isolateStartWallTime = calculateMsFromIvmTime(isolatevm.isolateStartWallTime); - const isolateStartCPUTime = calculateMsFromIvmTime(isolatevm.isolateStartCPUTime); + const isolatevmFactory = await getFactory( + userTransformation.code, + libraryVersionIds, + userTransformation.versionId, + userTransformation.secrets || {}, + testMode, + ); - const invokeTime = new Date(); - let transformedEvents; - // Destroy isolatevm in case of execution errors - try { - transformedEvents = await transform(isolatevm, events); - } catch (err) { - logger.error(`Error encountered while executing transformation: ${err.message}`); - isolatevmFactory.destroy(isolatevm); - throw err; - } - const { logs } = isolatevm; - stats.timing('run_time', invokeTime, tags); - const isolateEndWallTime = calculateMsFromIvmTime(isolatevm.isolate.wallTime); - const isolateEndCPUTime = calculateMsFromIvmTime(isolatevm.isolate.cpuTime); + logger.debug(`Creating IsolateVM`); + const isolatevm = await isolatevmFactory.create(); - //TODO: fix "Value is not a valid number: NaN" error and uncomment - //stats.timing('isolate_wall_time', isolateEndWallTime - isolateStartWallTime, tags); - //stats.timing('isolate_cpu_time', isolateEndCPUTime - isolateStartCPUTime, tags); + const invokeTime = new Date(); + let transformedEvents; + let logs; + let transformationError; - // Destroy the isolated vm resources created - logger.debug(`Isolate VM being destroyed... `); + try { + transformedEvents = await transform(isolatevm, events); + logs = isolatevm.logs; + } catch (err) { + logger.error(`Error encountered while executing transformation: ${err.message}`); + transformationError = err; + throw err; + } finally { + logger.debug(`Destroying IsolateVM`); isolatevmFactory.destroy(isolatevm); - logger.debug(`Isolate VM destroyed... `); - - return { transformedEvents, logs }; - // Events contain message and destination. We take the message part of event and run transformation on it. - // And put back the destination after transforrmation + // send the observability stats + const tags = { + identifier: 'v1', + errored: transformationError ? true : false, + ...events.length && events[0].metadata ? getMetadata(events[0].metadata) : {}, + ...events.length && events[0].metadata ? getTransformationMetadata(events[0].metadata) : {} + } + stats.counter('user_transform_function_input_events', events.length, tags); + stats.timing('user_transform_function_latency', invokeTime, tags); } - return { transformedEvents: events }; + + return { transformedEvents, logs }; } async function setUserTransformHandlerV1() { diff --git a/src/util/customTransformer.js b/src/util/customTransformer.js index 90dcea61b2..001fe3216c 100644 --- a/src/util/customTransformer.js +++ b/src/util/customTransformer.js @@ -7,6 +7,7 @@ const { UserTransformHandlerFactory } = require('./customTransformerFactory'); const { parserForImport } = require('./parser'); const stats = require('./stats'); const { fetchWithDnsWrapper } = require('./utils'); +const { getMetadata, getTransformationMetadata } = require('../v0/util'); const ISOLATE_VM_MEMORY = parseInt(process.env.ISOLATE_VM_MEMORY || '128', 10); const GEOLOCATION_TIMEOUT_IN_MS = parseInt(process.env.GEOLOCATION_TIMEOUT_IN_MS || '1000', 10); @@ -19,10 +20,6 @@ async function runUserTransform( versionId, testMode = false, ) { - const tags = { - transformerVersionId: versionId, - identifier: 'v0', - }; // TODO: Decide on the right value for memory limit const isolate = new ivm.Isolate({ memoryLimit: ISOLATE_VM_MEMORY }); const context = await isolate.createContext(); @@ -214,9 +211,6 @@ async function runUserTransform( const customScript = await isolate.compileScript(`${code}`); await customScript.run(context); const fnRef = await jail.get('transform', { reference: true }); - // stat - 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) => { const sharedMessagesList = new ivm.ExternalCopy(events).copyInto({ @@ -233,6 +227,7 @@ async function runUserTransform( } }); let result; + let transformationError; const invokeTime = new Date(); try { const timeoutPromise = new Promise((resolve) => { @@ -245,8 +240,8 @@ async function runUserTransform( if (result === 'Timedout') { throw new Error('Timed out'); } - stats.timing('run_time', invokeTime, tags); } catch (error) { + transformationError = error; throw error; } finally { // release function, script, context and isolate @@ -255,6 +250,16 @@ async function runUserTransform( bootstrapScriptResult.release(); context.release(); isolate.dispose(); + + const tags = { + identifier: 'v0', + errored: transformationError ? true : false, + ...events.length && events[0].metadata ? getMetadata(events[0].metadata) : {}, + ...events.length && events[0].metadata ? getTransformationMetadata(events[0].metadata) : {} + } + + stats.counter('user_transform_function_input_events', events.length, tags); + stats.timing('user_transform_function_latency', invokeTime, tags); } return { diff --git a/src/util/customTransformerFactory.js b/src/util/customTransformerFactory.js index 66268db286..1bf10e5d45 100644 --- a/src/util/customTransformerFactory.js +++ b/src/util/customTransformerFactory.js @@ -1,9 +1,15 @@ -const { setOpenFaasUserTransform, runOpenFaasUserTransform } = require('./customTransformer-faas'); +const { + setOpenFaasUserTransform, + runOpenFaasUserTransform, +} = require('./customTransformer-faas'); -const { userTransformHandlerV1, setUserTransformHandlerV1 } = require('./customTransformer-v1'); +const { + userTransformHandlerV1, + setUserTransformHandlerV1, +} = require('./customTransformer-v1'); const UserTransformHandlerFactory = (userTransformation) => { - const transformHandler = { + return { setUserTransform: async (libraryVersionIds) => { switch (userTransformation.language) { case 'pythonfaas': @@ -17,13 +23,23 @@ const UserTransformHandlerFactory = (userTransformation) => { switch (userTransformation.language) { case 'pythonfaas': case 'python': - return runOpenFaasUserTransform(events, userTransformation, libraryVersionIds, testMode); + return runOpenFaasUserTransform( + events, + userTransformation, + libraryVersionIds, + testMode + ); + default: - return userTransformHandlerV1(events, userTransformation, libraryVersionIds, testMode); + return userTransformHandlerV1( + events, + userTransformation, + libraryVersionIds, + testMode + ); } }, }; - return transformHandler; }; exports.UserTransformHandlerFactory = UserTransformHandlerFactory; diff --git a/src/util/openfaas/index.js b/src/util/openfaas/index.js index f80aa01c23..47a69aeb18 100644 --- a/src/util/openfaas/index.js +++ b/src/util/openfaas/index.js @@ -1,6 +1,5 @@ const NodeCache = require('node-cache'); const { - getFunction, deleteFunction, deployFunction, invokeFunction, @@ -8,6 +7,9 @@ const { } = require('./faasApi'); const logger = require('../../logger'); const { RetryRequestError, RespStatusError } = require('../utils'); +const stats = require('../stats'); +const { getMetadata, getTransformationMetadata } = require('../../v0/util'); +const { HTTP_STATUS_CODES } = require('../../v0/util/constant'); const FAAS_BASE_IMG = process.env.FAAS_BASE_IMG || 'rudderlabs/openfaas-flask:main'; const FAAS_MAX_PODS_IN_TEXT = process.env.FAAS_MAX_PODS_IN_TEXT || '40'; @@ -230,41 +232,44 @@ async function setupFaasFunction( } const executeFaasFunction = async ( - functionName, + name, events, versionId, libraryVersionIDs, testMode, trMetadata = {}, ) => { - try { - logger.debug('[Faas] Invoking faas function'); + logger.debug(`Executing faas function: ${name}`); - if (testMode) await awaitFunctionReadiness(functionName); + const startTime = new Date(); + let errorRaised; + + try { + if (testMode) await awaitFunctionReadiness(name); + return await invokeFunction(name, events); - const res = await invokeFunction(functionName, events); - logger.debug('[Faas] Invoked faas function'); - return res; } catch (error) { - logger.error(`[Faas] Error while invoking ${functionName}: ${error.message}`); + logger.error(`Error while invoking ${name}: ${error.message}`); + errorRaised = error; + if ( error.statusCode === 404 && - error.message.includes(`error finding function ${functionName}`) + error.message.includes(`error finding function ${name}`) ) { - removeFunctionFromCache(functionName); + removeFunctionFromCache(name); await setupFaasFunction( - functionName, + name, null, versionId, libraryVersionIDs, testMode, trMetadata, ); - throw new RetryRequestError(`${functionName} not found`); + throw new RetryRequestError(`${name} not found`); } if (error.statusCode === 429) { - throw new RetryRequestError(`Rate limit exceeded for ${functionName}`); + throw new RetryRequestError(`Rate limit exceeded for ${name}`); } if (error.statusCode === 500 || error.statusCode === 503) { @@ -272,16 +277,29 @@ const executeFaasFunction = async ( } if (error.statusCode === 504) { - throw new RespStatusError('Timed out'); + throw new RespStatusError(`${name} timed out`); } throw error; } finally { + // delete the function created, if it's called as part of testMode if (testMode) { - deleteFunction(functionName).catch((err) => { - logger.error(`[Faas] Error while deleting ${functionName}: ${err.message}`); - }); + deleteFunction(name).catch((err) => + logger.error(`[Faas] Error while deleting ${name}: ${err.message}`)) + } + + // setup the tags for observability and then fire the stats + const tags = { + identifier: "openfaas", + testMode: testMode, + errored: errorRaised ? true : false, + statusCode: errorRaised ? errorRaised.statusCode : HTTP_STATUS_CODES.OK, // default statuscode is 200OK + ...events.length && events[0].metadata ? getMetadata(events[0].metadata) : {}, + ...events.length && events[0].metadata ? getTransformationMetadata(events[0].metadata) : {}, } + + stats.counter('user_transform_function_input_events', events.length, tags) + stats.timing('user_transform_function_latency', startTime, tags) } }; diff --git a/src/util/prometheus.js b/src/util/prometheus.js index 9f3255a05d..116f77d214 100644 --- a/src/util/prometheus.js +++ b/src/util/prometheus.js @@ -249,12 +249,6 @@ class Prometheus { type: 'counter', labelNames: ['processSessions'], }, - { - name: 'user_transform_function_input_events', - help: 'user_transform_function_input_events', - type: 'counter', - labelNames: ['processSessions', 'sourceType', 'destinationType', 'k8_namespace'], - }, { name: 'user_transform_errors', help: 'user_transform_errors', @@ -505,20 +499,6 @@ class Prometheus { type: 'counter', labelNames: ['writeKey', 'source'], }, - { - name: 'events_to_process', - help: 'events_to_process', - type: 'counter', - labelNames: [ - 'transformerVersionId', - 'language', - 'identifier', - 'testMode', - 'sourceType', - 'destinationType', - 'k8_namespace', - ], - }, { name: 'get_transformation_code', help: 'get_transformation_code', @@ -668,21 +648,6 @@ class Prometheus { type: 'histogram', labelNames: ['transformerVersionId', 'language', 'identifier', 'publish', 'testMode'], }, - { - name: 'run_time', - help: 'run_time', - type: 'histogram', - labelNames: [ - 'transformerVersionId', - 'language', - 'identifier', - 'publish', - 'testMode', - 'sourceType', - 'destinationType', - 'k8_namespace', - ], - }, { name: 'get_tracking_plan', help: 'get_tracking_plan', type: 'histogram', labelNames: [] }, { name: 'createivm_duration', help: 'createivm_duration', type: 'histogram', labelNames: [] }, { @@ -940,6 +905,38 @@ class Prometheus { type: 'histogram', labelNames: [], }, + { + name: 'user_transform_function_input_events', + help: 'user_transform_function_input_events', + type: 'counter', + labelNames: [ + 'identifier', + 'testMode', + 'sourceType', + 'destinationType', + 'k8_namespace', + 'errored', + 'statusCode', + 'transformationId', + 'workspaceId' + ], + }, + { + name: 'user_transform_function_latency', + help: 'user_transform_function_latency', + type: 'histogram', + labelNames: [ + 'identifier', + 'testMode', + 'sourceType', + 'destinationType', + 'k8_namespace', + 'errored', + 'statusCode', + 'transformationId', + 'workspaceId' + ], + } ]; metrics.forEach((metric) => { diff --git a/src/util/stats.js b/src/util/stats.js index de77362ac1..e57ab85731 100644 --- a/src/util/stats.js +++ b/src/util/stats.js @@ -11,14 +11,19 @@ function init() { return; } - if (statsClientType === 'statsd') { - statsClient = new statsd.Statsd(); - logger.info('created statsd client'); - } else if (statsClientType === 'prometheus') { - statsClient = new prometheus.Prometheus(); - logger.info('created prometheus client'); - } else { - logger.info("Invalid stats client type. Valid values are 'statsd' and 'prometheus'."); + switch (statsClientType) { + case 'statsd': + logger.info("setting up statsd client") + statsClient = new statsd.Statsd(); + break; + + case 'prometheus': + logger.info("setting up prometheus client") + statsClient = new prometheus.Prometheus(); + break; + + default: + logger.error(`invalid stats client type: ${statsClientType}, supported values are 'statsd' and 'prometheues'`) } } From 8be8294b79c3f3ba2a804a30648f047e0a6331c4 Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:00:05 +0530 Subject: [PATCH 79/98] chore: security upgrade crypto-js from 4.1.1 to 4.2.0 (#2768) fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-CRYPTOJS-6028119 Co-authored-by: snyk-bot --- package-lock.json | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5e857f6bb9..f85f4c0516 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "axios": "^1.4.0", "btoa": "^1.2.1", "component-each": "^0.2.6", - "crypto-js": "^4.1.1", + "crypto-js": "^4.2.0", "dotenv": "^16.0.3", "flat": "^5.0.2", "form-data": "^4.0.0", @@ -10608,8 +10608,9 @@ } }, "node_modules/crypto-js": { - "version": "4.1.1", - "license": "MIT" + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" }, "node_modules/currently-unhandled": { "version": "0.4.1", diff --git a/package.json b/package.json index ac0ae2bbeb..4b57da4d5f 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "axios": "^1.4.0", "btoa": "^1.2.1", "component-each": "^0.2.6", - "crypto-js": "^4.1.1", + "crypto-js": "^4.2.0", "dotenv": "^16.0.3", "flat": "^5.0.2", "form-data": "^4.0.0", From c14b68997d90205d59f30a61723b937a2e88fb43 Mon Sep 17 00:00:00 2001 From: ktgowtham Date: Wed, 8 Nov 2023 12:00:39 +0530 Subject: [PATCH 80/98] chore: security upgrade axios from 1.4.0 to 1.6.0 (#2772) fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-6032459 Co-authored-by: snyk-bot --- package-lock.json | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index f85f4c0516..c16855ccfd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "ajv": "^8.12.0", "ajv-draft-04": "^1.0.0", "ajv-formats": "^2.1.1", - "axios": "^1.4.0", + "axios": "^1.6.0", "btoa": "^1.2.1", "component-each": "^0.2.6", "crypto-js": "^4.2.0", @@ -8171,8 +8171,9 @@ "license": "MIT" }, "node_modules/axios": { - "version": "1.4.0", - "license": "MIT", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", + "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", diff --git a/package.json b/package.json index 4b57da4d5f..f0746c9aaf 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "ajv": "^8.12.0", "ajv-draft-04": "^1.0.0", "ajv-formats": "^2.1.1", - "axios": "^1.4.0", + "axios": "^1.6.0", "btoa": "^1.2.1", "component-each": "^0.2.6", "crypto-js": "^4.2.0", From c02370e38fabb581698baa00e1ddd3da93dc07fa Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Thu, 9 Nov 2023 20:26:15 +0530 Subject: [PATCH 81/98] fix: shopify redis metric when there is no data returned for a key (#2811) fix: shopfify redis metric when there is no data returned for a key --- src/v0/sources/shopify/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v0/sources/shopify/util.js b/src/v0/sources/shopify/util.js index 0d81ddc185..2521e9cb9d 100644 --- a/src/v0/sources/shopify/util.js +++ b/src/v0/sources/shopify/util.js @@ -32,7 +32,7 @@ const getDataFromRedis = async (key, metricMetadata) => { ...metricMetadata, }); const redisData = await RedisDB.getVal(key); - if (redisData === null) { + if (redisData === null || (typeof redisData === "object" && Object.keys(redisData).length === 0)) { stats.increment('shopify_redis_no_val', { ...metricMetadata, }); From 8eb1e1d482923004e2f3357e4163a8ea95b9e183 Mon Sep 17 00:00:00 2001 From: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:16:32 +0530 Subject: [PATCH 82/98] chore: import error classes from integrations lib (#2719) --- package-lock.json | 35 ++++++-- package.json | 1 + .../networkhandler/genericNetworkHandler.js | 2 +- src/adapters/utils/networkUtils.js | 2 +- src/cdk/v1/autopilot/transform.js | 2 +- src/cdk/v1/dcm_floodlight/transform.js | 2 +- src/cdk/v1/handler.js | 8 +- src/cdk/v2/bindings/default.js | 2 +- .../v2/destinations/dcm_floodlight/utils.js | 2 +- src/cdk/v2/utils.ts | 2 +- src/helpers/serviceSelector.ts | 2 +- src/services/destination/cdkV1Integration.ts | 2 +- src/services/destination/cdkV2Integration.ts | 2 +- src/util/errorNotifier/bugsnag.js | 9 +- src/util/redis/redisConnector.js | 2 +- .../destinations/active_campaign/transform.js | 10 +-- src/v0/destinations/active_campaign/util.js | 2 +- src/v0/destinations/adj/transform.js | 10 +-- .../destinations/adobe_analytics/transform.js | 10 +-- src/v0/destinations/adobe_analytics/utils.js | 8 +- src/v0/destinations/af/deleteUsers.js | 6 +- src/v0/destinations/af/transform.js | 2 +- src/v0/destinations/airship/transform.js | 2 +- src/v0/destinations/algolia/transform.js | 4 +- src/v0/destinations/algolia/util.js | 2 +- src/v0/destinations/am/deleteUsers.js | 2 +- src/v0/destinations/am/transform.js | 3 +- src/v0/destinations/appcues/transform.js | 2 +- .../destinations/attentive_tag/transform.js | 2 +- src/v0/destinations/attentive_tag/util.js | 2 +- src/v0/destinations/attribution/transform.js | 2 +- src/v0/destinations/autopilot/transform.js | 2 +- src/v0/destinations/awin/transform.js | 2 +- .../destinations/azure_event_hub/transform.js | 1 - src/v0/destinations/blueshift/transform.js | 10 +-- src/v0/destinations/bqstream/transform.js | 2 +- src/v0/destinations/branch/transform.js | 2 +- src/v0/destinations/braze/deleteUsers.js | 2 +- src/v0/destinations/braze/networkHandler.js | 2 +- src/v0/destinations/braze/transform.js | 7 +- src/v0/destinations/braze/util.js | 2 +- .../campaign_manager/networkHandler.js | 2 +- .../campaign_manager/transform.js | 3 +- src/v0/destinations/candu/transform.js | 2 +- src/v0/destinations/canny/transform.js | 2 +- src/v0/destinations/canny/util.js | 2 +- src/v0/destinations/clevertap/deleteUsers.js | 2 +- .../destinations/clevertap/networkHandler.js | 2 +- src/v0/destinations/clevertap/transform.js | 2 +- src/v0/destinations/clickup/transform.js | 2 +- src/v0/destinations/clickup/util.js | 2 +- .../destinations/confluent_cloud/transform.js | 1 - src/v0/destinations/courier/transform.js | 10 +-- .../criteo_audience/networkHandler.js | 14 +-- .../destinations/criteo_audience/transform.js | 2 +- src/v0/destinations/criteo_audience/util.js | 2 +- src/v0/destinations/custify/deleteUsers.js | 6 +- src/v0/destinations/custify/transform.js | 2 +- src/v0/destinations/custify/util.js | 2 +- src/v0/destinations/customerio/transform.js | 2 +- src/v0/destinations/customerio/util.js | 3 +- src/v0/destinations/delighted/transform.js | 10 +-- src/v0/destinations/delighted/util.js | 8 +- src/v0/destinations/discord/transform.js | 2 +- src/v0/destinations/drip/transform.js | 10 +-- src/v0/destinations/drip/util.js | 2 +- src/v0/destinations/engage/deleteUsers.js | 2 +- src/v0/destinations/engage/transform.js | 2 +- src/v0/destinations/eventbridge/transform.js | 2 +- .../facebook_offline_conversions/transform.js | 2 +- .../facebook_offline_conversions/utils.js | 2 +- .../destinations/facebook_pixel/transform.js | 3 +- src/v0/destinations/facebook_pixel/utils.js | 2 +- src/v0/destinations/factorsai/transform.js | 2 +- src/v0/destinations/fb/transform.js | 2 +- .../fb_custom_audience/transform.js | 10 +-- .../destinations/fb_custom_audience/util.js | 2 +- src/v0/destinations/firehose/transform.js | 2 +- .../destinations/freshmarketer/transform.js | 10 +-- src/v0/destinations/freshmarketer/utils.js | 10 +-- src/v0/destinations/freshsales/transform.js | 2 +- src/v0/destinations/freshsales/utils.js | 10 +-- src/v0/destinations/ga/deleteUsers.js | 2 +- src/v0/destinations/ga/networkHandler.js | 2 +- src/v0/destinations/ga/transform.js | 2 +- src/v0/destinations/ga/utils.js | 2 +- src/v0/destinations/ga360/transform.js | 2 +- src/v0/destinations/ga4/networkHandler.js | 2 +- src/v0/destinations/ga4/transform.js | 10 +-- src/v0/destinations/ga4/utils.js | 2 +- src/v0/destinations/gainsight/transform.js | 2 +- src/v0/destinations/gainsight/util.js | 6 +- src/v0/destinations/gainsight_px/transform.js | 2 +- src/v0/destinations/gainsight_px/util.js | 2 +- .../networkHandler.js | 3 +- .../transform.js | 3 +- .../networkHandler.js | 10 +-- .../transform.js | 2 +- .../utils.js | 6 +- .../networkHandler.js | 2 +- .../transform.js | 2 +- .../google_cloud_function/util.js | 2 +- src/v0/destinations/googlepubsub/transform.js | 2 +- src/v0/destinations/googlesheets/transform.js | 2 +- src/v0/destinations/heap/transform.js | 2 +- src/v0/destinations/hs/HSTransform-v1.js | 10 +-- src/v0/destinations/hs/HSTransform-v2.js | 10 +-- src/v0/destinations/hs/transform.js | 2 +- src/v0/destinations/hs/util.js | 12 +-- src/v0/destinations/impact/transform.js | 10 +-- src/v0/destinations/indicative/transform.js | 2 +- src/v0/destinations/intercom/deleteUsers.js | 2 +- .../destinations/intercom/networkHandler.js | 3 +- src/v0/destinations/intercom/transform.js | 2 +- src/v0/destinations/iterable/deleteUsers.js | 2 +- src/v0/destinations/iterable/transform.js | 2 +- src/v0/destinations/iterable/util.js | 2 +- src/v0/destinations/june/transform.js | 2 +- src/v0/destinations/kafka/transform.js | 1 - src/v0/destinations/keen/transform.js | 2 +- src/v0/destinations/kissmetrics/transform.js | 2 +- src/v0/destinations/klaviyo/transform.js | 7 +- src/v0/destinations/klaviyo/util.js | 2 +- src/v0/destinations/kochava/transform.js | 2 +- src/v0/destinations/kustomer/transform.js | 2 +- src/v0/destinations/kustomer/util.js | 2 +- src/v0/destinations/lambda/transform.js | 2 +- src/v0/destinations/leanplum/transform.js | 2 +- src/v0/destinations/lemnisk/transform.js | 10 +-- src/v0/destinations/lemnisk/utils.js | 2 +- src/v0/destinations/lytics/transform.js | 2 +- src/v0/destinations/mailchimp/transform.js | 2 +- src/v0/destinations/mailchimp/utils.js | 2 +- src/v0/destinations/mailjet/transform.js | 2 +- src/v0/destinations/mailmodo/transform.js | 2 +- src/v0/destinations/marketo/transform.js | 10 +-- src/v0/destinations/marketo/util.js | 14 +-- .../marketo_bulk_upload/fetchJobStatus.js | 2 +- .../marketo_bulk_upload/fileUpload.js | 12 +-- .../marketo_bulk_upload.util.test.js | 2 +- .../destinations/marketo_bulk_upload/poll.js | 2 +- .../marketo_bulk_upload/transform.js | 2 +- .../destinations/marketo_bulk_upload/util.js | 4 +- .../marketo_static_list/transform.js | 2 +- .../destinations/marketo_static_list/util.js | 2 +- src/v0/destinations/mautic/transform.js | 10 +-- src/v0/destinations/mautic/utils.js | 6 +- src/v0/destinations/moengage/transform.js | 10 +-- src/v0/destinations/monday/transform.js | 10 +-- src/v0/destinations/monday/util.js | 6 +- src/v0/destinations/monetate/transform.js | 2 +- src/v0/destinations/monetate/utils.js | 2 +- src/v0/destinations/mp/deleteUsers.js | 2 +- src/v0/destinations/mp/transform.js | 2 +- src/v0/destinations/mp/util.js | 2 +- .../ometria/networkResponseHandler.js | 2 +- src/v0/destinations/ometria/transform.js | 2 +- src/v0/destinations/one_signal/transform.js | 10 +-- src/v0/destinations/one_signal/util.js | 2 +- src/v0/destinations/pagerduty/transform.js | 10 +-- src/v0/destinations/pagerduty/util.js | 2 +- src/v0/destinations/pardot/networkHandler.js | 2 +- src/v0/destinations/pardot/transform.js | 2 +- src/v0/destinations/persistiq/transform.js | 2 +- src/v0/destinations/persistiq/util.js | 2 +- src/v0/destinations/personalize/transform.js | 2 +- .../destinations/pinterest_tag/transform.js | 2 +- src/v0/destinations/pinterest_tag/utils.js | 2 +- src/v0/destinations/posthog/transform.js | 2 +- src/v0/destinations/profitwell/transform.js | 6 +- src/v0/destinations/profitwell/utils.js | 5 +- src/v0/destinations/redis/transform.js | 2 +- src/v0/destinations/refiner/transform.js | 2 +- src/v0/destinations/refiner/utils.js | 2 +- src/v0/destinations/revenue_cat/transform.js | 10 +-- src/v0/destinations/rockerbox/transform.js | 2 +- src/v0/destinations/salesforce/transform.js | 5 +- src/v0/destinations/salesforce/utils.js | 2 +- src/v0/destinations/sendgrid/deleteUsers.js | 2 +- src/v0/destinations/sendgrid/transform.js | 10 +-- src/v0/destinations/sendgrid/util.js | 6 +- src/v0/destinations/sendinblue/transform.js | 2 +- src/v0/destinations/sendinblue/util.js | 2 +- src/v0/destinations/serenytics/transform.js | 10 +-- src/v0/destinations/serenytics/utils.js | 2 +- src/v0/destinations/sfmc/transform.js | 6 +- src/v0/destinations/shynet/transform.js | 2 +- src/v0/destinations/signl4/transform.js | 10 +-- src/v0/destinations/singular/transform.js | 2 +- src/v0/destinations/singular/util.js | 2 +- src/v0/destinations/slack/transform.js | 2 +- .../snapchat_conversion/transform.js | 2 +- .../networkHandler.js | 2 +- .../snapchat_custom_audience/transform.js | 2 +- .../snapchat_custom_audience/utils.js | 2 +- src/v0/destinations/splitio/transform.js | 2 +- src/v0/destinations/statsig/transform.js | 2 +- src/v0/destinations/stormly/transform.js | 5 +- .../destinations/tiktok_ads/networkHandler.js | 2 +- src/v0/destinations/tiktok_ads/transform.js | 2 +- .../tiktok_ads_offline_events/transform.js | 2 +- src/v0/destinations/trengo/transform.js | 14 +-- src/v0/destinations/twitter_ads/transform.js | 10 +-- src/v0/destinations/user/transform.js | 10 +-- src/v0/destinations/user/utils.js | 5 +- src/v0/destinations/userlist/transform.js | 2 +- src/v0/destinations/vero/transform.js | 2 +- src/v0/destinations/webengage/transform.js | 2 +- src/v0/destinations/webhook/transform.js | 2 +- src/v0/destinations/woopra/transform.js | 2 +- src/v0/destinations/wootric/transform.js | 2 +- src/v0/destinations/wootric/util.js | 2 +- src/v0/destinations/yahoo_dsp/transform.js | 2 +- src/v0/destinations/yahoo_dsp/util.js | 2 +- src/v0/destinations/zendesk/transform.js | 10 +-- src/v0/destinations/zendesk/util.js | 2 +- src/v0/sources/appsflyer/transform.js | 2 +- src/v0/sources/braze/transform.js | 2 +- src/v0/sources/canny/transform.js | 2 +- src/v0/sources/canny/util.js | 2 +- src/v0/sources/customerio/transform.js | 2 - src/v0/sources/gainsightpx/transform.js | 2 +- src/v0/sources/iterable/transform.js | 2 +- src/v0/sources/mailmodo/transform.js | 2 +- src/v0/sources/monday/transform.js | 2 +- src/v0/sources/shopify/util.js | 2 +- src/v0/util/errorTypes/abortedError.js | 15 ---- src/v0/util/errorTypes/configurationError.js | 16 ---- src/v0/util/errorTypes/index.js | 32 ------- .../util/errorTypes/instrumentationError.js | 15 ---- .../util/errorTypes/invalidAuthTokenError.js | 16 ---- src/v0/util/errorTypes/networkError.js | 29 ------- .../errorTypes/networkInstrumentationError.js | 16 ---- src/v0/util/errorTypes/oAuthSecretError.js | 15 ---- src/v0/util/errorTypes/platformError.js | 14 --- src/v0/util/errorTypes/redisError.js | 15 ---- src/v0/util/errorTypes/retryableError.js | 15 ---- src/v0/util/errorTypes/throttledError.js | 15 ---- src/v0/util/errorTypes/transformationError.js | 14 --- src/v0/util/errorTypes/unauthorizedError.js | 16 ---- .../errorTypes/unhandledStatusCodeError.js | 16 ---- .../util/errorTypes/unsupportedEventError.js | 14 --- src/v0/util/facebookUtils/index.js | 2 +- src/v0/util/facebookUtils/networkHandler.js | 2 +- src/v0/util/index.js | 8 +- src/v0/util/regulation-api.js | 2 +- src/warehouse/identity.js | 2 +- src/warehouse/index.js | 2 +- src/warehouse/util.js | 2 +- src/warehouse/v1/util.js | 2 +- .../pinterest_tag/processor/data.ts | 85 +++++++++++++++++++ 251 files changed, 562 insertions(+), 689 deletions(-) delete mode 100644 src/v0/util/errorTypes/abortedError.js delete mode 100644 src/v0/util/errorTypes/configurationError.js delete mode 100644 src/v0/util/errorTypes/instrumentationError.js delete mode 100644 src/v0/util/errorTypes/invalidAuthTokenError.js delete mode 100644 src/v0/util/errorTypes/networkError.js delete mode 100644 src/v0/util/errorTypes/networkInstrumentationError.js delete mode 100644 src/v0/util/errorTypes/oAuthSecretError.js delete mode 100644 src/v0/util/errorTypes/platformError.js delete mode 100644 src/v0/util/errorTypes/redisError.js delete mode 100644 src/v0/util/errorTypes/retryableError.js delete mode 100644 src/v0/util/errorTypes/throttledError.js delete mode 100644 src/v0/util/errorTypes/transformationError.js delete mode 100644 src/v0/util/errorTypes/unauthorizedError.js delete mode 100644 src/v0/util/errorTypes/unhandledStatusCodeError.js delete mode 100644 src/v0/util/errorTypes/unsupportedEventError.js diff --git a/package-lock.json b/package-lock.json index c16855ccfd..91f984e22c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "@koa/router": "^12.0.0", "@ndhoule/extend": "^2.0.0", "@pyroscope/nodejs": "^0.2.6", + "@rudderstack/integrations-lib": "^0.1.8", "@rudderstack/workflow-engine": "^0.5.7", "ajv": "^8.12.0", "ajv-draft-04": "^1.0.0", @@ -6637,6 +6638,25 @@ "node": ">= 8" } }, + "node_modules/@rudderstack/integrations-lib": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/@rudderstack/integrations-lib/-/integrations-lib-0.1.8.tgz", + "integrity": "sha512-f8GX78RFma3XAWPNEI6QjGk4avbE8r9aspHNaYE+YyRKsJGWrl8gw/k+Jso36C0juOGas79GWPSiypbXLu8Q/g==", + "dependencies": { + "@rudderstack/workflow-engine": "^0.5.7", + "axios": "^1.4.0", + "axios-mock-adapter": "^1.22.0", + "crypto": "^1.0.1", + "get-value": "^3.0.1", + "handlebars": "^4.7.8", + "lodash": "^4.17.21", + "moment": "^2.29.4", + "moment-timezone": "^0.5.43", + "set-value": "^4.1.0", + "sha256": "^0.2.0", + "tslib": "^2.4.0" + } + }, "node_modules/@rudderstack/json-template-engine": { "version": "0.5.5", "license": "MIT" @@ -8184,7 +8204,6 @@ "version": "1.22.0", "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-1.22.0.tgz", "integrity": "sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==", - "dev": true, "dependencies": { "fast-deep-equal": "^3.1.3", "is-buffer": "^2.0.5" @@ -8197,7 +8216,6 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", - "dev": true, "funding": [ { "type": "github", @@ -10608,6 +10626,12 @@ "node": "*" } }, + "node_modules/crypto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/crypto/-/crypto-1.0.1.tgz", + "integrity": "sha512-VxBKmeNcqQdiUQUW2Tzq0t377b54N2bMtXO/qiLa+6eRRmmC4qT3D4OnTGoT/U6O9aklQ/jTwbOtRMTTY8G0Ig==", + "deprecated": "This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in." + }, "node_modules/crypto-js": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", @@ -13104,11 +13128,12 @@ "license": "MIT" }, "node_modules/handlebars": { - "version": "4.7.7", - "license": "MIT", + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", "dependencies": { "minimist": "^1.2.5", - "neo-async": "^2.6.0", + "neo-async": "^2.6.2", "source-map": "^0.6.1", "wordwrap": "^1.0.0" }, diff --git a/package.json b/package.json index f0746c9aaf..bfa2630971 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "@koa/router": "^12.0.0", "@ndhoule/extend": "^2.0.0", "@pyroscope/nodejs": "^0.2.6", + "@rudderstack/integrations-lib": "^0.1.8", "@rudderstack/workflow-engine": "^0.5.7", "ajv": "^8.12.0", "ajv-draft-04": "^1.0.0", diff --git a/src/adapters/networkhandler/genericNetworkHandler.js b/src/adapters/networkhandler/genericNetworkHandler.js index 23bdc1d7a2..bcbcb21259 100644 --- a/src/adapters/networkhandler/genericNetworkHandler.js +++ b/src/adapters/networkhandler/genericNetworkHandler.js @@ -1,7 +1,7 @@ +const { NetworkError } = require('@rudderstack/integrations-lib'); const { isHttpStatusSuccess } = require('../../v0/util/index'); const { proxyRequest, prepareProxyRequest } = require('../network'); const { getDynamicErrorType, processAxiosResponse } = require('../utils/networkUtils'); -const { NetworkError } = require('../../v0/util/errorTypes'); const tags = require('../../v0/util/tags'); /** diff --git a/src/adapters/utils/networkUtils.js b/src/adapters/utils/networkUtils.js index 7f830f5a4b..0dcb9931e9 100644 --- a/src/adapters/utils/networkUtils.js +++ b/src/adapters/utils/networkUtils.js @@ -1,6 +1,7 @@ /* eslint-disable eqeqeq */ const lodash = require('lodash'); const { isEmpty } = require('lodash'); +const { AbortedError } = require('@rudderstack/integrations-lib'); const { isHttpStatusRetryable, isDefinedAndNotNullAndNotEmpty, @@ -9,7 +10,6 @@ const { isHttpStatusSuccess, getErrorStatusCode, } = require('../../v0/util'); -const { AbortedError } = require('../../v0/util/errorTypes'); const tags = require('../../v0/util/tags'); const { HTTP_STATUS_CODES } = require('../../v0/util/constant'); diff --git a/src/cdk/v1/autopilot/transform.js b/src/cdk/v1/autopilot/transform.js index 613b985c0d..b27e50f096 100644 --- a/src/cdk/v1/autopilot/transform.js +++ b/src/cdk/v1/autopilot/transform.js @@ -1,5 +1,5 @@ const { Utils } = require('rudder-transformer-cdk'); -const { InstrumentationError } = require('../../../v0/util/errorTypes'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); function identifyPostMapper(event, mappedPayload) { const { message } = event; diff --git a/src/cdk/v1/dcm_floodlight/transform.js b/src/cdk/v1/dcm_floodlight/transform.js index d5835d3e2b..bb93333745 100644 --- a/src/cdk/v1/dcm_floodlight/transform.js +++ b/src/cdk/v1/dcm_floodlight/transform.js @@ -5,6 +5,7 @@ const { removeUndefinedAndNullValues, isDefinedAndNotNull, } = require('rudder-transformer-cdk/build/utils'); +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { getIntegrationsObj, isEmpty, @@ -14,7 +15,6 @@ const { } = require('../../../v0/util'); const { GENERIC_TRUE_VALUES, GENERIC_FALSE_VALUES } = require('../../../constants'); const { BASE_URL, BLACKLISTED_CHARACTERS } = require('./config'); -const { ConfigurationError, InstrumentationError } = require('../../../v0/util/errorTypes'); // append properties to endpoint // eg: ${BASE_URL}key1=value1;key2=value2;.... diff --git a/src/cdk/v1/handler.js b/src/cdk/v1/handler.js index a7dfe85a9f..0af0859f49 100644 --- a/src/cdk/v1/handler.js +++ b/src/cdk/v1/handler.js @@ -6,13 +6,13 @@ const path = require('path'); const basePath = path.resolve(__dirname); ConfigFactory.init({ basePath, loggingMode: 'production' }); -const tags = require('../../v0/util/tags'); -const { generateErrorObject } = require('../../v0/util'); const { + InstrumentationError, TransformationError, ConfigurationError, - InstrumentationError, -} = require('../../v0/util/errorTypes'); +} = require('@rudderstack/integrations-lib'); +const tags = require('../../v0/util/tags'); +const { generateErrorObject } = require('../../v0/util'); const defTags = { [tags.TAG_NAMES.IMPLEMENTATION]: tags.IMPLEMENTATIONS.CDK_V1, diff --git a/src/cdk/v2/bindings/default.js b/src/cdk/v2/bindings/default.js index b86b6d2b63..a447370aca 100644 --- a/src/cdk/v2/bindings/default.js +++ b/src/cdk/v2/bindings/default.js @@ -3,7 +3,7 @@ const { InstrumentationError, ConfigurationError, NetworkError, -} = require('../../../v0/util/errorTypes'); +} = require('@rudderstack/integrations-lib'); const { isHttpStatusSuccess } = require('../../../v0/util'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const tags = require('../../../v0/util/tags'); diff --git a/src/cdk/v2/destinations/dcm_floodlight/utils.js b/src/cdk/v2/destinations/dcm_floodlight/utils.js index bee45bdea3..07b158efa3 100644 --- a/src/cdk/v2/destinations/dcm_floodlight/utils.js +++ b/src/cdk/v2/destinations/dcm_floodlight/utils.js @@ -1,7 +1,7 @@ const lodash = require('lodash'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { getValueFromPropertiesOrTraits, getHashFromArray } = require('../../../../v0/util'); const { GENERIC_TRUE_VALUES, GENERIC_FALSE_VALUES } = require('../../../../constants'); -const { InstrumentationError } = require('../../../../v0/util/errorTypes'); // valid flag should be provided [1|true] or [0|false] const mapFlagValue = (key, value) => { diff --git a/src/cdk/v2/utils.ts b/src/cdk/v2/utils.ts index 3fb26c07e0..f9a5c66937 100644 --- a/src/cdk/v2/utils.ts +++ b/src/cdk/v2/utils.ts @@ -1,9 +1,9 @@ import path from 'path'; import fs from 'fs/promises'; import { WorkflowExecutionError, WorkflowCreationError } from '@rudderstack/workflow-engine'; +import { PlatformError } from '@rudderstack/integrations-lib'; import logger from '../../logger'; import { generateErrorObject } from '../../v0/util'; -import { PlatformError } from '../../v0/util/errorTypes'; import tags from '../../v0/util/tags'; import { CatchErr } from '../../util/types'; diff --git a/src/helpers/serviceSelector.ts b/src/helpers/serviceSelector.ts index bac1a17c16..891c21313d 100644 --- a/src/helpers/serviceSelector.ts +++ b/src/helpers/serviceSelector.ts @@ -1,3 +1,4 @@ +import { PlatformError } from '@rudderstack/integrations-lib'; import { ProcessorTransformationRequest, RouterTransformationRequestData } from '../types/index'; import { INTEGRATION_SERVICE } from '../routes/utils/constants'; import CDKV1DestinationService from '../services/destination/cdkV1Integration'; @@ -6,7 +7,6 @@ import DestinationService from '../interfaces/DestinationService'; import NativeIntegrationDestinationService from '../services/destination/nativeIntegration'; import SourceService from '../interfaces/SourceService'; import NativeIntegrationSourceService from '../services/source/nativeIntegration'; -import { PlatformError } from '../v0/util/errorTypes'; import ComparatorService from '../services/comparator'; import { FixMe } from '../util/types'; diff --git a/src/services/destination/cdkV1Integration.ts b/src/services/destination/cdkV1Integration.ts index a016665afb..2f655fca9b 100644 --- a/src/services/destination/cdkV1Integration.ts +++ b/src/services/destination/cdkV1Integration.ts @@ -1,6 +1,7 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import { ConfigFactory, Executor, RudderBaseConfig } from 'rudder-transformer-cdk'; import path from 'path'; +import { TransformationError } from '@rudderstack/integrations-lib'; import IntegrationDestinationService from '../../interfaces/DestinationService'; import { DeliveryResponse, @@ -14,7 +15,6 @@ import { UserDeletionRequest, UserDeletionResponse, } from '../../types/index'; -import { TransformationError } from '../../v0/util/errorTypes'; import DestinationPostTransformationService from './postTransformation'; import tags from '../../v0/util/tags'; import { getErrorInfo } from '../../cdk/v1/handler'; diff --git a/src/services/destination/cdkV2Integration.ts b/src/services/destination/cdkV2Integration.ts index b4c0a15e87..bc5a1126a8 100644 --- a/src/services/destination/cdkV2Integration.ts +++ b/src/services/destination/cdkV2Integration.ts @@ -1,6 +1,7 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable class-methods-use-this */ import groupBy from 'lodash/groupBy'; +import { TransformationError } from '@rudderstack/integrations-lib'; import { processCdkV2Workflow } from '../../cdk/v2/handler'; import IntegrationDestinationService from '../../interfaces/DestinationService'; import { @@ -15,7 +16,6 @@ import { UserDeletionRequest, UserDeletionResponse, } from '../../types/index'; -import { TransformationError } from '../../v0/util/errorTypes'; import tags from '../../v0/util/tags'; import DestinationPostTransformationService from './postTransformation'; import stats from '../../util/stats'; diff --git a/src/util/errorNotifier/bugsnag.js b/src/util/errorNotifier/bugsnag.js index a88432f23d..ef01c58730 100644 --- a/src/util/errorNotifier/bugsnag.js +++ b/src/util/errorNotifier/bugsnag.js @@ -5,9 +5,6 @@ const { DataValidationError, } = require('rudder-transformer-cdk/build/error/index'); const stackTraceParser = require('stacktrace-parser'); -const { logger } = require('../../logger'); -const pkg = require('../../../package.json'); - const { BaseError, TransformationError, @@ -23,8 +20,10 @@ const { UnhandledStatusCodeError, UnauthorizedError, NetworkInstrumentationError, - FilteredEventsError, -} = require('../../v0/util/errorTypes'); +} = require('@rudderstack/integrations-lib'); +const { FilteredEventsError } = require('../../v0/util/errorTypes'); +const { logger } = require('../../logger'); +const pkg = require('../../../package.json'); const { BUGSNAG_API_KEY: apiKey, diff --git a/src/util/redis/redisConnector.js b/src/util/redis/redisConnector.js index 749e23ff83..84d578d3b3 100644 --- a/src/util/redis/redisConnector.js +++ b/src/util/redis/redisConnector.js @@ -1,5 +1,5 @@ const Redis = require('ioredis'); -const { RedisError } = require('../../v0/util/errorTypes'); +const { RedisError } = require('@rudderstack/integrations-lib'); const log = require('../../logger'); const stats = require('../stats'); diff --git a/src/v0/destinations/active_campaign/transform.js b/src/v0/destinations/active_campaign/transform.js index 9c6643ebc3..e00808622d 100644 --- a/src/v0/destinations/active_campaign/transform.js +++ b/src/v0/destinations/active_campaign/transform.js @@ -1,6 +1,11 @@ /* eslint-disable array-callback-return */ /* eslint-disable no-empty */ const get = require('get-value'); +const { + InstrumentationError, + TransformationError, + NetworkError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, getHeader } = require('./config'); const { @@ -12,11 +17,6 @@ const { } = require('../../util'); const { errorHandler } = require('./util'); const { httpGET, httpPOST } = require('../../../adapters/network'); -const { - InstrumentationError, - TransformationError, - NetworkError, -} = require('../../util/errorTypes'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const tags = require('../../util/tags'); diff --git a/src/v0/destinations/active_campaign/util.js b/src/v0/destinations/active_campaign/util.js index c508618336..6e1f5a3683 100644 --- a/src/v0/destinations/active_campaign/util.js +++ b/src/v0/destinations/active_campaign/util.js @@ -1,8 +1,8 @@ +const { NetworkError } = require('@rudderstack/integrations-lib'); const { nodeSysErrorToStatus, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); -const { NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const errorHandler = (err, message) => { diff --git a/src/v0/destinations/adj/transform.js b/src/v0/destinations/adj/transform.js index 695654e58a..8248e731c9 100644 --- a/src/v0/destinations/adj/transform.js +++ b/src/v0/destinations/adj/transform.js @@ -1,4 +1,9 @@ const get = require('get-value'); +const { + InstrumentationError, + TransformationError, + ConfigurationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, baseEndpoint } = require('./config'); const { @@ -11,11 +16,6 @@ const { isAppleFamily, simpleProcessRouterDest, } = require('../../util'); -const { - InstrumentationError, - TransformationError, - ConfigurationError, -} = require('../../util/errorTypes'); const rejectParams = ['revenue', 'currency']; diff --git a/src/v0/destinations/adobe_analytics/transform.js b/src/v0/destinations/adobe_analytics/transform.js index 67bb66310a..a805e379ff 100644 --- a/src/v0/destinations/adobe_analytics/transform.js +++ b/src/v0/destinations/adobe_analytics/transform.js @@ -1,5 +1,10 @@ const jsonxml = require('jsontoxml'); const get = require('get-value'); +const { + InstrumentationError, + TransformationError, + ConfigurationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { ECOM_PRODUCT_EVENTS, commonConfig, formatDestinationConfig } = require('./config'); const { @@ -14,11 +19,6 @@ const { removeUndefinedAndNullValues, simpleProcessRouterDest, } = require('../../util'); -const { - InstrumentationError, - TransformationError, - ConfigurationError, -} = require('../../util/errorTypes'); const { handleContextData, diff --git a/src/v0/destinations/adobe_analytics/utils.js b/src/v0/destinations/adobe_analytics/utils.js index 55059884b1..cbd4f51c23 100644 --- a/src/v0/destinations/adobe_analytics/utils.js +++ b/src/v0/destinations/adobe_analytics/utils.js @@ -4,8 +4,8 @@ /* eslint-disable unicorn/no-for-loop */ /* eslint-disable no-restricted-syntax */ const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { isDefinedAndNotNull, getValueFromMessage } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); const SOURCE_KEYS = ['properties', 'traits', 'context.traits', 'context']; @@ -147,13 +147,13 @@ function rudderPropToDestMapWithDelimitter(mapping, delimMapping, message, prefi `${prefix} mapping properties variable is neither a string nor an array`, ); } - + if (typeof val === 'string') { /* following regex is used to find the one or more commas separated/padded by white spaces. Example: val = 'r15,faze90R' , 'r1v, bvp, pol' */ - val = val.replace(/\s*,+\s*/g, delimMapping[key]); - // Above regex is good as for every comma with whitespace padding the no. of steps will increase by 4. + val = val.replace(/\s*,+\s*/g, delimMapping[key]); + // Above regex is good as for every comma with whitespace padding the no. of steps will increase by 4. } else { val = val.join(delimMapping[key]); } diff --git a/src/v0/destinations/af/deleteUsers.js b/src/v0/destinations/af/deleteUsers.js index 7970d02c20..2d68549fcc 100644 --- a/src/v0/destinations/af/deleteUsers.js +++ b/src/v0/destinations/af/deleteUsers.js @@ -1,12 +1,16 @@ /* eslint-disable no-await-in-loop */ /* eslint-disable no-param-reassign */ +const { + ConfigurationError, + InstrumentationError, + NetworkError, +} = require('@rudderstack/integrations-lib'); const { httpPOST } = require('../../../adapters/network'); const { processAxiosResponse, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); const { generateUUID, isHttpStatusSuccess } = require('../../util'); -const { ConfigurationError, InstrumentationError, NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { executeCommonValidations } = require('../../util/regulation-api'); diff --git a/src/v0/destinations/af/transform.js b/src/v0/destinations/af/transform.js index 858adce147..4d7ed7e635 100644 --- a/src/v0/destinations/af/transform.js +++ b/src/v0/destinations/af/transform.js @@ -1,6 +1,7 @@ const get = require('get-value'); const set = require('set-value'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { removeUndefinedValues, @@ -15,7 +16,6 @@ const { isDefinedAndNotNullAndNotEmpty, simpleProcessRouterDest, } = require('../../util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { Event, ENDPOINT, ConfigCategory, mappingConfig, nameToEventMap } = require('./config'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/airship/transform.js b/src/v0/destinations/airship/transform.js index a390ec8060..091c9b7f39 100644 --- a/src/v0/destinations/airship/transform.js +++ b/src/v0/destinations/airship/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { @@ -22,7 +23,6 @@ const { isEmptyObject, simpleProcessRouterDest, } = require('../../util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const DEFAULT_ACCEPT_HEADER = 'application/vnd.urbanairship+json; version=3'; diff --git a/src/v0/destinations/algolia/transform.js b/src/v0/destinations/algolia/transform.js index c8b9be28dd..8e9cd57e8b 100644 --- a/src/v0/destinations/algolia/transform.js +++ b/src/v0/destinations/algolia/transform.js @@ -1,10 +1,10 @@ const set = require('set-value'); -const { EventType } = require('../../../constants'); const { InstrumentationError, ConfigurationError, PlatformError, -} = require('../../util/errorTypes'); +} = require('@rudderstack/integrations-lib'); +const { EventType } = require('../../../constants'); const { getValueFromMessage, constructPayload, diff --git a/src/v0/destinations/algolia/util.js b/src/v0/destinations/algolia/util.js index 89048f0e43..eddb4dc16d 100644 --- a/src/v0/destinations/algolia/util.js +++ b/src/v0/destinations/algolia/util.js @@ -1,5 +1,5 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const logger = require('../../../logger'); -const { InstrumentationError } = require('../../util/errorTypes'); const { EVENT_TYPES } = require('./config'); /** diff --git a/src/v0/destinations/am/deleteUsers.js b/src/v0/destinations/am/deleteUsers.js index c0402284b4..578c58fb5c 100644 --- a/src/v0/destinations/am/deleteUsers.js +++ b/src/v0/destinations/am/deleteUsers.js @@ -1,4 +1,5 @@ const btoa = require('btoa'); +const { ConfigurationError, NetworkError } = require('@rudderstack/integrations-lib'); const { httpPOST } = require('../../../adapters/network'); const tags = require('../../util/tags'); const { @@ -6,7 +7,6 @@ const { getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); const { isHttpStatusSuccess } = require('../../util'); -const { ConfigurationError, NetworkError } = require('../../util/errorTypes'); const { executeCommonValidations } = require('../../util/regulation-api'); const { DELETE_MAX_BATCH_SIZE } = require('./config'); const { getUserIdBatches } = require('../../util/deleteUserUtils'); diff --git a/src/v0/destinations/am/transform.js b/src/v0/destinations/am/transform.js index 04a1c5a107..d7101982a7 100644 --- a/src/v0/destinations/am/transform.js +++ b/src/v0/destinations/am/transform.js @@ -4,6 +4,7 @@ const cloneDeep = require('lodash/cloneDeep'); const get = require('get-value'); const set = require('set-value'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType, SpecedTraits, @@ -44,7 +45,7 @@ const tags = require('../../util/tags'); const AMUtils = require('./utils'); const logger = require('../../../logger'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); + const { JSON_MIME_TYPE } = require('../../util/constant'); const EVENTS_KEY_PATH = 'body.JSON.events'; diff --git a/src/v0/destinations/appcues/transform.js b/src/v0/destinations/appcues/transform.js index 095256cc4e..57a54bce33 100644 --- a/src/v0/destinations/appcues/transform.js +++ b/src/v0/destinations/appcues/transform.js @@ -1,4 +1,5 @@ /* eslint-disable no-underscore-dangle */ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { @@ -9,7 +10,6 @@ const { simpleProcessRouterDest, } = require('../../util'); const { JSON_MIME_TYPE } = require('../../util/constant'); -const { InstrumentationError } = require('../../util/errorTypes'); const { ConfigCategory, mappingConfig, getEndpoint } = require('./config'); diff --git a/src/v0/destinations/attentive_tag/transform.js b/src/v0/destinations/attentive_tag/transform.js index 231beec143..fa05eb6c21 100644 --- a/src/v0/destinations/attentive_tag/transform.js +++ b/src/v0/destinations/attentive_tag/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { ConfigCategory, mappingConfig, BASE_URL } = require('./config'); const { @@ -18,7 +19,6 @@ const { getPropertiesKeyValidation, validateTimestamp, } = require('./util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (payload, apiKey, endpoint) => { diff --git a/src/v0/destinations/attentive_tag/util.js b/src/v0/destinations/attentive_tag/util.js index 890f73cdc9..c96d03028f 100644 --- a/src/v0/destinations/attentive_tag/util.js +++ b/src/v0/destinations/attentive_tag/util.js @@ -1,13 +1,13 @@ /* eslint-disable no-restricted-syntax */ const get = require('get-value'); const moment = require('moment'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { constructPayload, isDefinedAndNotNull, getDestinationExternalID, isDefinedAndNotNullAndNotEmpty, } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { mappingConfig, ConfigCategory } = require('./config'); /** diff --git a/src/v0/destinations/attribution/transform.js b/src/v0/destinations/attribution/transform.js index 712f3e5e5d..fa42a6238a 100644 --- a/src/v0/destinations/attribution/transform.js +++ b/src/v0/destinations/attribution/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { batchEndpoint } = require('./config'); const { defaultPostRequestConfig, @@ -5,7 +6,6 @@ const { removeUndefinedAndNullValues, getFieldValueFromMessage, } = require('../../util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function responseBuilderSimple(payload, attributionConfig) { diff --git a/src/v0/destinations/autopilot/transform.js b/src/v0/destinations/autopilot/transform.js index e0fe9aa400..e4a2c408af 100644 --- a/src/v0/destinations/autopilot/transform.js +++ b/src/v0/destinations/autopilot/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError, TransformationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); const { @@ -9,7 +10,6 @@ const { simpleProcessRouterDest, } = require('../../util'); -const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const identifyFields = [ diff --git a/src/v0/destinations/awin/transform.js b/src/v0/destinations/awin/transform.js index f6070fccd5..49a115c1ff 100644 --- a/src/v0/destinations/awin/transform.js +++ b/src/v0/destinations/awin/transform.js @@ -1,8 +1,8 @@ +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { BASE_URL, ConfigCategory, mappingConfig } = require('./config'); const { defaultRequestConfig, constructPayload, simpleProcessRouterDest } = require('../../util'); const { getParams } = require('./utils'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const responseBuilder = (message, { Config }) => { const { advertiserId, eventsToTrack } = Config; diff --git a/src/v0/destinations/azure_event_hub/transform.js b/src/v0/destinations/azure_event_hub/transform.js index 6200e32ce7..98180b55b4 100644 --- a/src/v0/destinations/azure_event_hub/transform.js +++ b/src/v0/destinations/azure_event_hub/transform.js @@ -1,6 +1,5 @@ const cloneDeep = require('lodash/cloneDeep'); const { getIntegrationsObj } = require('../../util'); -// const { InstrumentationError } = require("../../util/errorTypes"); function process(event) { const { message, destination } = event; diff --git a/src/v0/destinations/blueshift/transform.js b/src/v0/destinations/blueshift/transform.js index b79af327d2..cdfbfe32e1 100644 --- a/src/v0/destinations/blueshift/transform.js +++ b/src/v0/destinations/blueshift/transform.js @@ -1,3 +1,8 @@ +const { + TransformationError, + InstrumentationError, + ConfigurationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { constructPayload, @@ -10,11 +15,6 @@ const { simpleProcessRouterDest, } = require('../../util'); const { JSON_MIME_TYPE } = require('../../util/constant'); -const { - TransformationError, - InstrumentationError, - ConfigurationError, -} = require('../../util/errorTypes'); const { MAPPING_CONFIG, diff --git a/src/v0/destinations/bqstream/transform.js b/src/v0/destinations/bqstream/transform.js index 55679b08a8..598a97946d 100644 --- a/src/v0/destinations/bqstream/transform.js +++ b/src/v0/destinations/bqstream/transform.js @@ -1,5 +1,6 @@ /* eslint-disable no-console */ const lodash = require('lodash'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultBatchRequestConfig, @@ -9,7 +10,6 @@ const { groupEventsByType, } = require('../../util'); const { MAX_ROWS_PER_REQUEST, DESTINATION } = require('./config'); -const { InstrumentationError } = require('../../util/errorTypes'); const { getRearrangedEvents } = require('./util'); const getInsertIdColValue = (properties, insertIdCol) => { diff --git a/src/v0/destinations/branch/transform.js b/src/v0/destinations/branch/transform.js index 0d47fbd791..23dcd6c8db 100644 --- a/src/v0/destinations/branch/transform.js +++ b/src/v0/destinations/branch/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { endpoints } = require('./config'); const { categoriesList } = require('./data/eventMapping'); @@ -11,7 +12,6 @@ const { isAppleFamily, simpleProcessRouterDest, } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function responseBuilder(payload, message, destination, category) { diff --git a/src/v0/destinations/braze/deleteUsers.js b/src/v0/destinations/braze/deleteUsers.js index 799aa3f9b4..b94d901138 100644 --- a/src/v0/destinations/braze/deleteUsers.js +++ b/src/v0/destinations/braze/deleteUsers.js @@ -1,3 +1,4 @@ +const { NetworkError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { httpPOST } = require('../../../adapters/network'); const { processAxiosResponse, @@ -8,7 +9,6 @@ const { isHttpStatusSuccess } = require('../../util'); const { executeCommonValidations } = require('../../util/regulation-api'); const { DEL_MAX_BATCH_SIZE } = require('./config'); const { getUserIdBatches } = require('../../util/deleteUserUtils'); -const { NetworkError, ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const userDeletionHandler = async (userAttributes, config) => { diff --git a/src/v0/destinations/braze/networkHandler.js b/src/v0/destinations/braze/networkHandler.js index a141607fe9..c6cf7222ea 100644 --- a/src/v0/destinations/braze/networkHandler.js +++ b/src/v0/destinations/braze/networkHandler.js @@ -1,4 +1,5 @@ /* eslint-disable no-unused-vars */ +const { NetworkError } = require('@rudderstack/integrations-lib'); const { isHttpStatusSuccess } = require('../../util/index'); const { proxyRequest, prepareProxyRequest } = require('../../../adapters/network'); const { @@ -6,7 +7,6 @@ const { processAxiosResponse, } = require('../../../adapters/utils/networkUtils'); const { DESTINATION } = require('./config'); -const { NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const stats = require('../../../util/stats'); diff --git a/src/v0/destinations/braze/transform.js b/src/v0/destinations/braze/transform.js index 26fd86b3dd..b939e1f414 100644 --- a/src/v0/destinations/braze/transform.js +++ b/src/v0/destinations/braze/transform.js @@ -1,6 +1,8 @@ /* eslint-disable no-nested-ternary,no-param-reassign */ const lodash = require('lodash'); const get = require('get-value'); +const { InstrumentationError, NetworkError } = require('@rudderstack/integrations-lib'); +const { FilteredEventsError } = require('../../util/errorTypes'); const { BrazeDedupUtility, CustomAttributeOperationUtil, @@ -24,11 +26,6 @@ const { simpleProcessRouterDest, isNewStatusCodesAccepted, } = require('../../util'); -const { - InstrumentationError, - NetworkError, - FilteredEventsError, -} = require('../../util/errorTypes'); const { ConfigCategory, mappingConfig, diff --git a/src/v0/destinations/braze/util.js b/src/v0/destinations/braze/util.js index b3e60f2c6a..9b5d57d6bc 100644 --- a/src/v0/destinations/braze/util.js +++ b/src/v0/destinations/braze/util.js @@ -25,7 +25,7 @@ const { const { JSON_MIME_TYPE, HTTP_STATUS_CODES } = require('../../util/constant'); const { isObject } = require('../../util'); const { removeUndefinedValues, getIntegrationsObj } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const getEndpointFromConfig = (destination) => { // Init -- mostly for test cases diff --git a/src/v0/destinations/campaign_manager/networkHandler.js b/src/v0/destinations/campaign_manager/networkHandler.js index cd98de253e..0683b0c55c 100644 --- a/src/v0/destinations/campaign_manager/networkHandler.js +++ b/src/v0/destinations/campaign_manager/networkHandler.js @@ -1,3 +1,4 @@ +const { AbortedError, RetryableError, NetworkError } = require('@rudderstack/integrations-lib'); const { prepareProxyRequest, proxyRequest } = require('../../../adapters/network'); const { isHttpStatusSuccess, getAuthErrCategoryFromStCode } = require('../../util/index'); @@ -5,7 +6,6 @@ const { processAxiosResponse, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); -const { AbortedError, RetryableError, NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); function checkIfFailuresAreRetryable(response) { diff --git a/src/v0/destinations/campaign_manager/transform.js b/src/v0/destinations/campaign_manager/transform.js index af097e5b4c..7b6d6cba4c 100644 --- a/src/v0/destinations/campaign_manager/transform.js +++ b/src/v0/destinations/campaign_manager/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { @@ -19,8 +20,6 @@ const { } = require('./config'); const { convertToMicroseconds } = require('./util'); - -const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function isEmptyObject(obj) { diff --git a/src/v0/destinations/candu/transform.js b/src/v0/destinations/candu/transform.js index 659af36540..d114998484 100644 --- a/src/v0/destinations/candu/transform.js +++ b/src/v0/destinations/candu/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -6,7 +7,6 @@ const { simpleProcessRouterDest, } = require('../../util'); const { JSON_MIME_TYPE } = require('../../util/constant'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { endpoint, identifyDataMapping, trackDataMapping } = require('./config'); const responseBuilder = (body, { Config }) => { diff --git a/src/v0/destinations/canny/transform.js b/src/v0/destinations/canny/transform.js index d837a8ddd3..f4364e1fb7 100644 --- a/src/v0/destinations/canny/transform.js +++ b/src/v0/destinations/canny/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { ConfigCategory, mappingConfig, BASE_URL } = require('./config'); const { @@ -14,7 +15,6 @@ const { validateCreatePostFields, validateEventMapping, } = require('./util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (responseConfgs) => { diff --git a/src/v0/destinations/canny/util.js b/src/v0/destinations/canny/util.js index 002d9aa69f..59644bcd6b 100644 --- a/src/v0/destinations/canny/util.js +++ b/src/v0/destinations/canny/util.js @@ -1,8 +1,8 @@ const qs = require('qs'); +const { InstrumentationError, NetworkError } = require('@rudderstack/integrations-lib'); const { httpPOST } = require('../../../adapters/network'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const { getDestinationExternalID } = require('../../util'); -const { InstrumentationError, NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const logger = require('../../../logger'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/clevertap/deleteUsers.js b/src/v0/destinations/clevertap/deleteUsers.js index 826c6c6939..3c07a63d93 100644 --- a/src/v0/destinations/clevertap/deleteUsers.js +++ b/src/v0/destinations/clevertap/deleteUsers.js @@ -1,3 +1,4 @@ +const { NetworkError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { httpPOST } = require('../../../adapters/network'); const { getEndpoint, DEL_MAX_BATCH_SIZE } = require('./config'); const { @@ -6,7 +7,6 @@ const { } = require('../../../adapters/utils/networkUtils'); const { isHttpStatusSuccess } = require('../../util'); const { executeCommonValidations } = require('../../util/regulation-api'); -const { NetworkError, ConfigurationError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { getUserIdBatches } = require('../../util/deleteUserUtils'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/clevertap/networkHandler.js b/src/v0/destinations/clevertap/networkHandler.js index 35c972e502..e17afb57d1 100644 --- a/src/v0/destinations/clevertap/networkHandler.js +++ b/src/v0/destinations/clevertap/networkHandler.js @@ -1,10 +1,10 @@ +const { NetworkError, AbortedError } = require('@rudderstack/integrations-lib'); const { isHttpStatusSuccess } = require('../../util/index'); const { proxyRequest, prepareProxyRequest } = require('../../../adapters/network'); const { processAxiosResponse, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); -const { NetworkError, AbortedError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const responseHandler = (destinationResponse) => { diff --git a/src/v0/destinations/clevertap/transform.js b/src/v0/destinations/clevertap/transform.js index 5c1e28c086..efcd101668 100644 --- a/src/v0/destinations/clevertap/transform.js +++ b/src/v0/destinations/clevertap/transform.js @@ -1,6 +1,7 @@ /* eslint-disable no-param-reassign */ /* eslint-disable no-nested-ternary */ const get = require('get-value'); +const { InstrumentationError, TransformationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { getEndpoint, @@ -25,7 +26,6 @@ const { } = require('../../util'); const { generateClevertapBatchedPayload } = require('./utils'); -const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const TIMESTAMP_KEY_PATH = 'context.traits.ts'; diff --git a/src/v0/destinations/clickup/transform.js b/src/v0/destinations/clickup/transform.js index d93e53b349..0637d65bd4 100644 --- a/src/v0/destinations/clickup/transform.js +++ b/src/v0/destinations/clickup/transform.js @@ -1,3 +1,4 @@ +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -14,7 +15,6 @@ const { checkEventIfUIMapped, } = require('./util'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, createTaskEndPoint } = require('./config'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = async (payload, listId, apiToken) => { diff --git a/src/v0/destinations/clickup/util.js b/src/v0/destinations/clickup/util.js index 7b17f83bb6..148fe1bd07 100644 --- a/src/v0/destinations/clickup/util.js +++ b/src/v0/destinations/clickup/util.js @@ -1,3 +1,4 @@ +const { NetworkError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { httpGET } = require('../../../adapters/network'); const { processAxiosResponse, @@ -9,7 +10,6 @@ const { formatTimeStamp, } = require('../../util'); const { getCustomFieldsEndPoint } = require('./config'); -const { NetworkError, InstrumentationError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/confluent_cloud/transform.js b/src/v0/destinations/confluent_cloud/transform.js index e8f0f4d2e2..b33abc90cf 100644 --- a/src/v0/destinations/confluent_cloud/transform.js +++ b/src/v0/destinations/confluent_cloud/transform.js @@ -1,6 +1,5 @@ const cloneDeep = require('lodash/cloneDeep'); const { getIntegrationsObj } = require('../../util'); -// const { InstrumentationError } = require("../../util/errorTypes"); function process(event) { const { message, destination } = event; diff --git a/src/v0/destinations/courier/transform.js b/src/v0/destinations/courier/transform.js index 7d52b503d9..d5e25434ec 100644 --- a/src/v0/destinations/courier/transform.js +++ b/src/v0/destinations/courier/transform.js @@ -1,3 +1,8 @@ +const { + TransformationError, + InstrumentationError, + ConfigurationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -6,11 +11,6 @@ const { simpleProcessRouterDest, } = require('../../util'); const { JSON_MIME_TYPE } = require('../../util/constant'); -const { - TransformationError, - InstrumentationError, - ConfigurationError, -} = require('../../util/errorTypes'); const { API_URL } = require('./config'); const responseBuilder = (payload, endpoint, destination) => { diff --git a/src/v0/destinations/criteo_audience/networkHandler.js b/src/v0/destinations/criteo_audience/networkHandler.js index f4369cdc9e..18bd9a93a0 100644 --- a/src/v0/destinations/criteo_audience/networkHandler.js +++ b/src/v0/destinations/criteo_audience/networkHandler.js @@ -1,3 +1,10 @@ +const { + NetworkError, + ThrottledError, + NetworkInstrumentationError, + AbortedError, + RetryableError, +} = require('@rudderstack/integrations-lib'); const { prepareProxyRequest, proxyRequest } = require('../../../adapters/network'); const { isHttpStatusSuccess } = require('../../util/index'); const { REFRESH_TOKEN } = require('../../../adapters/networkhandler/authConstants'); @@ -6,13 +13,6 @@ const { getDynamicErrorType, processAxiosResponse, } = require('../../../adapters/utils/networkUtils'); -const { - NetworkError, - ThrottledError, - NetworkInstrumentationError, - AbortedError, - RetryableError, -} = require('../../util/errorTypes'); // https://developers.criteo.com/marketing-solutions/v2021.01/docs/how-to-handle-api-errors#:~:text=the%20response%20body.-,401,-Authentication%20error // Following fucntion tells us if there is a particular error code in the response. diff --git a/src/v0/destinations/criteo_audience/transform.js b/src/v0/destinations/criteo_audience/transform.js index 7ddbdbef20..25e53cc305 100644 --- a/src/v0/destinations/criteo_audience/transform.js +++ b/src/v0/destinations/criteo_audience/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { BASE_ENDPOINT, operation } = require('./config'); const { defaultRequestConfig, @@ -9,7 +10,6 @@ const { getEventType, getDestinationExternalIDInfoForRetl, } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { MappedToDestinationKey } = require('../../../constants'); const { preparePayload } = require('./util'); diff --git a/src/v0/destinations/criteo_audience/util.js b/src/v0/destinations/criteo_audience/util.js index a7541f7911..d9d37bc331 100644 --- a/src/v0/destinations/criteo_audience/util.js +++ b/src/v0/destinations/criteo_audience/util.js @@ -1,6 +1,6 @@ const lodash = require('lodash'); +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { isDefinedAndNotNullAndNotEmpty } = require('../../util'); -const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { MAX_IDENTIFIERS } = require('./config'); const populateIdentifiers = (audienceList, audienceType) => { diff --git a/src/v0/destinations/custify/deleteUsers.js b/src/v0/destinations/custify/deleteUsers.js index e90abe7abb..147fcc602c 100644 --- a/src/v0/destinations/custify/deleteUsers.js +++ b/src/v0/destinations/custify/deleteUsers.js @@ -1,9 +1,13 @@ +const { + ConfigurationError, + InstrumentationError, + NetworkError, +} = require('@rudderstack/integrations-lib'); const { httpDELETE } = require('../../../adapters/network'); const { processAxiosResponse, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); -const { ConfigurationError, InstrumentationError, NetworkError } = require('../../util/errorTypes'); const { executeCommonValidations } = require('../../util/regulation-api'); const tags = require('../../util/tags'); diff --git a/src/v0/destinations/custify/transform.js b/src/v0/destinations/custify/transform.js index fd81511982..6b08be1c56 100644 --- a/src/v0/destinations/custify/transform.js +++ b/src/v0/destinations/custify/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType, MappedToDestinationKey } = require('../../../constants'); const { ConfigCategory } = require('./config'); const { @@ -9,7 +10,6 @@ const { simpleProcessRouterDest, } = require('../../util'); const { processIdentify, processTrack, processGroup } = require('./util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); /** diff --git a/src/v0/destinations/custify/util.js b/src/v0/destinations/custify/util.js index d943b5c8bf..ae6f21fe20 100644 --- a/src/v0/destinations/custify/util.js +++ b/src/v0/destinations/custify/util.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError, NetworkError } = require('@rudderstack/integrations-lib'); const { ConfigCategory, MappingConfig, @@ -16,7 +17,6 @@ const { constructPayload, isHttpStatusSuccess, } = require('../../util'); -const { InstrumentationError, NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/customerio/transform.js b/src/v0/destinations/customerio/transform.js index 984fb7e67f..be4486717c 100644 --- a/src/v0/destinations/customerio/transform.js +++ b/src/v0/destinations/customerio/transform.js @@ -1,6 +1,7 @@ const get = require('get-value'); const btoa = require('btoa'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType, MappedToDestinationKey } = require('../../../constants'); const { @@ -24,7 +25,6 @@ const { defaultResponseBuilder, validateConfigFields, } = require('./util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function responseBuilder(message, evType, evName, destination, messageType) { diff --git a/src/v0/destinations/customerio/util.js b/src/v0/destinations/customerio/util.js index 6b4dbc0e11..ef983748a5 100644 --- a/src/v0/destinations/customerio/util.js +++ b/src/v0/destinations/customerio/util.js @@ -1,6 +1,7 @@ const get = require('get-value'); const set = require('set-value'); const truncate = require('truncate-utf8-bytes'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { MAX_BATCH_SIZE, configFieldsToCheck } = require('./config'); const { constructPayload, @@ -28,8 +29,6 @@ const { DEVICE_REGISTER_ENDPOINT, } = require('./config'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); - const deviceRelatedEventNames = [ 'Application Installed', 'Application Opened', diff --git a/src/v0/destinations/delighted/transform.js b/src/v0/destinations/delighted/transform.js index f5a2afdcaf..cf80dc878d 100644 --- a/src/v0/destinations/delighted/transform.js +++ b/src/v0/destinations/delighted/transform.js @@ -1,3 +1,8 @@ +const { + InstrumentationError, + ConfigurationError, + NetworkInstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { getFieldValueFromMessage, @@ -20,11 +25,6 @@ const { userValidity, } = require('./util'); const { ENDPOINT, TRACKING_EXCLUSION_FIELDS, identifyMapping } = require('./config'); -const { - InstrumentationError, - ConfigurationError, - NetworkInstrumentationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const identifyResponseBuilder = (message, { Config }) => { diff --git a/src/v0/destinations/delighted/util.js b/src/v0/destinations/delighted/util.js index 3cf26a3697..2c92685fd7 100644 --- a/src/v0/destinations/delighted/util.js +++ b/src/v0/destinations/delighted/util.js @@ -1,11 +1,11 @@ -const myAxios = require('../../../util/myAxios'); -const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); -const { getValueFromMessage } = require('../../util'); const { NetworkInstrumentationError, InstrumentationError, NetworkError, -} = require('../../util/errorTypes'); +} = require('@rudderstack/integrations-lib'); +const myAxios = require('../../../util/myAxios'); +const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); +const { getValueFromMessage } = require('../../util'); const { ENDPOINT } = require('./config'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/discord/transform.js b/src/v0/destinations/discord/transform.js index 4eb2f79235..714ee4f52b 100644 --- a/src/v0/destinations/discord/transform.js +++ b/src/v0/destinations/discord/transform.js @@ -1,6 +1,7 @@ /* eslint-disable no-nested-ternary */ /* eslint-disable no-prototype-builtins */ const Handlebars = require('handlebars'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { @@ -9,7 +10,6 @@ const { getFieldValueFromMessage, simpleProcessRouterDest, } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { stringifyJSON, getName, diff --git a/src/v0/destinations/drip/transform.js b/src/v0/destinations/drip/transform.js index 9abe3e3f77..4ccba076d0 100644 --- a/src/v0/destinations/drip/transform.js +++ b/src/v0/destinations/drip/transform.js @@ -1,3 +1,8 @@ +const { + InstrumentationError, + ConfigurationError, + NetworkInstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { getDestinationExternalID, @@ -31,11 +36,6 @@ const { createUpdateUser, createList, } = require('./util'); -const { - InstrumentationError, - ConfigurationError, - NetworkInstrumentationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const identifyResponseBuilder = async (message, { Config }) => { diff --git a/src/v0/destinations/drip/util.js b/src/v0/destinations/drip/util.js index dbb59fc6af..a502cf0d20 100644 --- a/src/v0/destinations/drip/util.js +++ b/src/v0/destinations/drip/util.js @@ -1,8 +1,8 @@ +const { NetworkError, AbortedError } = require('@rudderstack/integrations-lib'); const myAxios = require('../../../util/myAxios'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const logger = require('../../../logger'); const { constructPayload, isDefinedAndNotNull } = require('../../util'); -const { NetworkError, AbortedError } = require('../../util/errorTypes'); const { ENDPOINT, productMapping } = require('./config'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/engage/deleteUsers.js b/src/v0/destinations/engage/deleteUsers.js index 940529ea0c..a3c3055c7d 100644 --- a/src/v0/destinations/engage/deleteUsers.js +++ b/src/v0/destinations/engage/deleteUsers.js @@ -1,3 +1,4 @@ +const { ConfigurationError, NetworkError } = require('@rudderstack/integrations-lib'); const { httpDELETE } = require('../../../adapters/network'); const { processAxiosResponse, @@ -5,7 +6,6 @@ const { } = require('../../../adapters/utils/networkUtils'); const { isHttpStatusSuccess } = require('../../util'); const tags = require('../../util/tags'); -const { ConfigurationError, NetworkError } = require('../../util/errorTypes'); const { executeCommonValidations } = require('../../util/regulation-api'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/engage/transform.js b/src/v0/destinations/engage/transform.js index 98b8bb2bb9..f5daafb98c 100644 --- a/src/v0/destinations/engage/transform.js +++ b/src/v0/destinations/engage/transform.js @@ -1,4 +1,5 @@ const { set } = require('lodash'); +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { defaultRequestConfig, constructPayload, @@ -14,7 +15,6 @@ const { getDestinationExternalID } = require('../../util'); const { EventType } = require('../../../constants'); const { mappingConfig, ConfigCategories } = require('./config'); const { refinePayload, generatePageName, getLists } = require('./utils'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const UID_ERROR_MSG = 'Neither externalId nor userId is available'; diff --git a/src/v0/destinations/eventbridge/transform.js b/src/v0/destinations/eventbridge/transform.js index 71c7731074..53c74d0f88 100644 --- a/src/v0/destinations/eventbridge/transform.js +++ b/src/v0/destinations/eventbridge/transform.js @@ -1,5 +1,5 @@ +const { ConfigurationError } = require('@rudderstack/integrations-lib'); const { removeUndefinedAndNullValues, simpleProcessRouterDest } = require('../../util'); -const { ConfigurationError } = require('../../util/errorTypes'); function getResouceList(config) { let resource; diff --git a/src/v0/destinations/facebook_offline_conversions/transform.js b/src/v0/destinations/facebook_offline_conversions/transform.js index e30bc2fa9a..cc95270fcc 100644 --- a/src/v0/destinations/facebook_offline_conversions/transform.js +++ b/src/v0/destinations/facebook_offline_conversions/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError, TransformationError } = require('@rudderstack/integrations-lib'); const { defaultRequestConfig, simpleProcessRouterDest, @@ -7,7 +8,6 @@ const { const { offlineConversionResponseBuilder, prepareUrls } = require('./utils'); const { EventType } = require('../../../constants'); -const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); const responseBuilder = (endpoint) => { if (endpoint) { diff --git a/src/v0/destinations/facebook_offline_conversions/utils.js b/src/v0/destinations/facebook_offline_conversions/utils.js index 819bf8056d..c48de4e0b9 100644 --- a/src/v0/destinations/facebook_offline_conversions/utils.js +++ b/src/v0/destinations/facebook_offline_conversions/utils.js @@ -1,5 +1,6 @@ const sha256 = require('sha256'); const get = require('get-value'); +const { ConfigurationError } = require('@rudderstack/integrations-lib'); const { isObject, formatTimeStamp, @@ -22,7 +23,6 @@ const { eventToStandardMapping, MATCH_KEY_FIELD_TYPE_DICTIONARY, } = require('./config'); -const { ConfigurationError } = require('../../util/errorTypes'); /** * @param {*} message diff --git a/src/v0/destinations/facebook_pixel/transform.js b/src/v0/destinations/facebook_pixel/transform.js index 02c416cfde..7c55b61302 100644 --- a/src/v0/destinations/facebook_pixel/transform.js +++ b/src/v0/destinations/facebook_pixel/transform.js @@ -1,6 +1,7 @@ /* eslint-disable no-param-reassign */ const get = require('get-value'); const moment = require('moment'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const stats = require('../../../util/stats'); const { CONFIG_CATEGORIES, @@ -36,8 +37,6 @@ const { formingFinalResponse, } = require('../../util/facebookUtils'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); - const responseBuilderSimple = (message, category, destination) => { const { Config, ID } = destination; const { pixelId, accessToken } = Config; diff --git a/src/v0/destinations/facebook_pixel/utils.js b/src/v0/destinations/facebook_pixel/utils.js index d642c446fd..1901edf306 100644 --- a/src/v0/destinations/facebook_pixel/utils.js +++ b/src/v0/destinations/facebook_pixel/utils.js @@ -1,7 +1,7 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { isObject } = require('../../util'); const { ACTION_SOURCES_VALUES, CONFIG_CATEGORIES, OTHER_STANDARD_EVENTS } = require('./config'); const { getContentType, getContentCategory } = require('../../util/facebookUtils'); -const { InstrumentationError } = require('../../util/errorTypes'); /** format revenue according to fb standards with max two decimal places. * @param revenue diff --git a/src/v0/destinations/factorsai/transform.js b/src/v0/destinations/factorsai/transform.js index dd2dad42fc..9824b73bbf 100644 --- a/src/v0/destinations/factorsai/transform.js +++ b/src/v0/destinations/factorsai/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { @@ -9,7 +10,6 @@ const { simpleProcessRouterDest, } = require('../../util'); const { JSON_MIME_TYPE } = require('../../util/constant'); -const { InstrumentationError } = require('../../util/errorTypes'); const { ConfigCategories, mappingConfig, BASE_URL } = require('./config'); diff --git a/src/v0/destinations/fb/transform.js b/src/v0/destinations/fb/transform.js index 756c74ba83..c0d78a2b3f 100644 --- a/src/v0/destinations/fb/transform.js +++ b/src/v0/destinations/fb/transform.js @@ -1,6 +1,7 @@ const get = require('get-value'); const set = require('set-value'); const sha256 = require('sha256'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { removeUndefinedValues, @@ -20,7 +21,6 @@ const { eventPropToTypeMapping, } = require('./config'); const logger = require('../../../logger'); -const { InstrumentationError } = require('../../util/errorTypes'); // const funcMap = { // integer: parseInt, diff --git a/src/v0/destinations/fb_custom_audience/transform.js b/src/v0/destinations/fb_custom_audience/transform.js index f31a3dd42e..9320a3476b 100644 --- a/src/v0/destinations/fb_custom_audience/transform.js +++ b/src/v0/destinations/fb_custom_audience/transform.js @@ -1,5 +1,10 @@ const lodash = require('lodash'); const get = require('get-value'); +const { + InstrumentationError, + TransformationError, + ConfigurationError, +} = require('@rudderstack/integrations-lib'); const { defaultRequestConfig, defaultPostRequestConfig, @@ -26,11 +31,6 @@ const { } = require('./config'); const { MappedToDestinationKey } = require('../../../constants'); -const { - InstrumentationError, - TransformationError, - ConfigurationError, -} = require('../../util/errorTypes'); const responseBuilderSimple = (payload, audienceId) => { if (payload) { diff --git a/src/v0/destinations/fb_custom_audience/util.js b/src/v0/destinations/fb_custom_audience/util.js index 9e7198e393..47ccb9bf7d 100644 --- a/src/v0/destinations/fb_custom_audience/util.js +++ b/src/v0/destinations/fb_custom_audience/util.js @@ -2,11 +2,11 @@ const lodash = require('lodash'); const sha256 = require('sha256'); const get = require('get-value'); const jsonSize = require('json-size'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const stats = require('../../../util/stats'); const { isDefinedAndNotNull } = require('../../util'); const { maxPayloadSize } = require('./config'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); /** * Example payload ={ diff --git a/src/v0/destinations/firehose/transform.js b/src/v0/destinations/firehose/transform.js index b0dc841579..81e2a1ebc8 100644 --- a/src/v0/destinations/firehose/transform.js +++ b/src/v0/destinations/firehose/transform.js @@ -1,6 +1,6 @@ const isString = require('lodash/isString'); +const { ConfigurationError } = require('@rudderstack/integrations-lib'); const { getHashFromArray, simpleProcessRouterDest } = require('../../util'); -const { ConfigurationError } = require('../../util/errorTypes'); function getDeliveryStreamMapTo(event) { const { message, destination } = event; diff --git a/src/v0/destinations/freshmarketer/transform.js b/src/v0/destinations/freshmarketer/transform.js index 41c604d407..aa0e03811d 100644 --- a/src/v0/destinations/freshmarketer/transform.js +++ b/src/v0/destinations/freshmarketer/transform.js @@ -1,4 +1,9 @@ const get = require('get-value'); +const { + InstrumentationError, + NetworkInstrumentationError, + TransformationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -9,11 +14,6 @@ const { getValidDynamicFormConfig, simpleProcessRouterDest, } = require('../../util'); -const { - InstrumentationError, - NetworkInstrumentationError, - TransformationError, -} = require('../../util/errorTypes'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); const { diff --git a/src/v0/destinations/freshmarketer/utils.js b/src/v0/destinations/freshmarketer/utils.js index f7dcc46b06..6fa1fe9976 100644 --- a/src/v0/destinations/freshmarketer/utils.js +++ b/src/v0/destinations/freshmarketer/utils.js @@ -1,5 +1,10 @@ /* eslint-disable no-param-reassign */ const get = require('get-value'); +const { + InstrumentationError, + NetworkInstrumentationError, + NetworkError, +} = require('@rudderstack/integrations-lib'); const logger = require('../../../logger'); const { httpPOST, httpGET } = require('../../../adapters/network'); const { @@ -13,11 +18,6 @@ const { getFieldValueFromMessage, } = require('../../util'); const { CONFIG_CATEGORIES, LIFECYCLE_STAGE_ENDPOINT } = require('./config'); -const { - InstrumentationError, - NetworkInstrumentationError, - NetworkError, -} = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/freshsales/transform.js b/src/v0/destinations/freshsales/transform.js index c1e18482ed..096a2d749c 100644 --- a/src/v0/destinations/freshsales/transform.js +++ b/src/v0/destinations/freshsales/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError, TransformationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -10,7 +11,6 @@ const { simpleProcessRouterDest, validateEventName, } = require('../../util'); -const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); const { getUserAccountDetails, diff --git a/src/v0/destinations/freshsales/utils.js b/src/v0/destinations/freshsales/utils.js index b30d9fa16b..96acabb037 100644 --- a/src/v0/destinations/freshsales/utils.js +++ b/src/v0/destinations/freshsales/utils.js @@ -1,5 +1,10 @@ /* eslint-disable no-param-reassign */ const get = require('get-value'); +const { + NetworkInstrumentationError, + InstrumentationError, + NetworkError, +} = require('@rudderstack/integrations-lib'); const { httpPOST, httpGET } = require('../../../adapters/network'); const { processAxiosResponse, @@ -10,11 +15,6 @@ const { defaultPostRequestConfig, getFieldValueFromMessage, } = require('../../util'); -const { - NetworkInstrumentationError, - InstrumentationError, - NetworkError, -} = require('../../util/errorTypes'); const { CONFIG_CATEGORIES, LIFECYCLE_STAGE_ENDPOINT } = require('./config'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/ga/deleteUsers.js b/src/v0/destinations/ga/deleteUsers.js index cf4694f44a..bb909a0053 100644 --- a/src/v0/destinations/ga/deleteUsers.js +++ b/src/v0/destinations/ga/deleteUsers.js @@ -1,7 +1,7 @@ const { isEmpty } = require('lodash'); +const { InstrumentationError, OAuthSecretError } = require('@rudderstack/integrations-lib'); const { httpPOST } = require('../../../adapters/network'); -const { InstrumentationError, OAuthSecretError } = require('../../util/errorTypes'); const { executeCommonValidations } = require('../../util/regulation-api'); const { GA_USER_DELETION_ENDPOINT } = require('./config'); const { gaResponseHandler } = require('./networkHandler'); diff --git a/src/v0/destinations/ga/networkHandler.js b/src/v0/destinations/ga/networkHandler.js index a12f9594cd..57db1cb7af 100644 --- a/src/v0/destinations/ga/networkHandler.js +++ b/src/v0/destinations/ga/networkHandler.js @@ -1,3 +1,4 @@ +const { NetworkError, InvalidAuthTokenError } = require('@rudderstack/integrations-lib'); const { REFRESH_TOKEN, AUTH_STATUS_INACTIVE, @@ -7,7 +8,6 @@ const { getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); -const { NetworkError, InvalidAuthTokenError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); /** diff --git a/src/v0/destinations/ga/transform.js b/src/v0/destinations/ga/transform.js index c10697c4e1..32e94bdd41 100644 --- a/src/v0/destinations/ga/transform.js +++ b/src/v0/destinations/ga/transform.js @@ -1,6 +1,7 @@ /* eslint-disable no-nested-ternary */ const get = require('get-value'); const md5 = require('md5'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType, MappedToDestinationKey } = require('../../../constants'); const { Event, GA_ENDPOINT, ConfigCategory, mappingConfig, nameToEventMap } = require('./config'); const { setContextualFields } = require('./utils'); @@ -19,7 +20,6 @@ const { } = require('../../util'); const { isDefinedAndNotNull } = require('../../util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const gaDisplayName = 'Google Analytics'; diff --git a/src/v0/destinations/ga/utils.js b/src/v0/destinations/ga/utils.js index 0d3a2f9798..617f2522a0 100644 --- a/src/v0/destinations/ga/utils.js +++ b/src/v0/destinations/ga/utils.js @@ -1,4 +1,4 @@ -const { InstrumentationError } = require('../../util/errorTypes'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { GA_ENDPOINT } = require('./config'); /** diff --git a/src/v0/destinations/ga360/transform.js b/src/v0/destinations/ga360/transform.js index c60ea47551..3655c330d5 100644 --- a/src/v0/destinations/ga360/transform.js +++ b/src/v0/destinations/ga360/transform.js @@ -1,5 +1,6 @@ const get = require('get-value'); const md5 = require('md5'); +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { Event, GA_ENDPOINT, ConfigCategory, mappingConfig, nameToEventMap } = require('./config'); const { @@ -12,7 +13,6 @@ const { getDestinationExternalID, simpleProcessRouterDest, } = require('../../util'); -const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const gaDisplayName = 'Google Analytics'; diff --git a/src/v0/destinations/ga4/networkHandler.js b/src/v0/destinations/ga4/networkHandler.js index e90d2c3095..b62fcc8d3b 100644 --- a/src/v0/destinations/ga4/networkHandler.js +++ b/src/v0/destinations/ga4/networkHandler.js @@ -1,3 +1,4 @@ +const { NetworkError } = require('@rudderstack/integrations-lib'); const { proxyRequest, prepareProxyRequest } = require('../../../adapters/network'); const { getDynamicErrorType, @@ -5,7 +6,6 @@ const { } = require('../../../adapters/utils/networkUtils'); const { isDefinedAndNotNull, isDefined, isHttpStatusSuccess } = require('../../util'); -const { NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const responseHandler = (destinationResponse, dest) => { diff --git a/src/v0/destinations/ga4/transform.js b/src/v0/destinations/ga4/transform.js index d1d0790fa9..d8fc531e92 100644 --- a/src/v0/destinations/ga4/transform.js +++ b/src/v0/destinations/ga4/transform.js @@ -1,4 +1,9 @@ const get = require('get-value'); +const { + ConfigurationError, + InstrumentationError, + UnsupportedEventError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { isEmptyObject, @@ -11,11 +16,6 @@ const { getDestinationExternalID, removeUndefinedAndNullValues, } = require('../../util'); -const { - ConfigurationError, - InstrumentationError, - UnsupportedEventError, -} = require('../../util/errorTypes'); const { ENDPOINT, mappingConfig, diff --git a/src/v0/destinations/ga4/utils.js b/src/v0/destinations/ga4/utils.js index d356300ff7..e4db494727 100644 --- a/src/v0/destinations/ga4/utils.js +++ b/src/v0/destinations/ga4/utils.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { isEmpty, constructPayload, @@ -7,7 +8,6 @@ const { extractCustomFields, isDefinedAndNotNull, } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { mappingConfig, ConfigCategory } = require('./config'); /** diff --git a/src/v0/destinations/gainsight/transform.js b/src/v0/destinations/gainsight/transform.js index f58fc0d566..f47296f066 100644 --- a/src/v0/destinations/gainsight/transform.js +++ b/src/v0/destinations/gainsight/transform.js @@ -1,6 +1,7 @@ /* eslint-disable no-nested-ternary */ const set = require('set-value'); const get = require('get-value'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { identifyMapping, @@ -28,7 +29,6 @@ const { renameCustomFieldsFromMap, getConfigOrThrowError, } = require('./util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); /** diff --git a/src/v0/destinations/gainsight/util.js b/src/v0/destinations/gainsight/util.js index 3c986b420d..39e666c1a5 100644 --- a/src/v0/destinations/gainsight/util.js +++ b/src/v0/destinations/gainsight/util.js @@ -1,7 +1,11 @@ +const { + ConfigurationError, + RetryableError, + NetworkError, +} = require('@rudderstack/integrations-lib'); const myAxios = require('../../../util/myAxios'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const logger = require('../../../logger'); -const { ConfigurationError, RetryableError, NetworkError } = require('../../util/errorTypes'); const { ENDPOINTS, getLookupPayload } = require('./config'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/gainsight_px/transform.js b/src/v0/destinations/gainsight_px/transform.js index ab66b87c5a..4d91980f11 100644 --- a/src/v0/destinations/gainsight_px/transform.js +++ b/src/v0/destinations/gainsight_px/transform.js @@ -1,4 +1,5 @@ /* eslint-disable no-nested-ternary */ +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { isEmptyObject, @@ -29,7 +30,6 @@ const { groupMapping, identifyMapping, } = require('./config'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); /** diff --git a/src/v0/destinations/gainsight_px/util.js b/src/v0/destinations/gainsight_px/util.js index 6900180ab5..5109286b3f 100644 --- a/src/v0/destinations/gainsight_px/util.js +++ b/src/v0/destinations/gainsight_px/util.js @@ -1,6 +1,6 @@ +const { NetworkError } = require('@rudderstack/integrations-lib'); const myAxios = require('../../../util/myAxios'); const { ENDPOINTS } = require('./config'); -const { NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js index e25349dfdc..8ac432935f 100644 --- a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js +++ b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js @@ -1,5 +1,6 @@ const { get, set } = require('lodash'); const sha256 = require('sha256'); +const { NetworkError, NetworkInstrumentationError } = require('@rudderstack/integrations-lib'); const { prepareProxyRequest, handleHttpRequest } = require('../../../adapters/network'); const { isHttpStatusSuccess, getAuthErrCategoryFromStCode } = require('../../util/index'); const { CONVERSION_ACTION_ID_CACHE_TTL } = require('./config'); @@ -12,7 +13,7 @@ const { getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); const { BASE_ENDPOINT } = require('./config'); -const { NetworkError, NetworkInstrumentationError } = require('../../util/errorTypes'); + const tags = require('../../util/tags'); const ERROR_MSG_PATH = 'response[0].error.message'; diff --git a/src/v0/destinations/google_adwords_enhanced_conversions/transform.js b/src/v0/destinations/google_adwords_enhanced_conversions/transform.js index 898c3f95b0..0be7c3f0ee 100644 --- a/src/v0/destinations/google_adwords_enhanced_conversions/transform.js +++ b/src/v0/destinations/google_adwords_enhanced_conversions/transform.js @@ -2,6 +2,7 @@ const get = require('get-value'); const { cloneDeep } = require('lodash'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { constructPayload, defaultRequestConfig, @@ -11,8 +12,6 @@ const { getAccessToken, } = require('../../util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); - const { trackMapping, BASE_ENDPOINT } = require('./config'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/google_adwords_offline_conversions/networkHandler.js b/src/v0/destinations/google_adwords_offline_conversions/networkHandler.js index 71fdccff20..a87a2431f2 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/networkHandler.js +++ b/src/v0/destinations/google_adwords_offline_conversions/networkHandler.js @@ -1,6 +1,11 @@ const set = require('set-value'); const get = require('get-value'); const sha256 = require('sha256'); +const { + AbortedError, + NetworkInstrumentationError, + NetworkError, +} = require('@rudderstack/integrations-lib'); const { prepareProxyRequest, httpSend, httpPOST } = require('../../../adapters/network'); const { isHttpStatusSuccess, @@ -15,11 +20,6 @@ const { processAxiosResponse, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); -const { - AbortedError, - NetworkInstrumentationError, - NetworkError, -} = require('../../util/errorTypes'); const tags = require('../../util/tags'); const conversionCustomVariableCache = new Cache(CONVERSION_CUSTOM_VARIABLE_CACHE_TTL); diff --git a/src/v0/destinations/google_adwords_offline_conversions/transform.js b/src/v0/destinations/google_adwords_offline_conversions/transform.js index 0186739d37..397895c603 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/transform.js +++ b/src/v0/destinations/google_adwords_offline_conversions/transform.js @@ -1,4 +1,5 @@ const { set, get } = require('lodash'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { getHashFromArrayWithDuplicate, @@ -21,7 +22,6 @@ const { requestBuilder, getClickConversionPayloadAndEndpoint, } = require('./utils'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const helper = require('./helper'); /** diff --git a/src/v0/destinations/google_adwords_offline_conversions/utils.js b/src/v0/destinations/google_adwords_offline_conversions/utils.js index 7fa5eb29af..c69c5a436f 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/utils.js +++ b/src/v0/destinations/google_adwords_offline_conversions/utils.js @@ -1,5 +1,10 @@ const sha256 = require('sha256'); const { get, set, cloneDeep } = require('lodash'); +const { + AbortedError, + ConfigurationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { httpPOST } = require('../../../adapters/network'); const { isHttpStatusSuccess, @@ -24,7 +29,6 @@ const { } = require('./config'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); const Cache = require('../../util/cache'); -const { AbortedError, ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const helper = require('./helper'); const conversionActionIdCache = new Cache(CONVERSION_ACTION_ID_CACHE_TTL); diff --git a/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js b/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js index b8470f9d28..5be8597bdb 100644 --- a/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js +++ b/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js @@ -1,3 +1,4 @@ +const { NetworkError } = require('@rudderstack/integrations-lib'); const { httpSend, prepareProxyRequest } = require('../../../adapters/network'); const { isHttpStatusSuccess, getAuthErrCategoryFromStCode } = require('../../util/index'); @@ -5,7 +6,6 @@ const { processAxiosResponse, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); -const { NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); /** * This function helps to create a offlineUserDataJobs diff --git a/src/v0/destinations/google_adwords_remarketing_lists/transform.js b/src/v0/destinations/google_adwords_remarketing_lists/transform.js index f8cd7c7037..884fcd71f6 100644 --- a/src/v0/destinations/google_adwords_remarketing_lists/transform.js +++ b/src/v0/destinations/google_adwords_remarketing_lists/transform.js @@ -1,5 +1,6 @@ const sha256 = require('sha256'); const get = require('get-value'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const logger = require('../../../logger'); const { isDefinedAndNotNullAndNotEmpty, @@ -14,7 +15,6 @@ const { getAccessToken, } = require('../../util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { offlineDataJobsMapping, addressInfoMapping, diff --git a/src/v0/destinations/google_cloud_function/util.js b/src/v0/destinations/google_cloud_function/util.js index 0a4fb9f4de..8f85460902 100644 --- a/src/v0/destinations/google_cloud_function/util.js +++ b/src/v0/destinations/google_cloud_function/util.js @@ -1,4 +1,4 @@ -const { ConfigurationError } = require('../../util/errorTypes'); +const { ConfigurationError } = require('@rudderstack/integrations-lib'); /** * validate destination config diff --git a/src/v0/destinations/googlepubsub/transform.js b/src/v0/destinations/googlepubsub/transform.js index 44208735e0..7a022d6c29 100644 --- a/src/v0/destinations/googlepubsub/transform.js +++ b/src/v0/destinations/googlepubsub/transform.js @@ -1,5 +1,5 @@ +const { ConfigurationError } = require('@rudderstack/integrations-lib'); const { simpleProcessRouterDest } = require('../../util'); -const { ConfigurationError } = require('../../util/errorTypes'); const { getTopic, createAttributesMetadata } = require('./util'); diff --git a/src/v0/destinations/googlesheets/transform.js b/src/v0/destinations/googlesheets/transform.js index 6cfb3f1d1e..6e27f6192c 100644 --- a/src/v0/destinations/googlesheets/transform.js +++ b/src/v0/destinations/googlesheets/transform.js @@ -1,12 +1,12 @@ /* eslint-disable no-nested-ternary */ const get = require('get-value'); +const { ConfigurationError } = require('@rudderstack/integrations-lib'); const { getValueFromMessage, getSuccessRespEvents, handleRtTfSingleEventError, checkInvalidRtTfEvents, } = require('../../util'); -const { ConfigurationError } = require('../../util/errorTypes'); const SOURCE_KEYS = ['properties', 'traits', 'context.traits']; diff --git a/src/v0/destinations/heap/transform.js b/src/v0/destinations/heap/transform.js index 32196eb7be..4256324165 100644 --- a/src/v0/destinations/heap/transform.js +++ b/src/v0/destinations/heap/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError, TransformationError } = require('@rudderstack/integrations-lib'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); const { EventType } = require('../../../constants'); const { @@ -8,7 +9,6 @@ const { flattenJson, simpleProcessRouterDest, } = require('../../util'); -const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function responseBuilderSimple(message, category, destination) { diff --git a/src/v0/destinations/hs/HSTransform-v1.js b/src/v0/destinations/hs/HSTransform-v1.js index 30546ad8f6..51feebea74 100644 --- a/src/v0/destinations/hs/HSTransform-v1.js +++ b/src/v0/destinations/hs/HSTransform-v1.js @@ -1,5 +1,10 @@ const get = require('get-value'); const lodash = require('lodash'); +const { + InstrumentationError, + ConfigurationError, + TransformationError, +} = require('@rudderstack/integrations-lib'); const { MappedToDestinationKey, GENERIC_TRUE_VALUES } = require('../../../constants'); const { defaultGetRequestConfig, @@ -14,11 +19,6 @@ const { getDestinationExternalID, getDestinationExternalIDInfoForRetl, } = require('../../util'); -const { - InstrumentationError, - ConfigurationError, - TransformationError, -} = require('../../util/errorTypes'); const { BATCH_CONTACT_ENDPOINT, MAX_BATCH_SIZE, diff --git a/src/v0/destinations/hs/HSTransform-v2.js b/src/v0/destinations/hs/HSTransform-v2.js index 26c12d3eea..2acdd82152 100644 --- a/src/v0/destinations/hs/HSTransform-v2.js +++ b/src/v0/destinations/hs/HSTransform-v2.js @@ -1,5 +1,10 @@ const get = require('get-value'); const lodash = require('lodash'); +const { + TransformationError, + ConfigurationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { MappedToDestinationKey, GENERIC_TRUE_VALUES } = require('../../../constants'); const { defaultPostRequestConfig, @@ -16,11 +21,6 @@ const { getDestinationExternalIDInfoForRetl, getDestinationExternalIDObjectForRetl, } = require('../../util'); -const { - TransformationError, - ConfigurationError, - InstrumentationError, -} = require('../../util/errorTypes'); const { IDENTIFY_CRM_UPDATE_CONTACT, IDENTIFY_CRM_CREATE_NEW_CONTACT, diff --git a/src/v0/destinations/hs/transform.js b/src/v0/destinations/hs/transform.js index a2326e0395..c26e024a6c 100644 --- a/src/v0/destinations/hs/transform.js +++ b/src/v0/destinations/hs/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { checkInvalidRtTfEvents, @@ -19,7 +20,6 @@ const { getProperties, validateDestinationConfig, } = require('./util'); -const { InstrumentationError } = require('../../util/errorTypes'); const processSingleMessage = async (message, destination, propertyMap) => { if (!message.type) { diff --git a/src/v0/destinations/hs/util.js b/src/v0/destinations/hs/util.js index eb062b0c39..72025997d2 100644 --- a/src/v0/destinations/hs/util.js +++ b/src/v0/destinations/hs/util.js @@ -1,4 +1,10 @@ const get = require('get-value'); +const { + NetworkInstrumentationError, + InstrumentationError, + ConfigurationError, + NetworkError, +} = require('@rudderstack/integrations-lib'); const { httpGET, httpPOST } = require('../../../adapters/network'); const { processAxiosResponse, @@ -12,12 +18,6 @@ const { getDestinationExternalIDInfoForRetl, getValueFromMessage, } = require('../../util'); -const { - NetworkInstrumentationError, - InstrumentationError, - ConfigurationError, - NetworkError, -} = require('../../util/errorTypes'); const { CONTACT_PROPERTY_MAP_ENDPOINT, IDENTIFY_CRM_SEARCH_CONTACT, diff --git a/src/v0/destinations/impact/transform.js b/src/v0/destinations/impact/transform.js index 026318cec7..2eefdf7992 100644 --- a/src/v0/destinations/impact/transform.js +++ b/src/v0/destinations/impact/transform.js @@ -1,5 +1,10 @@ const sha1 = require('js-sha1'); const btoa = require('btoa'); +const { + ConfigurationError, + TransformationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); const { @@ -17,11 +22,6 @@ const { removeUndefinedAndNullValues, isDefinedAndNotNullAndNotEmpty, } = require('../../util'); -const { - ConfigurationError, - TransformationError, - InstrumentationError, -} = require('../../util/errorTypes'); /** * This function takes the transformed payload, endpoint and destination Config as input and returns the prepared response. diff --git a/src/v0/destinations/indicative/transform.js b/src/v0/destinations/indicative/transform.js index 81eb19f320..000998c3b8 100644 --- a/src/v0/destinations/indicative/transform.js +++ b/src/v0/destinations/indicative/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError, TransformationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); const { @@ -9,7 +10,6 @@ const { simpleProcessRouterDest, } = require('../../util'); const { getUAInfo } = require('./utils'); -const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const handleProperties = (properties) => { diff --git a/src/v0/destinations/intercom/deleteUsers.js b/src/v0/destinations/intercom/deleteUsers.js index 9241a22906..e11d352117 100644 --- a/src/v0/destinations/intercom/deleteUsers.js +++ b/src/v0/destinations/intercom/deleteUsers.js @@ -1,8 +1,8 @@ +const { NetworkError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { httpPOST } = require('../../../adapters/network'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); const { isHttpStatusSuccess } = require('../../util'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); -const { NetworkError, ConfigurationError } = require('../../util/errorTypes'); const { executeCommonValidations } = require('../../util/regulation-api'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/intercom/networkHandler.js b/src/v0/destinations/intercom/networkHandler.js index 33f78e8cf6..a4106257b3 100644 --- a/src/v0/destinations/intercom/networkHandler.js +++ b/src/v0/destinations/intercom/networkHandler.js @@ -1,8 +1,7 @@ +const { RetryableError } = require('@rudderstack/integrations-lib'); const { proxyRequest, prepareProxyRequest } = require('../../../adapters/network'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); -const { RetryableError } = require('../../util/errorTypes'); - const errorResponseHandler = (destinationResponse, dest) => { const { status } = destinationResponse; if (status === 408) { diff --git a/src/v0/destinations/intercom/transform.js b/src/v0/destinations/intercom/transform.js index 552c80527c..212eaba13b 100644 --- a/src/v0/destinations/intercom/transform.js +++ b/src/v0/destinations/intercom/transform.js @@ -1,5 +1,6 @@ const md5 = require('md5'); const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType, MappedToDestinationKey } = require('../../../constants'); const { ConfigCategory, @@ -18,7 +19,6 @@ const { flattenJson, } = require('../../util'); const { separateReservedAndRestMetadata } = require('./util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function getCompanyAttribute(company) { diff --git a/src/v0/destinations/iterable/deleteUsers.js b/src/v0/destinations/iterable/deleteUsers.js index 834cccd4cb..a179a8930f 100644 --- a/src/v0/destinations/iterable/deleteUsers.js +++ b/src/v0/destinations/iterable/deleteUsers.js @@ -1,8 +1,8 @@ +const { NetworkError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { httpDELETE } = require('../../../adapters/network'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); const { isHttpStatusSuccess } = require('../../util'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); -const { NetworkError, ConfigurationError } = require('../../util/errorTypes'); const { executeCommonValidations } = require('../../util/regulation-api'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/iterable/transform.js b/src/v0/destinations/iterable/transform.js index c54b579a52..64bdcfcfa4 100644 --- a/src/v0/destinations/iterable/transform.js +++ b/src/v0/destinations/iterable/transform.js @@ -1,5 +1,6 @@ const lodash = require('lodash'); const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { getCatalogEndpoint, hasMultipleResponses, @@ -26,7 +27,6 @@ const { } = require('../../util'); const { JSON_MIME_TYPE } = require('../../util/constant'); const { mappingConfig, ConfigCategory } = require('./config'); -const { InstrumentationError } = require('../../util/errorTypes'); const { EventType, MappedToDestinationKey } = require('../../../constants'); /** diff --git a/src/v0/destinations/iterable/util.js b/src/v0/destinations/iterable/util.js index 0b7e402f01..7c1509c2b7 100644 --- a/src/v0/destinations/iterable/util.js +++ b/src/v0/destinations/iterable/util.js @@ -1,6 +1,7 @@ const lodash = require('lodash'); const get = require('get-value'); const jsonSize = require('json-size'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { isAppleFamily, constructPayload, @@ -20,7 +21,6 @@ const { } = require('./config'); const { JSON_MIME_TYPE } = require('../../util/constant'); const { EventType, MappedToDestinationKey } = require('../../../constants'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const MESSAGE_JSON_PATH = 'message.body.JSON'; diff --git a/src/v0/destinations/june/transform.js b/src/v0/destinations/june/transform.js index f85cb0fd3d..c8f3206903 100644 --- a/src/v0/destinations/june/transform.js +++ b/src/v0/destinations/june/transform.js @@ -1,3 +1,4 @@ +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { isEmptyObject, constructPayload, @@ -10,7 +11,6 @@ const { const { EventType } = require('../../../constants'); const { JSON_MIME_TYPE } = require('../../util/constant'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const responseBuilder = (payload, endpoint, destination) => { const destPayload = payload; diff --git a/src/v0/destinations/kafka/transform.js b/src/v0/destinations/kafka/transform.js index 39334b5f52..b08c717475 100644 --- a/src/v0/destinations/kafka/transform.js +++ b/src/v0/destinations/kafka/transform.js @@ -8,7 +8,6 @@ const { getSuccessRespEvents, getErrorRespEvents, } = require('../../util'); -// const { InstrumentationError } = require("../../util/errorTypes"); const filterConfigTopics = (message, destination) => { const { Config } = destination; diff --git a/src/v0/destinations/keen/transform.js b/src/v0/destinations/keen/transform.js index 6d99c90dcc..b68b5e5e1d 100644 --- a/src/v0/destinations/keen/transform.js +++ b/src/v0/destinations/keen/transform.js @@ -2,6 +2,7 @@ /* eslint-disable no-nested-ternary */ const isIp = require('is-ip'); const validUrl = require('valid-url'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultPostRequestConfig, @@ -10,7 +11,6 @@ const { getFieldValueFromMessage, simpleProcessRouterDest, } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { ENDPOINT } = require('./config'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/kissmetrics/transform.js b/src/v0/destinations/kissmetrics/transform.js index 3e2c5593de..b24395076c 100644 --- a/src/v0/destinations/kissmetrics/transform.js +++ b/src/v0/destinations/kissmetrics/transform.js @@ -9,6 +9,7 @@ const is = require('is'); const extend = require('@ndhoule/extend'); const each = require('component-each'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultGetRequestConfig, @@ -17,7 +18,6 @@ const { simpleProcessRouterDest, } = require('../../util'); const { ENDPOINT } = require('./config'); -const { InstrumentationError } = require('../../util/errorTypes'); // source : https://github.com/segment-integrations/analytics.js-integration-kissmetrics/blob/master/lib/index.js function toUnixTimestamp(date) { diff --git a/src/v0/destinations/klaviyo/transform.js b/src/v0/destinations/klaviyo/transform.js index 5ad9b1869d..7c9061fc41 100644 --- a/src/v0/destinations/klaviyo/transform.js +++ b/src/v0/destinations/klaviyo/transform.js @@ -2,6 +2,7 @@ /* eslint-disable no-underscore-dangle */ /* eslint-disable array-callback-return */ const get = require('get-value'); +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType, WhiteListedTraits, MappedToDestinationKey } = require('../../../constants'); const { CONFIG_CATEGORIES, @@ -36,7 +37,6 @@ const { flattenJson, isNewStatusCodesAccepted, } = require('../../util'); -const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE, HTTP_STATUS_CODES } = require('../../util/constant'); /** @@ -373,8 +373,9 @@ const processRouterDest = async (inputs, reqMetadata) => { eventDestination, false, HTTP_STATUS_CODES.SUPPRESS_EVENTS, - ), error - } + ), + error, + }; } return getSuccessRespEvents(message, [metadata], eventDestination); }); diff --git a/src/v0/destinations/klaviyo/util.js b/src/v0/destinations/klaviyo/util.js index b31dafd78b..60b334f3a2 100644 --- a/src/v0/destinations/klaviyo/util.js +++ b/src/v0/destinations/klaviyo/util.js @@ -1,5 +1,6 @@ const { defaultRequestConfig } = require('rudder-transformer-cdk/build/utils'); const lodash = require('lodash'); +const { NetworkError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { WhiteListedTraits } = require('../../../constants'); const { @@ -15,7 +16,6 @@ const { const tags = require('../../util/tags'); const { handleHttpRequest } = require('../../../adapters/network'); const { JSON_MIME_TYPE, HTTP_STATUS_CODES } = require('../../util/constant'); -const { NetworkError, InstrumentationError } = require('../../util/errorTypes'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const { BASE_ENDPOINT, MAPPING_CONFIG, CONFIG_CATEGORIES, MAX_BATCH_SIZE } = require('./config'); diff --git a/src/v0/destinations/kochava/transform.js b/src/v0/destinations/kochava/transform.js index c5a4fec81f..e9cf2eb1a0 100644 --- a/src/v0/destinations/kochava/transform.js +++ b/src/v0/destinations/kochava/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { KOCHAVA_ENDPOINT, @@ -11,7 +12,6 @@ const { formatTimeStamp, isAppleFamily, } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); // build final response // -------------------- diff --git a/src/v0/destinations/kustomer/transform.js b/src/v0/destinations/kustomer/transform.js index 2898f0dfc2..e5010f55e0 100644 --- a/src/v0/destinations/kustomer/transform.js +++ b/src/v0/destinations/kustomer/transform.js @@ -1,5 +1,6 @@ /* eslint-disable no-nested-ternary */ const get = require('get-value'); +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, DEFAULT_BASE_ENDPOINT } = require('./config'); const { @@ -13,7 +14,6 @@ const { simpleProcessRouterDest, } = require('../../util'); const { fetchKustomer, handleAdvancedtransformations } = require('./util'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); // Function responsible for constructing the Kustomer (User) Payload for identify diff --git a/src/v0/destinations/kustomer/util.js b/src/v0/destinations/kustomer/util.js index 31157b2738..571a03f139 100644 --- a/src/v0/destinations/kustomer/util.js +++ b/src/v0/destinations/kustomer/util.js @@ -2,11 +2,11 @@ const lodash = require('lodash'); const set = require('set-value'); const get = require('get-value'); +const { NetworkError, AbortedError } = require('@rudderstack/integrations-lib'); const myAxios = require('../../../util/myAxios'); const { DEFAULT_BASE_ENDPOINT } = require('./config'); const { getType, isDefinedAndNotNull, isObject } = require('../../util'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); -const { NetworkError, AbortedError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); /** diff --git a/src/v0/destinations/lambda/transform.js b/src/v0/destinations/lambda/transform.js index 221ef18186..1570a69ec3 100644 --- a/src/v0/destinations/lambda/transform.js +++ b/src/v0/destinations/lambda/transform.js @@ -1,6 +1,6 @@ const _ = require('lodash'); const { getErrorRespEvents, getSuccessRespEvents } = require('../../util'); -const { ConfigurationError } = require('../../util/errorTypes'); +const { ConfigurationError } = require('@rudderstack/integrations-lib'); const DEFAULT_INVOCATION_TYPE = 'Event'; // asynchronous invocation const MAX_PAYLOAD_SIZE_IN_KB = 256; // only for asynchronous invocation diff --git a/src/v0/destinations/leanplum/transform.js b/src/v0/destinations/leanplum/transform.js index 9a5462f2e5..df075dd631 100644 --- a/src/v0/destinations/leanplum/transform.js +++ b/src/v0/destinations/leanplum/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { ConfigCategory, mappingConfig, ENDPOINT, API_VERSION } = require('./config'); const { @@ -7,7 +8,6 @@ const { constructPayload, simpleProcessRouterDest, } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function preparePayload(message, name, destination) { diff --git a/src/v0/destinations/lemnisk/transform.js b/src/v0/destinations/lemnisk/transform.js index 1d6d9a89fb..905199079b 100644 --- a/src/v0/destinations/lemnisk/transform.js +++ b/src/v0/destinations/lemnisk/transform.js @@ -1,3 +1,8 @@ +const { + ConfigurationError, + TransformationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, @@ -14,11 +19,6 @@ const { isDefinedAndNotNullAndNotEmpty, } = require('../../util'); const { fetchPlatform } = require('./utils'); -const { - ConfigurationError, - TransformationError, - InstrumentationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (message, category, destination, platform) => { diff --git a/src/v0/destinations/lemnisk/utils.js b/src/v0/destinations/lemnisk/utils.js index 207122153d..28de9ab354 100644 --- a/src/v0/destinations/lemnisk/utils.js +++ b/src/v0/destinations/lemnisk/utils.js @@ -1,4 +1,4 @@ -const { ConfigurationError } = require('../../util/errorTypes'); +const { ConfigurationError } = require('@rudderstack/integrations-lib'); /** * Fetches the platform type from the destination Config diff --git a/src/v0/destinations/lytics/transform.js b/src/v0/destinations/lytics/transform.js index a8d489fa5f..c3a971adba 100644 --- a/src/v0/destinations/lytics/transform.js +++ b/src/v0/destinations/lytics/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, @@ -14,7 +15,6 @@ const { flattenJson, simpleProcessRouterDest, } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilderSimple = (message, category, destination) => { diff --git a/src/v0/destinations/mailchimp/transform.js b/src/v0/destinations/mailchimp/transform.js index ced92ddea1..894f70672a 100644 --- a/src/v0/destinations/mailchimp/transform.js +++ b/src/v0/destinations/mailchimp/transform.js @@ -1,4 +1,5 @@ const lodash = require('lodash'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { defaultPutRequestConfig, handleRtTfSingleEventError, @@ -23,7 +24,6 @@ const { stringifyPropertiesValues, } = require('./utils'); const { MAX_BATCH_SIZE, VALID_STATUSES, TRACK_CONFIG } = require('./config'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilderSimple = (finalPayload, endpoint, Config, audienceId) => { diff --git a/src/v0/destinations/mailchimp/utils.js b/src/v0/destinations/mailchimp/utils.js index 5a6d62c72c..e1e2e9883b 100644 --- a/src/v0/destinations/mailchimp/utils.js +++ b/src/v0/destinations/mailchimp/utils.js @@ -1,5 +1,6 @@ const get = require('get-value'); const md5 = require('md5'); +const { InstrumentationError, NetworkError } = require('@rudderstack/integrations-lib'); const myAxios = require('../../../util/myAxios'); const { MappedToDestinationKey } = require('../../../constants'); const logger = require('../../../logger'); @@ -15,7 +16,6 @@ const { defaultBatchRequestConfig, constructPayload, } = require('../../util'); -const { InstrumentationError, NetworkError } = require('../../util/errorTypes'); const { MERGE_CONFIG, MERGE_ADDRESS, SUBSCRIPTION_STATUS, VALID_STATUSES } = require('./config'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const tags = require('../../util/tags'); diff --git a/src/v0/destinations/mailjet/transform.js b/src/v0/destinations/mailjet/transform.js index 3e3cfe5c81..9156bf45e9 100644 --- a/src/v0/destinations/mailjet/transform.js +++ b/src/v0/destinations/mailjet/transform.js @@ -1,4 +1,5 @@ const lodash = require('lodash'); +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { getErrorRespEvents, getSuccessRespEvents, @@ -12,7 +13,6 @@ const { const { MAX_BATCH_SIZE } = require('./config'); const { EventType } = require('../../../constants'); const { createOrUpdateContactResponseBuilder } = require('./utils'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (payload) => { diff --git a/src/v0/destinations/mailmodo/transform.js b/src/v0/destinations/mailmodo/transform.js index 39783c864f..756522939d 100644 --- a/src/v0/destinations/mailmodo/transform.js +++ b/src/v0/destinations/mailmodo/transform.js @@ -1,6 +1,7 @@ const lodash = require('lodash'); const get = require('get-value'); const { isEmpty } = require('lodash'); +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { ConfigCategory, IDENTIFY_MAX_BATCH_SIZE, mappingConfig, BASE_URL } = require('./config'); const { @@ -14,7 +15,6 @@ const { handleRtTfSingleEventError, } = require('../../util'); const { deduceAddressFields, extractCustomProperties } = require('./utils'); -const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (responseConfgs) => { diff --git a/src/v0/destinations/marketo/transform.js b/src/v0/destinations/marketo/transform.js index b23d992b64..5000ef506b 100644 --- a/src/v0/destinations/marketo/transform.js +++ b/src/v0/destinations/marketo/transform.js @@ -3,6 +3,11 @@ /* eslint-disable no-use-before-define */ const get = require('get-value'); const cloneDeep = require('lodash/cloneDeep'); +const { + InstrumentationError, + ConfigurationError, + UnauthorizedError, +} = require('@rudderstack/integrations-lib'); const stats = require('../../../util/stats'); const { EventType, MappedToDestinationKey } = require('../../../constants'); const { @@ -38,11 +43,6 @@ const { getResponseHandlerData, } = require('./util'); const logger = require('../../../logger'); -const { - InstrumentationError, - ConfigurationError, - UnauthorizedError, -} = require('../../util/errorTypes'); const userIdLeadCache = new Cache(USER_LEAD_CACHE_TTL); // 1 day const emailLeadCache = new Cache(USER_LEAD_CACHE_TTL); // 1 day diff --git a/src/v0/destinations/marketo/util.js b/src/v0/destinations/marketo/util.js index 0de14e2072..203e0bf859 100644 --- a/src/v0/destinations/marketo/util.js +++ b/src/v0/destinations/marketo/util.js @@ -1,9 +1,3 @@ -const { httpGET, httpPOST } = require('../../../adapters/network'); -const { - getDynamicErrorType, - processAxiosResponse, -} = require('../../../adapters/utils/networkUtils'); -const { isHttpStatusSuccess } = require('../../util/index'); const { NetworkError, AbortedError, @@ -11,7 +5,13 @@ const { RetryableError, UnhandledStatusCodeError, InstrumentationError, -} = require('../../util/errorTypes'); +} = require('@rudderstack/integrations-lib'); +const { httpGET, httpPOST } = require('../../../adapters/network'); +const { + getDynamicErrorType, + processAxiosResponse, +} = require('../../../adapters/utils/networkUtils'); +const { isHttpStatusSuccess } = require('../../util/index'); const tags = require('../../util/tags'); /** diff --git a/src/v0/destinations/marketo_bulk_upload/fetchJobStatus.js b/src/v0/destinations/marketo_bulk_upload/fetchJobStatus.js index 04eadc4c51..e6f5662000 100644 --- a/src/v0/destinations/marketo_bulk_upload/fetchJobStatus.js +++ b/src/v0/destinations/marketo_bulk_upload/fetchJobStatus.js @@ -1,8 +1,8 @@ /* eslint-disable no-restricted-syntax */ /* eslint-disable no-prototype-builtins */ +const { PlatformError } = require('@rudderstack/integrations-lib'); const { getAccessToken } = require('./util'); const { handleHttpRequest } = require('../../../adapters/network'); -const { PlatformError } = require('../../util/errorTypes'); const stats = require('../../../util/stats'); const { JSON_MIME_TYPE } = require('../../util/constant'); const { diff --git a/src/v0/destinations/marketo_bulk_upload/fileUpload.js b/src/v0/destinations/marketo_bulk_upload/fileUpload.js index 2c77cd6e29..c7212ff9cb 100644 --- a/src/v0/destinations/marketo_bulk_upload/fileUpload.js +++ b/src/v0/destinations/marketo_bulk_upload/fileUpload.js @@ -1,6 +1,12 @@ /* eslint-disable no-plusplus */ const FormData = require('form-data'); const fs = require('fs'); +const { + NetworkError, + ConfigurationError, + RetryableError, + TransformationError, +} = require('@rudderstack/integrations-lib'); const { getAccessToken, getMarketoFilePath, @@ -16,12 +22,6 @@ const { isDefinedAndNotNullAndNotEmpty, } = require('../../util'); const { handleHttpRequest } = require('../../../adapters/network'); -const { - NetworkError, - ConfigurationError, - RetryableError, - TransformationError, -} = require('../../util/errorTypes'); const { client } = require('../../../util/errorNotifier'); const stats = require('../../../util/stats'); diff --git a/src/v0/destinations/marketo_bulk_upload/marketo_bulk_upload.util.test.js b/src/v0/destinations/marketo_bulk_upload/marketo_bulk_upload.util.test.js index 777301b6c3..78ac7c9e48 100644 --- a/src/v0/destinations/marketo_bulk_upload/marketo_bulk_upload.util.test.js +++ b/src/v0/destinations/marketo_bulk_upload/marketo_bulk_upload.util.test.js @@ -4,7 +4,7 @@ const { handleFileUploadResponse, } = require('./util'); -const { AbortedError, RetryableError } = require('../../util/errorTypes'); +const { AbortedError, RetryableError } = require('@rudderstack/integrations-lib'); describe('handleCommonErrorResponse', () => { test('should throw AbortedError for abortable error codes', () => { diff --git a/src/v0/destinations/marketo_bulk_upload/poll.js b/src/v0/destinations/marketo_bulk_upload/poll.js index 5e37fd7c0e..3ad458c545 100644 --- a/src/v0/destinations/marketo_bulk_upload/poll.js +++ b/src/v0/destinations/marketo_bulk_upload/poll.js @@ -1,8 +1,8 @@ +const { NetworkError } = require('@rudderstack/integrations-lib'); const { removeUndefinedValues, isHttpStatusSuccess } = require('../../util'); const { getAccessToken, handlePollResponse, hydrateStatusForServer } = require('./util'); const { handleHttpRequest } = require('../../../adapters/network'); const stats = require('../../../util/stats'); -const { NetworkError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const { POLL_ACTIVITY } = require('./config'); diff --git a/src/v0/destinations/marketo_bulk_upload/transform.js b/src/v0/destinations/marketo_bulk_upload/transform.js index d5764ee6c3..5431e67d38 100644 --- a/src/v0/destinations/marketo_bulk_upload/transform.js +++ b/src/v0/destinations/marketo_bulk_upload/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { getHashFromArray, getFieldValueFromMessage, @@ -5,7 +6,6 @@ const { defaultRequestConfig, } = require('../../util'); const { EventType } = require('../../../constants'); -const { InstrumentationError } = require('../../util/errorTypes'); function responseBuilderSimple(message, destination) { const payload = {}; diff --git a/src/v0/destinations/marketo_bulk_upload/util.js b/src/v0/destinations/marketo_bulk_upload/util.js index a60f57e50b..7b329a3441 100644 --- a/src/v0/destinations/marketo_bulk_upload/util.js +++ b/src/v0/destinations/marketo_bulk_upload/util.js @@ -1,10 +1,10 @@ -const { handleHttpRequest } = require('../../../adapters/network'); const { AbortedError, RetryableError, NetworkError, TransformationError, -} = require('../../util/errorTypes'); +} = require('@rudderstack/integrations-lib'); +const { handleHttpRequest } = require('../../../adapters/network'); const tags = require('../../util/tags'); const { isHttpStatusSuccess, generateUUID } = require('../../util'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); diff --git a/src/v0/destinations/marketo_static_list/transform.js b/src/v0/destinations/marketo_static_list/transform.js index 156e26270b..856947c33c 100644 --- a/src/v0/destinations/marketo_static_list/transform.js +++ b/src/v0/destinations/marketo_static_list/transform.js @@ -1,5 +1,6 @@ const lodash = require('lodash'); const cloneDeep = require('lodash/cloneDeep'); +const { InstrumentationError, UnauthorizedError } = require('@rudderstack/integrations-lib'); const { defaultPostRequestConfig, defaultDeleteRequestConfig, @@ -16,7 +17,6 @@ const { const { formatConfig, MAX_LEAD_IDS_SIZE } = require('./config'); const Cache = require('../../util/cache'); const { getAuthToken } = require('../marketo/transform'); -const { InstrumentationError, UnauthorizedError } = require('../../util/errorTypes'); const authCache = new Cache(AUTH_CACHE_TTL); // 1 hr diff --git a/src/v0/destinations/marketo_static_list/util.js b/src/v0/destinations/marketo_static_list/util.js index 2d4fe493a0..3db6180d24 100644 --- a/src/v0/destinations/marketo_static_list/util.js +++ b/src/v0/destinations/marketo_static_list/util.js @@ -1,4 +1,4 @@ -const { InstrumentationError } = require('../../util/errorTypes'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); /** * Fetches the ids from the array of objects diff --git a/src/v0/destinations/mautic/transform.js b/src/v0/destinations/mautic/transform.js index 12b0d06b6f..13808f6e3c 100644 --- a/src/v0/destinations/mautic/transform.js +++ b/src/v0/destinations/mautic/transform.js @@ -1,3 +1,8 @@ +const { + TransformationError, + InstrumentationError, + ConfigurationError, +} = require('@rudderstack/integrations-lib'); const { defaultRequestConfig, constructPayload, @@ -20,11 +25,6 @@ const { const { EventType } = require('../../../constants'); const { mappingConfig, ConfigCategories } = require('./config'); -const { - TransformationError, - InstrumentationError, - ConfigurationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = async (payload, endpoint, method, messageType, Config) => { diff --git a/src/v0/destinations/mautic/utils.js b/src/v0/destinations/mautic/utils.js index f9dd787d9d..d8ad8dbffc 100644 --- a/src/v0/destinations/mautic/utils.js +++ b/src/v0/destinations/mautic/utils.js @@ -1,5 +1,10 @@ /* eslint-disable no-return-assign, no-param-reassign, no-restricted-syntax */ const get = require('get-value'); +const { + NetworkError, + InstrumentationError, + ConfigurationError, +} = require('@rudderstack/integrations-lib'); const { getFieldValueFromMessage } = require('../../util'); const { BASE_URL, lookupFieldMap } = require('./config'); const { httpGET } = require('../../../adapters/network'); @@ -7,7 +12,6 @@ const { processAxiosResponse, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); -const { NetworkError, InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/moengage/transform.js b/src/v0/destinations/moengage/transform.js index d87d931817..ea7db24406 100644 --- a/src/v0/destinations/moengage/transform.js +++ b/src/v0/destinations/moengage/transform.js @@ -1,4 +1,9 @@ const btoa = require('btoa'); +const { + ConfigurationError, + TransformationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, @@ -16,11 +21,6 @@ const { simpleProcessRouterDest, isAppleFamily, } = require('../../util'); -const { - ConfigurationError, - TransformationError, - InstrumentationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function responseBuilderSimple(message, category, destination) { diff --git a/src/v0/destinations/monday/transform.js b/src/v0/destinations/monday/transform.js index 37ee835e50..152b42f8d0 100644 --- a/src/v0/destinations/monday/transform.js +++ b/src/v0/destinations/monday/transform.js @@ -1,4 +1,9 @@ const get = require('get-value'); +const { + ConfigurationError, + TransformationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { ENDPOINT } = require('./config'); const { populatePayload, getBoardDetails, checkAllowedEventNameFromUI } = require('./util'); @@ -10,11 +15,6 @@ const { getDestinationExternalID, validateEventName, } = require('../../util'); -const { - ConfigurationError, - TransformationError, - InstrumentationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (payload, endpoint, apiToken) => { diff --git a/src/v0/destinations/monday/util.js b/src/v0/destinations/monday/util.js index 5f260aabae..a66dd63dff 100644 --- a/src/v0/destinations/monday/util.js +++ b/src/v0/destinations/monday/util.js @@ -1,8 +1,12 @@ const { isNumber } = require('lodash'); +const { + NetworkError, + ConfigurationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { httpPOST } = require('../../../adapters/network'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); const { getDestinationExternalID, isDefinedAndNotNull } = require('../../util'); -const { NetworkError, ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/monetate/transform.js b/src/v0/destinations/monetate/transform.js index e4d1f28b61..26a88e686b 100644 --- a/src/v0/destinations/monetate/transform.js +++ b/src/v0/destinations/monetate/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { removeUndefinedValues, simpleProcessRouterDest } = require('../../util'); const { handleProductViewed, @@ -11,7 +12,6 @@ const { } = require('./utils'); const { EventType } = require('../../../constants'); const { mappingConfig } = require('./config'); -const { InstrumentationError } = require('../../util/errorTypes'); function track(message, destination) { const rawPayload = constructPayload(message, mappingConfig.MONETATETrack); diff --git a/src/v0/destinations/monetate/utils.js b/src/v0/destinations/monetate/utils.js index 7facc2617d..1fe899f120 100644 --- a/src/v0/destinations/monetate/utils.js +++ b/src/v0/destinations/monetate/utils.js @@ -1,6 +1,6 @@ const set = require('set-value'); const get = require('get-value'); -const { InstrumentationError } = require('../../util/errorTypes'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { isDefinedAndNotNull, defaultRequestConfig, getValueFromMessage } = require('../../util'); const { ENDPOINT } = require('./config'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/mp/deleteUsers.js b/src/v0/destinations/mp/deleteUsers.js index 5b86cae6ae..f01475ef2b 100644 --- a/src/v0/destinations/mp/deleteUsers.js +++ b/src/v0/destinations/mp/deleteUsers.js @@ -1,4 +1,5 @@ const lodash = require('lodash'); +const { ConfigurationError, NetworkError } = require('@rudderstack/integrations-lib'); const { handleHttpRequest } = require('../../../adapters/network'); const { isHttpStatusSuccess } = require('../../util'); const { @@ -7,7 +8,6 @@ const { DISTINCT_ID_MAX_BATCH_SIZE, } = require('./config'); const { executeCommonValidations } = require('../../util/regulation-api'); -const { ConfigurationError, NetworkError } = require('../../util/errorTypes'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/mp/transform.js b/src/v0/destinations/mp/transform.js index a5f1bf2d9d..bb8d3e5756 100644 --- a/src/v0/destinations/mp/transform.js +++ b/src/v0/destinations/mp/transform.js @@ -1,5 +1,6 @@ const lodash = require('lodash'); const get = require('get-value'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { base64Convertor, @@ -35,7 +36,6 @@ const { groupEventsByEndpoint, batchEvents, } = require('./util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { CommonUtils } = require('../../../util/common'); // ref: https://help.mixpanel.com/hc/en-us/articles/115004613766-Default-Properties-Collected-by-Mixpanel diff --git a/src/v0/destinations/mp/util.js b/src/v0/destinations/mp/util.js index 30173fd514..bb4c23f1b4 100644 --- a/src/v0/destinations/mp/util.js +++ b/src/v0/destinations/mp/util.js @@ -1,5 +1,6 @@ const set = require('set-value'); const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { isDefined, constructPayload, @@ -20,7 +21,6 @@ const { GEO_SOURCE_ALLOWED_VALUES, mappingConfig, } = require('./config'); -const { InstrumentationError } = require('../../util/errorTypes'); const { CommonUtils } = require('../../../util/common'); const mPIdentifyConfigJson = mappingConfig[ConfigCategory.IDENTIFY.name]; diff --git a/src/v0/destinations/ometria/networkResponseHandler.js b/src/v0/destinations/ometria/networkResponseHandler.js index 2020ab0343..501b67f176 100644 --- a/src/v0/destinations/ometria/networkResponseHandler.js +++ b/src/v0/destinations/ometria/networkResponseHandler.js @@ -1,8 +1,8 @@ +const { NetworkError } = require('@rudderstack/integrations-lib'); const { getDynamicErrorType, trimResponse } = require('../../../adapters/utils/networkUtils'); const { isDefinedAndNotNull } = require('../../util'); const { isEmpty } = require('../../util/index'); const tags = require('../../util/tags'); -const { NetworkError } = require('../../util/errorTypes'); const responseTransform = (destResponse) => { let respBody; diff --git a/src/v0/destinations/ometria/transform.js b/src/v0/destinations/ometria/transform.js index 6d3c2ab174..55038e10b8 100644 --- a/src/v0/destinations/ometria/transform.js +++ b/src/v0/destinations/ometria/transform.js @@ -1,7 +1,7 @@ /* eslint-disable one-var, @typescript-eslint/naming-convention */ /* eslint-disable camelcase */ +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); -const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { constructPayload, extractCustomFields, diff --git a/src/v0/destinations/one_signal/transform.js b/src/v0/destinations/one_signal/transform.js index db699935f4..a072aef0e4 100644 --- a/src/v0/destinations/one_signal/transform.js +++ b/src/v0/destinations/one_signal/transform.js @@ -1,4 +1,9 @@ const get = require('get-value'); +const { + ConfigurationError, + TransformationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { ConfigCategory, mappingConfig, BASE_URL, ENDPOINTS } = require('./config'); const { @@ -13,11 +18,6 @@ const { defaultPutRequestConfig, } = require('../../util'); const { populateDeviceType, populateTags } = require('./util'); -const { - ConfigurationError, - TransformationError, - InstrumentationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (payload, endpoint, eventType) => { diff --git a/src/v0/destinations/one_signal/util.js b/src/v0/destinations/one_signal/util.js index 4b53949e55..2de57de1b4 100644 --- a/src/v0/destinations/one_signal/util.js +++ b/src/v0/destinations/one_signal/util.js @@ -1,5 +1,5 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { getIntegrationsObj, getFieldValueFromMessage, getBrowserInfo } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); // For mapping device_type value const deviceTypeMapping = { diff --git a/src/v0/destinations/pagerduty/transform.js b/src/v0/destinations/pagerduty/transform.js index d7a8848ace..fb862d2553 100644 --- a/src/v0/destinations/pagerduty/transform.js +++ b/src/v0/destinations/pagerduty/transform.js @@ -1,3 +1,8 @@ +const { + ConfigurationError, + TransformationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -6,11 +11,6 @@ const { removeUndefinedAndNullValues, } = require('../../util'); const { JSON_MIME_TYPE } = require('../../util/constant'); -const { - ConfigurationError, - TransformationError, - InstrumentationError, -} = require('../../util/errorTypes'); const { trackEventPayloadBuilder } = require('./util'); const responseBuilder = (payload, endpoint) => { diff --git a/src/v0/destinations/pagerduty/util.js b/src/v0/destinations/pagerduty/util.js index 42030aa2e7..5b768704ed 100644 --- a/src/v0/destinations/pagerduty/util.js +++ b/src/v0/destinations/pagerduty/util.js @@ -1,5 +1,6 @@ const get = require('get-value'); const moment = require('moment'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { SEVERITIES, EVENT_ACTIONS, @@ -9,7 +10,6 @@ const { DEFAULT_EVENT_ACTION, } = require('./config'); const { constructPayload, getIntegrationsObj } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); /** * Validates the timestamp diff --git a/src/v0/destinations/pardot/networkHandler.js b/src/v0/destinations/pardot/networkHandler.js index 4cec03ebf8..12b4abbc53 100644 --- a/src/v0/destinations/pardot/networkHandler.js +++ b/src/v0/destinations/pardot/networkHandler.js @@ -1,3 +1,4 @@ +const { NetworkError } = require('@rudderstack/integrations-lib'); const { removeUndefinedValues } = require('../../util'); const { prepareProxyRequest, getPayloadData, httpSend } = require('../../../adapters/network'); const { @@ -7,7 +8,6 @@ const { const { isHttpStatusSuccess } = require('../../util/index'); const { REFRESH_TOKEN } = require('../../../adapters/networkhandler/authConstants'); const tags = require('../../util/tags'); -const { NetworkError } = require('../../util/errorTypes'); /** * Example Response from pardot diff --git a/src/v0/destinations/pardot/transform.js b/src/v0/destinations/pardot/transform.js index bfc7386ef9..b32b8967bd 100644 --- a/src/v0/destinations/pardot/transform.js +++ b/src/v0/destinations/pardot/transform.js @@ -34,6 +34,7 @@ */ const get = require('get-value'); +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { identifyConfig, DESTINATION } = require('./config'); const logger = require('../../../logger'); const { @@ -48,7 +49,6 @@ const { getAccessToken, } = require('../../util'); const { CONFIG_CATEGORIES } = require('./config'); -const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const buildResponse = (payload, url, destination, token) => { const responseBody = removeUndefinedValues(payload); diff --git a/src/v0/destinations/persistiq/transform.js b/src/v0/destinations/persistiq/transform.js index 195f8d6567..3b4fd6cadc 100644 --- a/src/v0/destinations/persistiq/transform.js +++ b/src/v0/destinations/persistiq/transform.js @@ -1,4 +1,5 @@ const { set } = require('lodash'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { defaultRequestConfig, removeUndefinedAndNullValues, @@ -8,7 +9,6 @@ const { const { configCategories } = require('./config'); const { buildLeadPayload, getIdentifyTraits } = require('./util'); const { EventType } = require('../../../constants'); -const { InstrumentationError } = require('../../util/errorTypes'); const responseBuilder = (payload, endpoint, method, Config) => { const { apiKey } = Config; diff --git a/src/v0/destinations/persistiq/util.js b/src/v0/destinations/persistiq/util.js index 7e1986e9b3..f37a9d1886 100644 --- a/src/v0/destinations/persistiq/util.js +++ b/src/v0/destinations/persistiq/util.js @@ -1,4 +1,5 @@ const { get } = require('lodash'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { getFieldValueFromMessage, getHashFromArray, @@ -6,7 +7,6 @@ const { flattenMultilevelPayload, } = require('../../util'); const { identifySourceKeys, fileConfigCategories, mappingConfig } = require('./config'); -const { InstrumentationError } = require('../../util/errorTypes'); /** * Returns the remaining keys from traits diff --git a/src/v0/destinations/personalize/transform.js b/src/v0/destinations/personalize/transform.js index 3523987a89..dcfaae755c 100644 --- a/src/v0/destinations/personalize/transform.js +++ b/src/v0/destinations/personalize/transform.js @@ -1,4 +1,5 @@ const lodash = require('lodash'); +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { KEY_CHECK_LIST, MANDATORY_PROPERTIES } = require('./config'); const { EventType } = require('../../../constants'); const { @@ -9,7 +10,6 @@ const { isDefined, simpleProcessRouterDest, } = require('../../util'); -const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const putEventsHandler = (message, destination) => { const { properties, anonymousId, event, messageId, context } = message; diff --git a/src/v0/destinations/pinterest_tag/transform.js b/src/v0/destinations/pinterest_tag/transform.js index 15efd63436..ee7e2e5b19 100644 --- a/src/v0/destinations/pinterest_tag/transform.js +++ b/src/v0/destinations/pinterest_tag/transform.js @@ -1,4 +1,5 @@ const { get } = require('lodash'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -28,7 +29,6 @@ const { getV5EventsEndpoint, API_VERSION, } = require('./config'); -const { InstrumentationError } = require('../../util/errorTypes'); const responseBuilderSimple = (finalPayload, { Config }) => { const { apiVersion = API_VERSION.v3, adAccountId, conversionToken, sendAsTestEvent } = Config; diff --git a/src/v0/destinations/pinterest_tag/utils.js b/src/v0/destinations/pinterest_tag/utils.js index c6822636dc..c1493e9dbd 100644 --- a/src/v0/destinations/pinterest_tag/utils.js +++ b/src/v0/destinations/pinterest_tag/utils.js @@ -1,5 +1,6 @@ /* eslint-disable no-param-reassign */ const sha256 = require('sha256'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { constructPayload, @@ -8,7 +9,6 @@ const { getHashFromArrayWithDuplicate, removeUndefinedAndNullValues, } = require('../../util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { COMMON_CONFIGS, CUSTOM_CONFIGS, API_VERSION } = require('./config'); const VALID_ACTION_SOURCES = ['app_android', 'app_ios', 'web', 'offline']; diff --git a/src/v0/destinations/posthog/transform.js b/src/v0/destinations/posthog/transform.js index 9f639b59de..62a2f26783 100644 --- a/src/v0/destinations/posthog/transform.js +++ b/src/v0/destinations/posthog/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { InstrumentationError, TransformationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { DEFAULT_BASE_ENDPOINT, CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); const { @@ -14,7 +15,6 @@ const { removeUndefinedAndNullValues, simpleProcessRouterDest, } = require('../../util'); -const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); // Logic To match destination Property key that is in Rudder Stack Properties Object. diff --git a/src/v0/destinations/profitwell/transform.js b/src/v0/destinations/profitwell/transform.js index 70de193fbd..58449fd9c1 100644 --- a/src/v0/destinations/profitwell/transform.js +++ b/src/v0/destinations/profitwell/transform.js @@ -1,3 +1,8 @@ +const { + NetworkError, + ConfigurationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { getSubscriptionHistory, @@ -15,7 +20,6 @@ const { simpleProcessRouterDest, } = require('../../util'); const { BASE_ENDPOINT, createPayloadMapping } = require('./config'); -const { NetworkError, ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/profitwell/utils.js b/src/v0/destinations/profitwell/utils.js index d7a3562126..acc4db2035 100644 --- a/src/v0/destinations/profitwell/utils.js +++ b/src/v0/destinations/profitwell/utils.js @@ -1,4 +1,8 @@ const get = require('get-value'); +const { + InstrumentationError, + NetworkInstrumentationError, +} = require('@rudderstack/integrations-lib'); const { httpGET } = require('../../../adapters/network'); const { toUnixTimestamp, @@ -11,7 +15,6 @@ const { constructPayload, } = require('../../util'); const { BASE_ENDPOINT, createPayloadMapping, updatePayloadMapping } = require('./config'); -const { InstrumentationError, NetworkInstrumentationError } = require('../../util/errorTypes'); const CURRENCY_CODES = [ 'aed', diff --git a/src/v0/destinations/redis/transform.js b/src/v0/destinations/redis/transform.js index ffc4a33c43..23c73f0ba4 100644 --- a/src/v0/destinations/redis/transform.js +++ b/src/v0/destinations/redis/transform.js @@ -1,9 +1,9 @@ const lodash = require('lodash'); const flatten = require('flat'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { isEmpty, isObject } = require('../../util'); const { EventType } = require('../../../constants'); -const { InstrumentationError } = require('../../util/errorTypes'); // processValues: // 1. removes keys with empty values or still an object(empty) after flattening diff --git a/src/v0/destinations/refiner/transform.js b/src/v0/destinations/refiner/transform.js index def685b597..b891945f7f 100644 --- a/src/v0/destinations/refiner/transform.js +++ b/src/v0/destinations/refiner/transform.js @@ -1,3 +1,4 @@ +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { ErrorMessage, defaultRequestConfig, @@ -13,7 +14,6 @@ const { identifyUserPayloadBuilder, } = require('./utils'); const { EventType } = require('../../../constants'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const responseBuilder = (payload, endpoint, destination) => { if (payload) { diff --git a/src/v0/destinations/refiner/utils.js b/src/v0/destinations/refiner/utils.js index 109f6ff656..5e788352ca 100644 --- a/src/v0/destinations/refiner/utils.js +++ b/src/v0/destinations/refiner/utils.js @@ -1,7 +1,7 @@ const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { CONFIG_CATEGORIES } = require('./config'); const { getHashFromArray, getFieldValueFromMessage } = require('../../util'); -const { InstrumentationError } = require('../../util/errorTypes'); /** * Validation for userId and an email diff --git a/src/v0/destinations/revenue_cat/transform.js b/src/v0/destinations/revenue_cat/transform.js index 5f165a9278..407cb91608 100644 --- a/src/v0/destinations/revenue_cat/transform.js +++ b/src/v0/destinations/revenue_cat/transform.js @@ -1,5 +1,10 @@ const set = require('set-value'); const { defaultRequestConfig } = require('rudder-transformer-cdk/build/utils'); +const { + ConfigurationError, + TransformationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { constructPayload, @@ -15,11 +20,6 @@ const { REVENUE_CAT_IDENTIFY_EXCLUSION, BASE_URL, } = require('./config'); -const { - ConfigurationError, - TransformationError, - InstrumentationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const trackResponseBuilder = async (message, category, { Config }) => { diff --git a/src/v0/destinations/rockerbox/transform.js b/src/v0/destinations/rockerbox/transform.js index 5369afa7e5..3ac806e5ee 100644 --- a/src/v0/destinations/rockerbox/transform.js +++ b/src/v0/destinations/rockerbox/transform.js @@ -1,4 +1,5 @@ const get = require('get-value'); +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { defaultRequestConfig, removeUndefinedAndNullValues, @@ -9,7 +10,6 @@ const { } = require('../../util'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, ROCKERBOX_DEFINED_PROPERTIES } = require('./config'); -const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const responseBuilderSimple = (message, category, destination) => { const payload = constructPayload(message, MAPPING_CONFIG[category.name]); diff --git a/src/v0/destinations/salesforce/transform.js b/src/v0/destinations/salesforce/transform.js index 95e41ccd98..ab06a16d07 100644 --- a/src/v0/destinations/salesforce/transform.js +++ b/src/v0/destinations/salesforce/transform.js @@ -1,5 +1,9 @@ const get = require('get-value'); const cloneDeep = require('lodash/cloneDeep'); +const { + InstrumentationError, + NetworkInstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType, MappedToDestinationKey } = require('../../../constants'); const { SF_API_VERSION, @@ -25,7 +29,6 @@ const { } = require('../../util'); const { getAccessToken, salesforceResponseHandler } = require('./utils'); const { handleHttpRequest } = require('../../../adapters/network'); -const { InstrumentationError, NetworkInstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); // Basic response builder diff --git a/src/v0/destinations/salesforce/utils.js b/src/v0/destinations/salesforce/utils.js index 3ffa4e56d8..9429e12e8d 100644 --- a/src/v0/destinations/salesforce/utils.js +++ b/src/v0/destinations/salesforce/utils.js @@ -1,7 +1,7 @@ +const { RetryableError, ThrottledError, AbortedError } = require('@rudderstack/integrations-lib'); const { handleHttpRequest } = require('../../../adapters/network'); const { isHttpStatusSuccess } = require('../../util'); const Cache = require('../../util/cache'); -const { RetryableError, ThrottledError, AbortedError } = require('../../util/errorTypes'); const { ACCESS_TOKEN_CACHE_TTL, SF_TOKEN_REQUEST_URL_SANDBOX, diff --git a/src/v0/destinations/sendgrid/deleteUsers.js b/src/v0/destinations/sendgrid/deleteUsers.js index e93fefa59e..8410f41296 100644 --- a/src/v0/destinations/sendgrid/deleteUsers.js +++ b/src/v0/destinations/sendgrid/deleteUsers.js @@ -1,3 +1,4 @@ +const { NetworkError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { httpDELETE } = require('../../../adapters/network'); const { delIdUrlLimit, DELETE_CONTACTS_ENDPOINT } = require('./config'); const { @@ -5,7 +6,6 @@ const { getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); const { isHttpStatusSuccess } = require('../../util'); -const { NetworkError, ConfigurationError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { executeCommonValidations } = require('../../util/regulation-api'); diff --git a/src/v0/destinations/sendgrid/transform.js b/src/v0/destinations/sendgrid/transform.js index d2f5b38b70..5038fedf7b 100644 --- a/src/v0/destinations/sendgrid/transform.js +++ b/src/v0/destinations/sendgrid/transform.js @@ -1,4 +1,9 @@ const lodash = require('lodash'); +const { + ConfigurationError, + TransformationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { ErrorMessage, @@ -34,11 +39,6 @@ const { generatePayloadFromConfig, createOrUpdateContactPayloadBuilder, } = require('./util'); -const { - ConfigurationError, - TransformationError, - InstrumentationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (payload, method, endpoint, apiKey) => { diff --git a/src/v0/destinations/sendgrid/util.js b/src/v0/destinations/sendgrid/util.js index fad227a65b..1df34bfe69 100644 --- a/src/v0/destinations/sendgrid/util.js +++ b/src/v0/destinations/sendgrid/util.js @@ -1,4 +1,9 @@ const get = require('get-value'); +const { + NetworkError, + ConfigurationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const logger = require('../../../logger'); const { isEmpty, @@ -21,7 +26,6 @@ const { processAxiosResponse, } = require('../../../adapters/utils/networkUtils'); const { httpGET } = require('../../../adapters/network'); -const { NetworkError, ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { AUTH_CACHE_TTL, JSON_MIME_TYPE } = require('../../util/constant'); const { MAPPING_CONFIG, CONFIG_CATEGORIES } = require('./config'); diff --git a/src/v0/destinations/sendinblue/transform.js b/src/v0/destinations/sendinblue/transform.js index 151304db22..7663672f12 100644 --- a/src/v0/destinations/sendinblue/transform.js +++ b/src/v0/destinations/sendinblue/transform.js @@ -1,5 +1,6 @@ /* eslint-disable camelcase */ /* eslint-disable @typescript-eslint/naming-convention */ +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -25,7 +26,6 @@ const { prepareTrackEventData, getListIds, } = require('./util'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const responseBuilder = ( payload, diff --git a/src/v0/destinations/sendinblue/util.js b/src/v0/destinations/sendinblue/util.js index f184ee1ac1..9ad37fc9b7 100644 --- a/src/v0/destinations/sendinblue/util.js +++ b/src/v0/destinations/sendinblue/util.js @@ -1,3 +1,4 @@ +const { NetworkError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EMAIL_SUFFIX, getContactDetailsEndpoint } = require('./config'); const { getHashFromArray, @@ -12,7 +13,6 @@ const { processAxiosResponse, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); -const { NetworkError, InstrumentationError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/serenytics/transform.js b/src/v0/destinations/serenytics/transform.js index ee7279e288..ee38f7d1a1 100644 --- a/src/v0/destinations/serenytics/transform.js +++ b/src/v0/destinations/serenytics/transform.js @@ -1,14 +1,14 @@ +const { + ConfigurationError, + TransformationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { ErrorMessage, simpleProcessRouterDest, getHashFromArrayWithDuplicate, } = require('../../util'); -const { - ConfigurationError, - TransformationError, - InstrumentationError, -} = require('../../util/errorTypes'); const { CONFIG_CATEGORIES, diff --git a/src/v0/destinations/serenytics/utils.js b/src/v0/destinations/serenytics/utils.js index bccce2585d..90ce374d5a 100644 --- a/src/v0/destinations/serenytics/utils.js +++ b/src/v0/destinations/serenytics/utils.js @@ -1,10 +1,10 @@ +const { ConfigurationError } = require('@rudderstack/integrations-lib'); const { constructPayload, extractCustomFields, defaultRequestConfig, defaultPostRequestConfig, } = require('../../util'); -const { ConfigurationError } = require('../../util/errorTypes'); const { MAPPING_CONFIG } = require('./config'); const checkStorageUrl = (STORAGE_URL, messageType) => { diff --git a/src/v0/destinations/sfmc/transform.js b/src/v0/destinations/sfmc/transform.js index 161720b2cc..879ca1989a 100644 --- a/src/v0/destinations/sfmc/transform.js +++ b/src/v0/destinations/sfmc/transform.js @@ -1,4 +1,9 @@ /* eslint-disable no-nested-ternary */ +const { + NetworkError, + ConfigurationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const myAxios = require('../../../util/myAxios'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, ENDPOINTS } = require('./config'); @@ -19,7 +24,6 @@ const { getDynamicErrorType, nodeSysErrorToStatus, } = require('../../../adapters/utils/networkUtils'); -const { NetworkError, ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/shynet/transform.js b/src/v0/destinations/shynet/transform.js index 833616a11f..565c0790d5 100644 --- a/src/v0/destinations/shynet/transform.js +++ b/src/v0/destinations/shynet/transform.js @@ -1,4 +1,5 @@ /* eslint-disable no-underscore-dangle */ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { @@ -9,7 +10,6 @@ const { generateUUID, } = require('../../util'); const { JSON_MIME_TYPE } = require('../../util/constant'); -const { InstrumentationError } = require('../../util/errorTypes'); const { ConfigCategory, mappingConfig } = require('./config'); diff --git a/src/v0/destinations/signl4/transform.js b/src/v0/destinations/signl4/transform.js index 63dc10d73c..3a8b23b630 100644 --- a/src/v0/destinations/signl4/transform.js +++ b/src/v0/destinations/signl4/transform.js @@ -1,3 +1,8 @@ +const { + ConfigurationError, + TransformationError, + InstrumentationError, +} = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { BASE_URL } = require('./config'); const { populatePayload } = require('./utils'); @@ -7,11 +12,6 @@ const { simpleProcessRouterDest, removeUndefinedAndNullAndEmptyValues, } = require('../../util'); -const { - ConfigurationError, - TransformationError, - InstrumentationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (payload, endpoint) => { diff --git a/src/v0/destinations/singular/transform.js b/src/v0/destinations/singular/transform.js index 749debb0b0..ff5d18db9a 100644 --- a/src/v0/destinations/singular/transform.js +++ b/src/v0/destinations/singular/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { BASE_URL } = require('./config'); const { defaultRequestConfig, @@ -10,7 +11,6 @@ const { generateRevenuePayloadArray, isSessionEvent, } = require('./util'); -const { InstrumentationError } = require('../../util/errorTypes'); const responseBuilderSimple = (message, { Config }) => { const eventName = message.event; diff --git a/src/v0/destinations/singular/util.js b/src/v0/destinations/singular/util.js index 542b049a2e..4c5aeb8964 100644 --- a/src/v0/destinations/singular/util.js +++ b/src/v0/destinations/singular/util.js @@ -1,4 +1,5 @@ const lodash = require('lodash'); +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, @@ -20,7 +21,6 @@ const { isDefinedAndNotNull, isAppleFamily, } = require('../../util'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); /* All the fields listed inside properties which are not directly mapped, will be sent to 'e' as custom event attributes diff --git a/src/v0/destinations/slack/transform.js b/src/v0/destinations/slack/transform.js index 8db934d71f..41282c6887 100644 --- a/src/v0/destinations/slack/transform.js +++ b/src/v0/destinations/slack/transform.js @@ -1,5 +1,6 @@ /* eslint-disable no-nested-ternary, no-restricted-syntax, no-prototype-builtins */ const Handlebars = require('handlebars'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { stringifyJSON, @@ -17,7 +18,6 @@ const { simpleProcessRouterDest, isDefinedAndNotNull, } = require('../../util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); // build the response to be sent to backend, url encoded header is required as slack accepts payload in this format // add the username and image for Rudder diff --git a/src/v0/destinations/snapchat_conversion/transform.js b/src/v0/destinations/snapchat_conversion/transform.js index 49776935de..37d321a468 100644 --- a/src/v0/destinations/snapchat_conversion/transform.js +++ b/src/v0/destinations/snapchat_conversion/transform.js @@ -1,5 +1,6 @@ const get = require('get-value'); const moment = require('moment'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { @@ -33,7 +34,6 @@ const { channelMapping, generateBatchedPayloadForArray, } = require('./util'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function buildResponse(apiKey, payload) { diff --git a/src/v0/destinations/snapchat_custom_audience/networkHandler.js b/src/v0/destinations/snapchat_custom_audience/networkHandler.js index 196f9a87fb..db36f6f518 100644 --- a/src/v0/destinations/snapchat_custom_audience/networkHandler.js +++ b/src/v0/destinations/snapchat_custom_audience/networkHandler.js @@ -1,3 +1,4 @@ +const { NetworkError, RetryableError, AbortedError } = require('@rudderstack/integrations-lib'); const { removeUndefinedValues, getAuthErrCategoryFromErrDetailsAndStCode } = require('../../util'); const { prepareProxyRequest, getPayloadData, httpSend } = require('../../../adapters/network'); const { isHttpStatusSuccess } = require('../../util/index'); @@ -7,7 +8,6 @@ const { getDynamicErrorType, processAxiosResponse, } = require('../../../adapters/utils/networkUtils'); -const { NetworkError, RetryableError, AbortedError } = require('../../util/errorTypes'); const { HTTP_STATUS_CODES } = require('../../util/constant'); const prepareProxyReq = (request) => { diff --git a/src/v0/destinations/snapchat_custom_audience/transform.js b/src/v0/destinations/snapchat_custom_audience/transform.js index 7938236594..f4cbeafb56 100644 --- a/src/v0/destinations/snapchat_custom_audience/transform.js +++ b/src/v0/destinations/snapchat_custom_audience/transform.js @@ -1,4 +1,5 @@ const sha256 = require('sha256'); +const { ConfigurationError } = require('@rudderstack/integrations-lib'); const { defaultRequestConfig, removeUndefinedAndNullValues, @@ -6,7 +7,6 @@ const { isDefinedAndNotNullAndNotEmpty, getAccessToken, } = require('../../util'); -const { ConfigurationError } = require('../../util/errorTypes'); const { BASE_URL, schemaType } = require('./config'); const { validatePayload, validateFields } = require('./utils'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/snapchat_custom_audience/utils.js b/src/v0/destinations/snapchat_custom_audience/utils.js index 4d20b27a09..bc4a2292da 100644 --- a/src/v0/destinations/snapchat_custom_audience/utils.js +++ b/src/v0/destinations/snapchat_custom_audience/utils.js @@ -1,4 +1,4 @@ -const { InstrumentationError } = require('../../util/errorTypes'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); /** * Verifies whether the input payload is in right format or not diff --git a/src/v0/destinations/splitio/transform.js b/src/v0/destinations/splitio/transform.js index 012c73a8b6..6641a62fe8 100644 --- a/src/v0/destinations/splitio/transform.js +++ b/src/v0/destinations/splitio/transform.js @@ -1,3 +1,4 @@ +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, @@ -18,7 +19,6 @@ const { simpleProcessRouterDest, ErrorMessage, } = require('../../util'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function responseBuilderSimple(payload, category, destination) { diff --git a/src/v0/destinations/statsig/transform.js b/src/v0/destinations/statsig/transform.js index 1be72d4095..81658a255a 100644 --- a/src/v0/destinations/statsig/transform.js +++ b/src/v0/destinations/statsig/transform.js @@ -1,7 +1,7 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultPostRequestConfig, defaultRequestConfig } = require('../../util'); const { ENDPOINT } = require('./config'); -const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); function process(event) { diff --git a/src/v0/destinations/stormly/transform.js b/src/v0/destinations/stormly/transform.js index 756bfb8024..dc7a256583 100644 --- a/src/v0/destinations/stormly/transform.js +++ b/src/v0/destinations/stormly/transform.js @@ -1,6 +1,7 @@ /* eslint-disable no-nested-ternary */ const get = require('get-value'); const set = require('set-value'); +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -12,7 +13,6 @@ const { getDestinationExternalID, } = require('../../util'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (payload, endpoint, destination) => { @@ -40,7 +40,8 @@ const identifyResponseBuilder = (message, destination) => { const trackResponseBuilder = (message, destination) => { const { endpoint, name } = CONFIG_CATEGORIES.TRACK; - const groupId = getDestinationExternalID(message, 'stormlyGroupId') || message.properties?.groupId; + const groupId = + getDestinationExternalID(message, 'stormlyGroupId') || message.properties?.groupId; let payload = constructPayload(message, MAPPING_CONFIG[name]); if (groupId) { diff --git a/src/v0/destinations/tiktok_ads/networkHandler.js b/src/v0/destinations/tiktok_ads/networkHandler.js index 1ec31e982a..ae93b1ec15 100644 --- a/src/v0/destinations/tiktok_ads/networkHandler.js +++ b/src/v0/destinations/tiktok_ads/networkHandler.js @@ -1,10 +1,10 @@ +const { NetworkError, ThrottledError, AbortedError } = require('@rudderstack/integrations-lib'); const { proxyRequest, prepareProxyRequest } = require('../../../adapters/network'); const { processAxiosResponse, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); const { DESTINATION } = require('./config'); -const { NetworkError, ThrottledError, AbortedError } = require('../../util/errorTypes'); const { TAG_NAMES } = require('../../util/tags'); const { HTTP_STATUS_CODES } = require('../../util/constant'); diff --git a/src/v0/destinations/tiktok_ads/transform.js b/src/v0/destinations/tiktok_ads/transform.js index 4e99d83575..f0ed04a120 100644 --- a/src/v0/destinations/tiktok_ads/transform.js +++ b/src/v0/destinations/tiktok_ads/transform.js @@ -4,6 +4,7 @@ const _ = require('lodash'); const { SHA256 } = require('crypto-js'); const get = require('get-value'); const set = require('set-value'); +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { constructPayload, @@ -29,7 +30,6 @@ const { MAX_BATCH_SIZE, PARTNER_NAME, } = require('./config'); -const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const USER_EMAIL_KEY_PATH = 'context.user.email'; diff --git a/src/v0/destinations/tiktok_ads_offline_events/transform.js b/src/v0/destinations/tiktok_ads_offline_events/transform.js index 3539c856a3..945c31ea63 100644 --- a/src/v0/destinations/tiktok_ads_offline_events/transform.js +++ b/src/v0/destinations/tiktok_ads_offline_events/transform.js @@ -1,6 +1,7 @@ const { SHA256 } = require('crypto-js'); const set = require('set-value'); const lodash = require('lodash'); +const { ConfigurationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { constructPayload, @@ -21,7 +22,6 @@ const { EVENT_NAME_MAPPING, PARTNER_NAME, } = require('./config'); -const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const getContents = (message) => { diff --git a/src/v0/destinations/trengo/transform.js b/src/v0/destinations/trengo/transform.js index 14d1d8c84c..06e5496a1e 100644 --- a/src/v0/destinations/trengo/transform.js +++ b/src/v0/destinations/trengo/transform.js @@ -2,6 +2,13 @@ /* eslint-disable no-prototype-builtins */ const Handlebars = require('handlebars'); const get = require('get-value'); +const { + NetworkError, + ConfigurationError, + TransformationError, + InstrumentationError, + NetworkInstrumentationError, +} = require('@rudderstack/integrations-lib'); const myAxios = require('../../../util/myAxios'); const { EventType } = require('../../../constants'); const { EndPoints, BASE_URL } = require('./config'); @@ -17,13 +24,6 @@ const { getStringValueOfJSON, ErrorMessage, } = require('../../util'); -const { - NetworkError, - ConfigurationError, - TransformationError, - InstrumentationError, - NetworkInstrumentationError, -} = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/twitter_ads/transform.js b/src/v0/destinations/twitter_ads/transform.js index 363e61072e..268dca3636 100644 --- a/src/v0/destinations/twitter_ads/transform.js +++ b/src/v0/destinations/twitter_ads/transform.js @@ -1,5 +1,10 @@ const sha256 = require('sha256'); +const { + InstrumentationError, + OAuthSecretError, + ConfigurationError, +} = require('@rudderstack/integrations-lib'); const { constructPayload, defaultRequestConfig, @@ -11,11 +16,6 @@ const { const { EventType } = require('../../../constants'); const { ConfigCategories, mappingConfig, BASE_URL } = require('./config'); -const { - InstrumentationError, - OAuthSecretError, - ConfigurationError, -} = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const { getAuthHeaderForRequest } = require('./util'); diff --git a/src/v0/destinations/user/transform.js b/src/v0/destinations/user/transform.js index 6cde9c9b80..ed04f5ccd4 100644 --- a/src/v0/destinations/user/transform.js +++ b/src/v0/destinations/user/transform.js @@ -1,3 +1,8 @@ +const { + TransformationError, + InstrumentationError, + NetworkInstrumentationError, +} = require('@rudderstack/integrations-lib'); const { defaultRequestConfig, simpleProcessRouterDest, @@ -17,11 +22,6 @@ const { createOrUpdateUserPayloadBuilder, createEventOccurrencePayloadBuilder, } = require('./utils'); -const { - TransformationError, - InstrumentationError, - NetworkInstrumentationError, -} = require('../../util/errorTypes'); const { EventType } = require('../../../constants'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/user/utils.js b/src/v0/destinations/user/utils.js index 23dd74a30f..41ad173583 100644 --- a/src/v0/destinations/user/utils.js +++ b/src/v0/destinations/user/utils.js @@ -1,4 +1,8 @@ const get = require('get-value'); +const { + InstrumentationError, + NetworkInstrumentationError, +} = require('@rudderstack/integrations-lib'); const { getHashFromArray, constructPayload, @@ -19,7 +23,6 @@ const { groupSourceKeys, identifySourceKeys, } = require('./config'); -const { InstrumentationError, NetworkInstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const ACCEPT_HEADER_VAL = '*/*;version=2'; diff --git a/src/v0/destinations/userlist/transform.js b/src/v0/destinations/userlist/transform.js index 20b47c6a35..45d58edbbf 100644 --- a/src/v0/destinations/userlist/transform.js +++ b/src/v0/destinations/userlist/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -9,7 +10,6 @@ const { const { endpoint } = require('./config'); -const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); // ------------------------------------------------ diff --git a/src/v0/destinations/vero/transform.js b/src/v0/destinations/vero/transform.js index 7115ea425d..f489056681 100644 --- a/src/v0/destinations/vero/transform.js +++ b/src/v0/destinations/vero/transform.js @@ -1,5 +1,6 @@ const set = require('set-value'); const get = require('get-value'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { defaultRequestConfig, constructPayload, @@ -11,7 +12,6 @@ const { } = require('../../util'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); // This function handles the common response payload for the supported calls const responseBuilderSimple = (message, category, destination) => { diff --git a/src/v0/destinations/webengage/transform.js b/src/v0/destinations/webengage/transform.js index 835a486eff..f18a7399ff 100644 --- a/src/v0/destinations/webengage/transform.js +++ b/src/v0/destinations/webengage/transform.js @@ -1,4 +1,5 @@ /* eslint-disable no-param-reassign */ +const { InstrumentationError, TransformationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { CONFIG_CATEGORIES, @@ -15,7 +16,6 @@ const { simpleProcessRouterDest, extractCustomFields, } = require('../../util'); -const { InstrumentationError, TransformationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const responseBuilder = (message, category, { Config }) => { diff --git a/src/v0/destinations/webhook/transform.js b/src/v0/destinations/webhook/transform.js index a4a7617f68..6a115f1c63 100644 --- a/src/v0/destinations/webhook/transform.js +++ b/src/v0/destinations/webhook/transform.js @@ -1,6 +1,7 @@ /* eslint-disable no-nested-ternary */ const get = require('get-value'); const set = require('set-value'); +const { ConfigurationError } = require('@rudderstack/integrations-lib'); const { defaultPostRequestConfig, defaultPutRequestConfig, @@ -17,7 +18,6 @@ const { } = require('../../util'); const { EventType } = require('../../../constants'); -const { ConfigurationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const getPropertyParams = (message) => { diff --git a/src/v0/destinations/woopra/transform.js b/src/v0/destinations/woopra/transform.js index 1414cbac23..9104884416 100644 --- a/src/v0/destinations/woopra/transform.js +++ b/src/v0/destinations/woopra/transform.js @@ -1,5 +1,6 @@ /* eslint-disable no-param-reassign */ const { set, get } = require('lodash'); +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { defaultRequestConfig, constructPayload, @@ -12,7 +13,6 @@ const { const { EventType } = require('../../../constants'); const { BASE_URL, mappingConfig, ConfigCategories } = require('./config'); const { refinePayload, getEvent } = require('./utils'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const responseBuilder = (payload, endpoint, method, projectName) => { if (!payload) { diff --git a/src/v0/destinations/wootric/transform.js b/src/v0/destinations/wootric/transform.js index f89e63a5ed..f8b4274af7 100644 --- a/src/v0/destinations/wootric/transform.js +++ b/src/v0/destinations/wootric/transform.js @@ -1,3 +1,4 @@ +const { TransformationError, InstrumentationError } = require('@rudderstack/integrations-lib'); const { EventType } = require('../../../constants'); const { defaultRequestConfig, @@ -19,7 +20,6 @@ const { createDeclinePayloadBuilder, } = require('./util'); const { PROPERTIES, END_USER_PROPERTIES } = require('./config'); -const { TransformationError, InstrumentationError } = require('../../util/errorTypes'); const responseBuilder = async (payload, endpoint, method, accessToken) => { if (payload) { diff --git a/src/v0/destinations/wootric/util.js b/src/v0/destinations/wootric/util.js index 207a0994bb..fce8a66586 100644 --- a/src/v0/destinations/wootric/util.js +++ b/src/v0/destinations/wootric/util.js @@ -1,4 +1,5 @@ const qs = require('qs'); +const { InstrumentationError, NetworkError } = require('@rudderstack/integrations-lib'); const { httpGET, httpPOST } = require('../../../adapters/network'); const { getDynamicErrorType, @@ -8,7 +9,6 @@ const { BASE_ENDPOINT, VERSION, ACCESS_TOKEN_CACHE_TTL_SECONDS } = require('./co const { constructPayload, isDefinedAndNotNullAndNotEmpty } = require('../../util'); const { CONFIG_CATEGORIES, MAPPING_CONFIG } = require('./config'); const Cache = require('../../util/cache'); -const { InstrumentationError, NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/yahoo_dsp/transform.js b/src/v0/destinations/yahoo_dsp/transform.js index 8b0875f1a0..4cd1eee73d 100644 --- a/src/v0/destinations/yahoo_dsp/transform.js +++ b/src/v0/destinations/yahoo_dsp/transform.js @@ -1,3 +1,4 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { BASE_ENDPOINT, ENDPOINTS, @@ -12,7 +13,6 @@ const { } = require('../../util'); const { getAccessToken, createPayload } = require('./util'); -const { InstrumentationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); /** diff --git a/src/v0/destinations/yahoo_dsp/util.js b/src/v0/destinations/yahoo_dsp/util.js index a069660bde..d41716935f 100644 --- a/src/v0/destinations/yahoo_dsp/util.js +++ b/src/v0/destinations/yahoo_dsp/util.js @@ -1,12 +1,12 @@ const qs = require('qs'); const sha256 = require('sha256'); +const { InstrumentationError, NetworkError } = require('@rudderstack/integrations-lib'); const { generateJWTToken } = require('../../../util/jwtTokenGenerator'); const { httpSend } = require('../../../adapters/network'); const { isDefinedAndNotNullAndNotEmpty } = require('../../util'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const { ACCESS_TOKEN_CACHE_TTL, AUDIENCE_ATTRIBUTE, DSP_SUPPORTED_OPERATION } = require('./config'); const Cache = require('../../util/cache'); -const { InstrumentationError, NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/zendesk/transform.js b/src/v0/destinations/zendesk/transform.js index 869e54c220..bf2bc01ed2 100644 --- a/src/v0/destinations/zendesk/transform.js +++ b/src/v0/destinations/zendesk/transform.js @@ -1,5 +1,10 @@ const get = require('get-value'); const set = require('set-value'); +const { + NetworkInstrumentationError, + InstrumentationError, + NetworkError, +} = require('@rudderstack/integrations-lib'); const myAxios = require('../../../util/myAxios'); const { EventType } = require('../../../constants'); @@ -26,11 +31,6 @@ const { const { getSourceName } = require('./util'); const logger = require('../../../logger'); const { httpGET } = require('../../../adapters/network'); -const { - NetworkInstrumentationError, - InstrumentationError, - NetworkError, -} = require('../../util/errorTypes'); const { getDynamicErrorType } = require('../../../adapters/utils/networkUtils'); const tags = require('../../util/tags'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/destinations/zendesk/util.js b/src/v0/destinations/zendesk/util.js index 0d03f73c19..29f3fc0602 100644 --- a/src/v0/destinations/zendesk/util.js +++ b/src/v0/destinations/zendesk/util.js @@ -1,4 +1,4 @@ -const { ConfigurationError } = require('../../util/errorTypes'); +const { ConfigurationError } = require('@rudderstack/integrations-lib'); /** * Get source name from config or return 'Rudder' as default source name diff --git a/src/v0/sources/appsflyer/transform.js b/src/v0/sources/appsflyer/transform.js index 862e19acd0..1f21392b67 100644 --- a/src/v0/sources/appsflyer/transform.js +++ b/src/v0/sources/appsflyer/transform.js @@ -1,8 +1,8 @@ const path = require('path'); const fs = require('fs'); +const { TransformationError } = require('@rudderstack/integrations-lib'); const Message = require('../message'); const { generateUUID } = require('../../util'); -const { TransformationError } = require('../../util/errorTypes'); const mappingJson = JSON.parse(fs.readFileSync(path.resolve(__dirname, './mapping.json'), 'utf-8')); diff --git a/src/v0/sources/braze/transform.js b/src/v0/sources/braze/transform.js index 34158c8e68..e3d7200023 100644 --- a/src/v0/sources/braze/transform.js +++ b/src/v0/sources/braze/transform.js @@ -2,9 +2,9 @@ const set = require('set-value'); const get = require('get-value'); const path = require('path'); const fs = require('fs'); +const { TransformationError } = require('@rudderstack/integrations-lib'); const { formatTimeStamp, removeUndefinedAndNullValues } = require('../../util'); const Message = require('../message'); -const { TransformationError } = require('../../util/errorTypes'); // import mapping json using JSON.parse to preserve object key order const mapping = JSON.parse(fs.readFileSync(path.resolve(__dirname, './mapping.json'), 'utf-8')); diff --git a/src/v0/sources/canny/transform.js b/src/v0/sources/canny/transform.js index abc6f491b8..9188f5ac34 100644 --- a/src/v0/sources/canny/transform.js +++ b/src/v0/sources/canny/transform.js @@ -1,8 +1,8 @@ const sha256 = require('sha256'); +const { TransformationError } = require('@rudderstack/integrations-lib'); const Message = require('../message'); const { voterMapping, authorMapping, checkForRequiredFields } = require('./util'); const { logger } = require('../../../logger'); -const { TransformationError } = require('../../util/errorTypes'); const CannyOperation = { VOTE_CREATED: 'vote.created', diff --git a/src/v0/sources/canny/util.js b/src/v0/sources/canny/util.js index cd92c0c2af..549b7dcbbc 100644 --- a/src/v0/sources/canny/util.js +++ b/src/v0/sources/canny/util.js @@ -1,6 +1,6 @@ const path = require('path'); const fs = require('fs'); -const { TransformationError } = require('../../util/errorTypes'); +const { TransformationError } = require('@rudderstack/integrations-lib'); // import mapping json using JSON.parse to preserve object key order const voterMapping = JSON.parse( diff --git a/src/v0/sources/customerio/transform.js b/src/v0/sources/customerio/transform.js index 51c353dd3b..a2e69388b9 100644 --- a/src/v0/sources/customerio/transform.js +++ b/src/v0/sources/customerio/transform.js @@ -8,7 +8,6 @@ const Message = require('../message'); const { mappingConfig } = require('./config'); const { isDefinedAndNotNull } = require('../../util'); -// const { TransformationError } = require("../../util/errorTypes"); function process(event) { const message = new Message(`Customer.io`); @@ -35,7 +34,6 @@ function process(event) { message.setProperty('sentAt', validTimestamp); } - // when customer.io does not pass an associated userId, set the email address as anonymousId if ( (message.userId === null || message.userId === undefined) && diff --git a/src/v0/sources/gainsightpx/transform.js b/src/v0/sources/gainsightpx/transform.js index ca91765fa6..92f0a07456 100644 --- a/src/v0/sources/gainsightpx/transform.js +++ b/src/v0/sources/gainsightpx/transform.js @@ -1,4 +1,5 @@ const md5 = require('md5'); +const { TransformationError } = require('@rudderstack/integrations-lib'); const Message = require('../message'); const customMapping = require('./data/customMapping.json'); const identifyMapping = require('./data/identifyMapping.json'); @@ -9,7 +10,6 @@ const surveyMapping = require('./data/surveyMapping.json'); const featureMatchMapping = require('./data/featureMatchMapping.json'); const segmentIoMapping = require('./data/segmentIOMapping.json'); const { refinePayload, refineTraitPayload } = require('./utils'); -const { TransformationError } = require('../../util/errorTypes'); const buildIdentifyPayload = (event) => { let message = new Message(`GAINSIGHTPX`); diff --git a/src/v0/sources/iterable/transform.js b/src/v0/sources/iterable/transform.js index 275051815b..dc3fc72c3c 100644 --- a/src/v0/sources/iterable/transform.js +++ b/src/v0/sources/iterable/transform.js @@ -1,8 +1,8 @@ const path = require('path'); const fs = require('fs'); const md5 = require('md5'); +const { TransformationError } = require('@rudderstack/integrations-lib'); const Message = require('../message'); -const { TransformationError } = require('../../util/errorTypes'); // import mapping json using JSON.parse to preserve object key order const mapping = JSON.parse(fs.readFileSync(path.resolve(__dirname, './mapping.json'), 'utf-8')); diff --git a/src/v0/sources/mailmodo/transform.js b/src/v0/sources/mailmodo/transform.js index 8b36eafa1a..a4383fb440 100644 --- a/src/v0/sources/mailmodo/transform.js +++ b/src/v0/sources/mailmodo/transform.js @@ -1,9 +1,9 @@ const path = require('path'); const fs = require('fs'); const sha256 = require('sha256'); +const { TransformationError } = require('@rudderstack/integrations-lib'); const { flattenJson, removeUndefinedAndNullAndEmptyValues } = require('../../util'); const Message = require('../message'); -const { TransformationError } = require('../../util/errorTypes'); // import mapping json using JSON.parse to preserve object key order const mapping = JSON.parse(fs.readFileSync(path.resolve(__dirname, './mapping.json'), 'utf-8')); diff --git a/src/v0/sources/monday/transform.js b/src/v0/sources/monday/transform.js index 48cddec301..d63323605b 100644 --- a/src/v0/sources/monday/transform.js +++ b/src/v0/sources/monday/transform.js @@ -1,7 +1,7 @@ const sha256 = require('sha256'); +const { TransformationError } = require('@rudderstack/integrations-lib'); const Message = require('../message'); const { mapping, formEventName } = require('./util'); -const { TransformationError } = require('../../util/errorTypes'); const { generateUUID, removeUndefinedAndNullValues } = require('../../util'); const { JSON_MIME_TYPE } = require('../../util/constant'); diff --git a/src/v0/sources/shopify/util.js b/src/v0/sources/shopify/util.js index 2521e9cb9d..1da75cba3d 100644 --- a/src/v0/sources/shopify/util.js +++ b/src/v0/sources/shopify/util.js @@ -2,6 +2,7 @@ /* eslint-disable @typescript-eslint/naming-convention */ const { v5 } = require('uuid'); const sha256 = require('sha256'); +const { TransformationError } = require('@rudderstack/integrations-lib'); const stats = require('../../../util/stats'); const { constructPayload, @@ -22,7 +23,6 @@ const { useRedisDatabase, maxTimeToIdentifyRSGeneratedCall, } = require('./config'); -const { TransformationError } = require('../../util/errorTypes'); const getDataFromRedis = async (key, metricMetadata) => { try { diff --git a/src/v0/util/errorTypes/abortedError.js b/src/v0/util/errorTypes/abortedError.js deleted file mode 100644 index bf5896c8be..0000000000 --- a/src/v0/util/errorTypes/abortedError.js +++ /dev/null @@ -1,15 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class AbortedError extends BaseError { - constructor(message, statusCode, destResponse, authErrorCategory) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.NETWORK, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.ABORTED, - }; - - super(message, statusCode || 400, finalStatTags, destResponse, authErrorCategory); - } -} - -module.exports = AbortedError; diff --git a/src/v0/util/errorTypes/configurationError.js b/src/v0/util/errorTypes/configurationError.js deleted file mode 100644 index 59df3718e7..0000000000 --- a/src/v0/util/errorTypes/configurationError.js +++ /dev/null @@ -1,16 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class ConfigurationError extends BaseError { - constructor(message) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.DATA_VALIDATION, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.CONFIGURATION, - }; - - // TODO: Change this to a retryable error - super(message, 400, finalStatTags); - } -} - -module.exports = ConfigurationError; diff --git a/src/v0/util/errorTypes/index.js b/src/v0/util/errorTypes/index.js index 2926306dcd..80268c3e77 100644 --- a/src/v0/util/errorTypes/index.js +++ b/src/v0/util/errorTypes/index.js @@ -1,37 +1,5 @@ -const { BaseError } = require('./base'); -const TransformationError = require('./transformationError'); -const ConfigurationError = require('./configurationError'); -const InstrumentationError = require('./instrumentationError'); -const PlatformError = require('./platformError'); -const OAuthSecretError = require('./oAuthSecretError'); -const NetworkError = require('./networkError'); -const ThrottledError = require('./throttledError'); -const RedisError = require('./redisError'); -const RetryableError = require('./retryableError'); -const InvalidAuthTokenError = require('./invalidAuthTokenError'); -const AbortedError = require('./abortedError'); -const UnhandledStatusCodeError = require('./unhandledStatusCodeError'); -const UnauthorizedError = require('./unauthorizedError'); -const NetworkInstrumentationError = require('./networkInstrumentationError'); -const UnsupportedEventError = require('./unsupportedEventError'); const FilteredEventsError = require('./filteredEventsError'); module.exports = { - BaseError, - TransformationError, - ConfigurationError, - InstrumentationError, - PlatformError, - OAuthSecretError, - NetworkError, - ThrottledError, - RetryableError, - InvalidAuthTokenError, - AbortedError, - UnhandledStatusCodeError, - UnauthorizedError, - NetworkInstrumentationError, - UnsupportedEventError, - RedisError, FilteredEventsError, }; diff --git a/src/v0/util/errorTypes/instrumentationError.js b/src/v0/util/errorTypes/instrumentationError.js deleted file mode 100644 index 74df966260..0000000000 --- a/src/v0/util/errorTypes/instrumentationError.js +++ /dev/null @@ -1,15 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class InstrumentationError extends BaseError { - constructor(message) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.DATA_VALIDATION, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.INSTRUMENTATION, - }; - - super(message, 400, finalStatTags); - } -} - -module.exports = InstrumentationError; diff --git a/src/v0/util/errorTypes/invalidAuthTokenError.js b/src/v0/util/errorTypes/invalidAuthTokenError.js deleted file mode 100644 index 6a78996c6e..0000000000 --- a/src/v0/util/errorTypes/invalidAuthTokenError.js +++ /dev/null @@ -1,16 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class InvalidAuthTokenError extends BaseError { - constructor(message, statusCode, destResponse, authErrorCategory) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.NETWORK, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.RETRYABLE, - [tags.TAG_NAMES.META]: tags.METADATA.INVALID_AUTH_TOKEN, - }; - - super(message, statusCode || 500, finalStatTags, destResponse, authErrorCategory); - } -} - -module.exports = InvalidAuthTokenError; diff --git a/src/v0/util/errorTypes/networkError.js b/src/v0/util/errorTypes/networkError.js deleted file mode 100644 index 3461efbbdd..0000000000 --- a/src/v0/util/errorTypes/networkError.js +++ /dev/null @@ -1,29 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -const errorTypes = Object.values(tags.ERROR_TYPES); -const metaTypes = Object.values(tags.METADATA); -// To throw error when error type (abort, retry or throttle) has to be dynamically deduced -class NetworkError extends BaseError { - constructor(message, statusCode, statTags, destResponse, authErrorCategory) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.NETWORK, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.ABORTED, - }; - - // Allow specifying only error type and meta tags - if (statTags && typeof statTags === 'object' && !Array.isArray(statTags)) { - if (errorTypes.includes(statTags[tags.TAG_NAMES.ERROR_TYPE])) { - finalStatTags[tags.TAG_NAMES.ERROR_TYPE] = statTags[tags.TAG_NAMES.ERROR_TYPE]; - } - - if (metaTypes.includes(statTags[tags.TAG_NAMES.META])) { - finalStatTags[tags.TAG_NAMES.META] = statTags[tags.TAG_NAMES.META]; - } - } - - super(message, statusCode || 400, finalStatTags, destResponse, authErrorCategory); - } -} - -module.exports = NetworkError; diff --git a/src/v0/util/errorTypes/networkInstrumentationError.js b/src/v0/util/errorTypes/networkInstrumentationError.js deleted file mode 100644 index fb9acdfeb4..0000000000 --- a/src/v0/util/errorTypes/networkInstrumentationError.js +++ /dev/null @@ -1,16 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class NetworkInstrumentationError extends BaseError { - constructor(message, destResponse) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.NETWORK, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.ABORTED, - [tags.TAG_NAMES.META]: tags.METADATA.INSTRUMENTATION, - }; - - super(message, 400, finalStatTags, destResponse); - } -} - -module.exports = NetworkInstrumentationError; diff --git a/src/v0/util/errorTypes/oAuthSecretError.js b/src/v0/util/errorTypes/oAuthSecretError.js deleted file mode 100644 index dd8c51eaac..0000000000 --- a/src/v0/util/errorTypes/oAuthSecretError.js +++ /dev/null @@ -1,15 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class OAuthSecretError extends BaseError { - constructor(message) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.PLATFORM, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.OAUTH_SECRET, - }; - - super(message, 500, finalStatTags); - } -} - -module.exports = OAuthSecretError; diff --git a/src/v0/util/errorTypes/platformError.js b/src/v0/util/errorTypes/platformError.js deleted file mode 100644 index b04ef50c16..0000000000 --- a/src/v0/util/errorTypes/platformError.js +++ /dev/null @@ -1,14 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class PlatformError extends BaseError { - constructor(message) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.PLATFORM, - }; - - super(message, 400, finalStatTags); - } -} - -module.exports = PlatformError; diff --git a/src/v0/util/errorTypes/redisError.js b/src/v0/util/errorTypes/redisError.js deleted file mode 100644 index ec3d49ff2b..0000000000 --- a/src/v0/util/errorTypes/redisError.js +++ /dev/null @@ -1,15 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class RedisError extends BaseError { - constructor(message, statusCode) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.TRANSFORMATION, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.REDIS, - }; - - super(message, statusCode || 500, finalStatTags); - } -} - -module.exports = RedisError; diff --git a/src/v0/util/errorTypes/retryableError.js b/src/v0/util/errorTypes/retryableError.js deleted file mode 100644 index ba18424c76..0000000000 --- a/src/v0/util/errorTypes/retryableError.js +++ /dev/null @@ -1,15 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class RetryableError extends BaseError { - constructor(message, statusCode, destResponse, authErrorCategory) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.NETWORK, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.RETRYABLE, - }; - - super(message, statusCode || 500, finalStatTags, destResponse, authErrorCategory); - } -} - -module.exports = RetryableError; diff --git a/src/v0/util/errorTypes/throttledError.js b/src/v0/util/errorTypes/throttledError.js deleted file mode 100644 index 0e873c7892..0000000000 --- a/src/v0/util/errorTypes/throttledError.js +++ /dev/null @@ -1,15 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class ThrottledError extends BaseError { - constructor(message, destResponse) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.NETWORK, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.THROTTLED, - }; - - super(message, 429, finalStatTags, destResponse); - } -} - -module.exports = ThrottledError; diff --git a/src/v0/util/errorTypes/transformationError.js b/src/v0/util/errorTypes/transformationError.js deleted file mode 100644 index 0b28b61984..0000000000 --- a/src/v0/util/errorTypes/transformationError.js +++ /dev/null @@ -1,14 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class TransformationError extends BaseError { - constructor(message, statusCode, destResponse, authErrorCategory) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.TRANSFORMATION, - }; - - super(message, statusCode || 400, finalStatTags, destResponse, authErrorCategory); - } -} - -module.exports = TransformationError; diff --git a/src/v0/util/errorTypes/unauthorizedError.js b/src/v0/util/errorTypes/unauthorizedError.js deleted file mode 100644 index c9c35795b8..0000000000 --- a/src/v0/util/errorTypes/unauthorizedError.js +++ /dev/null @@ -1,16 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class UnauthorizedError extends BaseError { - constructor(message, statusCode, destResponse, authErrorCategory) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.NETWORK, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.ABORTED, - [tags.TAG_NAMES.META]: tags.METADATA.UNAUTHORIZED, - }; - - super(message, statusCode || 400, finalStatTags, destResponse, authErrorCategory); - } -} - -module.exports = UnauthorizedError; diff --git a/src/v0/util/errorTypes/unhandledStatusCodeError.js b/src/v0/util/errorTypes/unhandledStatusCodeError.js deleted file mode 100644 index fe35c01c1a..0000000000 --- a/src/v0/util/errorTypes/unhandledStatusCodeError.js +++ /dev/null @@ -1,16 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class UnhandledStatusCodeError extends BaseError { - constructor(message, destResponse) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.NETWORK, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.ABORTED, - [tags.TAG_NAMES.META]: tags.METADATA.UNHANDLED_STATUS_CODE, - }; - - super(message, 400, finalStatTags, destResponse); - } -} - -module.exports = UnhandledStatusCodeError; diff --git a/src/v0/util/errorTypes/unsupportedEventError.js b/src/v0/util/errorTypes/unsupportedEventError.js deleted file mode 100644 index c2e965b620..0000000000 --- a/src/v0/util/errorTypes/unsupportedEventError.js +++ /dev/null @@ -1,14 +0,0 @@ -const tags = require('../tags'); -const { BaseError } = require('./base'); - -class UnsupportedEventError extends BaseError { - constructor(message) { - const finalStatTags = { - [tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.PLATFORM, - [tags.TAG_NAMES.ERROR_TYPE]: tags.ERROR_TYPES.UNSUPPORTED, - }; - super(message, 400, finalStatTags); - } -} - -module.exports = UnsupportedEventError; diff --git a/src/v0/util/facebookUtils/index.js b/src/v0/util/facebookUtils/index.js index d39d1c4ce9..4c09518559 100644 --- a/src/v0/util/facebookUtils/index.js +++ b/src/v0/util/facebookUtils/index.js @@ -1,4 +1,5 @@ const sha256 = require('sha256'); +const { InstrumentationError, TransformationError } = require('@rudderstack/integrations-lib'); const { isObject, getIntegrationsObj, @@ -9,7 +10,6 @@ const { getFieldValueFromMessage, formatTimeStamp, } = require('../index'); -const { InstrumentationError, TransformationError } = require('../errorTypes'); /** This function transforms the payloads according to the config settings and adds, removes or hashes pii data. @param message --> the rudder payload diff --git a/src/v0/util/facebookUtils/networkHandler.js b/src/v0/util/facebookUtils/networkHandler.js index 87c2ced2b4..9589d17255 100644 --- a/src/v0/util/facebookUtils/networkHandler.js +++ b/src/v0/util/facebookUtils/networkHandler.js @@ -1,11 +1,11 @@ const { isEmpty } = require('lodash'); const get = require('get-value'); +const { NetworkError } = require('@rudderstack/integrations-lib'); const { processAxiosResponse, getDynamicErrorType, } = require('../../../adapters/utils/networkUtils'); const { prepareProxyRequest, proxyRequest } = require('../../../adapters/network'); -const { NetworkError } = require('../errorTypes'); const tags = require('../tags'); const { ErrorDetailsExtractorBuilder } = require('../../../util/error-extractor'); diff --git a/src/v0/util/index.js b/src/v0/util/index.js index d6f6621220..0296895662 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -16,16 +16,16 @@ const uaParser = require('ua-parser-js'); const moment = require('moment-timezone'); const sha256 = require('sha256'); const crypto = require('crypto'); -const logger = require('../../logger'); -const stats = require('../../util/stats'); -const { DestCanonicalNames, DestHandlerMap } = require('../../constants/destinationCanonicalNames'); const { InstrumentationError, BaseError, PlatformError, TransformationError, OAuthSecretError, -} = require('./errorTypes'); +} = require('@rudderstack/integrations-lib'); +const logger = require('../../logger'); +const stats = require('../../util/stats'); +const { DestCanonicalNames, DestHandlerMap } = require('../../constants/destinationCanonicalNames'); const { client: errNotificationClient } = require('../../util/errorNotifier'); const { HTTP_STATUS_CODES } = require('./constant'); const { diff --git a/src/v0/util/regulation-api.js b/src/v0/util/regulation-api.js index 8a557858e0..238993ee81 100644 --- a/src/v0/util/regulation-api.js +++ b/src/v0/util/regulation-api.js @@ -1,4 +1,4 @@ -const { PlatformError } = require('./errorTypes'); +const { PlatformError } = require('@rudderstack/integrations-lib'); const RegulationApiUtils = { /** diff --git a/src/warehouse/identity.js b/src/warehouse/identity.js index 4326dddfc6..c34a66a481 100644 --- a/src/warehouse/identity.js +++ b/src/warehouse/identity.js @@ -1,5 +1,5 @@ const _ = require('lodash'); -const { InstrumentationError } = require('../v0/util/errorTypes'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { getVersionedUtils } = require('./util'); const identityEnabledWarehouses = ['snowflake', 'bq']; diff --git a/src/warehouse/index.js b/src/warehouse/index.js index c12239c440..d88904b4a8 100644 --- a/src/warehouse/index.js +++ b/src/warehouse/index.js @@ -25,7 +25,7 @@ const whScreenColumnMappingRules = require('./config/WHScreenConfig.js'); const whGroupColumnMappingRules = require('./config/WHGroupConfig.js'); const whAliasColumnMappingRules = require('./config/WHAliasConfig.js'); const { isDataLakeProvider } = require('./config/helpers'); -const { InstrumentationError } = require('../v0/util/errorTypes'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const whExtractEventTableColumnMappingRules = require('./config/WHExtractEventTableConfig.js'); const maxColumnsInEvent = parseInt(process.env.WH_MAX_COLUMNS_IN_EVENT || '200', 10); diff --git a/src/warehouse/util.js b/src/warehouse/util.js index 91b49039f1..79981249e7 100644 --- a/src/warehouse/util.js +++ b/src/warehouse/util.js @@ -3,7 +3,7 @@ const get = require('get-value'); const v0 = require('./v0/util'); const v1 = require('./v1/util'); -const { PlatformError, InstrumentationError } = require('../v0/util/errorTypes'); +const { PlatformError, InstrumentationError } = require('@rudderstack/integrations-lib'); const minTimeInMs = Date.parse('0001-01-01T00:00:00Z'); const maxTimeInMs = Date.parse('9999-12-31T23:59:59.999Z'); diff --git a/src/warehouse/v1/util.js b/src/warehouse/v1/util.js index 8f44a17b8e..1c44a2385e 100644 --- a/src/warehouse/v1/util.js +++ b/src/warehouse/v1/util.js @@ -2,7 +2,7 @@ const _ = require('lodash'); const reservedANSIKeywordsMap = require('../config/ReservedKeywords.json'); const { isDataLakeProvider } = require('../config/helpers'); -const { TransformationError } = require('../../v0/util/errorTypes'); +const { TransformationError } = require('@rudderstack/integrations-lib'); function safeTableName(options, name = '') { const { provider } = options; diff --git a/test/integrations/destinations/pinterest_tag/processor/data.ts b/test/integrations/destinations/pinterest_tag/processor/data.ts index c7f482aadd..045ba53cd1 100644 --- a/test/integrations/destinations/pinterest_tag/processor/data.ts +++ b/test/integrations/destinations/pinterest_tag/processor/data.ts @@ -3474,4 +3474,89 @@ export const data = [ }, }, }, + { + name: 'pinterest_tag', + description: 'Test 26', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + channel: 'web', + sentAt: '2020-08-14T05:30:30.118Z', + context: { + source: 'test', + userAgent: 'chrome', + traits: { + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + email: 'abc@gmail.com', + phone: '+1234589947', + ge: 'male', + db: '19950715', + lastname: 'Rudderlabs', + firstName: 'Test', + address: { city: 'Kolkata', state: 'WB', zip: '700114', country: 'IN' }, + }, + device: { advertisingId: 'abc123' }, + library: { name: 'rudder-sdk-ruby-sync', version: '1.0.6' }, + }, + messageId: '7208bbb6-2c4e-45bb-bf5b-ad426f3593e9', + timestamp: '2020-08-14T05:30:30.118Z', + anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', + integrations: { All: true }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'PINTEREST_TAG', + Config: { + sendAsTestEvent: false, + tagId: '123456789', + apiVersion: 'newApi', + adAccountId: 'accountId123', + conversionToken: 'conversionToken123', + appId: '429047995', + enhancedMatch: true, + enableDeduplication: true, + deduplicationKey: 'messageId', + sendingUnHashedData: true, + sendAsCustomEvent: false, + customProperties: [{ properties: 'presentclass' }, { properties: 'presentgrade' }], + eventsMapping: [{ from: 'ABC Searched', to: 'WatchVideo' }], + }, + Enabled: true, + Transformations: [], + }, + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq' }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: + 'event_name could not be mapped. Aborting.: Workflow: procWorkflow, Step: validateInputForTrack, ChildStep: undefined, OriginalError: event_name could not be mapped. Aborting.', + metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq' }, + statTags: { + destType: 'PINTEREST_TAG', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, ]; From dd884ddc78898bd7de155ec4f05ce8fe6e2c4b80 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:20:23 +0530 Subject: [PATCH 83/98] fix: update create-hotfix-branch.yml (#2815) Update create-hotfix-branch.yml There is a missing <'> due which we are unable to create a hotfix branch --- .github/workflows/create-hotfix-branch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-hotfix-branch.yml b/.github/workflows/create-hotfix-branch.yml index 97611f1eee..03c79e0df1 100644 --- a/.github/workflows/create-hotfix-branch.yml +++ b/.github/workflows/create-hotfix-branch.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest # Only allow these users to create new hotfix branch from 'main' - if: github.ref == 'refs/heads/main' && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116' || github.actor == 'ujjwal-ab') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116' || github.triggering_actor == 'ujjwal-ab) + if: github.ref == 'refs/heads/main' && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs' || github.actor == 'sandeepdsvs' || github.actor == 'shrouti1507' || github.actor == 'anantjain45823' || github.actor == 'chandumlg' || github.actor == 'mihir-4116' || github.actor == 'ujjwal-ab') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507' || github.triggering_actor == 'anantjain45823' || github.triggering_actor == 'chandumlg' || github.triggering_actor == 'mihir-4116' || github.triggering_actor == 'ujjwal-ab') steps: - name: Create Branch uses: peterjgrainger/action-create-branch@v2.4.0 From 084c6fb6d390d5f4a64f121a79e0cab2abf1c66a Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:50:24 +0530 Subject: [PATCH 84/98] revert: fix: amplitude page and screen call containg double spaces (#2814) * revert: fix: amplitude page and screen call containg double spaces * chore: fix for undefined names --- src/v0/destinations/am/transform.js | 13 +++---------- test/__tests__/data/am_output.json | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/v0/destinations/am/transform.js b/src/v0/destinations/am/transform.js index 04a1c5a107..48d9d0cd9b 100644 --- a/src/v0/destinations/am/transform.js +++ b/src/v0/destinations/am/transform.js @@ -194,9 +194,9 @@ const handleTraits = (messageTrait, destination) => { const getScreenevTypeAndUpdatedProperties = (message, CATEGORY_KEY) => { const name = message.name || message.event || get(message, CATEGORY_KEY); - const updatedName = name ? `${name} ` : ''; + return { - eventType: `Viewed ${updatedName}Screen`, + eventType: `Viewed ${message.name || message.event || get(message, CATEGORY_KEY) || ''} Screen`, updatedProperties: { ...message.properties, name, @@ -577,8 +577,6 @@ const getGroupInfo = (destination, groupInfo, groupTraits) => { } return groupInfo; }; -const getUpdatedPageNameWithoutUserDefinedPageEventName = (name, message, CATEGORY_KEY) => - name || get(message, CATEGORY_KEY) ? `${name || get(message, CATEGORY_KEY)} ` : undefined; // Generic process function which invokes specific handler functions depending on message type // and event type where applicable @@ -614,12 +612,7 @@ const processSingleMessage = (message, destination) => { .trim() .replaceAll(/{{([^{}]+)}}/g, get(message, getMessagePath)); } else { - const updatedName = getUpdatedPageNameWithoutUserDefinedPageEventName( - name, - message, - CATEGORY_KEY, - ); - evType = `Viewed ${updatedName || ''}Page`; + evType = `Viewed ${name || get(message, CATEGORY_KEY) || ''} Page`; } message.properties = { ...properties, diff --git a/test/__tests__/data/am_output.json b/test/__tests__/data/am_output.json index 34471f4922..ea4b8b908d 100644 --- a/test/__tests__/data/am_output.json +++ b/test/__tests__/data/am_output.json @@ -3944,7 +3944,7 @@ "id": "User Android", "userId": "User Android" }, - "event_type": "Viewed Screen", + "event_type": "Viewed Screen", "user_id": "User Android", "device_brand": "Google", "time": 1662393883250, @@ -4276,7 +4276,7 @@ "app_name": "RudderLabs JavaScript SDK", "app_version": "1.0.0", "language": "en-US", - "event_type": "Viewed Page", + "event_type": "Viewed Page", "event_properties": { "path": "/destinations/amplitude", "referrer": "", From 608a4d520bcc5ef5333bbb05e8d9cf5414150e69 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 10 Nov 2023 07:22:59 +0000 Subject: [PATCH 85/98] chore(release): 1.49.1 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9256fa915..97a3a2c226 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.49.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.49.0...v1.49.1) (2023-11-10) + + +### Bug Fixes + +* update create-hotfix-branch.yml ([#2815](https://github.com/rudderlabs/rudder-transformer/issues/2815)) ([dd884dd](https://github.com/rudderlabs/rudder-transformer/commit/dd884ddc78898bd7de155ec4f05ce8fe6e2c4b80)) + ## [1.49.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.48.0...v1.49.0) (2023-11-06) diff --git a/package-lock.json b/package-lock.json index 5e857f6bb9..a73ba099c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.49.0", + "version": "1.49.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.49.0", + "version": "1.49.1", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index ac0ae2bbeb..130fc840e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.49.0", + "version": "1.49.1", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 0996e816d3671c3e25561f76e3219be99225f24b Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Fri, 10 Nov 2023 14:23:57 +0530 Subject: [PATCH 86/98] feat: introduce v1/source/sourceType endpoint (#2722) * source routing handle * migrate webhook to v1 * using folder structure to fetch varsionMap dynamically * small fix * update feature.json for v1 support boolean * temp commit * chore: comments addressed * chore: add test cases * chore: use map to store source version mapping * chore: resolve conflicts * chore: fix test cases and adressed comments * chore: fix test cases and adressed comments * chore: removed unnecessary types for source * chore: add test case for version v1 for webhook source means no alters in payload --- src/controllers/source.ts | 9 +- src/controllers/util/index.test.ts | 149 ++++++++++++++++++ src/controllers/util/index.ts | 48 ++++++ src/features.json | 3 +- src/types/index.ts | 29 ++++ src/{v0 => v1}/sources/webhook/transform.js | 5 +- .../source/{ => v0}/failure.json | 0 .../source/{ => v0}/response_to_caller.json | 0 .../source/{ => v0}/successful.json | 0 .../data_scenarios/source/v1/failure.json | 27 ++++ .../data_scenarios/source/v1/pipedream.json | 49 ++++++ .../data_scenarios/source/v1/successful.json | 38 +++++ test/apitests/service.api.test.ts | 38 ++++- 13 files changed, 387 insertions(+), 8 deletions(-) create mode 100644 src/controllers/util/index.test.ts rename src/{v0 => v1}/sources/webhook/transform.js (81%) rename test/apitests/data_scenarios/source/{ => v0}/failure.json (100%) rename test/apitests/data_scenarios/source/{ => v0}/response_to_caller.json (100%) rename test/apitests/data_scenarios/source/{ => v0}/successful.json (100%) create mode 100644 test/apitests/data_scenarios/source/v1/failure.json create mode 100644 test/apitests/data_scenarios/source/v1/pipedream.json create mode 100644 test/apitests/data_scenarios/source/v1/successful.json diff --git a/src/controllers/source.ts b/src/controllers/source.ts index efb6dc746e..b1e7e8fe12 100644 --- a/src/controllers/source.ts +++ b/src/controllers/source.ts @@ -16,10 +16,15 @@ export default class SourceController { const { version, source }: { version: string; source: string } = ctx.params; const integrationService = ServiceSelector.getNativeSourceService(); try { - const resplist = await integrationService.sourceTransformRoutine( - events, + const { implementationVersion, input } = ControllerUtility.adaptInputToVersion( source, version, + events, + ); + const resplist = await integrationService.sourceTransformRoutine( + input, + source, + implementationVersion, requestMetadata, ); ctx.body = resplist; diff --git a/src/controllers/util/index.test.ts b/src/controllers/util/index.test.ts new file mode 100644 index 0000000000..0bc5f174b0 --- /dev/null +++ b/src/controllers/util/index.test.ts @@ -0,0 +1,149 @@ +import ControllerUtility from './index'; + +describe('adaptInputToVersion', () => { + it('should return the input unchanged when the implementation version is not found', () => { + const sourceType = 'NA_SOURCE'; + const requestVersion = 'v0'; + const input = [ + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + ]; + const expected = { + implementationVersion: undefined, + input: [ + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + ], + }; + + const result = ControllerUtility.adaptInputToVersion(sourceType, requestVersion, input); + + expect(result).toEqual(expected); + }); + it('should return the input unchanged when the implementation version and request version are the same i.e. v0', () => { + const sourceType = 'pipedream'; + const requestVersion = 'v0'; + const input = [ + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + ]; + const expected = { + implementationVersion: 'v0', + input: [ + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + ], + }; + + const result = ControllerUtility.adaptInputToVersion(sourceType, requestVersion, input); + + expect(result).toEqual(expected); + }); + it('should return the input unchanged when the implementation version and request version are the same i.e. v1', () => { + const sourceType = 'webhook'; + const requestVersion = 'v1'; + const input = [ + { + event: { key1: 'val1', key2: 'val2' }, + source: { id: 'source_id', config: { configField1: 'configVal1' } }, + }, + { + event: { key1: 'val1', key2: 'val2' }, + source: { id: 'source_id', config: { configField1: 'configVal1' } }, + }, + { + event: { key1: 'val1', key2: 'val2' }, + source: { id: 'source_id', config: { configField1: 'configVal1' } }, + }, + ]; + const expected = { + implementationVersion: 'v1', + input: [ + { + event: { key1: 'val1', key2: 'val2' }, + source: { id: 'source_id', config: { configField1: 'configVal1' } }, + }, + { + event: { key1: 'val1', key2: 'val2' }, + source: { id: 'source_id', config: { configField1: 'configVal1' } }, + }, + { + event: { key1: 'val1', key2: 'val2' }, + source: { id: 'source_id', config: { configField1: 'configVal1' } }, + }, + ], + }; + + const result = ControllerUtility.adaptInputToVersion(sourceType, requestVersion, input); + + expect(result).toEqual(expected); + }); + it('should convert input from v0 to v1 when the request version is v0 and the implementation version is v1', () => { + const sourceType = 'webhook'; + const requestVersion = 'v0'; + const input = [ + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + ]; + const expected = { + implementationVersion: 'v1', + input: [ + { event: { key1: 'val1', key2: 'val2' }, source: undefined }, + { event: { key1: 'val1', key2: 'val2' }, source: undefined }, + { event: { key1: 'val1', key2: 'val2' }, source: undefined }, + ], + }; + + const result = ControllerUtility.adaptInputToVersion(sourceType, requestVersion, input); + + expect(result).toEqual(expected); + }); + + it('should convert input from v1 to v0 format when the request version is v1 and the implementation version is v0', () => { + const sourceType = 'pipedream'; + const requestVersion = 'v1'; + const input = [ + { + event: { key1: 'val1', key2: 'val2' }, + source: { id: 'source_id', config: { configField1: 'configVal1' } }, + }, + { + event: { key1: 'val1', key2: 'val2' }, + source: { id: 'source_id', config: { configField1: 'configVal1' } }, + }, + { + event: { key1: 'val1', key2: 'val2' }, + source: { id: 'source_id', config: { configField1: 'configVal1' } }, + }, + ]; + const expected = { + implementationVersion: 'v0', + input: [ + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + { key1: 'val1', key2: 'val2' }, + ], + }; + + const result = ControllerUtility.adaptInputToVersion(sourceType, requestVersion, input); + + expect(result).toEqual(expected); + }); + + // Should return an empty array when the input is an empty array + it('should return an empty array when the input is an empty array', () => { + const sourceType = 'pipedream'; + const requestVersion = 'v1'; + const input = []; + const expected = { implementationVersion: 'v0', input: [] }; + + const result = ControllerUtility.adaptInputToVersion(sourceType, requestVersion, input); + + expect(result).toEqual(expected); + }); +}); diff --git a/src/controllers/util/index.ts b/src/controllers/util/index.ts index e2071968d7..c52eb6899e 100644 --- a/src/controllers/util/index.ts +++ b/src/controllers/util/index.ts @@ -1,3 +1,5 @@ +import fs = require('fs'); +import path = require('path'); import { Context } from 'koa'; import isEmpty from 'lodash/isEmpty'; import get from 'get-value'; @@ -7,12 +9,15 @@ import { ProcessorTransformationRequest, RouterTransformationRequestData, RudderMessage, + SourceInput, } from '../../types'; import { getValueFromMessage } from '../../v0/util'; import genericFieldMap from '../../v0/util/data/GenericFieldMapping.json'; import { EventType, MappedToDestinationKey } from '../../constants'; export default class ControllerUtility { + private static sourceVersionMap: Map = new Map(); + public static timestampValsMap: Record = { [EventType.IDENTIFY]: [ `context.${RETL_TIMESTAMP}`, @@ -23,6 +28,49 @@ export default class ControllerUtility { [EventType.TRACK]: [`properties.${RETL_TIMESTAMP}`, ...genericFieldMap.timestamp], }; + private static getSourceVersionsMap(): Map { + if (this.sourceVersionMap?.size > 0) { + return this.sourceVersionMap; + } + const versions = ['v0', 'v1']; + versions.forEach((version) => { + const files = fs.readdirSync(path.resolve(__dirname, `../../${version}/sources`), { + withFileTypes: true, + }); + const sources = files.filter((file) => file.isDirectory()).map((folder) => folder.name); + sources.forEach((source) => { + this.sourceVersionMap.set(source, version); + }); + }); + return this.sourceVersionMap; + } + + private static convertSourceInputv1Tov0(sourceEvents: SourceInput[]): NonNullable[] { + return sourceEvents.map((sourceEvent) => sourceEvent.event); + } + + private static convertSourceInputv0Tov1(sourceEvents: unknown[]): SourceInput[] { + return sourceEvents.map( + (sourceEvent) => ({ event: sourceEvent, source: undefined } as SourceInput), + ); + } + + public static adaptInputToVersion( + sourceType: string, + requestVersion: string, + input: NonNullable[], + ): { implementationVersion: string; input: NonNullable[] } { + const sourceToVersionMap = this.getSourceVersionsMap(); + const implementationVersion = sourceToVersionMap.get(sourceType); + let updatedInput: NonNullable[] = input; + if (requestVersion === 'v0' && implementationVersion === 'v1') { + updatedInput = this.convertSourceInputv0Tov1(input); + } else if (requestVersion === 'v1' && implementationVersion === 'v0') { + updatedInput = this.convertSourceInputv1Tov0(input as SourceInput[]); + } + return { implementationVersion, input: updatedInput }; + } + private static getCompatibleStatusCode(status: number): number { return getCompatibleStatusCode(status); } diff --git a/src/features.json b/src/features.json index 9793f667e3..d3ea3e98a6 100644 --- a/src/features.json +++ b/src/features.json @@ -61,5 +61,6 @@ "ORTTO": true, "ONE_SIGNAL": true, "TIKTOK_AUDIENCE": true - } + }, + "supportSourceTransformV1": true } diff --git a/src/types/index.ts b/src/types/index.ts index 79efaecb40..9292fe2cc2 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -224,7 +224,34 @@ type ComparatorInput = { requestMetadata: object; feature: string; }; +type SourceDefinition = { + ID: string; + Name: string; + Category: string; + Type: string; +}; + +type Source = { + ID: string; + OriginalID: string; + Name: string; + SourceDefinition: SourceDefinition; + Config: object; + Enabled: boolean; + WorkspaceID: string; + WriteKey: string; + Transformations?: UserTransformationInput[]; + RevisionID?: string; + Destinations?: Destination[]; + Transient: boolean; + EventSchemasEnabled: boolean; + DgSourceTrackingPlanConfig: object; +}; +type SourceInput = { + event: NonNullable[]; + source?: Source; +}; export { Metadata, MessageIdMetadataMap, @@ -246,4 +273,6 @@ export { UserDeletionResponse, Destination, ComparatorInput, + SourceInput, + Source, }; diff --git a/src/v0/sources/webhook/transform.js b/src/v1/sources/webhook/transform.js similarity index 81% rename from src/v0/sources/webhook/transform.js rename to src/v1/sources/webhook/transform.js index 3a756ef63b..fc13424b8a 100644 --- a/src/v0/sources/webhook/transform.js +++ b/src/v1/sources/webhook/transform.js @@ -1,4 +1,4 @@ -const { removeUndefinedAndNullValues, generateUUID } = require('../../util'); +const { removeUndefinedAndNullValues, generateUUID } = require('../../../v0/util'); function processEvent(event) { const payload = { @@ -10,7 +10,8 @@ function processEvent(event) { return payload; } -function process(event) { +function process(inputEvent) { + const { event } = inputEvent; const response = processEvent(event); return removeUndefinedAndNullValues(response); } diff --git a/test/apitests/data_scenarios/source/failure.json b/test/apitests/data_scenarios/source/v0/failure.json similarity index 100% rename from test/apitests/data_scenarios/source/failure.json rename to test/apitests/data_scenarios/source/v0/failure.json diff --git a/test/apitests/data_scenarios/source/response_to_caller.json b/test/apitests/data_scenarios/source/v0/response_to_caller.json similarity index 100% rename from test/apitests/data_scenarios/source/response_to_caller.json rename to test/apitests/data_scenarios/source/v0/response_to_caller.json diff --git a/test/apitests/data_scenarios/source/successful.json b/test/apitests/data_scenarios/source/v0/successful.json similarity index 100% rename from test/apitests/data_scenarios/source/successful.json rename to test/apitests/data_scenarios/source/v0/successful.json diff --git a/test/apitests/data_scenarios/source/v1/failure.json b/test/apitests/data_scenarios/source/v1/failure.json new file mode 100644 index 0000000000..9bf77f9b53 --- /dev/null +++ b/test/apitests/data_scenarios/source/v1/failure.json @@ -0,0 +1,27 @@ +{ + "input": [ + { + "event": { + "anonymousId": "63767499ca6fb1b7c988d5bb", + "artist": "Gautam", + "genre": "Jazz", + "song": "Take Five" + }, + "source": { + "id": "source_id", + "config": { + "configField1": "configVal1" + } + } + } + ], + "output": [ + { + "statusCode": 500, + "error": "Cannot find module '../undefined/sources/NA_SOURCE/transform' from 'src/services/misc.ts'", + "statTags": { + "errorCategory": "transformation" + } + } + ] +} diff --git a/test/apitests/data_scenarios/source/v1/pipedream.json b/test/apitests/data_scenarios/source/v1/pipedream.json new file mode 100644 index 0000000000..4219f3f6b1 --- /dev/null +++ b/test/apitests/data_scenarios/source/v1/pipedream.json @@ -0,0 +1,49 @@ +{ + "input": [ + { + "event": { + "anonymousId": "63767499ca6fb1b7c988d5bb", + "artist": "Gautam", + "genre": "Jazz", + "song": "Take Five" + }, + "source": { + "id": "source_id", + "config": { + "configField1": "configVal1" + } + } + } + ], + "output": [ + { + "output": { + "batch": [ + { + "event": "pipedream_source_event", + "anonymousId": "63767499ca6fb1b7c988d5bb", + "context": { + "integration": { + "name": "PIPEDREAM" + }, + "library": { + "name": "unknown", + "version": "unknown" + } + }, + "integrations": { + "PIPEDREAM": false + }, + "type": "track", + "properties": { + "anonymousId": "63767499ca6fb1b7c988d5bb", + "artist": "Gautam", + "genre": "Jazz", + "song": "Take Five" + } + } + ] + } + } + ] +} \ No newline at end of file diff --git a/test/apitests/data_scenarios/source/v1/successful.json b/test/apitests/data_scenarios/source/v1/successful.json new file mode 100644 index 0000000000..c42d723800 --- /dev/null +++ b/test/apitests/data_scenarios/source/v1/successful.json @@ -0,0 +1,38 @@ +{ + "input": [ + { + "event": { + "event": "Fulfillments Update", + "data": { + "fulfillment_id": "1234567890", + "status": "pending" + } + }, + "source": { + "id": "source_id", + "config": { + "configField1": "configVal1" + } + } + } + ], + "output": [ + { + "output": { + "batch": [ + { + "type": "track", + "event": "webhook_source_event", + "properties": { + "event": "Fulfillments Update", + "data": { + "fulfillment_id": "1234567890", + "status": "pending" + } + } + } + ] + } + } + ] +} diff --git a/test/apitests/service.api.test.ts b/test/apitests/service.api.test.ts index dfe7e10dd6..ee534d7b37 100644 --- a/test/apitests/service.api.test.ts +++ b/test/apitests/service.api.test.ts @@ -177,7 +177,7 @@ describe('Destination api tests', () => { describe('Source api tests', () => { test('(shopify) successful source transform', async () => { - const data = getDataFromPath('./data_scenarios/source/successful.json'); + const data = getDataFromPath('./data_scenarios/source/v0/successful.json'); const response = await request(server) .post('/v0/sources/shopify') .set('Accept', 'application/json') @@ -189,7 +189,7 @@ describe('Source api tests', () => { }); test('(shopify) failure source transform (shopify)', async () => { - const data = getDataFromPath('./data_scenarios/source/failure.json'); + const data = getDataFromPath('./data_scenarios/source/v0/failure.json'); const response = await request(server) .post('/v0/sources/shopify') .set('Accept', 'application/json') @@ -199,7 +199,7 @@ describe('Source api tests', () => { }); test('(shopify) success source transform (monday)', async () => { - const data = getDataFromPath('./data_scenarios/source/response_to_caller.json'); + const data = getDataFromPath('./data_scenarios/source/v0/response_to_caller.json'); const response = await request(server) .post('/v0/sources/monday') .set('Accept', 'application/json') @@ -207,6 +207,38 @@ describe('Source api tests', () => { expect(response.status).toEqual(200); expect(JSON.parse(response.text)).toEqual(data.output); }); + + test('(webhook) successful source transform for source present in v1 and server providing v0 endpoint', async () => { + const data = getDataFromPath('./data_scenarios/source/v1/successful.json'); + const response = await request(server) + .post('/v1/sources/webhook') + .set('Accept', 'application/json') + .send(data.input); + const parsedResp = JSON.parse(response.text); + delete parsedResp[0].output.batch[0].anonymousId; + expect(response.status).toEqual(200); + expect(parsedResp).toEqual(data.output); + }); + + test('(NA_SOURCE) failure source transform ', async () => { + const data = getDataFromPath('./data_scenarios/source/v1/failure.json'); + const response = await request(server) + .post('/v0/sources/NA_SOURCE') + .set('Accept', 'application/json') + .send(data.input); + expect(response.status).toEqual(200); + expect(JSON.parse(response.text)).toEqual(data.output); + }); + + test('(pipedream) success source transform for source present in v0 and server providing v1 endpoint', async () => { + const data = getDataFromPath('./data_scenarios/source/v1/pipedream.json'); + const response = await request(server) + .post('/v1/sources/pipedream') + .set('Accept', 'application/json') + .send(data.input); + expect(response.status).toEqual(200); + expect(JSON.parse(response.text)).toEqual(data.output); + }); }); describe('CDK V1 api tests', () => { From 42bec546cc9159a8cc496a7b01a08a9171c02aff Mon Sep 17 00:00:00 2001 From: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Date: Fri, 10 Nov 2023 15:46:08 +0530 Subject: [PATCH 87/98] chore: add error import from lib for missing integrations (#2818) --- src/legacy/router.js | 2 +- src/v0/destinations/facebook_conversions/transform.js | 3 +-- src/v0/destinations/facebook_conversions/utils.js | 2 +- src/v0/sources/appcenter/transform.js | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/legacy/router.js b/src/legacy/router.js index 99fb8570fb..f8deb3fe62 100644 --- a/src/legacy/router.js +++ b/src/legacy/router.js @@ -7,6 +7,7 @@ const Router = require('@koa/router'); const lodash = require('lodash'); const fs = require('fs'); const path = require('path'); +const { PlatformError } = require('@rudderstack/integrations-lib'); const logger = require('../logger'); const stats = require('../util/stats'); const { SUPPORTED_VERSIONS, API_VERSION } = require('../routes/utils/constants'); @@ -35,7 +36,6 @@ const { sendViolationMetrics, constructValidationErrors, } = require('../util/utils'); -const { PlatformError } = require('../v0/util/errorTypes'); const { processCdkV1 } = require('../cdk/v1/handler'); const { extractLibraries } = require('../util/customTransformer'); const { getCompatibleStatusCode } = require('../adapters/utils/networkUtils'); diff --git a/src/v0/destinations/facebook_conversions/transform.js b/src/v0/destinations/facebook_conversions/transform.js index dec1ef2e6c..cf11795605 100644 --- a/src/v0/destinations/facebook_conversions/transform.js +++ b/src/v0/destinations/facebook_conversions/transform.js @@ -1,6 +1,7 @@ /* eslint-disable no-param-reassign */ const get = require('get-value'); const moment = require('moment'); +const { InstrumentationError, ConfigurationError } = require('@rudderstack/integrations-lib'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, @@ -34,8 +35,6 @@ const { formingFinalResponse, } = require('../../util/facebookUtils'); -const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); - const responseBuilderSimple = (message, category, destination) => { const { Config, ID } = destination; let { categoryToContent } = Config; diff --git a/src/v0/destinations/facebook_conversions/utils.js b/src/v0/destinations/facebook_conversions/utils.js index 270fac8c45..32fafae3d0 100644 --- a/src/v0/destinations/facebook_conversions/utils.js +++ b/src/v0/destinations/facebook_conversions/utils.js @@ -1,3 +1,4 @@ +const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { CONFIG_CATEGORIES, OTHER_STANDARD_EVENTS, @@ -8,7 +9,6 @@ const { } = require('./config'); const { constructPayload, isObject, isAppleFamily } = require('../../util'); const { getContentType, getContentCategory } = require('../../util/facebookUtils'); -const { InstrumentationError } = require('../../util/errorTypes'); const getActionSource = (payload, fallbackActionSource) => { let actionSource = fallbackActionSource; diff --git a/src/v0/sources/appcenter/transform.js b/src/v0/sources/appcenter/transform.js index 3a98a6db3e..40399d92e2 100644 --- a/src/v0/sources/appcenter/transform.js +++ b/src/v0/sources/appcenter/transform.js @@ -1,5 +1,6 @@ const path = require('path'); const fs = require('fs'); +const { TransformationError } = require('@rudderstack/integrations-lib'); const { generateUUID } = require('../../util'); const Message = require('../message'); @@ -7,7 +8,6 @@ const mappingJson = JSON.parse(fs.readFileSync(path.resolve(__dirname, './mappin const { removeUndefinedAndNullValues } = require('../../util'); -const { TransformationError } = require('../../util/errorTypes'); const { JSON_MIME_TYPE } = require('../../util/constant'); const processNormalEvent = (event) => { From 0e1429663d167a2c5cded0d9130374eb586a18c0 Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Fri, 10 Nov 2023 20:19:52 +0530 Subject: [PATCH 88/98] feat: add clickId support for tiktok and pinterest destination (#2784) * feat: add clickId support for tiktok * feat: add clickId support for pinterest * chore: add clickId in tests * chore: correct mapping for tiktok * chore: remove instances of callback in input * fix: add clickId in tests * fix: revert context.page mapping --- .../pinterest_tag/procWorkflow.yaml | 8 +- .../tiktok_ads/data/TikTokTrack.json | 5 + .../pinterest_tag/processor/data.ts | 2 + .../destinations/tiktok_ads/processor/data.ts | 9351 ++++++++--------- .../destinations/tiktok_ads/router/data.ts | 30 +- 5 files changed, 4675 insertions(+), 4721 deletions(-) diff --git a/src/cdk/v2/destinations/pinterest_tag/procWorkflow.yaml b/src/cdk/v2/destinations/pinterest_tag/procWorkflow.yaml index e0b81e0afe..7bcb804126 100644 --- a/src/cdk/v2/destinations/pinterest_tag/procWorkflow.yaml +++ b/src/cdk/v2/destinations/pinterest_tag/procWorkflow.yaml @@ -100,7 +100,8 @@ steps: "hashed_maids": .context.device.advertisingId, "client_ip_address": .context.ip ?? .request_ip, "client_user_agent": .context.userAgent, - "external_id": {{{{$.getGenericPaths("userId")}}}} + "external_id": {{{{$.getGenericPaths("userId")}}}}, + "click_id": .properties.clickId }); !.destination.Config.sendExternalId ? userFields = userFields{~["external_id"]} : null; userFields = $.removeUndefinedAndNullAndEmptyValues(userFields); @@ -185,14 +186,13 @@ steps: - name: payload template: | $.outputs.eventNames.().({...$.outputs.basePayload, event_name: .})[] - + - name: checkSendTestEventConfig description: | If sendTestEvent is enabled, we send test event to the destination ref: https://help.pinterest.com/en/business/article/track-conversions-with-the-conversions-api template: | - ^.destination.Config.sendAsTestEvent ? {"test": true} : {} - + ^.destination.Config.sendAsTestEvent ? {"test": true} : {} - name: buildResponseForBatchMode description: In batchMode we return payload directly diff --git a/src/v0/destinations/tiktok_ads/data/TikTokTrack.json b/src/v0/destinations/tiktok_ads/data/TikTokTrack.json index b15223b999..cc5f4886e0 100644 --- a/src/v0/destinations/tiktok_ads/data/TikTokTrack.json +++ b/src/v0/destinations/tiktok_ads/data/TikTokTrack.json @@ -72,6 +72,11 @@ "sourceKeys": ["properties.context.ad", "context.ad"], "required": false }, + { + "destKey": "context.ad.callback", + "sourceKeys": "properties.clickId", + "required": false + }, { "destKey": "context.page", "sourceKeys": ["properties.context.page", "context.page"], diff --git a/test/integrations/destinations/pinterest_tag/processor/data.ts b/test/integrations/destinations/pinterest_tag/processor/data.ts index 045ba53cd1..2887ee8cb9 100644 --- a/test/integrations/destinations/pinterest_tag/processor/data.ts +++ b/test/integrations/destinations/pinterest_tag/processor/data.ts @@ -44,6 +44,7 @@ export const data = [ order_id: '50314b8e9bcf000000000000', requestIP: '123.0.0.0', optOutType: 'LDP', + clickId: 'dummy_clickId', products: [ { sku: '45790-32', @@ -132,6 +133,7 @@ export const data = [ '6ca13d52ca70c883e0f0bb101e425a89e8624de51db2d2392593af6a84118090', ], client_user_agent: 'chrome', + click_id: 'dummy_clickId', ge: ['1b16b1df538ba12dc3f97edbb85caa7050d46c148134290feba80f8236c83db9'], }, custom_data: { diff --git a/test/integrations/destinations/tiktok_ads/processor/data.ts b/test/integrations/destinations/tiktok_ads/processor/data.ts index 38fec1e1e0..453a875af2 100644 --- a/test/integrations/destinations/tiktok_ads/processor/data.ts +++ b/test/integrations/destinations/tiktok_ads/processor/data.ts @@ -1,4690 +1,4663 @@ export const data = [ - { - "name": "tiktok_ads", - "description": "Test 0", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 1", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout started", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "InitiateCheckout", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 2", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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" - }, - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "Product Added to Wishlist", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "AddToWishlist", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "test_event_code": "sample rudder test_event_code", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 3", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "Product Added to Wishlist1", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Event name (product added to wishlist1) is not valid, must be mapped to one of standard events", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "TIKTOK_ADS", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 4", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "Product Added to Wishlist", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "AddToWishlist", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "test_event_code": "sample rudder test_event_code", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 5", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "Product Added to Wishlist", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "sample rudder test_event_code", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "AddToWishlist", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "test_event_code": "sample rudder test_event_code", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 6", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "1234" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "SubscriBe", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "+868987675687", - "email": "sample@sample.com" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "Subscribe", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "1d96e70d2bf54087e33586457cde2790825bee7b1a3b05d26481cb12ec8e63fd", - "email": "774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa", - "external_id": "03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 7", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "payment info entered", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "AddPaymentInfo", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 8", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Event name is required", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "TIKTOK_ADS", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 9", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Event type is required", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "TIKTOK_ADS", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 10", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "type": "track", - "event": "payment info entered", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "AddPaymentInfo", - "event_id": "1616318632825_357", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 11", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "submitform", - "properties": { - "eventId": "16163186328257", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "SubmitForm", - "event_id": "16163186328257", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 12", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "submitform", - "properties": { - "eventId": "16163186328257", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - }, - "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131" - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "SubmitForm", - "event_id": "16163186328257", - "timestamp": "2020-09-17T19:49:27Z", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 13", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "contact", - "properties": { - "eventId": "16163186328257", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "Contact", - "event_id": "16163186328257", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 14", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "identify", - "event": "contact", - "properties": { - "eventId": "16163186328257", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Event type identify is not supported", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "TIKTOK_ADS", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 15", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 16", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "order completed", - "properties": { - "eventId": "1616318632825_357", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "PlaceAnOrder", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 17", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "user@sample.com", - "phone": "+919912345678" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "SubscriBe", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "TEST0000000011", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "+918987674657", - "email": "sample@rudder.com" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "Subscribe", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "test_event_code": "TEST0000000011", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "1b6abcebb79b2208929967160ba291656f3fcd4f00e93b6a846c1e56c0e177c6", - "email": "02e47a94635c1ffd6f6a69fe2c7a92dbfbb9d5e2ebddb54810520b34989b66a7", - "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 18", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "channel": "web", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs JavaScript SDK", - "namespace": "com.rudderlabs.javascript", - "version": "1.0.0" - }, - "traits": { - "email": "user@sample.com", - "phone": "+919912345678" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.0.0" - }, - "userAgent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "locale": "en-US", - "ip": "13.57.97.131", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "SubscriBe", - "properties": { - "eventId": "1616318632825_357", - "testEventCode": "TEST0000000011", - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "", - "email": "" - } - }, - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "Subscribe", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "test_event_code": "TEST0000000011", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "241102c24fa8a642e3d1346a31fbce3dd312563c015ae577a2253cb8652581eb", - "email": "a344da1fac6201ed1c1f20a07e1b55bb896a5ac0abd269c1e9daf1afbbffca3b", - "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 19", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "ad": { - "callback": "999ATXSfe" - }, - "page": { - "url": "http://rudder.mywebsite.com/purchase", - "referrer": "http://rudder.mywebsite.com" - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46, - "context": { - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "999ATXSfe" - }, - "page": { - "url": "http://rudder.mywebsite.com/purchase", - "referrer": "http://rudder.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 20", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "abc", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false, - "eventsToStandard": [ - { - "from": "abc", - "to": "download" - }, - { - "from": "abc", - "to": "search" - }, - { - "from": "def", - "to": "search" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "download", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - }, - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "search", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 21", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "abc", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false, - "eventsToStandard": [ - { - "from": "def", - "to": "download" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "statusCode": 400, - "error": "Event name (abc) is not valid, must be mapped to one of standard events", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "instrumentation", - "destType": "TIKTOK_ADS", - "module": "destination", - "implementation": "native", - "feature": "processor" - } - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 22", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "abc", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false, - "eventsToStandard": [ - { - "from": "abc", - "to": "download" - }, - { - "from": "def", - "to": "download" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "download", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 23", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "abc", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "+371234567890123", - "email": "sample@sample.com" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true, - "eventsToStandard": [ - { - "from": "abc", - "to": "download" - }, - { - "from": "def", - "to": "download" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "download", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "6080191ec608e10062e9257702cbca694cfe1bfa53944ba5701119d8f8b99ad6", - "email": "774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa", - "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 24", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "abc", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "+3712345678", - "email": "sample@sample.com" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": true, - "eventsToStandard": [ - { - "from": "abc", - "to": "download" - }, - { - "from": "def", - "to": "download" - } - ] - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "download", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "6e6c1bb39126b3ecf537e62847909b1372a1a22de9b28d85960e12c78f322035", - "email": "774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa", - "external_id": "f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 25", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "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" - } - ], - "currency": "USD", - "value": 46, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "contents": [ - { - "price": 8, - "quantity": 2, - "content_type": "socks", - "content_id": "1077218" - }, - { - "price": 30, - "quantity": 1, - "content_type": "dress", - "content_id": "1197218" - } - ], - "currency": "USD", - "value": 46 - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 26", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "products": [ - { - "product_id": 123, - "sku": "G-32", - "name": "Monopoly", - "price": 14, - "quantity": 1, - "contentType": "product_group", - "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, - "contentType": "product_group", - "quantity": 2 - } - ], - "currency": "USD", - "value": 46, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "currency": "USD", - "value": 46, - "contents": [ - { - "content_type": "product_group", - "content_id": "123", - "content_category": "Games", - "content_name": "Monopoly", - "price": 14, - "quantity": 1 - }, - { - "content_type": "product_group", - "content_id": "345", - "content_name": "UNO", - "price": 3.45, - "quantity": 2 - } - ] - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 27", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "eventId": "1616318632825_357", - "products": [ - { - "contentType": "product_group", - "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" - }, - { - "contentType": "product_group", - "product_id": "345", - "sku": "F-32", - "name": "UNO", - "price": 3.45, - "quantity": 2, - "category": "Games" - } - ], - "currency": "USD", - "value": 46, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "currency": "USD", - "value": 46, - "contents": [ - { - "content_type": "product_group", - "content_id": "123", - "content_category": "Games", - "content_name": "Monopoly", - "price": 14, - "quantity": 1 - }, - { - "content_type": "product_group", - "content_id": "345", - "content_category": "Games", - "content_name": "UNO", - "price": 3.45, - "quantity": 2 - } - ] - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - }, - { - "name": "tiktok_ads", - "description": "Test 28", - "feature": "processor", - "module": "destination", - "version": "v0", - "input": { - "request": { - "body": [ - { - "message": { - "anonymousId": "21e13f4bc7ceddad", - "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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion", - "ip": "13.57.97.131", - "locale": "en-US", - "os": { - "name": "", - "version": "" - }, - "screen": { - "density": 2 - }, - "externalId": [ - { - "type": "tiktokExternalId", - "id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - } - ] - }, - "messageId": "84e26acc-56a5-4835-8233-591137fca468", - "session_id": "3049dc4c-5a95-4ccd-a3e7-d74a7e411f22", - "originalTimestamp": "2019-10-14T09:03:17.562Z", - "timestamp": "2020-09-17T19:49:27Z", - "type": "track", - "event": "checkout step completed", - "properties": { - "category": "Urban", - "status": "processed", - "name": "games", - "contentType": "product_group", - "productId": "qqw21221341234", - "eventId": "1616318632825_357", - "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" - } - ], - "currency": "USD", - "value": 46, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f" - } - } - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - }, - "destination": { - "Config": { - "accessToken": "dummyAccessToken", - "pixelCode": "A1T8T4UYGVIQA8ORZMX9", - "hashUserProperties": false - } - } - } - ] - } - }, - "output": { - "response": { - "status": 200, - "body": [ - { - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://business-api.tiktok.com/open_api/v1.3/pixel/track/", - "headers": { - "Access-Token": "dummyAccessToken", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "pixel_code": "A1T8T4UYGVIQA8ORZMX9", - "event": "CompletePayment", - "event_id": "1616318632825_357", - "timestamp": "2020-09-17T19:49:27Z", - "properties": { - "content_category": "Urban", - "status": "processed", - "content_name": "games", - "content_id": "qqw21221341234", - "content_type": "product_group", - "currency": "USD", - "value": 46, - "contents": [ - { - "content_type": "product_group", - "content_id": "123", - "content_category": "Games", - "content_name": "Monopoly", - "price": 14, - "quantity": 1 - }, - { - "content_type": "product_group", - "content_id": "345", - "content_category": "Games", - "content_name": "UNO", - "price": 3.45, - "quantity": 2 - } - ] - }, - "context": { - "ad": { - "callback": "123ATXSfe" - }, - "page": { - "url": "http://demo.mywebsite.com/purchase", - "referrer": "http://demo.mywebsite.com" - }, - "user": { - "phone_number": "2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea", - "email": "dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f", - "external_id": "f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc" - }, - "ip": "13.57.97.131", - "user_agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion" - }, - "partner_name": "RudderStack" - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "" - }, - "statusCode": 200 - } - ] - } - } - } -] \ No newline at end of file + { + name: 'tiktok_ads', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'checkout step completed', + properties: { + eventId: '1616318632825_357', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + clickId: 'dummyclickId', + currency: 'USD', + value: 46, + context: { + ad: { + callback: '123ATXSfe', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + ad: { + callback: 'dummyclickId', + }, + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'checkout started', + properties: { + eventId: '1616318632825_357', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'InitiateCheckout', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'Product Added to Wishlist', + properties: { + eventId: '1616318632825_357', + testEventCode: 'sample rudder test_event_code', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'AddToWishlist', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + test_event_code: 'sample rudder test_event_code', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'Product Added to Wishlist1', + properties: { + eventId: '1616318632825_357', + testEventCode: 'sample rudder test_event_code', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'Event name (product added to wishlist1) is not valid, must be mapped to one of standard events', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'TIKTOK_ADS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'Product Added to Wishlist', + properties: { + eventId: '1616318632825_357', + testEventCode: 'sample rudder test_event_code', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'AddToWishlist', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + test_event_code: 'sample rudder test_event_code', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'Product Added to Wishlist', + properties: { + eventId: '1616318632825_357', + testEventCode: 'sample rudder test_event_code', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'AddToWishlist', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + test_event_code: 'sample rudder test_event_code', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: '1234', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'SubscriBe', + properties: { + eventId: '1616318632825_357', + testEventCode: '', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: '+868987675687', + email: 'sample@sample.com', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'Subscribe', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '1d96e70d2bf54087e33586457cde2790825bee7b1a3b05d26481cb12ec8e63fd', + email: '774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa', + external_id: + '03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'payment info entered', + properties: { + eventId: '1616318632825_357', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'AddPaymentInfo', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + properties: { + eventId: '1616318632825_357', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Event name is required', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'TIKTOK_ADS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + properties: { + eventId: '1616318632825_357', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Event type is required', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'TIKTOK_ADS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + type: 'track', + event: 'payment info entered', + properties: { + eventId: '1616318632825_357', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'AddPaymentInfo', + event_id: '1616318632825_357', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'submitform', + properties: { + eventId: '16163186328257', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'SubmitForm', + event_id: '16163186328257', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'submitform', + properties: { + eventId: '16163186328257', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + userAgent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'SubmitForm', + event_id: '16163186328257', + timestamp: '2020-09-17T19:49:27Z', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'contact', + properties: { + eventId: '16163186328257', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'Contact', + event_id: '16163186328257', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'identify', + event: 'contact', + properties: { + eventId: '16163186328257', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Event type identify is not supported', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'TIKTOK_ADS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'checkout step completed', + properties: { + eventId: '1616318632825_357', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 16', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'order completed', + properties: { + eventId: '1616318632825_357', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'PlaceAnOrder', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 17', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'user@sample.com', + phone: '+919912345678', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + userAgent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'SubscriBe', + properties: { + eventId: '1616318632825_357', + testEventCode: 'TEST0000000011', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: '+918987674657', + email: 'sample@rudder.com', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'Subscribe', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + test_event_code: 'TEST0000000011', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '1b6abcebb79b2208929967160ba291656f3fcd4f00e93b6a846c1e56c0e177c6', + email: '02e47a94635c1ffd6f6a69fe2c7a92dbfbb9d5e2ebddb54810520b34989b66a7', + external_id: + 'f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 18', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'user@sample.com', + phone: '+919912345678', + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + userAgent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + locale: 'en-US', + ip: '13.57.97.131', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'SubscriBe', + properties: { + eventId: '1616318632825_357', + testEventCode: 'TEST0000000011', + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: '', + email: '', + }, + }, + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: true, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'Subscribe', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + test_event_code: 'TEST0000000011', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '241102c24fa8a642e3d1346a31fbce3dd312563c015ae577a2253cb8652581eb', + email: 'a344da1fac6201ed1c1f20a07e1b55bb896a5ac0abd269c1e9daf1afbbffca3b', + external_id: + 'f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 19', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + page: { + url: 'http://rudder.mywebsite.com/purchase', + referrer: 'http://rudder.mywebsite.com', + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'checkout step completed', + properties: { + eventId: '1616318632825_357', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + context: { + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://rudder.mywebsite.com/purchase', + referrer: 'http://rudder.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 20', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'abc', + properties: { + eventId: '1616318632825_357', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + eventsToStandard: [ + { + from: 'abc', + to: 'download', + }, + { + from: 'abc', + to: 'search', + }, + { + from: 'def', + to: 'search', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'download', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'search', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 21', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'abc', + properties: { + eventId: '1616318632825_357', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + eventsToStandard: [ + { + from: 'def', + to: 'download', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: 'Event name (abc) is not valid, must be mapped to one of standard events', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'TIKTOK_ADS', + module: 'destination', + implementation: 'native', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 22', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'abc', + properties: { + eventId: '1616318632825_357', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + eventsToStandard: [ + { + from: 'abc', + to: 'download', + }, + { + from: 'def', + to: 'download', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'download', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 23', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'abc', + properties: { + eventId: '1616318632825_357', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: '+371234567890123', + email: 'sample@sample.com', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: true, + eventsToStandard: [ + { + from: 'abc', + to: 'download', + }, + { + from: 'def', + to: 'download', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'download', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '6080191ec608e10062e9257702cbca694cfe1bfa53944ba5701119d8f8b99ad6', + email: '774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa', + external_id: + 'f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 24', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'abc', + properties: { + eventId: '1616318632825_357', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: '+3712345678', + email: 'sample@sample.com', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: true, + eventsToStandard: [ + { + from: 'abc', + to: 'download', + }, + { + from: 'def', + to: 'download', + }, + ], + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'download', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '6e6c1bb39126b3ecf537e62847909b1372a1a22de9b28d85960e12c78f322035', + email: '774efc08cebab8c50c0f0eb2d3a2d2e560872a64f6c1617314c4f03b1c3d4dfa', + external_id: + 'f0f3ec74bbef8580d7de80624dea93c05d828c748715199fe71bc7f5a67aa8b3', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 25', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'checkout step completed', + properties: { + eventId: '1616318632825_357', + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + 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', + }, + ], + currency: 'USD', + value: 46, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + contents: [ + { + price: 8, + quantity: 2, + content_type: 'socks', + content_id: '1077218', + }, + { + price: 30, + quantity: 1, + content_type: 'dress', + content_id: '1197218', + }, + ], + currency: 'USD', + value: 46, + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 26', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'checkout step completed', + properties: { + eventId: '1616318632825_357', + products: [ + { + product_id: 123, + sku: 'G-32', + name: 'Monopoly', + price: 14, + quantity: 1, + contentType: 'product_group', + 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, + contentType: 'product_group', + quantity: 2, + }, + ], + currency: 'USD', + value: 46, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + currency: 'USD', + value: 46, + contents: [ + { + content_type: 'product_group', + content_id: '123', + content_category: 'Games', + content_name: 'Monopoly', + price: 14, + quantity: 1, + }, + { + content_type: 'product_group', + content_id: '345', + content_name: 'UNO', + price: 3.45, + quantity: 2, + }, + ], + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 27', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'checkout step completed', + properties: { + eventId: '1616318632825_357', + products: [ + { + contentType: 'product_group', + 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', + }, + { + contentType: 'product_group', + product_id: '345', + sku: 'F-32', + name: 'UNO', + price: 3.45, + quantity: 2, + category: 'Games', + }, + ], + currency: 'USD', + value: 46, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + currency: 'USD', + value: 46, + contents: [ + { + content_type: 'product_group', + content_id: '123', + content_category: 'Games', + content_name: 'Monopoly', + price: 14, + quantity: 1, + }, + { + content_type: 'product_group', + content_id: '345', + content_category: 'Games', + content_name: 'UNO', + price: 3.45, + quantity: 2, + }, + ], + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'tiktok_ads', + description: 'Test 28', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '21e13f4bc7ceddad', + 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 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + ip: '13.57.97.131', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + externalId: [ + { + type: 'tiktokExternalId', + id: 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ], + }, + messageId: '84e26acc-56a5-4835-8233-591137fca468', + session_id: '3049dc4c-5a95-4ccd-a3e7-d74a7e411f22', + originalTimestamp: '2019-10-14T09:03:17.562Z', + timestamp: '2020-09-17T19:49:27Z', + type: 'track', + event: 'checkout step completed', + properties: { + category: 'Urban', + status: 'processed', + name: 'games', + contentType: 'product_group', + productId: 'qqw21221341234', + eventId: '1616318632825_357', + 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', + }, + ], + currency: 'USD', + value: 46, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + }, + }, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + accessToken: 'dummyAccessToken', + pixelCode: 'A1T8T4UYGVIQA8ORZMX9', + hashUserProperties: false, + }, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://business-api.tiktok.com/open_api/v1.3/pixel/track/', + headers: { + 'Access-Token': 'dummyAccessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + pixel_code: 'A1T8T4UYGVIQA8ORZMX9', + event: 'CompletePayment', + event_id: '1616318632825_357', + timestamp: '2020-09-17T19:49:27Z', + properties: { + content_category: 'Urban', + status: 'processed', + content_name: 'games', + content_id: 'qqw21221341234', + content_type: 'product_group', + currency: 'USD', + value: 46, + contents: [ + { + content_type: 'product_group', + content_id: '123', + content_category: 'Games', + content_name: 'Monopoly', + price: 14, + quantity: 1, + }, + { + content_type: 'product_group', + content_id: '345', + content_category: 'Games', + content_name: 'UNO', + price: 3.45, + quantity: 2, + }, + ], + }, + context: { + page: { + url: 'http://demo.mywebsite.com/purchase', + referrer: 'http://demo.mywebsite.com', + }, + user: { + phone_number: + '2f9d2b4df907e5c9a7b3434351b55700167b998a83dc479b825096486ffcf4ea', + email: 'dd6ff77f54e2106661089bae4d40cdb600979bf7edc9eb65c0942ba55c7c2d7f', + external_id: + 'f0e388f53921a51f0bb0fc8a2944109ec188b59172935d8f23020b1614cc44bc', + }, + ip: '13.57.97.131', + user_agent: + 'Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion', + }, + partner_name: 'RudderStack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/tiktok_ads/router/data.ts b/test/integrations/destinations/tiktok_ads/router/data.ts index 60bb5628ca..a8c233c7a8 100644 --- a/test/integrations/destinations/tiktok_ads/router/data.ts +++ b/test/integrations/destinations/tiktok_ads/router/data.ts @@ -52,6 +52,7 @@ export const data = [ event: 'checkout step completed', properties: { eventId: '1616318632825_357', + clickId: 'dummyClickId', contents: [ { price: 8, @@ -69,9 +70,6 @@ export const data = [ currency: 'USD', value: 46.0, context: { - ad: { - callback: '123ATXSfe', - }, page: { url: 'http://demo.mywebsite.com/purchase', referrer: 'http://demo.mywebsite.com', @@ -141,9 +139,6 @@ export const data = [ properties: { eventId: '1616318632825_357', context: { - ad: { - callback: '123ATXSfe', - }, page: { url: 'http://demo.mywebsite.com/purchase', referrer: 'http://demo.mywebsite.com', @@ -229,9 +224,6 @@ export const data = [ properties: { eventId: '1616318632825_357', context: { - ad: { - callback: '123ATXSfe', - }, page: { url: 'http://demo.mywebsite.com/purchase', referrer: 'http://demo.mywebsite.com', @@ -320,9 +312,6 @@ export const data = [ properties: { eventId: '1616318632825_357', context: { - ad: { - callback: '123ATXSfe', - }, page: { url: 'http://demo.mywebsite.com/purchase', referrer: 'http://demo.mywebsite.com', @@ -421,7 +410,7 @@ export const data = [ }, context: { ad: { - callback: '123ATXSfe', + callback: 'dummyClickId', }, page: { url: 'http://demo.mywebsite.com/purchase', @@ -446,9 +435,6 @@ export const data = [ type: 'track', timestamp: '2020-09-17T19:49:27Z', context: { - ad: { - callback: '123ATXSfe', - }, ip: '13.57.97.131', page: { url: 'http://demo.mywebsite.com/purchase', @@ -490,9 +476,6 @@ export const data = [ type: 'track', timestamp: '2020-09-17T19:49:27Z', context: { - ad: { - callback: '123ATXSfe', - }, ip: '13.57.97.131', page: { url: 'http://demo.mywebsite.com/purchase', @@ -534,9 +517,6 @@ export const data = [ type: 'track', timestamp: '2020-09-17T19:49:27Z', context: { - ad: { - callback: '123ATXSfe', - }, ip: '13.57.97.131', page: { url: 'http://demo.mywebsite.com/purchase', @@ -662,9 +642,6 @@ export const data = [ eventId: '1616318632825_357', testEventCode: 'sample rudder test_event_code', context: { - ad: { - callback: '123ATXSfe', - }, page: { url: 'http://demo.mywebsite.com/purchase', referrer: 'http://demo.mywebsite.com', @@ -729,9 +706,6 @@ export const data = [ FORM: {}, JSON: { context: { - ad: { - callback: '123ATXSfe', - }, ip: '13.57.97.131', page: { referrer: 'http://demo.mywebsite.com', From 195b48ac0f438a200933e4bbb956fcc3941b7aed Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Fri, 10 Nov 2023 20:35:31 +0530 Subject: [PATCH 89/98] feat: move cdkV1 to cdkv2 component tests (#2804) * feat: move cdkV1 to cdkv2 component test --- src/cdk/v2/handler.ts | 10 +- .../data_scenarios/cdk_v2/failure.json | 3 +- .../destinations/algolia/processor/data.ts | 220 +- .../destinations/autopilot/processor/data.ts | 78 +- .../dcm_floodlight/processor/data.ts | 5003 +++++++++++++++++ .../dynamic_yield/processor/data.ts | 1041 ++++ .../destinations/eloqua/processor/data.ts | 460 ++ .../destinations/fullstory/processor/data.ts | 462 ++ .../destinations/heap/processor/data.ts | 84 +- .../destinations/kochava/processor/data.ts | 136 +- .../launchdarkly_audience/processor/data.ts | 611 ++ .../destinations/lytics/processor/data.ts | 117 +- .../destinations/new_relic/processor/data.ts | 882 +++ .../optimizely_fullstack/processor/data.ts | 37 +- .../destinations/ortto/processor/data.ts | 15 +- .../pinterest_tag/processor/data.ts | 24 +- .../destinations/userlist/processor/data.ts | 894 +++ .../destinations/vitally/processor/data.ts | 300 + test/integrations/destinations/zapier/data.ts | 50 +- 19 files changed, 10302 insertions(+), 125 deletions(-) create mode 100644 test/integrations/destinations/dcm_floodlight/processor/data.ts create mode 100644 test/integrations/destinations/dynamic_yield/processor/data.ts create mode 100644 test/integrations/destinations/eloqua/processor/data.ts create mode 100644 test/integrations/destinations/fullstory/processor/data.ts create mode 100644 test/integrations/destinations/launchdarkly_audience/processor/data.ts create mode 100644 test/integrations/destinations/new_relic/processor/data.ts create mode 100644 test/integrations/destinations/userlist/processor/data.ts create mode 100644 test/integrations/destinations/vitally/processor/data.ts diff --git a/src/cdk/v2/handler.ts b/src/cdk/v2/handler.ts index 4b3868b85b..3058d62e51 100644 --- a/src/cdk/v2/handler.ts +++ b/src/cdk/v2/handler.ts @@ -65,13 +65,9 @@ export function getCachedWorkflowEngine( } export async function executeWorkflow(workflowEngine: WorkflowEngine, parsedEvent: FixMe) { - try { - const result = await workflowEngine.execute(parsedEvent); - // TODO: Handle remaining output scenarios - return result.output; - } catch (error) { - throw getErrorInfo(error, isCdkV2Destination(parsedEvent), defTags); - } + const result = await workflowEngine.execute(parsedEvent); + // TODO: Handle remaining output scenarios + return result.output; } export async function processCdkV2Workflow( diff --git a/test/apitests/data_scenarios/cdk_v2/failure.json b/test/apitests/data_scenarios/cdk_v2/failure.json index f39d351b2d..1635a3f0db 100644 --- a/test/apitests/data_scenarios/cdk_v2/failure.json +++ b/test/apitests/data_scenarios/cdk_v2/failure.json @@ -646,7 +646,8 @@ "statusCode": 400, "error": "Action source must be one of app_android, app_ios, web, offline: Workflow: procWorkflow, Step: validateCommonFields, ChildStep: undefined, OriginalError: Action source must be one of app_android, app_ios, web, offline", "statTags": { - "errorCategory": "platform", + "errorCategory": "dataValidation", + "errorType": "instrumentation", "implementation": "cdkV2", "destType": "PINTEREST_TAG", "module": "destination", diff --git a/test/integrations/destinations/algolia/processor/data.ts b/test/integrations/destinations/algolia/processor/data.ts index f5c01e47e5..0cbdd8b31b 100644 --- a/test/integrations/destinations/algolia/processor/data.ts +++ b/test/integrations/destinations/algolia/processor/data.ts @@ -66,6 +66,13 @@ export const data = [ sentAt: '2019-10-14T09:03:22.563Z', }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -77,6 +84,10 @@ export const data = [ ], }, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -116,6 +127,10 @@ export const data = [ version: '1', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -197,7 +212,18 @@ export const data = [ }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -250,6 +276,10 @@ export const data = [ version: '1', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -322,7 +352,18 @@ export const data = [ }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -338,16 +379,23 @@ export const data = [ status: 200, body: [ { - error: 'Either filters or objectIds is required.', + error: + 'Either filters or objectIds is required.: Workflow: procWorkflow, Step: validateDestPayload, ChildStep: undefined, OriginalError: Either filters or objectIds is required.', statTags: { destType: 'ALGOLIA', errorCategory: 'dataValidation', errorType: 'instrumentation', feature: 'processor', - implementation: 'native', + implementation: 'cdkV2', module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', }, statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -419,7 +467,18 @@ export const data = [ }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -435,16 +494,23 @@ export const data = [ status: 200, body: [ { - error: 'eventType is mandatory for track call', + error: + 'eventType is mandatory for track call: Workflow: procWorkflow, Step: preparePayload, ChildStep: undefined, OriginalError: eventType is mandatory for track call', statTags: { destType: 'ALGOLIA', errorCategory: 'dataValidation', errorType: 'instrumentation', feature: 'processor', - implementation: 'native', + implementation: 'cdkV2', module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', }, statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -526,7 +592,18 @@ export const data = [ }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -548,16 +625,22 @@ export const data = [ body: [ { error: - 'for click eventType either both positions and queryId should be present or none', + 'for click eventType either both positions and queryId should be present or none: Workflow: procWorkflow, Step: validatePayloadForClickEvent, ChildStep: undefined, OriginalError: for click eventType either both positions and queryId should be present or none', statTags: { destType: 'ALGOLIA', errorCategory: 'dataValidation', errorType: 'instrumentation', feature: 'processor', - implementation: 'native', + implementation: 'cdkV2', module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', }, statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -639,7 +722,18 @@ export const data = [ }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -691,6 +785,10 @@ export const data = [ version: '1', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -772,7 +870,18 @@ export const data = [ }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -794,16 +903,22 @@ export const data = [ body: [ { error: - 'for click eventType either both positions and queryId should be present or none', + 'for click eventType either both positions and queryId should be present or none: Workflow: procWorkflow, Step: validatePayloadForClickEvent, ChildStep: undefined, OriginalError: for click eventType either both positions and queryId should be present or none', statTags: { destType: 'ALGOLIA', errorCategory: 'dataValidation', errorType: 'instrumentation', feature: 'processor', - implementation: 'native', + implementation: 'cdkV2', module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', }, statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -885,7 +1000,18 @@ export const data = [ }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -906,16 +1032,23 @@ export const data = [ status: 200, body: [ { - error: 'eventType can be either click, view or conversion', + error: + 'eventType can be either click, view or conversion: Workflow: procWorkflow, Step: preparePayload, ChildStep: undefined, OriginalError: eventType can be either click, view or conversion', statTags: { destType: 'ALGOLIA', errorCategory: 'dataValidation', errorType: 'instrumentation', feature: 'processor', - implementation: 'native', + implementation: 'cdkV2', module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', }, statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -997,7 +1130,18 @@ export const data = [ }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -1012,16 +1156,23 @@ export const data = [ status: 200, body: [ { - error: 'eventType is mandatory for track call', + error: + 'eventType is mandatory for track call: Workflow: procWorkflow, Step: preparePayload, ChildStep: undefined, OriginalError: eventType is mandatory for track call', statTags: { destType: 'ALGOLIA', errorCategory: 'dataValidation', errorType: 'instrumentation', feature: 'processor', - implementation: 'native', + implementation: 'cdkV2', module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', }, statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -1092,7 +1243,18 @@ export const data = [ }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -1113,16 +1275,24 @@ export const data = [ status: 200, body: [ { - error: 'Missing required value from "properties.index"', + error: + 'Missing required value from "properties.index": Workflow: procWorkflow, Step: preparePayload, ChildStep: undefined, OriginalError: Missing required value from "properties.index"', statTags: { destType: 'ALGOLIA', errorCategory: 'dataValidation', errorType: 'instrumentation', feature: 'processor', - implementation: 'native', + implementation: 'cdkV2', module: 'destination', + + destinationId: 'destId', + workspaceId: 'wspId', }, statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -1193,7 +1363,18 @@ export const data = [ }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + excludeKeys: [], + includeKeys: [], + }, + }, Config: { apiKey: 'dummyApiKey', applicationId: 'O2YARRI15I', @@ -1214,16 +1395,23 @@ export const data = [ status: 200, body: [ { - error: 'event name should be a string', + error: + 'event name should be a string: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: event name should be a string', statTags: { destType: 'ALGOLIA', errorCategory: 'dataValidation', errorType: 'instrumentation', feature: 'processor', - implementation: 'native', + implementation: 'cdkV2', module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', }, statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, diff --git a/test/integrations/destinations/autopilot/processor/data.ts b/test/integrations/destinations/autopilot/processor/data.ts index 8ae3e28671..135e3e22f7 100644 --- a/test/integrations/destinations/autopilot/processor/data.ts +++ b/test/integrations/destinations/autopilot/processor/data.ts @@ -17,7 +17,7 @@ export const data = [ Name: 'AUTOPILOT', DisplayName: 'Autopilot', Config: { - cdkEnabled: true, + cdkV2Enabled: true, excludeKeys: [], includeKeys: [], }, @@ -85,6 +85,10 @@ export const data = [ type: 'identify', userId: 'user12345', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -123,6 +127,10 @@ export const data = [ userId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -146,7 +154,7 @@ export const data = [ Name: 'AUTOPILOT', DisplayName: 'Autopilot', Config: { - cdkEnabled: true, + cdkV2Enabled: true, excludeKeys: [], includeKeys: [], }, @@ -219,6 +227,10 @@ export const data = [ type: 'track', userId: 'user12345', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -255,6 +267,10 @@ export const data = [ userId: 'ac7722c2-ccb6-4ae2-baf6-1effe861f4cd', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -278,7 +294,7 @@ export const data = [ Name: 'AUTOPILOT', DisplayName: 'Autopilot', Config: { - cdkEnabled: true, + cdkV2Enabled: true, excludeKeys: [], includeKeys: [], }, @@ -365,7 +381,8 @@ export const data = [ body: [ { statusCode: 400, - error: 'Bad event. Original error: message type "page" not supported for "autopilot"', + error: + 'message type page is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type page is not supported', metadata: { destinationId: 'destId', workspaceId: 'wspId', @@ -375,7 +392,7 @@ export const data = [ errorType: 'instrumentation', destType: 'AUTOPILOT', module: 'destination', - implementation: 'cdkV1', + implementation: 'cdkV2', feature: 'processor', destinationId: 'destId', workspaceId: 'wspId', @@ -403,7 +420,7 @@ export const data = [ Name: 'AUTOPILOT', DisplayName: 'Autopilot', Config: { - cdkEnabled: true, + cdkV2Enabled: true, excludeKeys: [], includeKeys: [], }, @@ -489,16 +506,18 @@ export const data = [ body: [ { statusCode: 400, - error: 'Unknown error occurred. Original error: Email is required for track calls', + error: + 'Email is required for track calls: Workflow: procWorkflow, Step: preparePayloadForTrack, ChildStep: undefined, OriginalError: Email is required for track calls', metadata: { destinationId: 'destId', workspaceId: 'wspId', }, statTags: { - errorCategory: 'transformation', + errorCategory: 'dataValidation', + errorType: 'instrumentation', destType: 'AUTOPILOT', module: 'destination', - implementation: 'cdkV1', + implementation: 'cdkV2', feature: 'processor', destinationId: 'destId', workspaceId: 'wspId', @@ -526,7 +545,7 @@ export const data = [ Name: 'AUTOPILOT', DisplayName: 'Autopilot', Config: { - cdkEnabled: true, + cdkV2Enabled: true, excludeKeys: [], includeKeys: [], }, @@ -612,16 +631,17 @@ export const data = [ { statusCode: 400, error: - 'Unknown error occurred. Original error: "type" is a required field and it must be a string', + 'message Type is not present. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message Type is not present. Aborting message.', metadata: { destinationId: 'destId', workspaceId: 'wspId', }, statTags: { - errorCategory: 'transformation', + errorCategory: 'dataValidation', + errorType: 'instrumentation', destType: 'AUTOPILOT', module: 'destination', - implementation: 'cdkV1', + implementation: 'cdkV2', destinationId: 'destId', workspaceId: 'wspId', feature: 'processor', @@ -649,7 +669,7 @@ export const data = [ Name: 'AUTOPILOT', DisplayName: 'Autopilot', Config: { - cdkEnabled: true, + cdkV2Enabled: true, excludeKeys: [], includeKeys: [], }, @@ -736,7 +756,8 @@ export const data = [ body: [ { statusCode: 400, - error: 'Bad event. Original error: message type "group" not supported for "autopilot"', + error: + 'message type group is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type group is not supported', metadata: { destinationId: 'destId', workspaceId: 'wspId', @@ -746,7 +767,7 @@ export const data = [ errorType: 'instrumentation', destType: 'AUTOPILOT', module: 'destination', - implementation: 'cdkV1', + implementation: 'cdkV2', destinationId: 'destId', workspaceId: 'wspId', feature: 'processor', @@ -774,7 +795,7 @@ export const data = [ Name: 'AUTOPILOT', DisplayName: 'Autopilot', Config: { - cdkEnabled: true, + cdkV2Enabled: true, excludeKeys: [], includeKeys: [], }, @@ -906,7 +927,7 @@ export const data = [ Name: 'AUTOPILOT', DisplayName: 'Autopilot', Config: { - cdkEnabled: true, + cdkV2Enabled: true, excludeKeys: [], includeKeys: [], }, @@ -993,16 +1014,17 @@ export const data = [ { statusCode: 400, error: - 'Unknown error occurred. Original error: "type" is a required field and it must be a string', + 'message Type is not present. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message Type is not present. Aborting message.', metadata: { destinationId: 'destId', workspaceId: 'wspId', }, statTags: { - errorCategory: 'transformation', + errorCategory: 'dataValidation', + errorType: 'instrumentation', destType: 'AUTOPILOT', module: 'destination', - implementation: 'cdkV1', + implementation: 'cdkV2', destinationId: 'destId', workspaceId: 'wspId', feature: 'processor', @@ -1030,7 +1052,7 @@ export const data = [ Name: 'AUTOPILOT', DisplayName: 'Autopilot', Config: { - cdkEnabled: true, + cdkV2Enabled: true, excludeKeys: [], includeKeys: [], }, @@ -1110,7 +1132,8 @@ export const data = [ body: [ { statusCode: 400, - error: 'Bad event. Original error: message type "group" not supported for "autopilot"', + error: + 'message type group is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type group is not supported', metadata: { destinationId: 'destId', workspaceId: 'wspId', @@ -1120,7 +1143,7 @@ export const data = [ errorType: 'instrumentation', destType: 'AUTOPILOT', module: 'destination', - implementation: 'cdkV1', + implementation: 'cdkV2', destinationId: 'destId', workspaceId: 'wspId', feature: 'processor', @@ -1148,7 +1171,7 @@ export const data = [ Name: 'AUTOPILOT', DisplayName: 'Autopilot', Config: { - cdkEnabled: true, + cdkV2Enabled: true, excludeKeys: [], includeKeys: [], }, @@ -1228,7 +1251,8 @@ export const data = [ body: [ { statusCode: 400, - error: 'Bad event. Original error: message type "Tals" not supported for "autopilot"', + error: + 'message type Tals is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type Tals is not supported', metadata: { destinationId: 'destId', workspaceId: 'wspId', @@ -1238,7 +1262,7 @@ export const data = [ errorType: 'instrumentation', destType: 'AUTOPILOT', module: 'destination', - implementation: 'cdkV1', + implementation: 'cdkV2', destinationId: 'destId', workspaceId: 'wspId', feature: 'processor', diff --git a/test/integrations/destinations/dcm_floodlight/processor/data.ts b/test/integrations/destinations/dcm_floodlight/processor/data.ts new file mode 100644 index 0000000000..e4b582a3f7 --- /dev/null +++ b/test/integrations/destinations/dcm_floodlight/processor/data.ts @@ -0,0 +1,5003 @@ +export const data = [ + { + name: 'dcm_floodlight', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '22448662', + activityTag: '', + groupTag: '', + conversionEvents: [ + { + customVariables: [ + { + from: 'rudder1', + to: '1', + }, + { + from: 'rudder2', + to: '2', + }, + ], + eventName: 'Product viewed', + floodlightActivityTag: 'signu01', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'signu01', + floodlightGroupTag: 'conv02', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Product viewed', + properties: { + orderId: 111, + quantity: 2, + revenue: 800, + rudder1: 'rudder-v1', + rudder2: 'rudder-v2', + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=22448662;cat=signu01;type=conv01;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1;u1=rudder-v1;u2=rudder-v2', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + activityTag: '', + advertiserId: '12649566', + conversionEvents: [ + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + from: 'rudder1', + to: '1', + }, + { + from: 'akash2', + to: '2', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Checkout Started', + floodlightActivityTag: 'check0', + floodlightGroupTag: 'conv00', + salesTag: true, + }, + ], + groupTag: '', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Sign up Completed', + properties: { + orderId: 111, + quantity: 2, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=signu0;type=conv01;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + activityTag: '', + advertiserId: '12649566', + conversionEvents: [ + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + from: 'rudder1', + to: '1', + }, + { + from: 'akash2', + to: '2', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Checkout Started', + floodlightActivityTag: 'check0', + floodlightGroupTag: 'conv00', + salesTag: true, + }, + ], + groupTag: '', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Order Complete', + properties: { + orderId: 111, + quantity: 2, + revenue: 800, + rudder1: 'rudder-v1', + akash2: 'akash-v2', + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=order0;type=conv000;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1;u1=rudder-v1;u2=akash-v2', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + activityTag: '', + advertiserId: '12649566', + conversionEvents: [ + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + from: 'rudder1', + to: '1', + }, + { + from: 'akash2', + to: '2', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Checkout Started', + floodlightActivityTag: 'check0', + floodlightGroupTag: 'conv00', + salesTag: true, + }, + ], + groupTag: '', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Checkout Started', + properties: { + orderId: 111, + quantity: 2, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=check0;type=conv00;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=111;qty=2;cost=800;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + activityTag: '', + advertiserId: '12649566', + conversionEvents: [ + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + from: 'rudder1', + to: '1', + }, + { + from: 'akash1', + to: '2', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Checkout Started', + floodlightActivityTag: 'check0', + floodlightGroupTag: 'conv00', + salesTag: true, + }, + { + customVariables: [ + { + from: 'rudder2', + to: '1', + }, + { + from: 'akash2', + to: '2', + }, + { + from: 'friendlyName2', + to: '3', + }, + { + from: 'name2', + to: '4', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + groupTag: '', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Purchase', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + products: [ + { + sku: '45790-32', + url: 'https://www.example.com/product/path', + name: 'Monopoly: 3rd Edition', + price: 19, + category: 'Games', + quantity: 1, + image_url: 'https:///www.example.com/product/path.jpg', + product_id: '507f1f77bcf86cd799439011', + }, + { + sku: '46493-32', + name: 'Uno Card Game', + price: 3, + category: 'Games', + quantity: 2, + product_id: '505bd76785ebb509fc183733', + }, + ], + rudder2: 'rudder2', + akash2: 'akash2', + friendlyName2: 'friendlyName2', + name2: 'name2', + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=Pur0;type=conv111;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1;u1=rudder2;u2=akash2;u3=friendlyName2;u4=name2', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + activityTag: '', + advertiserId: '12649566', + conversionEvents: [ + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + from: 'rudder1', + to: '1', + }, + { + from: 'akash1', + to: '2', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Checkout Started', + floodlightActivityTag: 'check0', + floodlightGroupTag: 'conv00', + salesTag: true, + }, + { + customVariables: [ + { + from: 'rudder2', + to: '1', + }, + { + from: 'akash2', + to: '2', + }, + { + from: 'friendlyName2', + to: '3', + }, + { + from: 'name2', + to: '4', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + groupTag: '', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', + manufacturer: 'Google', + model: 'AOSP on IA Emulator', + name: 'generic_x86_arm', + type: 'ios', + attTrackingStatus: 3, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Sign up Completed', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + products: [ + { + sku: '45790-32', + url: 'https://www.example.com/product/path', + name: 'Monopoly: 3rd Edition', + price: 19, + category: 'Games', + quantity: 1, + image_url: 'https:///www.example.com/product/path.jpg', + product_id: '507f1f77bcf86cd799439011', + }, + { + sku: '46493-32', + name: 'Uno Card Game', + price: 3, + category: 'Games', + quantity: 2, + product_id: '505bd76785ebb509fc183733', + }, + ], + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'advertisingId is required: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: advertisingId is required', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + implementation: 'cdkV2', + destType: 'DCM_FLOODLIGHT', + module: 'destination', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + activityTag: '', + advertiserId: '12649566', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + from: 'rudder1', + to: '1', + }, + { + from: 'akash1', + to: '2', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Checkout Started', + floodlightActivityTag: 'check0', + floodlightGroupTag: 'conv00', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + groupTag: '', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + }, + event: 'Sign up Completed', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + products: [ + { + sku: '45790-32', + url: 'https://www.example.com/product/path', + name: 'Monopoly: 3rd Edition', + price: 19, + category: 'Games', + quantity: 1, + image_url: 'https:///www.example.com/product/path.jpg', + product_id: '507f1f77bcf86cd799439011', + }, + { + sku: '46493-32', + name: 'Uno Card Game', + price: 3, + category: 'Games', + quantity: 2, + product_id: '505bd76785ebb509fc183733', + }, + ], + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'track:: userAgent is required: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: track:: userAgent is required', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + implementation: 'cdkV2', + destType: 'DCM_FLOODLIGHT', + module: 'destination', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'akash1', + }, + ], + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Checkout Started', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + products: [ + { + sku: '45790-32', + url: 'https://www.example.com/product/path', + name: 'Monopoly: 3rd Edition', + price: 19, + category: 'Games', + quantity: 1, + image_url: 'https:///www.example.com/product/path.jpg', + product_id: '507f1f77bcf86cd799439011', + }, + { + sku: '46493-32', + name: 'Uno Card Game', + price: 3, + category: 'Games', + quantity: 2, + product_id: '505bd76785ebb509fc183733', + }, + ], + akash1: 'akash-v1', + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=check0;type=conv00;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=111;qty=3;cost=800;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1;u1=akash-v1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Checkout Started', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + products: [ + { + sku: '45790-32', + url: 'https://www.example.com/product/path', + name: 'Monopoly: 3rd Edition', + price: 19, + category: 'Games', + quantity: 1, + image_url: 'https:///www.example.com/product/path.jpg', + product_id: '507f1f77bcf86cd799439011', + }, + { + sku: '46493-32', + name: 'Uno Card Game', + price: 3, + category: 'Games', + quantity: 2, + product_id: '505bd76785ebb509fc183733', + }, + ], + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=check0;type=conv00;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=111;qty=3;cost=800;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Sample event', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + products: [ + { + sku: '45790-32', + url: 'https://www.example.com/product/path', + name: 'Monopoly: 3rd Edition', + price: 19, + category: 'Games', + quantity: 1, + image_url: 'https:///www.example.com/product/path.jpg', + product_id: '507f1f77bcf86cd799439011', + }, + { + sku: '46493-32', + name: 'Uno Card Game', + price: 3, + category: 'Games', + quantity: 2, + product_id: '505bd76785ebb509fc183733', + }, + ], + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'track:: Conversion event not found: Workflow: procWorkflow, Step: handleConversionEvents, ChildStep: undefined, OriginalError: track:: Conversion event not found', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + implementation: 'cdkV2', + destType: 'DCM_FLOODLIGHT', + module: 'destination', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Checkout Started', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + products: [ + { + sku: '45790-32', + url: 'https://www.example.com/product/path', + name: 'Monopoly: 3rd Edition', + price: 19, + category: 'Games', + quantity: 1, + image_url: 'https:///www.example.com/product/path.jpg', + product_id: '507f1f77bcf86cd799439011', + }, + ], + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=check0;type=conv00;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=111;qty=1;cost=800;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Checkout Started', + properties: { + orderId: 111, + revenue: 800, + products: [ + { + sku: '45790-32', + url: 'https://www.example.com/product/path', + name: 'Monopoly: 3rd Edition', + price: 19, + category: 'Games', + quantity: 4, + image_url: 'https:///www.example.com/product/path.jpg', + product_id: '507f1f77bcf86cd799439011', + }, + { + sku: '46493-32', + name: 'Uno Card Game', + price: 3, + category: 'Games', + quantity: 2, + product_id: '505bd76785ebb509fc183733', + }, + ], + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=check0;type=conv00;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=111;qty=6;cost=800;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Checkout Started', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=check0;type=conv00;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=111;qty=999999;cost=800;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'OrDeR complete', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + rudder1: 'rudder-v1', + akash1: 'akash-v1', + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=order0;type=conv000;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1;u1=rudder-v1;u2=akash-v1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Order complete', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + rudder1: 'rudder-v1', + akash1: 'akash-v1', + }, + integrations: { + All: true, + 'DCM Floodlight': {}, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=order0;type=conv000;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;u1=rudder-v1;u2=akash-v1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Order complete', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + rudder1: 100, + akash1: 5987, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=order0;type=conv000;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;u1=100;u2=5987', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 16', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Order complete', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + rudder1: 'rudder-v1', + akash1: 'akash-v1', + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 1, + GDPR: 1, + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=order0;type=conv000;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=1;tfua=1;npa=1;u1=rudder-v1;u2=akash-v1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 17', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Order complete', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'Yes', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'COPPA: valid parameters are [1|true] or [0|false]: Workflow: procWorkflow, Step: handleIntegrationsObject, ChildStep: undefined, OriginalError: COPPA: valid parameters are [1|true] or [0|false]', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + implementation: 'cdkV2', + destType: 'DCM_FLOODLIGHT', + module: 'destination', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 18', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Order complete', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: 'Yes', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'GDPR: valid parameters are [1|true] or [0|false]: Workflow: procWorkflow, Step: handleIntegrationsObject, ChildStep: undefined, OriginalError: GDPR: valid parameters are [1|true] or [0|false]', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + implementation: 'cdkV2', + destType: 'DCM_FLOODLIGHT', + module: 'destination', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 19', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: true, + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Order complete', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: 'No', + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'npa: valid parameters are [1|true] or [0|false]: Workflow: procWorkflow, Step: handleIntegrationsObject, ChildStep: undefined, OriginalError: npa: valid parameters are [1|true] or [0|false]', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + implementation: 'cdkV2', + destType: 'DCM_FLOODLIGHT', + module: 'destination', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 20', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'Yes', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Order complete', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: 'true', + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'dc_lat: valid parameters are [1|true] or [0|false]: Workflow: procWorkflow, Step: cleanPayload, ChildStep: undefined, OriginalError: dc_lat: valid parameters are [1|true] or [0|false]', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + implementation: 'cdkV2', + destType: 'DCM_FLOODLIGHT', + module: 'destination', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 21', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'page', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'Yes', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: 'true', + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'page:: Conversion event not found: Workflow: procWorkflow, Step: handleConversionEvents, ChildStep: undefined, OriginalError: page:: Conversion event not found', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + implementation: 'cdkV2', + destType: 'DCM_FLOODLIGHT', + module: 'destination', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 22', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Viewed Sign up Completed Page', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'page', + channel: 'web', + name: 'Sign up Completed', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: 'true', + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=signu0;type=conv01;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 23', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '22448662', + activityTag: '', + groupTag: '', + conversionEvents: [ + { + customVariables: [ + { + from: 'rudder1', + to: '1', + }, + { + from: 'rudder2', + to: '2', + }, + ], + eventName: 'Product viewed', + floodlightActivityTag: 'signu01', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'signu01', + floodlightGroupTag: 'conv02', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Product viewed', + properties: { + orderId: 111, + quantity: 2, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=22448662;cat=signu01;type=conv01;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 24', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + activityTag: '', + advertiserId: '12649566', + conversionEvents: [ + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + from: 'rudder1', + to: '1', + }, + { + from: 'akash1', + to: '2', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + customVariables: [ + { + from: '', + to: '', + }, + ], + eventName: 'Checkout Started', + floodlightActivityTag: 'check0', + floodlightGroupTag: 'conv00', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + groupTag: '', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + event: 'Purchase', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + products: [ + { + sku: '45790-32', + url: 'https://www.example.com/product/path', + name: 'Monopoly: 3rd Edition', + price: 19, + category: 'Games', + quantity: 1, + image_url: 'https:///www.example.com/product/path.jpg', + product_id: '507f1f77bcf86cd799439011', + }, + { + sku: '46493-32', + name: 'Uno Card Game', + price: 3, + category: 'Games', + quantity: 2, + product_id: '505bd76785ebb509fc183733', + }, + ], + rudder2: 0, + akash2: 'akash2', + friendlyName2: false, + name2: '1234', + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=Pur0;type=conv111;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1;u1=0;u2=akash2;u4=1234', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 25', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + advertiserId: '12649566', + activityTag: 'check0', + groupTag: 'conv00', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Viewed Page', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + eventName: 'Checkout Started', + floodlightActivityTag: '', + floodlightGroupTag: '', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'page', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + 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', + }, + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: 'true', + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=signu0;type=conv01;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'dcm_floodlight', + description: 'Test 26', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + activityTag: '', + advertiserId: '12649566', + conversionEvents: [ + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Sign up Completed', + floodlightActivityTag: 'signu0', + floodlightGroupTag: 'conv01', + salesTag: false, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder1', + }, + { + to: '2', + from: 'akash1', + }, + ], + eventName: 'Order Complete', + floodlightActivityTag: 'order0', + floodlightGroupTag: 'conv000', + salesTag: false, + }, + { + customVariables: [ + { + to: '', + from: '', + }, + ], + eventName: 'Checkout Started', + floodlightActivityTag: 'check0', + floodlightGroupTag: 'conv00', + salesTag: true, + }, + { + customVariables: [ + { + to: '1', + from: 'rudder2', + }, + { + to: '2', + from: 'akash2', + }, + { + to: '3', + from: 'friendlyName2', + }, + { + to: '4', + from: 'name2', + }, + ], + eventName: 'Purchase', + floodlightActivityTag: 'Pur0', + floodlightGroupTag: 'conv111', + salesTag: false, + }, + ], + groupTag: '', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + anonymousId: 'ea5cfab2-3961-4d8a-8187-3d1858c99090', + userId: '1234', + type: 'track', + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + device: { + adTrackingEnabled: 'true', + 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, + brand: 'Google2', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: 'iOS', + version: '14.4.1', + }, + screen: { + density: 2, + }, + traits: { + name2: 'traits-v1', + }, + 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', + }, + event: 'Purchase', + properties: { + orderId: 111, + quantity: 999999, + revenue: 800, + products: [ + { + sku: '45790-32', + url: 'https://www.example.com/product/path', + name: 'Monopoly: 3rd Edition', + price: 19, + category: 'Games', + quantity: 1, + image_url: 'https:///www.example.com/product/path.jpg', + product_id: '507f1f77bcf86cd799439011', + }, + { + sku: '46493-32', + name: 'Uno Card Game', + price: 3, + category: 'Games', + quantity: 2, + product_id: '505bd76785ebb509fc183733', + }, + ], + rudder2: '0', + akash2: 'akash2', + friendlyName2: false, + }, + integrations: { + All: true, + 'DCM Floodlight': { + COPPA: 'false', + GDPR: '1', + npa: true, + }, + }, + messageId: 'ea5cfab2-3961-4d8a-8187-3d1858c90a9f', + originalTimestamp: '2020-01-17T04:53:51.185Z', + receivedAt: '2020-01-17T10:23:52.688+05:30', + sentAt: '2020-01-17T04:53:52.667Z', + timestamp: '2020-01-17T10:23:51.206+05:30', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'GET', + endpoint: + 'https://ad.doubleclick.net/ddm/activity/src=12649566;cat=Pur0;type=conv111;dc_rdid=T0T0T072-5e28-45a1-9eda-ce22a3e36d1a;ord=ea5cfab2-3961-4d8a-8187-3d1858c90a9f;dc_lat=1;tag_for_child_directed_treatment=0;tfua=1;npa=1;u1=0;u2=akash2;u4=traits-v1', + headers: { + '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', + }, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/dynamic_yield/processor/data.ts b/test/integrations/destinations/dynamic_yield/processor/data.ts new file mode 100644 index 0000000000..f72f1574f7 --- /dev/null +++ b/test/integrations/destinations/dynamic_yield/processor/data.ts @@ -0,0 +1,1041 @@ +export const data = [ + { + name: 'dynamic_yield', + description: 'Identify call without hashed email 21313123', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '507f191e810c19729de860ea', + context: { + ip: '54.100.200.255', + sessionId: '16733896350494', + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36', + }, + integrations: { + All: true, + }, + receivedAt: '2015-02-23T22:28:55.387Z', + sentAt: '2015-02-23T22:28:55.111Z', + timestamp: '2015-02-23T22:28:55.111Z', + traits: { + email: 'peter@example.com', + }, + type: 'identify', + userId: 'user0', + version: '1', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + hashEmail: true, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://dy-api.com/v2/collect/user/event', + headers: { + 'Content-Type': 'application/json', + 'DY-API-Key': 'dummyApiKey', + }, + params: {}, + body: { + JSON: { + user: { id: 'user0' }, + session: { custom: '16733896350494' }, + context: { device: { ip: '54.100.200.255' } }, + events: [ + { + name: 'Identify User', + properties: { + dyType: 'identify-v1', + hashedEmail: + 'f111db891a36b76df28abc74867e6c7248f796e045117f0cff27b6e2be25d2df', + }, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'dynamic_yield', + description: 'Identify call with hashed email', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '507f191e810c19729de860ea', + context: { + ip: '54.100.200.255', + sessionId: '16733896350494', + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36', + }, + integrations: { + All: true, + }, + receivedAt: '2015-02-23T22:28:55.387Z', + sentAt: '2015-02-23T22:28:55.111Z', + timestamp: '2015-02-23T22:28:55.111Z', + traits: { + email: 'f111db891a36b76df28abc74867e6c7248f796e045117f0cff27b6e2be25d2df', + }, + type: 'identify', + userId: 'user0', + version: '1', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://dy-api.com/v2/collect/user/event', + headers: { + 'Content-Type': 'application/json', + 'DY-API-Key': 'dummyApiKey', + }, + params: {}, + body: { + JSON: { + user: { id: 'user0' }, + session: { custom: '16733896350494' }, + context: { device: { ip: '54.100.200.255' } }, + events: [ + { + name: 'Identify User', + properties: { + dyType: 'identify-v1', + hashedEmail: + 'f111db891a36b76df28abc74867e6c7248f796e045117f0cff27b6e2be25d2df', + }, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'dynamic_yield', + description: 'Track call with Product Added event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + context: { + traits: { + email: 'testone@gmail.com', + }, + 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', + ip: '54.100.200.255', + }, + type: 'track', + session_id: '16733896350494', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'Product Added', + userId: 'testuserId1', + properties: { + product_id: '123', + sku: 'item-34454ga', + category: 'Games', + name: 'Game', + brand: 'Gamepro', + variant: '111', + price: 39.95, + quantity: 1, + coupon: 'DISC21', + position: 1, + url: 'https://www.website.com/product/path', + image_url: 'https://www.website.com/product/path.png', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://dy-api.com/v2/collect/user/event', + headers: { + 'Content-Type': 'application/json', + 'DY-API-Key': 'dummyApiKey', + }, + params: {}, + body: { + JSON: { + user: { id: 'testuserId1' }, + session: { custom: '16733896350494' }, + context: { device: { ip: '54.100.200.255' } }, + events: [ + { + name: 'Add to Cart', + properties: { + dyType: 'add-to-cart-v1', + value: 39.95, + productId: 'item-34454ga', + quantity: 1, + }, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'dynamic_yield', + description: 'Identify call without email', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '507f191e810c19729de860ea', + context: { + ip: '54.100.200.255', + sessionId: '16733896350494', + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36', + }, + integrations: { + All: true, + }, + receivedAt: '2015-02-23T22:28:55.387Z', + sentAt: '2015-02-23T22:28:55.111Z', + timestamp: '2015-02-23T22:28:55.111Z', + traits: {}, + type: 'identify', + userId: 'user0', + version: '1', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://dy-api.com/v2/collect/user/event', + headers: { + 'Content-Type': 'application/json', + 'DY-API-Key': 'dummyApiKey', + }, + params: {}, + body: { + JSON: { + user: { id: 'user0' }, + session: { custom: '16733896350494' }, + context: { device: { ip: '54.100.200.255' } }, + events: [ + { + name: 'Identify User', + properties: { + dyType: 'identify-v1', + cuid: 'user0', + cuidType: 'userId', + }, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'dynamic_yield', + description: 'Track call with Product Removed event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + context: { + traits: { + email: 'testone@gmail.com', + }, + 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', + ip: '54.100.200.255', + }, + type: 'track', + session_id: '16733896350494', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'Product Removed', + userId: 'testuserId1', + properties: { + product_id: '123', + sku: 'item-34454ga', + category: 'Games', + name: 'Game', + brand: 'Gamepro', + variant: '111', + price: 39.95, + quantity: 1, + coupon: 'DISC21', + position: 1, + url: 'https://www.website.com/product/path', + image_url: 'https://www.website.com/product/path.png', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://dy-api.com/v2/collect/user/event', + headers: { + 'Content-Type': 'application/json', + 'DY-API-Key': 'dummyApiKey', + }, + params: {}, + body: { + JSON: { + user: { id: 'testuserId1' }, + session: { custom: '16733896350494' }, + context: { device: { ip: '54.100.200.255' } }, + events: [ + { + name: 'Remove from Cart', + properties: { + dyType: 'remove-from-cart-v1', + value: 39.95, + productId: 'item-34454ga', + quantity: 1, + }, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'dynamic_yield', + description: 'Track call with Product Added to Wishlist event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + context: { + traits: { + email: 'testone@gmail.com', + }, + 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', + ip: '54.100.200.255', + }, + type: 'track', + session_id: '16733896350494', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'Product Added to Wishlist', + userId: 'testuserId1', + properties: { + product_id: '123', + sku: 'item-34454ga', + category: 'Games', + name: 'Game', + brand: 'Gamepro', + variant: '111', + price: 39.95, + quantity: 1, + coupon: 'DISC21', + position: 1, + url: 'https://www.website.com/product/path', + image_url: 'https://www.website.com/product/path.png', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://dy-api.com/v2/collect/user/event', + headers: { + 'Content-Type': 'application/json', + 'DY-API-Key': 'dummyApiKey', + }, + params: {}, + body: { + JSON: { + user: { id: 'testuserId1' }, + session: { custom: '16733896350494' }, + context: { device: { ip: '54.100.200.255' } }, + events: [ + { + name: 'Add to Wishlist', + properties: { + dyType: 'add-to-wishlist-v1', + value: 39.95, + productId: 'item-34454ga', + quantity: 1, + }, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'dynamic_yield', + description: 'Track call with order completed event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + context: { + traits: { + email: 'testone@gmail.com', + }, + 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', + ip: '54.100.200.255', + }, + type: 'track', + session_id: '16733896350494', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + event: 'Order Completed', + userId: 'testuserId1', + properties: { + checkout_id: '12345', + order_id: '1234', + affiliation: 'Apple Store', + total: 20, + revenue: 15, + 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', + }, + ], + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://dy-api.com/v2/collect/user/event', + headers: { + 'Content-Type': 'application/json', + 'DY-API-Key': 'dummyApiKey', + }, + params: {}, + body: { + JSON: { + user: { id: 'testuserId1' }, + session: { custom: '16733896350494' }, + context: { device: { ip: '54.100.200.255' } }, + events: [ + { + name: 'Purchase', + properties: { + dyType: 'purchase-v1', + uniqueTransactionId: '1234', + value: 15, + currency: 'USD', + cart: [ + { + itemPrice: 14, + productId: 'G-32', + quantity: 1, + }, + { + itemPrice: 3.45, + productId: 'F-32', + quantity: 2, + }, + ], + }, + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'dynamic_yield', + description: 'Unsupported group call check', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '507f191e810c19729de860ea', + context: { + ip: '54.100.200.255', + sessionId: '16733896350494', + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36', + }, + integrations: { + All: true, + }, + receivedAt: '2015-02-23T22:28:55.387Z', + sentAt: '2015-02-23T22:28:55.111Z', + timestamp: '2015-02-23T22:28:55.111Z', + traits: { + email: 'peter@example.com', + }, + type: 'group', + userId: 'user0', + version: '1', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'message type group is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type group is not supported', + statTags: { + destType: 'DYNAMIC_YIELD', + destinationId: 'destId', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dynamic_yield', + description: 'Event type not present', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '507f191e810c19729de860ea', + context: { + ip: '54.100.200.255', + sessionId: '16733896350494', + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36', + }, + integrations: { + All: true, + }, + receivedAt: '2015-02-23T22:28:55.387Z', + sentAt: '2015-02-23T22:28:55.111Z', + timestamp: '2015-02-23T22:28:55.111Z', + traits: { + email: 'peter@example.com', + }, + userId: 'user0', + version: '1', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'message Type is not present. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message Type is not present. Aborting message.', + statTags: { + destType: 'DYNAMIC_YIELD', + destinationId: 'destId', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dynamic_yield', + description: 'API Key not present', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '507f191e810c19729de860ea', + type: 'identify', + context: { + ip: '54.100.200.255', + sessionId: '16733896350494', + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36', + }, + integrations: { + All: true, + }, + receivedAt: '2015-02-23T22:28:55.387Z', + sentAt: '2015-02-23T22:28:55.111Z', + timestamp: '2015-02-23T22:28:55.111Z', + traits: { + email: 'peter@example.com', + }, + userId: 'user0', + version: '1', + }, + destination: { + Config: {}, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'Api Key is not present: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Api Key is not present', + statTags: { + destType: 'DYNAMIC_YIELD', + destinationId: 'destId', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'dynamic_yield', + description: 'Event is not there in input', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + context: { + traits: { + email: 'testone@gmail.com', + }, + 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', + ip: '54.100.200.255', + }, + type: 'track', + session_id: '16733896350494', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + userId: 'testuserId1', + properties: { + product_id: '123', + sku: 'item-34454ga', + category: 'Games', + name: 'Game', + brand: 'Gamepro', + variant: '111', + price: 39.95, + quantity: 1, + coupon: 'DISC21', + position: 1, + url: 'https://www.website.com/product/path', + image_url: 'https://www.website.com/product/path.png', + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + destination: { + Config: { + apiKey: 'dummyApiKey', + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'event is not present. Aborting.: Workflow: procWorkflow, Step: validateInputForTrack, ChildStep: undefined, OriginalError: event is not present. Aborting.', + statTags: { + destType: 'DYNAMIC_YIELD', + destinationId: 'destId', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/eloqua/processor/data.ts b/test/integrations/destinations/eloqua/processor/data.ts new file mode 100644 index 0000000000..50aad5639a --- /dev/null +++ b/test/integrations/destinations/eloqua/processor/data.ts @@ -0,0 +1,460 @@ +export const data = [ + { + name: 'eloqua', + description: 'identify payload pass', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + traits: { + C_FirstName: 'Test User', + C_patient_id1: 1, + C_MobilePhone: '+008822773355', + C_City: 'Scranton', + C_date_of_birth_1life1: '22/12/01', + }, + userId: 'testUser1234@keeptesting.com', + context: { + sources: { + job_id: '2RVkqlV1adBiIpj33kWlQzchMP1/Syncher', + version: 'v1.28.0', + job_run_id: 'cja699onfuet3te5obc0', + task_run_id: 'cja699onfuet3te5obcg', + }, + externalId: [ + { + id: 'testUser1234@keeptesting.com', + type: 'ELOQUA-contacts', + identifierType: 'C_EmailAddress', + }, + ], + mappedToDestination: 'true', + }, + recordId: '1', + rudderId: '3606d3c7-8741-4245-a254-450e137d3866', + messageId: '40def17a-1b6a-4d2d-a851-2a8d96f913bd', + }, + destination: { + Config: { + customerAccountId: '89236978', + customerId: '78678678', + audienceId: '564567', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: '', + headers: {}, + params: {}, + body: { + JSON: { + identifierFieldName: 'C_EmailAddress', + data: { + C_FirstName: 'Test User', + C_patient_id1: '1', + C_MobilePhone: '+008822773355', + C_City: 'Scranton', + C_date_of_birth_1life1: '22/12/01', + C_EmailAddress: 'testUser1234@keeptesting.com', + }, + customObjectId: 'contacts', + type: 'identify', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'eloqua', + description: 'type not correect', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'audiencelist', + traits: { + C_FirstName: 'Test User', + C_patient_id1: 1, + C_MobilePhone: '+008822773355', + C_City: 'Scranton', + C_date_of_birth_1life1: '22/12/01', + }, + userId: 'testUser1234@keeptesting.com', + context: { + sources: { + job_id: '2RVkqlV1adBiIpj33kWlQzchMP1/Syncher', + version: 'v1.28.0', + job_run_id: 'cja699onfuet3te5obc0', + task_run_id: 'cja699onfuet3te5obcg', + }, + externalId: [ + { + id: 'testUser1234@keeptesting.com', + type: 'ELOQUA-contacts', + identifierType: 'C_EmailAddress', + }, + ], + mappedToDestination: 'true', + }, + recordId: '1', + rudderId: '3606d3c7-8741-4245-a254-450e137d3866', + messageId: '40def17a-1b6a-4d2d-a851-2a8d96f913bd', + }, + destination: { + Config: { + customerAccountId: '89236978', + customerId: '78678678', + audienceId: '564567', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + 'Event type audiencelist is not supported. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Event type audiencelist is not supported. Aborting message.', + statTags: { + destType: 'ELOQUA', + destinationId: 'destId', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + workspaceId: 'wspId', + }, + statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'eloqua', + description: 'trits not correect', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + userId: 'testUser1234@keeptesting.com', + context: { + sources: { + job_id: '2RVkqlV1adBiIpj33kWlQzchMP1/Syncher', + version: 'v1.28.0', + job_run_id: 'cja699onfuet3te5obc0', + task_run_id: 'cja699onfuet3te5obcg', + }, + externalId: [ + { + id: 'testUser1234@keeptesting.com', + type: 'ELOQUA-contacts', + identifierType: 'C_EmailAddress', + }, + ], + mappedToDestination: 'true', + }, + recordId: '1', + rudderId: '3606d3c7-8741-4245-a254-450e137d3866', + messageId: '40def17a-1b6a-4d2d-a851-2a8d96f913bd', + }, + destination: { + Config: { + customerAccountId: '89236978', + customerId: '78678678', + audienceId: '564567', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + 'Message traits/properties not present. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Message traits/properties not present. Aborting message.', + statTags: { + destType: 'ELOQUA', + destinationId: 'destId', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + workspaceId: 'wspId', + }, + statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'eloqua', + description: 'identify payload pass 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + traits: { + C_FirstName: 'Test User', + C_patient_id1: 1, + C_MobilePhone: '+008822773355', + C_City: 'Scranton', + C_date_of_birth_1life1: '22/12/01', + }, + userId: 'testUser1234@keeptesting.com', + context: { + sources: { + job_id: '2RVkqlV1adBiIpj33kWlQzchMP1/Syncher', + version: 'v1.28.0', + job_run_id: 'cja699onfuet3te5obc0', + task_run_id: 'cja699onfuet3te5obcg', + }, + externalId: [ + { + id: 'testUser1234@keeptesting.com', + type: 'ELOQUA-contacts', + identifierType: 'C_EmailAddress', + }, + ], + mappedToDestination: 'true', + }, + recordId: '1', + rudderId: '3606d3c7-8741-4245-a254-450e137d3866', + messageId: '40def17a-1b6a-4d2d-a851-2a8d96f913bd', + }, + destination: { + Config: { + customerAccountId: '89236978', + customerId: '78678678', + audienceId: '564567', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: '', + headers: {}, + params: {}, + body: { + JSON: { + identifierFieldName: 'C_EmailAddress', + data: { + C_FirstName: 'Test User', + C_patient_id1: '1', + C_MobilePhone: '+008822773355', + C_City: 'Scranton', + C_date_of_birth_1life1: '22/12/01', + C_EmailAddress: 'testUser1234@keeptesting.com', + }, + customObjectId: 'contacts', + type: 'identify', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'eloqua', + description: 'track payload pass', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + properties: { + key11: 'Test User', + key21: 1, + contactID11: '+008822773355', + }, + userId: 'testUser1234@keeptesting.com', + channel: 'sources', + context: { + sources: { + job_id: '2RVkqlV1adBiIpj33kWlQzchMP1/Syncher', + version: 'v1.28.0', + job_run_id: 'cja699onfuet3te5obc0', + task_run_id: 'cja699onfuet3te5obcg', + }, + externalId: [ + { + id: 'testUser1234@keeptesting.com', + type: 'ELOQUA-172', + identifierType: 'contactID1', + }, + ], + mappedToDestination: 'true', + }, + recordId: '1', + rudderId: '3606d3c7-8741-4245-a254-450e137d3866', + messageId: '40def17a-1b6a-4d2d-a851-2a8d96f913bd', + }, + destination: { + Config: { + customerAccountId: '89236978', + customerId: '78678678', + audienceId: '564567', + hashEmail: false, + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: '', + headers: {}, + params: {}, + body: { + JSON: { + identifierFieldName: 'contactID1', + data: { + key11: 'Test User', + key21: '1', + contactID11: '+008822773355', + contactID1: 'testUser1234@keeptesting.com', + }, + customObjectId: '172', + type: 'track', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/fullstory/processor/data.ts b/test/integrations/destinations/fullstory/processor/data.ts new file mode 100644 index 0000000000..d206b4a84f --- /dev/null +++ b/test/integrations/destinations/fullstory/processor/data.ts @@ -0,0 +1,462 @@ +export const data = [ + { + name: 'fullstory', + description: 'Complete track event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab', + channel: 'web', + context: { + app: { + name: 'RSPM', + version: '1.9.0', + }, + campaign: { + name: 'sales campaign', + source: 'google', + medium: 'medium', + term: 'event data', + content: 'Make sense of the modern data stack', + }, + ip: '192.0.2.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '2.9.1', + }, + locale: 'en-US', + device: { + manufacturer: 'Nokia', + model: 'N2023', + }, + 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 Reviewed', + integrations: { + All: true, + }, + messageId: '1578564113557-af022c68-429e-4af4-b99b-2b9174056383', + properties: { + userId: 'u001', + sessionId: 's001', + review_id: 'review_id_1', + product_id: 'product_id_1', + rating: 5, + review_body: 'Sample Review Body', + latitude: 44.56, + longitude: 54.46, + region: 'Atlas', + city: 'NY', + country: 'USA', + }, + originalTimestamp: '2020-01-09T10:01:53.558Z', + type: 'track', + sentAt: '2020-01-09T10:02:03.257Z', + }, + destination: { + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'Fullstory', + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiKey: 'dummyfullstoryAPIKey', + }, + Enabled: true, + Transformations: [], + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + JSON: { + name: 'Product Reviewed', + properties: { + userId: 'u001', + sessionId: 's001', + review_id: 'review_id_1', + product_id: 'product_id_1', + rating: 5, + review_body: 'Sample Review Body', + latitude: 44.56, + longitude: 54.46, + region: 'Atlas', + city: 'NY', + country: 'USA', + }, + timestamp: '2020-01-09T10:01:53.558Z', + context: { + browser: { + url: 'https://www.estore.com/best-seller/1', + user_agent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + initial_referrer: 'https://www.google.com/search', + }, + mobile: { + app_name: 'RSPM', + app_version: '1.9.0', + }, + device: { + manufacturer: 'Nokia', + model: 'N2023', + }, + location: { + ip_address: '192.0.2.0', + latitude: 44.56, + longitude: 54.46, + city: 'NY', + region: 'Atlas', + country: 'USA', + }, + }, + session: { + id: 's001', + }, + user: { + id: 'u001', + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.fullstory.com/v2/events', + headers: { + authorization: 'Basic dummyfullstoryAPIKey', + 'content-type': 'application/json', + }, + params: {}, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fullstory', + description: 'Missing event name', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + device: { + manufacturer: 'Nokia', + model: 'N2023', + }, + userAgent: + 'Dalvik/2.1.0 (Linux; U; Android 9; Android SDK built for x86 Build/PSR1.180720.075)', + }, + integrations: { + All: true, + }, + properties: { + userId: 'u001', + latitude: 44.56, + longitude: 54.46, + region: 'Atlas', + city: 'NY', + country: 'USA', + }, + originalTimestamp: '2020-01-09T10:01:53.558Z', + type: 'track', + sentAt: '2020-01-09T10:02:03.257Z', + }, + destination: { + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'Fullstory', + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiKey: 'dummyfullstoryAPIKey', + }, + Enabled: true, + Transformations: [], + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'event is required for track call: Workflow: procWorkflow, Step: validateEventName, ChildStep: undefined, OriginalError: event is required for track call', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + implementation: 'cdkV2', + destType: 'FULLSTORY', + module: 'destination', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'fullstory', + description: 'Complete identify event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'dummy-user001', + channel: 'web', + context: { + traits: { + company: 'Initech', + address: { + country: 'USA', + state: 'CA', + street: '101 dummy street', + }, + email: 'dummyuser@domain.com', + name: 'dummy user', + phone: '099-999-9999', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + }, + destination: { + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'Fullstory', + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiKey: 'fullstoryAPIKey', + }, + Enabled: true, + Transformations: [], + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + JSON: { + properties: { + company: 'Initech', + address: { + country: 'USA', + state: 'CA', + street: '101 dummy street', + }, + email: 'dummyuser@domain.com', + name: 'dummy user', + phone: '099-999-9999', + }, + uid: 'dummy-user001', + email: 'dummyuser@domain.com', + display_name: 'dummy user', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.fullstory.com/v2/users', + headers: { + authorization: 'Basic fullstoryAPIKey', + 'content-type': 'application/json', + }, + params: {}, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'fullstory', + description: 'Identify event with needed traits', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'dummy-user001', + channel: 'web', + context: { + traits: { + email: 'dummyuser@domain.com', + name: 'dummy user', + phone: '099-999-9999', + }, + }, + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + }, + destination: { + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + Name: 'Fullstory', + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiKey: 'fullstoryAPIKey', + }, + Enabled: true, + Transformations: [], + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + JSON: { + properties: { + email: 'dummyuser@domain.com', + name: 'dummy user', + phone: '099-999-9999', + }, + uid: 'dummy-user001', + email: 'dummyuser@domain.com', + display_name: 'dummy user', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.fullstory.com/v2/users', + headers: { + authorization: 'Basic fullstoryAPIKey', + 'content-type': 'application/json', + }, + params: {}, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/heap/processor/data.ts b/test/integrations/destinations/heap/processor/data.ts index be4f9c87bf..6efa45435c 100644 --- a/test/integrations/destinations/heap/processor/data.ts +++ b/test/integrations/destinations/heap/processor/data.ts @@ -15,7 +15,7 @@ export const data = [ }, DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, DisplayName: 'Heap.io', ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', @@ -26,6 +26,10 @@ export const data = [ Name: 'heap test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, message: { anonymousId: 'sampath', channel: 'web', @@ -104,6 +108,10 @@ export const data = [ userId: 'sampath', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -125,7 +133,7 @@ export const data = [ }, DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, DisplayName: 'Heap.io', ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', @@ -136,6 +144,10 @@ export const data = [ Name: 'heap test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, message: { anonymousId: 'sampath', channel: 'web', @@ -221,6 +233,10 @@ export const data = [ userId: 'sampath', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -242,7 +258,7 @@ export const data = [ }, DestinationDefinition: { Config: { - cdkEnabled: false, + cdkV2Enabled: false, }, DisplayName: 'Heap.io', ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', @@ -253,6 +269,10 @@ export const data = [ Name: 'heap test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, message: { anonymousId: 'sampath', channel: 'web', @@ -311,8 +331,14 @@ export const data = [ feature: 'processor', implementation: 'native', module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', }, statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -334,7 +360,7 @@ export const data = [ }, DestinationDefinition: { Config: { - cdkEnabled: false, + cdkV2Enabled: false, }, DisplayName: 'Heap.io', ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', @@ -345,6 +371,10 @@ export const data = [ Name: 'heap test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, message: { anonymousId: 'sampath', channel: 'web', @@ -403,6 +433,8 @@ export const data = [ { error: 'message type page not supported for heap', statTags: { + destinationId: 'destId', + workspaceId: 'wspId', destType: 'HEAP', errorCategory: 'dataValidation', errorType: 'instrumentation', @@ -411,6 +443,10 @@ export const data = [ module: 'destination', }, statusCode: 400, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -432,7 +468,7 @@ export const data = [ }, DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, DisplayName: 'Heap.io', ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', @@ -443,6 +479,10 @@ export const data = [ Name: 'heap test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, message: { anonymousId: 'sampath', channel: 'web', @@ -530,6 +570,10 @@ export const data = [ userId: 'sampath', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -551,7 +595,7 @@ export const data = [ }, DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, DisplayName: 'Heap.io', ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', @@ -562,6 +606,10 @@ export const data = [ Name: 'heap test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, message: { anonymousId: 'sampath', channel: 'web', @@ -649,6 +697,10 @@ export const data = [ userId: 'sampath', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -670,7 +722,7 @@ export const data = [ }, DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, DisplayName: 'Heap.io', ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', @@ -681,6 +733,10 @@ export const data = [ Name: 'heap test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, message: { anonymousId: 'sampath', channel: 'web', @@ -771,6 +827,10 @@ export const data = [ userId: 'sampath', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -792,7 +852,7 @@ export const data = [ }, DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, DisplayName: 'Heap.io', ID: '1WTbl0l5GjOQKOvfmcGwk0T49kV', @@ -803,6 +863,10 @@ export const data = [ Name: 'heap test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, message: { anonymousId: 'sampath', channel: 'web', @@ -888,6 +952,10 @@ export const data = [ userId: 'sampath', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, diff --git a/test/integrations/destinations/kochava/processor/data.ts b/test/integrations/destinations/kochava/processor/data.ts index d17e9795ff..06b5667c2a 100644 --- a/test/integrations/destinations/kochava/processor/data.ts +++ b/test/integrations/destinations/kochava/processor/data.ts @@ -12,7 +12,7 @@ export const data = [ destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -22,6 +22,10 @@ export const data = [ Name: 'kochava test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, message: { anonymousId: 'sampath', channel: 'web', @@ -103,6 +107,10 @@ export const data = [ userId: 'sampath', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -144,12 +152,13 @@ export const data = [ sentAt: '2019-10-14T09:03:22.563Z', }, metadata: { - destinationId: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + destinationId: 'destId', + workspaceId: 'wspId', }, destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -170,18 +179,21 @@ export const data = [ status: 200, body: [ { - error: 'Bad event. Original error: message type "identify" not supported for "kochava"', + error: + 'message type identify is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type identify is not supported', metadata: { - destinationId: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + destinationId: 'destId', + workspaceId: 'wspId', }, statTags: { destType: 'KOCHAVA', errorCategory: 'dataValidation', - destinationId: '1WTpIHpH7NTBgjeiUPW1kCUgZGI', + destinationId: 'destId', errorType: 'instrumentation', feature: 'processor', - implementation: 'cdkV1', + implementation: 'cdkV2', module: 'destination', + workspaceId: 'wspId', }, statusCode: 400, }, @@ -225,10 +237,14 @@ export const data = [ integrations: { All: true }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -288,6 +304,10 @@ export const data = [ userId: '00000000000000000000000000', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -329,10 +349,14 @@ export const data = [ integrations: { All: true }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -392,6 +416,10 @@ export const data = [ userId: '00000000000000000000000000', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -444,10 +472,14 @@ export const data = [ type: 'screen', sentAt: '2020-03-12T09:05:13.042Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -511,6 +543,10 @@ export const data = [ userId: '5094f5704b9cf2b3', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -564,10 +600,14 @@ export const data = [ type: 'screen', sentAt: '2020-03-12T09:05:13.042Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -631,6 +671,10 @@ export const data = [ userId: '5094f5704b9cf2b3', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -687,7 +731,7 @@ export const data = [ destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -697,6 +741,10 @@ export const data = [ Name: 'kochava test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -750,6 +798,10 @@ export const data = [ userId: '5094f5704b9cf2b3', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -800,10 +852,14 @@ export const data = [ type: 'screen', sentAt: '2020-03-12T09:05:13.042Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -862,6 +918,10 @@ export const data = [ userId: '5094f5704b9cf2b3', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -914,7 +974,7 @@ export const data = [ destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -924,6 +984,10 @@ export const data = [ Name: 'kochava test', Transformations: [], }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -972,6 +1036,10 @@ export const data = [ userId: '5094f5704b9cf2b3', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -1012,10 +1080,14 @@ export const data = [ integrations: { All: true }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -1074,6 +1146,10 @@ export const data = [ userId: '00000000000000000000000000', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -1115,10 +1191,14 @@ export const data = [ integrations: { All: true }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -1182,6 +1262,10 @@ export const data = [ userId: '00000000000000000000000000', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -1222,10 +1306,14 @@ export const data = [ integrations: { All: true }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -1289,6 +1377,10 @@ export const data = [ userId: '00000000000000000000000000', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -1329,10 +1421,14 @@ export const data = [ integrations: { All: true }, sentAt: '2019-10-14T09:03:22.563Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { Config: { apiKey: '' }, DestinationDefinition: { - Config: { cdkEnabled: true }, + Config: { cdkV2Enabled: true }, DisplayName: 'Kochava', ID: '1WTpBSTiL3iAUHUdW7rHT4sawgU', Name: 'KOCHAVA', @@ -1396,6 +1492,10 @@ export const data = [ userId: '00000000000000000000000000', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, diff --git a/test/integrations/destinations/launchdarkly_audience/processor/data.ts b/test/integrations/destinations/launchdarkly_audience/processor/data.ts new file mode 100644 index 0000000000..b26cf60f4c --- /dev/null +++ b/test/integrations/destinations/launchdarkly_audience/processor/data.ts @@ -0,0 +1,611 @@ +export const data = [ + { + name: 'launchdarkly_audience', + description: 'Unsupported event type', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user123', + type: 'abc', + properties: { + listData: { + add: [ + { + identifier: 'alex@email.com', + }, + { + identifier: 'ryan@email.com', + }, + { + identifier: 'van@email.com', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + audienceId: 'test-audienceId', + audienceName: 'test-audienceName', + accessToken: 'test-accessToken', + clientSideId: 'test-clientSideId', + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'Event type abc is not supported. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Event type abc is not supported. Aborting message.', + statTags: { + destType: 'LAUNCHDARKLY_AUDIENCE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'launchdarkly_audience', + description: 'List data is not passed', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user123', + type: 'audiencelist', + properties: {}, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + audienceId: 'test-audienceId', + audienceName: 'test-audienceName', + accessToken: 'test-accessToken', + clientSideId: 'test-clientSideId', + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + '`listData` is not present inside properties. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: `listData` is not present inside properties. Aborting message.', + statTags: { + destType: 'LAUNCHDARKLY_AUDIENCE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'launchdarkly_audience', + description: 'List data is empty', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user123', + type: 'audiencelist', + properties: { + listData: {}, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + audienceId: 'test-audienceId', + audienceName: 'test-audienceName', + accessToken: 'test-accessToken', + clientSideId: 'test-clientSideId', + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + '`listData` is empty. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: `listData` is empty. Aborting message.', + statTags: { + destType: 'LAUNCHDARKLY_AUDIENCE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'launchdarkly_audience', + description: 'Unsupported action type', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user123', + type: 'audiencelist', + properties: { + listData: { + update: [ + { + identifier: 'alex@email.com', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + audienceId: 'test-audienceId', + audienceName: 'test-audienceName', + accessToken: 'test-accessToken', + clientSideId: 'test-clientSideId', + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'Unsupported action type. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Unsupported action type. Aborting message.', + statTags: { + destType: 'LAUNCHDARKLY_AUDIENCE', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'launchdarkly_audience', + description: 'Add members to the audience list', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user123', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + identifier: 'alex@email.com', + }, + { + identifier: 'ryan@email.com', + }, + { + identifier: 'van@email.com', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + audienceId: 'test-audienceId', + audienceName: 'test-audienceName', + accessToken: 'test-accessToken', + clientSideId: 'test-clientSideId', + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://app.launchdarkly.com/api/v2/segment-targets/rudderstack', + headers: { + Authorization: 'test-accessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + environmentId: 'test-clientSideId', + cohortId: 'test-audienceId', + cohortName: 'test-audienceName', + listData: { + add: [ + { + id: 'alex@email.com', + }, + { + id: 'ryan@email.com', + }, + { + id: 'van@email.com', + }, + ], + remove: [], + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'launchdarkly_audience', + description: 'Remove members from the audience list', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user123', + type: 'audiencelist', + properties: { + listData: { + remove: [ + { + identifier: 'alex@email.com', + }, + { + identifier: 'ryan@email.com', + }, + { + identifier: 'van@email.com', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + audienceId: 'test-audienceId', + audienceName: 'test-audienceName', + accessToken: 'test-accessToken', + clientSideId: 'test-clientSideId', + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://app.launchdarkly.com/api/v2/segment-targets/rudderstack', + headers: { + Authorization: 'test-accessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + environmentId: 'test-clientSideId', + cohortId: 'test-audienceId', + cohortName: 'test-audienceName', + listData: { + remove: [ + { + id: 'alex@email.com', + }, + { + id: 'ryan@email.com', + }, + { + id: 'van@email.com', + }, + ], + add: [], + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, + { + name: 'launchdarkly_audience', + description: 'Add/Remove members', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user123', + type: 'audiencelist', + properties: { + listData: { + add: [ + { + identifier: 'alex@email.com', + }, + { + userId: 'user1', + }, + ], + remove: [ + { + identifier: 'ryan@email.com', + }, + { + identifier: 'van@email.com', + }, + ], + }, + }, + context: { + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + timestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + Config: { + audienceId: 'test-audienceId', + audienceName: 'test-audienceName', + accessToken: 'test-accessToken', + clientSideId: 'test-clientSideId', + }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://app.launchdarkly.com/api/v2/segment-targets/rudderstack', + headers: { + Authorization: 'test-accessToken', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + environmentId: 'test-clientSideId', + cohortId: 'test-audienceId', + cohortName: 'test-audienceName', + listData: { + add: [ + { + id: 'alex@email.com', + }, + ], + remove: [ + { + id: 'ryan@email.com', + }, + { + id: 'van@email.com', + }, + ], + }, + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/lytics/processor/data.ts b/test/integrations/destinations/lytics/processor/data.ts index e04b1aa413..344eecc3cd 100644 --- a/test/integrations/destinations/lytics/processor/data.ts +++ b/test/integrations/destinations/lytics/processor/data.ts @@ -112,12 +112,16 @@ export const data = [ userId: 'rudder123', }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], IsProcessorEnabled: true, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -197,6 +201,10 @@ export const data = [ files: {}, userId: '', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, statusCode: 200, }, ], @@ -255,12 +263,16 @@ export const data = [ userId: 'rudder123', }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], IsProcessorEnabled: true, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -295,6 +307,10 @@ export const data = [ files: {}, userId: '', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, statusCode: 200, }, ], @@ -361,12 +377,16 @@ export const data = [ userId: 'rudder123', }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], IsProcessorEnabled: true, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -401,6 +421,10 @@ export const data = [ files: {}, userId: '', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, statusCode: 200, }, ], @@ -459,12 +483,17 @@ export const data = [ userId: 'rudder123', }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + ID: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq', + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], IsProcessorEnabled: true, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -500,6 +529,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -557,12 +590,16 @@ export const data = [ userId: 'rudder123', }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], IsProcessorEnabled: true, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -598,6 +635,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -655,12 +696,16 @@ export const data = [ userId: 'rudder123', }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], IsProcessorEnabled: true, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -696,6 +741,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -753,7 +802,7 @@ export const data = [ }, metadata: { destinationID: 'ewksfdgDFSdvzsdmwsdfvcxj' }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], @@ -771,13 +820,14 @@ export const data = [ body: [ { error: - 'Unknown error occurred. Original error: "type" is a required field and it must be a string', + 'message Type is not present. Aborting message.: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message Type is not present. Aborting message.', metadata: { destinationID: 'ewksfdgDFSdvzsdmwsdfvcxj' }, statTags: { destType: 'LYTICS', - errorCategory: 'transformation', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', - implementation: 'cdkV1', + implementation: 'cdkV2', module: 'destination', }, statusCode: 400, @@ -839,7 +889,7 @@ export const data = [ }, metadata: { destinationID: 'ewksfdgDFSdvzsdmwsdfvcxj' }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], @@ -856,14 +906,15 @@ export const data = [ status: 200, body: [ { - error: 'Bad event. Original error: message type "gone" not supported for "lytics"', + error: + 'message type gone is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type gone is not supported', metadata: { destinationID: 'ewksfdgDFSdvzsdmwsdfvcxj' }, statTags: { destType: 'LYTICS', errorCategory: 'dataValidation', errorType: 'instrumentation', feature: 'processor', - implementation: 'cdkV1', + implementation: 'cdkV2', module: 'destination', }, statusCode: 400, @@ -984,12 +1035,16 @@ export const data = [ userId: 'rudder123', }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], IsProcessorEnabled: true, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -1070,6 +1125,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -1119,12 +1178,16 @@ export const data = [ destination_props: { AF: { af_uid: 'afUid' } }, }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], IsProcessorEnabled: true, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -1160,6 +1223,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -1209,12 +1276,16 @@ export const data = [ destination_props: { AF: { af_uid: 'afUid' } }, }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], IsProcessorEnabled: true, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -1250,6 +1321,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -1309,12 +1384,16 @@ export const data = [ userId: 'rudder123', }, destination: { - DestinationDefinition: { Config: { cdkEnabled: true } }, + DestinationDefinition: { Config: { cdkV2Enabled: true } }, Config: { apiKey: 'dummyApiKey', stream: 'default' }, Enabled: true, Transformations: [], IsProcessorEnabled: true, }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], method: 'POST', @@ -1352,6 +1431,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, diff --git a/test/integrations/destinations/new_relic/processor/data.ts b/test/integrations/destinations/new_relic/processor/data.ts new file mode 100644 index 0000000000..7eb4099e3b --- /dev/null +++ b/test/integrations/destinations/new_relic/processor/data.ts @@ -0,0 +1,882 @@ +export const data = [ + { + name: 'new_relic', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'first', + userId: 'identified user id', + type: 'track', + anonymousId: 'anon-id-new', + context: { + traits: { + trait1: 'new-val', + }, + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + properties: { + abc: '123', + key: { + abc: 123, + }, + array: [ + { + abc: 123, + }, + { + def: 123, + }, + ], + }, + timestamp: '2020-02-02T00:23:09.544Z', + sentAt: '2020-02-02T00:23:09.544Z', + originalTimestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: '12345', + insertKey: '11111122702j2a2U2K2C7H', + customEventType: '', + sendDeviceContext: true, + sendUserIdanonymousId: true, + dataCenter: 'us', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://insights-collector.newrelic.com/v1/accounts/12345/events', + headers: { + 'Api-Key': '11111122702j2a2U2K2C7H', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'first', + abc: '123', + 'key.abc': 123, + 'array[0].abc': 123, + 'array[1].def': 123, + timestamp: 1580602989, + eventType: 'rudderstack', + userId: 'identified user id', + anonymousId: 'anon-id-new', + 'traits.trait1': 'new-val', + ip: '14.5.67.21', + 'library.name': 'http', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'new_relic', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'second', + userId: 'identified user id', + type: 'track', + anonymousId: 'anon-id-new', + context: { + traits: { + trait1: 'new-val', + }, + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + properties: { + abc: '123', + key: { + abc: 123, + }, + array: [ + { + abc: 123, + }, + { + def: 'test', + }, + ], + }, + timestamp: '2020-02-02T00:23:09.544Z', + sentAt: '2020-02-02T00:23:09.544Z', + originalTimestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: '12345', + insertKey: '11111122702j2a2U2K2C7H', + customEventType: '', + sendDeviceContext: false, + sendUserIdanonymousId: false, + dataCenter: 'us', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://insights-collector.newrelic.com/v1/accounts/12345/events', + headers: { + 'Api-Key': '11111122702j2a2U2K2C7H', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'second', + abc: '123', + 'key.abc': 123, + 'array[0].abc': 123, + 'array[1].def': 'test', + timestamp: 1580602989, + eventType: 'rudderstack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'new_relic', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'test', + userId: 'identified user id', + type: 'track', + anonymousId: 'anon-id-new', + context: { + traits: { + trait1: 'new-val', + }, + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + properties: { + abc: '123', + key: { + abc: 123, + }, + array: [ + { + abc: 123, + }, + { + def: 123, + }, + ], + }, + timestamp: '2020-02-02T00:23:09.544Z', + sentAt: '2020-02-02T00:23:09.544Z', + originalTimestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: '12345', + insertKey: '11111122702j2a2U2K2C7H', + customEventType: 'rudder-testing', + sendDeviceContext: false, + sendUserIdanonymousId: false, + dataCenter: 'us', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://insights-collector.newrelic.com/v1/accounts/12345/events', + headers: { + 'Api-Key': '11111122702j2a2U2K2C7H', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'test', + abc: '123', + 'key.abc': 123, + 'array[0].abc': 123, + 'array[1].def': 123, + timestamp: 1580602989, + eventType: 'rudder-testing', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'new_relic', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'first', + userId: 'identified user id', + type: 'track', + anonymousId: 'anon-id-new', + context: { + traits: { + trait1: 'new-val', + }, + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + properties: { + abc: '123', + key: { + abc: 123, + }, + array: [ + { + abc: 123, + }, + { + def: 123, + }, + ], + }, + timestamp: '2020-02-02T00:23:09.544Z', + sentAt: '2020-02-02T00:23:09.544Z', + originalTimestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: '12345', + insertKey: '11111122702j2a2U2K2C7H', + customEventType: '', + sendDeviceContext: true, + sendUserIdanonymousId: true, + dataCenter: 'eu', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://insights-collector.eu01.nr-data.net/v1/accounts/12345/events', + headers: { + 'Api-Key': '11111122702j2a2U2K2C7H', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'first', + abc: '123', + 'key.abc': 123, + 'array[0].abc': 123, + 'array[1].def': 123, + timestamp: 1580602989, + eventType: 'rudderstack', + userId: 'identified user id', + anonymousId: 'anon-id-new', + 'traits.trait1': 'new-val', + ip: '14.5.67.21', + 'library.name': 'http', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'new_relic', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'second', + userId: 'identified user id', + type: 'track', + anonymousId: 'anon-id-new', + context: { + traits: { + trait1: 'new-val', + }, + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + properties: { + abc: '123', + key: { + abc: 123, + }, + array: [ + { + abc: 123, + }, + { + def: 'test', + }, + ], + }, + timestamp: '2020-02-02T00:23:09.544Z', + sentAt: '2020-02-02T00:23:09.544Z', + originalTimestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: '12345', + insertKey: '11111122702j2a2U2K2C7H', + customEventType: '', + sendDeviceContext: false, + sendUserIdanonymousId: false, + dataCenter: 'eu', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://insights-collector.eu01.nr-data.net/v1/accounts/12345/events', + headers: { + 'Api-Key': '11111122702j2a2U2K2C7H', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'second', + abc: '123', + 'key.abc': 123, + 'array[0].abc': 123, + 'array[1].def': 'test', + timestamp: 1580602989, + eventType: 'rudderstack', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'new_relic', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'test', + userId: 'identified user id', + type: 'track', + anonymousId: 'anon-id-new', + context: { + traits: { + trait1: 'new-val', + }, + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + properties: { + abc: '123', + key: { + abc: 123, + }, + array: [ + { + abc: 123, + }, + { + def: 123, + }, + ], + }, + timestamp: '2020-02-02T00:23:09.544Z', + sentAt: '2020-02-02T00:23:09.544Z', + originalTimestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: '12345', + insertKey: '11111122702j2a2U2K2C7H', + customEventType: 'rudder-testing', + sendDeviceContext: false, + sendUserIdanonymousId: true, + dataCenter: 'eu', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://insights-collector.eu01.nr-data.net/v1/accounts/12345/events', + headers: { + 'Api-Key': '11111122702j2a2U2K2C7H', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'test', + abc: '123', + 'key.abc': 123, + 'array[0].abc': 123, + 'array[1].def': 123, + timestamp: 1580602989, + eventType: 'rudder-testing', + userId: 'identified user id', + anonymousId: 'anon-id-new', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'new_relic', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'test', + type: 'track', + anonymousId: 'anon-id-new', + context: { + traits: { + trait1: 'new-val', + }, + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + properties: { + abc: '123', + key: { + abc: 123, + }, + array: [ + { + abc: 123, + }, + { + def: 123, + }, + ], + }, + timestamp: '2020-02-02T00:23:09.544Z', + sentAt: '2020-02-02T00:23:09.544Z', + originalTimestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: '12345', + insertKey: '11111122702j2a2U2K2C7H', + customEventType: '', + sendDeviceContext: true, + sendUserIdanonymousId: true, + dataCenter: 'us', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://insights-collector.newrelic.com/v1/accounts/12345/events', + headers: { + 'Api-Key': '11111122702j2a2U2K2C7H', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event: 'test', + abc: '123', + 'key.abc': 123, + 'array[0].abc': 123, + 'array[1].def': 123, + timestamp: 1580602989, + eventType: 'rudderstack', + anonymousId: 'anon-id-new', + 'traits.trait1': 'new-val', + ip: '14.5.67.21', + 'library.name': 'http', + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'new_relic', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + event: 'first', + userId: 'identified user id', + type: 'identify', + anonymousId: 'anon-id-new', + context: { + traits: { + trait1: 'new-val', + }, + ip: '14.5.67.21', + library: { + name: 'http', + }, + }, + traits: { + abc: '123', + key: { + abc: 123, + }, + array: [ + { + abc: 123, + }, + { + def: 123, + }, + ], + }, + timestamp: '2020-02-02T00:23:09.544Z', + sentAt: '2020-02-02T00:23:09.544Z', + originalTimestamp: '2020-02-02T00:23:09.544Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: '12345', + insertKey: '11111122702j2a2U2K2C7H', + customEventType: '', + sendDeviceContext: true, + sendUserIdanonymousId: true, + dataCenter: 'us', + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + statusCode: 400, + error: + 'message type identify is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type identify is not supported', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + implementation: 'cdkV2', + destType: 'NEW_RELIC', + module: 'destination', + feature: 'processor', + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/optimizely_fullstack/processor/data.ts b/test/integrations/destinations/optimizely_fullstack/processor/data.ts index 09749178ee..52fbdfe5fe 100644 --- a/test/integrations/destinations/optimizely_fullstack/processor/data.ts +++ b/test/integrations/destinations/optimizely_fullstack/processor/data.ts @@ -55,7 +55,8 @@ export const data = [ 'Data File Url is not present. Aborting: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Data File Url is not present. Aborting', statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -121,7 +122,8 @@ export const data = [ 'Variation ID is not present in the integrations object: Workflow: procWorkflow, Step: validateInputForIdentify, ChildStep: undefined, OriginalError: Variation ID is not present in the integrations object', statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -186,7 +188,8 @@ export const data = [ 'Account ID is not present. Aborting: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Account ID is not present. Aborting', statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -251,7 +254,8 @@ export const data = [ 'Campaign ID is not present. Aborting: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Campaign ID is not present. Aborting', statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -316,7 +320,8 @@ export const data = [ 'Experiment ID is not present. Aborting: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: Experiment ID is not present. Aborting', statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -388,7 +393,8 @@ export const data = [ "Both 'Track Categorized Pages' and 'Track Named Pages' toggles are disabled in webapp. Please enable at one of them to send page/screen events to Optimizely.: Workflow: procWorkflow, Step: validateInputForPageAndScreen, ChildStep: undefined, OriginalError: Both 'Track Categorized Pages' and 'Track Named Pages' toggles are disabled in webapp. Please enable at one of them to send page/screen events to Optimizely.", statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -467,7 +473,8 @@ export const data = [ "UserId is required for event tracking when the 'Track Known Users' setting is enabled. Please include a 'userId' in your event payload: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: UserId is required for event tracking when the 'Track Known Users' setting is enabled. Please include a 'userId' in your event payload", statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -530,7 +537,8 @@ export const data = [ 'Event is not present. Aborting.: Workflow: procWorkflow, Step: validateInputForTrack, ChildStep: undefined, OriginalError: Event is not present. Aborting.', statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -591,15 +599,16 @@ export const data = [ body: [ { error: - '{"message":"Data File Lookup Failed due to {\\"code\\":\\"document_not_found\\",\\"message\\":\\"document_not_found\\"}: Workflow: procWorkflow, Step: dataFile, ChildStep: undefined, OriginalError: Data File Lookup Failed due to {\\"code\\":\\"document_not_found\\",\\"message\\":\\"document_not_found\\"}","destinationResponse":{"code":"document_not_found","message":"document_not_found"}}', + '{"message":"{\\"message\\":\\"Data File Lookup Failed due to {\\\\\\"code\\\\\\":\\\\\\"document_not_found\\\\\\",\\\\\\"message\\\\\\":\\\\\\"document_not_found\\\\\\"}: Workflow: procWorkflow, Step: dataFile, ChildStep: undefined, OriginalError: Data File Lookup Failed due to {\\\\\\"code\\\\\\":\\\\\\"document_not_found\\\\\\",\\\\\\"message\\\\\\":\\\\\\"document_not_found\\\\\\"}\\",\\"destinationResponse\\":{\\"code\\":\\"document_not_found\\",\\"message\\":\\"document_not_found\\"}}","destinationResponse":{"code":"document_not_found","message":"document_not_found"}}', statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'network', + errorType: 'aborted', feature: 'processor', implementation: 'cdkV2', module: 'destination', }, - statusCode: 400, + statusCode: 404, metadata: { jobId: 10, }, @@ -670,7 +679,8 @@ export const data = [ "Event 'product_added' is not present in data file. Make sure event exists in Optimizely.: Workflow: procWorkflow, Step: prepareTrackPayload, ChildStep: optimizelyEvent, OriginalError: Event 'product_added' is not present in data file. Make sure event exists in Optimizely.", statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -1162,7 +1172,8 @@ export const data = [ metadata: { jobId: 15 }, statTags: { destType: 'OPTIMIZELY_FULLSTACK', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', diff --git a/test/integrations/destinations/ortto/processor/data.ts b/test/integrations/destinations/ortto/processor/data.ts index 9c3d00b874..e7c71c7355 100644 --- a/test/integrations/destinations/ortto/processor/data.ts +++ b/test/integrations/destinations/ortto/processor/data.ts @@ -347,7 +347,8 @@ export const data = [ { statTags: { destType: 'ORTTO', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -505,7 +506,8 @@ export const data = [ { statTags: { destType: 'ORTTO', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -667,7 +669,8 @@ export const data = [ { statTags: { destType: 'ORTTO', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -829,7 +832,8 @@ export const data = [ { statTags: { destType: 'ORTTO', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -1216,7 +1220,8 @@ export const data = [ { statTags: { destType: 'ORTTO', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', diff --git a/test/integrations/destinations/pinterest_tag/processor/data.ts b/test/integrations/destinations/pinterest_tag/processor/data.ts index 2887ee8cb9..17ab83b2e9 100644 --- a/test/integrations/destinations/pinterest_tag/processor/data.ts +++ b/test/integrations/destinations/pinterest_tag/processor/data.ts @@ -564,7 +564,8 @@ export const data = [ metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq' }, statTags: { destType: 'PINTEREST_TAG', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -681,7 +682,8 @@ export const data = [ 'It is required at least one of em, hashed_maids or pair of client_ip_address and client_user_agent: Workflow: procWorkflow, Step: validateUserFields, ChildStep: undefined, OriginalError: It is required at least one of em, hashed_maids or pair of client_ip_address and client_user_agent', statTags: { destType: 'PINTEREST_TAG', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -960,7 +962,8 @@ export const data = [ metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq' }, statTags: { destType: 'PINTEREST_TAG', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -1079,7 +1082,8 @@ export const data = [ metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq' }, statTags: { destType: 'PINTEREST_TAG', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -1199,7 +1203,8 @@ export const data = [ 'Action source must be one of app_android, app_ios, web, offline: Workflow: procWorkflow, Step: validateCommonFields, ChildStep: undefined, OriginalError: Action source must be one of app_android, app_ios, web, offline', statTags: { destType: 'PINTEREST_TAG', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -3236,7 +3241,8 @@ export const data = [ metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq' }, statTags: { destType: 'PINTEREST_TAG', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -3323,7 +3329,8 @@ export const data = [ metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq' }, statTags: { destType: 'PINTEREST_TAG', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'configuration', feature: 'processor', implementation: 'cdkV2', module: 'destination', @@ -3550,7 +3557,8 @@ export const data = [ metadata: { destintionId: '1pYpzzvcn7AQ2W9GGIAZSsN6Mfq' }, statTags: { destType: 'PINTEREST_TAG', - errorCategory: 'platform', + errorCategory: 'dataValidation', + errorType: 'instrumentation', feature: 'processor', implementation: 'cdkV2', module: 'destination', diff --git a/test/integrations/destinations/userlist/processor/data.ts b/test/integrations/destinations/userlist/processor/data.ts new file mode 100644 index 0000000000..f07006b186 --- /dev/null +++ b/test/integrations/destinations/userlist/processor/data.ts @@ -0,0 +1,894 @@ +export const data = [ + { + name: 'userlist', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + pushKey: 'userlist-push-key', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + userId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + userId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://incoming.userlist.com/rudderstack/events', + headers: { + Authorization: 'Push userlist-push-key', + 'Content-Type': 'application/json', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'userlist', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + pushKey: 'userlist-push-key', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.5', + }, + traits: { + name: 'Shehan Study', + category: 'SampleIdentify', + email: 'test@rudderstack.com', + plan: 'Open source', + logins: 5, + createdAt: 1599264000, + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.5', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 0.8999999761581421, + }, + campaign: { + source: 'google', + medium: 'medium', + term: 'keyword', + content: 'some content', + name: 'some campaign', + test: 'other value', + }, + page: { + path: '/html/sajal.html', + referrer: '', + search: + '?utm_source=google&utm_medium=medium&utm_term=keyword&utm_content=some%20content&utm_campaign=some%20campaign&utm_test=other%20value', + title: '', + url: 'http://localhost:9116/html/sajal.html?utm_source=google&utm_medium=medium&utm_term=keyword&utm_content=some%20content&utm_campaign=some%20campaign&utm_test=other%20value', + }, + }, + type: 'group', + messageId: 'e5034df0-a404-47b4-a463-76df99934fea', + originalTimestamp: '2020-10-20T07:54:58.983Z', + anonymousId: 'my-anonymous-id-new', + userId: 'sampleusrRudder3', + integrations: { + All: true, + }, + groupId: 'Sample_groupId23', + traits: { + KEY_3: { + CHILD_KEY_92: 'value_95', + CHILD_KEY_102: 'value_103', + }, + KEY_2: { + CHILD_KEY_92: 'value_95', + CHILD_KEY_102: 'value_103', + }, + name_trait: 'Company', + value_trait: ['Comapny-ABC'], + }, + sentAt: '2020-10-20T07:54:58.983Z', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.1.5', + }, + traits: { + name: 'Shehan Study', + category: 'SampleIdentify', + email: 'test@rudderstack.com', + plan: 'Open source', + logins: 5, + createdAt: 1599264000, + }, + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.1.5', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36', + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 0.8999999761581421, + }, + campaign: { + source: 'google', + medium: 'medium', + term: 'keyword', + content: 'some content', + name: 'some campaign', + test: 'other value', + }, + page: { + path: '/html/sajal.html', + referrer: '', + search: + '?utm_source=google&utm_medium=medium&utm_term=keyword&utm_content=some%20content&utm_campaign=some%20campaign&utm_test=other%20value', + title: '', + url: 'http://localhost:9116/html/sajal.html?utm_source=google&utm_medium=medium&utm_term=keyword&utm_content=some%20content&utm_campaign=some%20campaign&utm_test=other%20value', + }, + }, + type: 'group', + messageId: 'e5034df0-a404-47b4-a463-76df99934fea', + originalTimestamp: '2020-10-20T07:54:58.983Z', + anonymousId: 'my-anonymous-id-new', + userId: 'sampleusrRudder3', + integrations: { + All: true, + }, + groupId: 'Sample_groupId23', + traits: { + KEY_3: { + CHILD_KEY_92: 'value_95', + CHILD_KEY_102: 'value_103', + }, + KEY_2: { + CHILD_KEY_92: 'value_95', + CHILD_KEY_102: 'value_103', + }, + name_trait: 'Company', + value_trait: ['Comapny-ABC'], + }, + sentAt: '2020-10-20T07:54:58.983Z', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://incoming.userlist.com/rudderstack/events', + headers: { + Authorization: 'Push userlist-push-key', + 'Content-Type': 'application/json', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'userlist', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + pushKey: 'userlist-push-key', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'test track event', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + XML: {}, + JSON_ARRAY: {}, + JSON: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + anonymousId: '12345', + }, + 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, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2019-10-14T11:15:18.300Z', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'test track event', + properties: { + user_actual_role: 'system_admin', + user_actual_id: 12345, + user_time_spent: 50000, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + FORM: {}, + }, + files: {}, + endpoint: 'https://incoming.userlist.com/rudderstack/events', + headers: { + Authorization: 'Push userlist-push-key', + 'Content-Type': 'application/json', + }, + version: '1', + params: {}, + type: 'REST', + method: 'POST', + userId: '', + }, + statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'userlist', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + pushKey: 'userlist-push-key', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'userId is required: Workflow: procWorkflow, Step: preparePayload, ChildStep: undefined, OriginalError: userId is required', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'USERLIST', + module: 'destination', + implementation: 'cdkV2', + destinationId: 'destId', + workspaceId: 'wspId', + feature: 'processor', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'userlist', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + pushKey: 'userlist-push-key', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'userId is required: Workflow: procWorkflow, Step: preparePayload, ChildStep: undefined, OriginalError: userId is required', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'USERLIST', + module: 'destination', + implementation: 'cdkV2', + destinationId: 'destId', + workspaceId: 'wspId', + feature: 'processor', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'userlist', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + pushKey: 'userlist-push-key', + }, + }, + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + anonymousId: '123456', + email: 'test@rudderstack.com', + address: { + city: 'kolkata', + country: 'India', + postalCode: 712136, + state: 'WB', + street: '', + }, + ip: '0.0.0.0', + age: 26, + }, + 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: 'page', + messageId: '84e26acc-56a5-4835-8233-591137fca468', + originalTimestamp: '2019-10-14T09:03:17.562Z', + anonymousId: '123456', + integrations: { + All: true, + }, + traits: { + anonymousId: 'anon-id', + email: 'test@gmail.com', + address: { + city: 'NY', + country: 'USA', + postalCode: 712136, + state: 'CA', + street: '', + }, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'message type page is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type page is not supported', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'USERLIST', + module: 'destination', + implementation: 'cdkV2', + destinationId: 'destId', + workspaceId: 'wspId', + feature: 'processor', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/vitally/processor/data.ts b/test/integrations/destinations/vitally/processor/data.ts new file mode 100644 index 0000000000..2c3fdd3297 --- /dev/null +++ b/test/integrations/destinations/vitally/processor/data.ts @@ -0,0 +1,300 @@ +export const data = [ + { + name: 'vitally', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKeyVitally: 'abc123', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + userId: '0220c056-934e-11ed-a1eb-0242ac120002', + event: 'this is a track event', + type: 'track', + properties: { + thing: 'amazing!', + }, + originalTimestamp: '2023-01-13T09:03:17.562Z', + sentAt: '2023-01-13T09:03:17.562Z', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + FORM: {}, + JSON_ARRAY: {}, + XML: {}, + JSON: { + userId: '0220c056-934e-11ed-a1eb-0242ac120002', + event: 'this is a track event', + type: 'track', + properties: { + thing: 'amazing!', + }, + originalTimestamp: '2023-01-13T09:03:17.562Z', + sentAt: '2023-01-13T09:03:17.562Z', + }, + }, + endpoint: 'https://api.vitally.io/rudderstack', + files: {}, + params: {}, + type: 'REST', + version: '1', + method: 'POST', + userId: '', + headers: { + authorization: 'Basic abc123', + 'content-type': 'application/json', + }, + }, + statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'vitally', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKeyVitally: 'abc123', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + userId: '0220c056-934e-11ed-a1eb-0242ac120002', + type: 'identify', + traits: { + name: 'Johnny Appleseed', + }, + originalTimestamp: '2023-01-13T09:03:17.562Z', + sentAt: '2023-01-13T09:03:17.562Z', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + FORM: {}, + JSON_ARRAY: {}, + XML: {}, + JSON: { + userId: '0220c056-934e-11ed-a1eb-0242ac120002', + type: 'identify', + traits: { + name: 'Johnny Appleseed', + }, + originalTimestamp: '2023-01-13T09:03:17.562Z', + sentAt: '2023-01-13T09:03:17.562Z', + }, + }, + endpoint: 'https://api.vitally.io/rudderstack', + files: {}, + params: {}, + type: 'REST', + version: '1', + method: 'POST', + userId: '', + headers: { + authorization: 'Basic abc123', + 'content-type': 'application/json', + }, + }, + statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + { + name: 'vitally', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKeyVitally: 'abc123', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + userId: '0220c056-934e-11ed-a1eb-0242ac120002', + type: 'group', + groupId: '5de17322-934e-11ed-a1eb-0242ac120002', + originalTimestamp: '2023-01-13T09:03:17.562Z', + sentAt: '2023-01-13T09:03:17.562Z', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + FORM: {}, + JSON_ARRAY: {}, + XML: {}, + JSON: { + userId: '0220c056-934e-11ed-a1eb-0242ac120002', + type: 'group', + groupId: '5de17322-934e-11ed-a1eb-0242ac120002', + originalTimestamp: '2023-01-13T09:03:17.562Z', + sentAt: '2023-01-13T09:03:17.562Z', + }, + }, + endpoint: 'https://api.vitally.io/rudderstack', + files: {}, + params: {}, + type: 'REST', + version: '1', + method: 'POST', + userId: '', + headers: { + authorization: 'Basic abc123', + 'content-type': 'application/json', + }, + }, + statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, + + { + name: 'vitally', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + apiKeyVitally: 'abc123', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + message: { + userId: '0220c056-934e-11ed-a1eb-0242ac120002', + type: 'page', + groupId: '5de17322-934e-11ed-a1eb-0242ac120002', + originalTimestamp: '2023-01-13T09:03:17.562Z', + sentAt: '2023-01-13T09:03:17.562Z', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 400, + error: + 'message type page is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type page is not supported', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'VITALLY', + module: 'destination', + implementation: 'cdkV2', + destinationId: 'destId', + workspaceId: 'wspId', + feature: 'processor', + }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/zapier/data.ts b/test/integrations/destinations/zapier/data.ts index 6dbabd26d8..122ffd2d1d 100644 --- a/test/integrations/destinations/zapier/data.ts +++ b/test/integrations/destinations/zapier/data.ts @@ -41,10 +41,14 @@ export const data = [ originalTimestamp: '2020-04-17T14:42:44.724Z', sentAt: '2020-04-17T14:42:44.724Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, }, Config: { @@ -116,6 +120,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -163,10 +171,14 @@ export const data = [ originalTimestamp: '2020-04-17T14:42:44.724Z', sentAt: '2020-04-17T14:42:44.724Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, }, Config: { @@ -247,6 +259,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -294,10 +310,14 @@ export const data = [ originalTimestamp: '2020-04-17T14:42:44.724Z', sentAt: '2020-04-17T14:42:44.724Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, }, Config: { @@ -387,6 +407,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -434,10 +458,14 @@ export const data = [ originalTimestamp: '2020-04-17T14:42:44.724Z', sentAt: '2020-04-17T14:42:44.724Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, }, Config: { @@ -527,6 +555,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, @@ -574,10 +606,14 @@ export const data = [ originalTimestamp: '2020-04-17T14:42:44.724Z', sentAt: '2020-04-17T14:42:44.724Z', }, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, destination: { DestinationDefinition: { Config: { - cdkEnabled: true, + cdkV2Enabled: true, }, }, Config: { @@ -658,6 +694,10 @@ export const data = [ userId: '', }, statusCode: 200, + metadata: { + destinationId: 'destId', + workspaceId: 'wspId', + }, }, ], }, From e82cef88e154d47519f0deeb60f55773f25fd3ad Mon Sep 17 00:00:00 2001 From: Sandeep Digumarty Date: Mon, 13 Nov 2023 12:08:47 +0530 Subject: [PATCH 90/98] feat: add delivery_category as part of contents, remove flattening custom_data in FB conversions (#2812) * feat: add delivery_category as part of contents, remove flattening custom_data in FB conversions * feat: update API version to v18.0 * feat: updated tests --- .../facebook_conversions/config.js | 2 +- .../facebook_conversions/transform.js | 8 +- .../facebook_conversions/utils.js | 8 +- test/__tests__/data/facebook_conversions.json | 260 ++++++++++++++++-- .../facebook_conversions_router_input.json | 4 +- .../facebook_conversions_router_output.json | 8 +- ...rsions.js => facebook_conversions.test.js} | 0 7 files changed, 254 insertions(+), 36 deletions(-) rename test/__tests__/{facebook_conversions.js => facebook_conversions.test.js} (100%) diff --git a/src/v0/destinations/facebook_conversions/config.js b/src/v0/destinations/facebook_conversions/config.js index fc04f13be6..0c1fc12e15 100644 --- a/src/v0/destinations/facebook_conversions/config.js +++ b/src/v0/destinations/facebook_conversions/config.js @@ -1,7 +1,7 @@ const { getMappingConfig } = require('../../util'); const ENDPOINT = (datasetId, accessToken) => - `https://graph.facebook.com/v17.0/${datasetId}/events?access_token=${accessToken}`; + `https://graph.facebook.com/v18.0/${datasetId}/events?access_token=${accessToken}`; const CONFIG_CATEGORIES = { USERDATA: { diff --git a/src/v0/destinations/facebook_conversions/transform.js b/src/v0/destinations/facebook_conversions/transform.js index cf11795605..1bb97b2672 100644 --- a/src/v0/destinations/facebook_conversions/transform.js +++ b/src/v0/destinations/facebook_conversions/transform.js @@ -14,7 +14,6 @@ const { EventType } = require('../../../constants'); const { constructPayload, extractCustomFields, - flattenJson, getIntegrationsObj, getValidDynamicFormConfig, simpleProcessRouterDest, @@ -73,8 +72,11 @@ const responseBuilderSimple = (message, category, destination) => { commonData.action_source = getActionSource(commonData, actionSource); let customData = {}; - customData = flattenJson( - extractCustomFields(message, customData, ['properties'], FB_CONVERSIONS_DEFAULT_EXCLUSION), + customData = extractCustomFields( + message, + customData, + ['properties'], + FB_CONVERSIONS_DEFAULT_EXCLUSION, ); customData = transformedPayloadData( diff --git a/src/v0/destinations/facebook_conversions/utils.js b/src/v0/destinations/facebook_conversions/utils.js index 32fafae3d0..26204ec61a 100644 --- a/src/v0/destinations/facebook_conversions/utils.js +++ b/src/v0/destinations/facebook_conversions/utils.js @@ -44,7 +44,11 @@ const getCategoryFromEvent = (eventName) => { return category; }; -const populateContentsAndContentIDs = (productPropertiesArray, fallbackQuantity) => { +const populateContentsAndContentIDs = ( + productPropertiesArray, + fallbackQuantity, + fallbackDeliveryCategory, +) => { const contentIds = []; const contents = []; if (Array.isArray(productPropertiesArray)) { @@ -57,6 +61,7 @@ const populateContentsAndContentIDs = (productPropertiesArray, fallbackQuantity) id: productId, quantity: productProps.quantity || fallbackQuantity || 1, item_price: productProps.price, + delivery_category: productProps.delivery_category || fallbackDeliveryCategory, }); } } @@ -142,6 +147,7 @@ const populateCustomDataBasedOnCategory = (customData, message, category, catego const { contentIds, contents } = populateContentsAndContentIDs( message.properties?.products, message.properties?.quantity, + message.properties?.delivery_category, ); const contentCategory = eventTypeCustomData.content_category; diff --git a/test/__tests__/data/facebook_conversions.json b/test/__tests__/data/facebook_conversions.json index 62d0a49c0f..cc4d9a1421 100644 --- a/test/__tests__/data/facebook_conversions.json +++ b/test/__tests__/data/facebook_conversions.json @@ -120,7 +120,7 @@ "revenue": 400, "additional_bet_index": 0 }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { @@ -201,7 +201,7 @@ "revenue": 400, "additional_bet_index": 0 }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { @@ -241,7 +241,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", "headers": {}, "params": {}, "body": { @@ -250,7 +250,7 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"spin_result\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"value\":400,\"currency\":\"USD\"}}" + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"spin_result\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"value\":400,\"currency\":\"USD\"}}" ] } }, @@ -298,7 +298,7 @@ "revenue": 400, "additional_bet_index": 0 }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { @@ -338,7 +338,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", "headers": {}, "params": {}, "body": { @@ -347,7 +347,7 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"Search\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"Search\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" ] } }, @@ -395,7 +395,7 @@ "revenue": 400, "additional_bet_index": 0 }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { @@ -435,7 +435,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", "headers": {}, "params": {}, "body": { @@ -444,7 +444,7 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"AddToCart\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"AddToCart\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" ] } }, @@ -492,7 +492,7 @@ "revenue": 400, "additional_bet_index": 0 }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { @@ -532,7 +532,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", "headers": {}, "params": {}, "body": { @@ -541,7 +541,7 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"ViewContent\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"ViewContent\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" ] } }, @@ -596,7 +596,7 @@ } ] }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { @@ -636,7 +636,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", "headers": {}, "params": {}, "body": { @@ -645,7 +645,7 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"ViewContent\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"products[0].product_id\":1234,\"products[0].quantity\":5,\"products[0].price\":55,\"content_ids\":[1234],\"contents\":[{\"id\":1234,\"quantity\":5,\"item_price\":55}],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"ViewContent\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"products\":[{\"product_id\":1234,\"quantity\":5,\"price\":55}],\"content_ids\":[1234],\"contents\":[{\"id\":1234,\"quantity\":5,\"item_price\":55}],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" ] } }, @@ -694,7 +694,7 @@ "additional_bet_index": 0, "category": "randomCategory" }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { @@ -734,7 +734,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", "headers": {}, "params": {}, "body": { @@ -743,7 +743,7 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"ViewContent\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"category\":\"randomCategory\",\"content_ids\":[\"randomCategory\"],\"contents\":[{\"id\":\"randomCategory\",\"quantity\":1}],\"content_type\":\"product_group\",\"content_category\":\"randomCategory\",\"currency\":\"USD\",\"value\":400}}" + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"ViewContent\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"category\":\"randomCategory\",\"content_ids\":[\"randomCategory\"],\"contents\":[{\"id\":\"randomCategory\",\"quantity\":1}],\"content_type\":\"product_group\",\"content_category\":\"randomCategory\",\"currency\":\"USD\",\"value\":400}}" ] } }, @@ -791,7 +791,7 @@ "revenue": 400, "additional_bet_index": 0 }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { @@ -831,7 +831,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", "headers": {}, "params": {}, "body": { @@ -840,7 +840,7 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"AddToWishlist\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"currency\":\"USD\",\"value\":400}}" + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"AddToWishlist\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"currency\":\"USD\",\"value\":400}}" ] } }, @@ -888,7 +888,7 @@ "revenue": 400, "additional_bet_index": 0 }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { @@ -928,7 +928,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", "headers": {}, "params": {}, "body": { @@ -937,7 +937,217 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"AddPaymentInfo\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"currency\":\"USD\",\"value\":400}}" + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"AddPaymentInfo\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"currency\":\"USD\",\"value\":400}}" + ] + } + }, + "files": {} + } + }, + { + "description": "Track event with standard event order completed with delivery_category in products array", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "order completed", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0, + "products": [ + { + "product_id": 1234, + "quantity": 5, + "price": 55, + "delivery_category": "home_delivery" + } + ] + }, + "timestamp": "2023-11-12T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"Purchase\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"products\":[{\"product_id\":1234,\"quantity\":5,\"price\":55,\"delivery_category\":\"home_delivery\"}],\"content_ids\":[1234],\"contents\":[{\"id\":1234,\"quantity\":5,\"item_price\":55,\"delivery_category\":\"home_delivery\"}],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400,\"num_items\":1}}" + ] + } + }, + "files": {} + } + }, + { + "description": "Track event with standard event order completed with delivery_category in properties", + "input": { + "message": { + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", + "channel": "web", + "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" + }, + "screen": { + "height": "100", + "density": 50 + }, + "traits": { + "email": " aBc@gmail.com ", + "address": { + "zip": 1234 + }, + "anonymousId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1" + } + }, + "event": "order completed", + "integrations": { + "All": true + }, + "message_id": "a80f82be-9bdc-4a9f-b2a5-15621ee41df8", + "properties": { + "revenue": 400, + "additional_bet_index": 0, + "delivery_category": "home_delivery", + "products": [ + { + "product_id": 1234, + "quantity": 5, + "price": 55 + } + ] + }, + "timestamp": "2023-11-12T15:46:51.693229+05:30", + "type": "track" + }, + "destination": { + "Config": { + "limitedDataUsage": true, + "blacklistPiiProperties": [ + { + "blacklistPiiProperties": "", + "blacklistPiiHash": false + } + ], + "accessToken": "09876", + "datasetId": "dummyID", + "eventsToEvents": [ + { + "from": "", + "to": "" + } + ], + "eventCustomProperties": [ + { + "eventCustomProperties": "" + } + ], + "removeExternalId": true, + "whitelistPiiProperties": [ + { + "whitelistPiiProperties": "" + } + ], + "actionSource": "website" + }, + "Enabled": true + } + }, + "output": { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", + "headers": {}, + "params": {}, + "body": { + "JSON": {}, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": { + "data": [ + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"Purchase\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"delivery_category\":\"home_delivery\",\"products\":[{\"product_id\":1234,\"quantity\":5,\"price\":55}],\"content_ids\":[1234],\"contents\":[{\"id\":1234,\"quantity\":5,\"item_price\":55,\"delivery_category\":\"home_delivery\"}],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400,\"num_items\":1}}" ] } }, diff --git a/test/__tests__/data/facebook_conversions_router_input.json b/test/__tests__/data/facebook_conversions_router_input.json index 4abe66d3c4..b8865d124e 100644 --- a/test/__tests__/data/facebook_conversions_router_input.json +++ b/test/__tests__/data/facebook_conversions_router_input.json @@ -41,7 +41,7 @@ "revenue": 400, "additional_bet_index": 0 }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { @@ -119,7 +119,7 @@ "revenue": 400, "additional_bet_index": 0 }, - "timestamp": "2023-10-15T15:46:51.693229+05:30", + "timestamp": "2023-11-12T15:46:51.693229+05:30", "type": "track" }, "destination": { diff --git a/test/__tests__/data/facebook_conversions_router_output.json b/test/__tests__/data/facebook_conversions_router_output.json index d376a91027..542c173090 100644 --- a/test/__tests__/data/facebook_conversions_router_output.json +++ b/test/__tests__/data/facebook_conversions_router_output.json @@ -4,7 +4,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", "headers": {}, "params": {}, "body": { @@ -13,7 +13,7 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"spin_result\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"value\":400,\"currency\":\"USD\"}}" + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"spin_result\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"value\":400,\"currency\":\"USD\"}}" ] } }, @@ -64,7 +64,7 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://graph.facebook.com/v17.0/dummyID/events?access_token=09876", + "endpoint": "https://graph.facebook.com/v18.0/dummyID/events?access_token=09876", "headers": {}, "params": {}, "body": { @@ -73,7 +73,7 @@ "JSON_ARRAY": {}, "FORM": { "data": [ - "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"Search\",\"event_time\":1697365011,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" + "{\"user_data\":{\"em\":\"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08\",\"zp\":\"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4\"},\"event_name\":\"Search\",\"event_time\":1699784211,\"action_source\":\"website\",\"custom_data\":{\"revenue\":400,\"additional_bet_index\":0,\"content_ids\":[],\"contents\":[],\"content_type\":\"product\",\"currency\":\"USD\",\"value\":400}}" ] } }, diff --git a/test/__tests__/facebook_conversions.js b/test/__tests__/facebook_conversions.test.js similarity index 100% rename from test/__tests__/facebook_conversions.js rename to test/__tests__/facebook_conversions.test.js From 916ea4c8d08f69b68b7795dd513a25a3cded55fa Mon Sep 17 00:00:00 2001 From: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Date: Mon, 13 Nov 2023 12:54:49 +0530 Subject: [PATCH 91/98] feat: adding support for future oauth facility in salesforce (#2746) * feat: oauth in salesforce * fix: backward compatibility initial * fix: editing error class and proxy test case * fix: access token call for legacy auth * Update src/v0/destinations/salesforce/utils.js Co-authored-by: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> * feat: added missing authorization logic for axios calls * fix: adding new dest salesforce oauth * fix: review comment addressed * feat: review comments addressed * feat: small edit * fix: review comments addressed * Update src/v0/destinations/salesforce/transform.js Co-authored-by: Sankeerth * fix: review comments addressed * fix: review comments addressed --------- Co-authored-by: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> Co-authored-by: Sankeerth --- src/constants/destinationCanonicalNames.js | 1 + src/features.json | 1 + src/v0/destinations/salesforce/config.js | 4 + src/v0/destinations/salesforce/transform.js | 74 +++++++--- src/v0/destinations/salesforce/utils.js | 54 +++++++- .../salesforce/dataDelivery/data.ts | 3 +- .../destinations/salesforce/processor/data.ts | 128 ++++++++++++++++++ 7 files changed, 236 insertions(+), 29 deletions(-) diff --git a/src/constants/destinationCanonicalNames.js b/src/constants/destinationCanonicalNames.js index 870c534db0..d1e199c9e2 100644 --- a/src/constants/destinationCanonicalNames.js +++ b/src/constants/destinationCanonicalNames.js @@ -1,5 +1,6 @@ const DestHandlerMap = { ga360: 'ga', + salesforce_oauth: 'salesforce', }; const DestCanonicalNames = { diff --git a/src/features.json b/src/features.json index d3ea3e98a6..27da6cfaf2 100644 --- a/src/features.json +++ b/src/features.json @@ -25,6 +25,7 @@ "PINTEREST_TAG": true, "PROFITWELL": true, "SALESFORCE": true, + "SALESFORCE_OAUTH": true, "SFMC": true, "SNAPCHAT_CONVERSION": true, "TIKTOK_ADS": true, diff --git a/src/v0/destinations/salesforce/config.js b/src/v0/destinations/salesforce/config.js index 6c0ccde80f..1425bad51b 100644 --- a/src/v0/destinations/salesforce/config.js +++ b/src/v0/destinations/salesforce/config.js @@ -24,6 +24,8 @@ const SF_TOKEN_REQUEST_URL = 'https://login.salesforce.com/services/oauth2/token const SF_TOKEN_REQUEST_URL_SANDBOX = 'https://test.salesforce.com/services/oauth2/token'; const DESTINATION = 'Salesforce'; +const OAUTH = 'oauth'; +const LEGACY = 'legacy'; const mappingConfig = getMappingConfig(ConfigCategory, __dirname); @@ -37,4 +39,6 @@ module.exports = { ignoredContactTraits: mappingConfig[ConfigCategory.IGNORE_CONTACT.name], ACCESS_TOKEN_CACHE_TTL, DESTINATION, + OAUTH, + LEGACY, }; diff --git a/src/v0/destinations/salesforce/transform.js b/src/v0/destinations/salesforce/transform.js index ab06a16d07..5ada9dfaa0 100644 --- a/src/v0/destinations/salesforce/transform.js +++ b/src/v0/destinations/salesforce/transform.js @@ -26,8 +26,9 @@ const { checkInvalidRtTfEvents, handleRtTfSingleEventError, generateErrorObject, + isHttpStatusSuccess, } = require('../../util'); -const { getAccessToken, salesforceResponseHandler } = require('./utils'); +const { salesforceResponseHandler, collectAuthorizationInfo, getAuthHeader } = require('./utils'); const { handleHttpRequest } = require('../../../adapters/network'); const { JSON_MIME_TYPE } = require('../../util/constant'); @@ -41,6 +42,7 @@ function responseBuilderSimple( authorizationData, mapProperty, mappedToDestination, + authorizationFlow, ) { const { salesforceType, salesforceId } = salesforceMap; @@ -87,12 +89,12 @@ function responseBuilderSimple( } const response = defaultRequestConfig(); - const header = { + + response.method = defaultPostRequestConfig.requestMethod; + response.headers = { 'Content-Type': JSON_MIME_TYPE, - Authorization: authorizationData.token, + ...getAuthHeader({ authorizationFlow, authorizationData }), }; - response.method = defaultPostRequestConfig.requestMethod; - response.headers = header; response.body.JSON = removeUndefinedValues(rawPayload); response.endpoint = targetEndpoint; @@ -106,24 +108,26 @@ async function getSaleforceIdForRecord( identifierType, identifierValue, destination, + authorizationFlow, ) { const objSearchUrl = `${authorizationData.instanceUrl}/services/data/v${SF_API_VERSION}/parameterizedSearch/?q=${identifierValue}&sobject=${objectType}&in=${identifierType}&${objectType}.fields=id,${identifierType}`; const { processedResponse: processedsfSearchResponse } = await handleHttpRequest( 'get', objSearchUrl, { - headers: { Authorization: authorizationData.token }, + headers: getAuthHeader({ authorizationFlow, authorizationData }), }, { destType: 'salesforce', feature: 'transformation', }, ); - if (processedsfSearchResponse.status !== 200) { + if (!isHttpStatusSuccess(processedsfSearchResponse.status)) { salesforceResponseHandler( processedsfSearchResponse, `:- SALESFORCE SEARCH BY ID`, destination.ID, + authorizationFlow, ); } const searchRecord = processedsfSearchResponse.response?.searchRecords?.find( @@ -149,7 +153,12 @@ async function getSaleforceIdForRecord( // We'll use the Salesforce Object names by removing "Salesforce-" string from the type field // // Default Object type will be "Lead" for backward compatibility -async function getSalesforceIdFromPayload(message, authorizationData, destination) { +async function getSalesforceIdFromPayload( + message, + authorizationData, + destination, + authorizationFlow, +) { // define default map const salesforceMaps = []; @@ -191,6 +200,7 @@ async function getSalesforceIdFromPayload(message, authorizationData, destinatio identifierType, id, destination, + authorizationFlow, ); } @@ -212,12 +222,13 @@ async function getSalesforceIdFromPayload(message, authorizationData, destinatio throw new InstrumentationError('Invalid Email address for Lead Objet'); } const leadQueryUrl = `${authorizationData.instanceUrl}/services/data/v${SF_API_VERSION}/parameterizedSearch/?q=${email}&sobject=Lead&Lead.fields=id,IsConverted,ConvertedContactId,IsDeleted`; + // request configuration will be conditional const { processedResponse: processedLeadQueryResponse } = await handleHttpRequest( 'get', leadQueryUrl, { - headers: { Authorization: authorizationData.token }, + headers: getAuthHeader({ authorizationFlow, authorizationData }), }, { destType: 'salesforce', @@ -225,8 +236,13 @@ async function getSalesforceIdFromPayload(message, authorizationData, destinatio }, ); - if (processedLeadQueryResponse.status !== 200) { - salesforceResponseHandler(processedLeadQueryResponse, `:- during Lead Query`, destination.ID); + if (!isHttpStatusSuccess(processedLeadQueryResponse.status)) { + salesforceResponseHandler( + processedLeadQueryResponse, + `:- during Lead Query`, + destination.ID, + authorizationFlow, + ); } if (processedLeadQueryResponse.response.searchRecords.length > 0) { @@ -262,7 +278,7 @@ async function getSalesforceIdFromPayload(message, authorizationData, destinatio } // Function for handling identify events -async function processIdentify(message, authorizationData, destination) { +async function processIdentify(message, authorizationData, destination, authorizationFlow) { const mapProperty = destination.Config.mapProperty === undefined ? true : destination.Config.mapProperty; // check the traits before hand @@ -283,7 +299,12 @@ async function processIdentify(message, authorizationData, destination) { const responseData = []; // get salesforce object map - const salesforceMaps = await getSalesforceIdFromPayload(message, authorizationData, destination); + const salesforceMaps = await getSalesforceIdFromPayload( + message, + authorizationData, + destination, + authorizationFlow, + ); // iterate over the object types found salesforceMaps.forEach((salesforceMap) => { @@ -295,6 +316,7 @@ async function processIdentify(message, authorizationData, destination) { authorizationData, mapProperty, mappedToDestination, + authorizationFlow, ), ); }); @@ -304,10 +326,10 @@ async function processIdentify(message, authorizationData, destination) { // Generic process function which invokes specific handler functions depending on message type // and event type where applicable -async function processSingleMessage(message, authorizationData, destination) { +async function processSingleMessage(message, authorizationData, destination, authorizationFlow) { let response; if (message.type === EventType.IDENTIFY) { - response = await processIdentify(message, authorizationData, destination); + response = await processIdentify(message, authorizationData, destination, authorizationFlow); } else { throw new InstrumentationError(`message type ${message.type} is not supported`); } @@ -315,9 +337,13 @@ async function processSingleMessage(message, authorizationData, destination) { } async function process(event) { - // Get the authorization header if not available - const authorizationData = await getAccessToken(event.destination); - const response = await processSingleMessage(event.message, authorizationData, event.destination); + const authInfo = await collectAuthorizationInfo(event); + const response = await processSingleMessage( + event.message, + authInfo.authorizationData, + event.destination, + authInfo.authorizationFlow, + ); return response; } @@ -326,10 +352,9 @@ const processRouterDest = async (inputs, reqMetadata) => { if (errorRespEvents.length > 0) { return errorRespEvents; } - - let authorizationData; + let authInfo; try { - authorizationData = await getAccessToken(inputs[0].destination); + authInfo = await collectAuthorizationInfo(inputs[0]); } catch (error) { const errObj = generateErrorObject(error); const respEvents = getErrorRespEvents( @@ -351,7 +376,12 @@ const processRouterDest = async (inputs, reqMetadata) => { // unprocessed payload return getSuccessRespEvents( - await processSingleMessage(input.message, authorizationData, input.destination), + await processSingleMessage( + input.message, + authInfo.authorizationData, + input.destination, + authInfo.authorizationFlow, + ), [input.metadata], input.destination, ); diff --git a/src/v0/destinations/salesforce/utils.js b/src/v0/destinations/salesforce/utils.js index 9429e12e8d..c725ec3b20 100644 --- a/src/v0/destinations/salesforce/utils.js +++ b/src/v0/destinations/salesforce/utils.js @@ -1,12 +1,18 @@ const { RetryableError, ThrottledError, AbortedError } = require('@rudderstack/integrations-lib'); const { handleHttpRequest } = require('../../../adapters/network'); -const { isHttpStatusSuccess } = require('../../util'); +const { + isHttpStatusSuccess, + getAuthErrCategoryFromStCode, + isDefinedAndNotNull, +} = require('../../util'); const Cache = require('../../util/cache'); const { ACCESS_TOKEN_CACHE_TTL, SF_TOKEN_REQUEST_URL_SANDBOX, SF_TOKEN_REQUEST_URL, DESTINATION, + LEGACY, + OAUTH, } = require('./config'); const ACCESS_TOKEN_CACHE = new Cache(ACCESS_TOKEN_CACHE_TTL); @@ -19,7 +25,7 @@ const ACCESS_TOKEN_CACHE = new Cache(ACCESS_TOKEN_CACHE_TTL); * @param {*} stage * @param {String} authKey */ -const salesforceResponseHandler = (destResponse, sourceMessage, authKey) => { +const salesforceResponseHandler = (destResponse, sourceMessage, authKey, authorizationFlow) => { const { status, response } = destResponse; // if the response from destination is not a success case build an explicit error @@ -27,13 +33,16 @@ const salesforceResponseHandler = (destResponse, sourceMessage, authKey) => { const matchErrorCode = (errorCode) => response && Array.isArray(response) && response.some((resp) => resp?.errorCode === errorCode); if (status === 401 && authKey && matchErrorCode('INVALID_SESSION_ID')) { - // checking for invalid/expired token errors and evicting cache in that case - // rudderJobMetadata contains some destination info which is being used to evict the cache - ACCESS_TOKEN_CACHE.del(authKey); + if (authorizationFlow === LEGACY) { + // checking for invalid/expired token errors and evicting cache in that case + // rudderJobMetadata contains some destination info which is being used to evict the cache + ACCESS_TOKEN_CACHE.del(authKey); + } throw new RetryableError( `${DESTINATION} Request Failed - due to "INVALID_SESSION_ID", (Retryable) ${sourceMessage}`, 500, destResponse, + authorizationFlow === LEGACY ? '' : getAuthErrCategoryFromStCode(status), ); } else if (status === 403 && matchErrorCode('REQUEST_LIMIT_EXCEEDED')) { // If the error code is REQUEST_LIMIT_EXCEEDED, you’ve exceeded API request limits in your org. @@ -89,6 +98,11 @@ const salesforceResponseHandler = (destResponse, sourceMessage, authKey) => { * @param {*} destination * @returns */ +const getAccessTokenOauth = (metadata) => ({ + token: metadata.secret?.access_token, + instanceUrl: metadata.secret?.instance_url, +}); + const getAccessToken = async (destination) => { const accessTokenKey = destination.ID; @@ -122,6 +136,7 @@ const getAccessToken = async (destination) => { processedResponse, `:- authentication failed during fetching access token.`, accessTokenKey, + LEGACY, ); } const token = httpResponse.response.data; @@ -131,6 +146,7 @@ const getAccessToken = async (destination) => { processedResponse, `:- authentication failed could not retrieve authorization token.`, accessTokenKey, + LEGACY, ); } return { @@ -140,4 +156,30 @@ const getAccessToken = async (destination) => { }); }; -module.exports = { getAccessToken, salesforceResponseHandler }; +const collectAuthorizationInfo = async (event) => { + let authorizationFlow; + let authorizationData; + if (isDefinedAndNotNull(event.metadata?.secret)) { + authorizationFlow = OAUTH; + authorizationData = getAccessTokenOauth(event.metadata); + } else { + authorizationFlow = LEGACY; + authorizationData = await getAccessToken(event.destination); + } + return { authorizationFlow, authorizationData }; +}; + +const getAuthHeader = (authInfo) => { + const { authorizationFlow, authorizationData } = authInfo; + return authorizationFlow === OAUTH + ? { Authorization: `Bearer ${authorizationData.token}` } + : { Authorization: authorizationData.token }; +}; + +module.exports = { + getAccessTokenOauth, + salesforceResponseHandler, + getAccessToken, + collectAuthorizationInfo, + getAuthHeader, +}; diff --git a/test/integrations/destinations/salesforce/dataDelivery/data.ts b/test/integrations/destinations/salesforce/dataDelivery/data.ts index 504159cc6f..c53ce58f9e 100644 --- a/test/integrations/destinations/salesforce/dataDelivery/data.ts +++ b/test/integrations/destinations/salesforce/dataDelivery/data.ts @@ -119,6 +119,7 @@ export const data = [ body: { output: { status: 500, + authErrorCategory: 'REFRESH_TOKEN', message: 'Salesforce Request Failed - due to "INVALID_SESSION_ID", (Retryable) during Salesforce Response Handling', destinationResponse: { @@ -128,12 +129,12 @@ export const data = [ errorCode: 'INVALID_SESSION_ID', }, ], - status: 401, rudderJobMetadata: { destInfo: { authKey: '2HezPl1w11opbFSxnLDEgZ7kWTf', }, }, + status: 401, }, statTags: { destType: 'SALESFORCE', diff --git a/test/integrations/destinations/salesforce/processor/data.ts b/test/integrations/destinations/salesforce/processor/data.ts index ad0dbb6843..4ccc8cca79 100644 --- a/test/integrations/destinations/salesforce/processor/data.ts +++ b/test/integrations/destinations/salesforce/processor/data.ts @@ -1381,4 +1381,132 @@ export const data = [ }, }, }, + { + name: 'salesforce', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + initialAccessToken: '7fiy1FKcO9sohsxq1v6J88sg', + password: 'dummyPassword2', + userName: 'test.c97-qvpd@force.com.test', + sandbox: true, + }, + DestinationDefinition: { + DisplayName: 'Salesforce', + ID: '1T96GHZ0YZ1qQSLULHCoJkow9KC', + Name: 'SALESFORCE', + }, + Enabled: true, + ID: '1ut7LcVW1QC56y2EoTNo7ZwBWSY', + Name: 'Test SF', + Transformations: [], + }, + metadata: { + secret: { + access_token: 'dummyAccessToken', + instance_url: 'http://dummyurl.com', + }, + }, + message: { + anonymousId: '1e7673da-9473-49c6-97f7-da848ecafa76', + channel: 'web', + context: { + mappedToDestination: true, + externalId: [ + { + id: 'a005g0000383kmUAAQ', + type: 'SALESFORCE-custom_object__c', + identifierType: 'Id', + }, + ], + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + ip: '0.0.0.0', + library: { + name: 'RudderLabs JavaScript SDK', + version: '1.0.0', + }, + locale: 'en-US', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + traits: { + email: 'john@rs.com', + firstname: 'john doe', + Id: 'some-id', + }, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36', + }, + integrations: { + All: true, + }, + messageId: 'f19c35da-e9de-4c6e-b6e5-9e60cccc12c8', + originalTimestamp: '2020-01-27T12:20:55.301Z', + receivedAt: '2020-01-27T17:50:58.657+05:30', + request_ip: '14.98.244.60', + sentAt: '2020-01-27T12:20:56.849Z', + timestamp: '2020-01-27T17:50:57.109+05:30', + type: 'identify', + userId: '1e7673da-9473-49c6-97f7-da848ecafa76', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + metadata: { + secret: { + access_token: 'dummyAccessToken', + instance_url: 'http://dummyurl.com', + }, + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'http://dummyurl.com/services/data/v50.0/sobjects/custom_object__c/a005g0000383kmUAAQ?_HttpMethod=PATCH', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer dummyAccessToken', + }, + params: {}, + body: { + JSON: { + email: 'john@rs.com', + firstname: 'john doe', + }, + XML: {}, + JSON_ARRAY: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + }, + ], + }, + }, + }, ]; From ee1f4733e82291375d85a6de8b8626ffdc8907b1 Mon Sep 17 00:00:00 2001 From: Sandeep Digumarty Date: Mon, 13 Nov 2023 13:04:34 +0530 Subject: [PATCH 92/98] feat: add delivery_category as part of contents, update flattening custom_data in FB Pixel (#2816) * feat: remove contents and content_ids from flattening before setting in custom_data * feat: add delivery_category as part of contents * feat: update API version to v18.0 * chore: updated tests * feat: revert v18 version update * feat: added tests * feat: added tests --- src/v0/destinations/facebook_pixel/config.js | 2 + .../destinations/facebook_pixel/transform.js | 13 +- src/v0/destinations/facebook_pixel/utils.js | 22 +- .../facebook_pixel/processor/data.ts | 401 ++++++++++++++++++ 4 files changed, 435 insertions(+), 3 deletions(-) diff --git a/src/v0/destinations/facebook_pixel/config.js b/src/v0/destinations/facebook_pixel/config.js index 99c3c70b2d..f5f895aea9 100644 --- a/src/v0/destinations/facebook_pixel/config.js +++ b/src/v0/destinations/facebook_pixel/config.js @@ -95,6 +95,7 @@ const OTHER_STANDARD_EVENTS = [ ]; const FB_PIXEL_DEFAULT_EXCLUSION = ['opt_out', 'event_id', 'action_source']; +const FB_PIXEL_CUSTOM_DATA_EXCLUDE_FLATTENING = ['content_ids', 'contents']; const STANDARD_ECOMM_EVENTS_TYPE = [ CONFIG_CATEGORIES.PRODUCT_LIST_VIEWED.type, CONFIG_CATEGORIES.PRODUCT_VIEWED.type, @@ -109,6 +110,7 @@ module.exports = { MAPPING_CONFIG, ACTION_SOURCES_VALUES, FB_PIXEL_DEFAULT_EXCLUSION, + FB_PIXEL_CUSTOM_DATA_EXCLUDE_FLATTENING, STANDARD_ECOMM_EVENTS_TYPE, OTHER_STANDARD_EVENTS, DESTINATION: 'FACEBOOK_PIXEL', diff --git a/src/v0/destinations/facebook_pixel/transform.js b/src/v0/destinations/facebook_pixel/transform.js index 7c55b61302..1bc97ac1fb 100644 --- a/src/v0/destinations/facebook_pixel/transform.js +++ b/src/v0/destinations/facebook_pixel/transform.js @@ -7,6 +7,7 @@ const { CONFIG_CATEGORIES, MAPPING_CONFIG, FB_PIXEL_DEFAULT_EXCLUSION, + FB_PIXEL_CUSTOM_DATA_EXCLUDE_FLATTENING, STANDARD_ECOMM_EVENTS_TYPE, } = require('./config'); const { EventType } = require('../../../constants'); @@ -84,7 +85,12 @@ const responseBuilderSimple = (message, category, destination) => { if (category.type !== 'identify') { customData = flattenJson( - extractCustomFields(message, customData, ['properties'], FB_PIXEL_DEFAULT_EXCLUSION), + extractCustomFields( + message, + customData, + ['properties'], + [...FB_PIXEL_DEFAULT_EXCLUSION, ...FB_PIXEL_CUSTOM_DATA_EXCLUDE_FLATTENING], + ), ); if (standardPageCall && category.type === 'page') { category.standard = true; @@ -124,6 +130,11 @@ const responseBuilderSimple = (message, category, destination) => { if (type === 'simple track') { customData.value = message.properties?.revenue; delete customData.revenue; + FB_PIXEL_CUSTOM_DATA_EXCLUDE_FLATTENING.forEach((customDataParameter) => { + if (message.properties?.[customDataParameter]) { + customData[customDataParameter] = message.properties[customDataParameter]; + } + }); } } } else { diff --git a/src/v0/destinations/facebook_pixel/utils.js b/src/v0/destinations/facebook_pixel/utils.js index 1901edf306..8a63a0b0fe 100644 --- a/src/v0/destinations/facebook_pixel/utils.js +++ b/src/v0/destinations/facebook_pixel/utils.js @@ -1,6 +1,11 @@ const { InstrumentationError } = require('@rudderstack/integrations-lib'); const { isObject } = require('../../util'); -const { ACTION_SOURCES_VALUES, CONFIG_CATEGORIES, OTHER_STANDARD_EVENTS } = require('./config'); +const { + ACTION_SOURCES_VALUES, + CONFIG_CATEGORIES, + OTHER_STANDARD_EVENTS, + FB_PIXEL_CUSTOM_DATA_EXCLUDE_FLATTENING, +} = require('./config'); const { getContentType, getContentCategory } = require('../../util/facebookUtils'); /** format revenue according to fb standards with max two decimal places. @@ -54,7 +59,14 @@ const handleOrder = (message, categoryToContent) => { const contentType = getContentType(message, 'product', categoryToContent); const contentIds = []; const contents = []; - const { category, quantity, price, currency, contentName } = message.properties; + const { + category, + quantity, + price, + currency, + contentName, + delivery_category: deliveryCategory, + } = message.properties; if (products) { if (products.length > 0 && Array.isArray(products)) { products.forEach((singleProduct) => { @@ -67,6 +79,7 @@ const handleOrder = (message, categoryToContent) => { id: pId, quantity: singleProduct.quantity || quantity || 1, item_price: singleProduct.price || price, + delivery_category: singleProduct.delivery_category || deliveryCategory, }; contents.push(content); } @@ -262,6 +275,11 @@ const populateCustomDataBasedOnCategory = ( case 'page': // executed when page call is done with standard PageView turned on case 'otherStandard': updatedCustomData = { ...customData }; + FB_PIXEL_CUSTOM_DATA_EXCLUDE_FLATTENING.forEach((customDataParameter) => { + if (message.properties?.[customDataParameter]) { + updatedCustomData[customDataParameter] = message.properties[customDataParameter]; + } + }); break; default: throw new InstrumentationError(`${category.standard} type of standard event does not exist`); diff --git a/test/integrations/destinations/facebook_pixel/processor/data.ts b/test/integrations/destinations/facebook_pixel/processor/data.ts index d5d0a8ec96..96e80c01e8 100644 --- a/test/integrations/destinations/facebook_pixel/processor/data.ts +++ b/test/integrations/destinations/facebook_pixel/processor/data.ts @@ -6058,4 +6058,405 @@ export const data = [ }, }, }, + { + name: 'facebook_pixel', + description: 'Test 48', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs JavaScript SDK', + namespace: 'com.rudderlabs.javascript', + version: '1.0.0', + }, + traits: { + email: 'test@rudderstack.com', + }, + 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', + os: { + name: '', + version: '', + }, + screen: { + density: 2, + }, + }, + type: 'track', + messageId: 'ec5481b6-a926-4d2e-b293-0b3a77c4d3be', + originalTimestamp: '2023-10-14T15:46:51.693229+05:30', + anonymousId: '00000000000000000000000000', + userId: '12345', + event: 'order completed', + properties: { + category: ['clothing', 'fishing'], + order_id: 'rudderstackorder1', + total: 99.99, + revenue: 12.24, + shipping: 13.99, + tax: 20.99, + currency: 'INR', + products: [ + { + quantity: 1, + price: 24.75, + name: 'my product', + sku: 'p-298', + delivery_category: 'home_delivery', + }, + { + quantity: 3, + price: 24.75, + name: 'other product', + sku: 'p-299', + delivery_category: 'home_delivery', + }, + ], + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T11:15:53.296Z', + }, + destination: { + Config: { + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: true, + }, + ], + categoryToContent: [ + { + from: 'clothing', + to: 'product', + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + valueFieldIdentifier: 'properties.price', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"external_id":"5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5","em":"1c5e54849f5c711ce38fa60716fbbe44bff478f9ca250897b39cdfc2438cd1bd","client_user_agent":"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"},"event_name":"Purchase","event_time":1697278611,"event_id":"ec5481b6-a926-4d2e-b293-0b3a77c4d3be","action_source":"website","custom_data":{"category[0]":"clothing","category[1]":"fishing","order_id":"rudderstackorder1","total":99.99,"revenue":12.24,"shipping":13.99,"tax":20.99,"currency":"INR","products[0].quantity":1,"products[0].price":24.75,"products[0].name":"my product","products[0].sku":"p-298","products[0].delivery_category":"home_delivery","products[1].quantity":3,"products[1].price":24.75,"products[1].name":"other product","products[1].sku":"p-299","products[1].delivery_category":"home_delivery","content_category":"clothing,fishing","content_ids":["p-298","p-299"],"content_type":"product","value":12.24,"contents":[{"id":"p-298","quantity":1,"item_price":24.75,"delivery_category":"home_delivery"},{"id":"p-299","quantity":3,"item_price":24.75,"delivery_category":"home_delivery"}],"num_items":2}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 49', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + channel: 'mobile', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: ' aBc@gmail.com ', + address: { + zip: 1234, + }, + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + content_ids: ['prod1', 'prod2'], + }, + timestamp: '2023-10-14T00:00:00.693229+05:30', + type: 'track', + }, + destination: { + Config: { + limitedDataUsage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + removeExternalId: true, + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08","zp":"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4"},"event_name":"spin_result","event_time":1697221800,"action_source":"app","custom_data":{"additional_bet_index":0,"value":400,"content_ids":["prod1","prod2"]}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'facebook_pixel', + description: 'Test 50', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + channel: 'mobile', + destination_props: { + Fb: { + app_id: 'RudderFbApp', + }, + }, + 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', + }, + screen: { + height: '100', + density: 50, + }, + traits: { + email: ' aBc@gmail.com ', + address: { + zip: 1234, + }, + anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', + }, + }, + event: 'spin_result', + integrations: { + All: true, + }, + message_id: 'a80f82be-9bdc-4a9f-b2a5-15621ee41df8', + properties: { + revenue: 400, + additional_bet_index: 0, + contents: [ + { + id: 'prod1', + quantity: 5, + item_price: 55, + }, + ], + }, + timestamp: '2023-10-14T00:00:00.693229+05:30', + type: 'track', + }, + destination: { + Config: { + limitedDataUsage: true, + blacklistPiiProperties: [ + { + blacklistPiiProperties: '', + blacklistPiiHash: false, + }, + ], + accessToken: '09876', + pixelId: 'dummyPixelId', + eventsToEvents: [ + { + from: '', + to: '', + }, + ], + eventCustomProperties: [ + { + eventCustomProperties: '', + }, + ], + removeExternalId: true, + valueFieldIdentifier: '', + advancedMapping: false, + whitelistPiiProperties: [ + { + whitelistPiiProperties: '', + }, + ], + }, + Enabled: true, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://graph.facebook.com/v17.0/dummyPixelId/events?access_token=09876', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + data: [ + '{"user_data":{"em":"48ddb93f0b30c475423fe177832912c5bcdce3cc72872f8051627967ef278e08","zp":"03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4"},"event_name":"spin_result","event_time":1697221800,"action_source":"app","custom_data":{"additional_bet_index":0,"value":400,"contents":[{"id":"prod1","quantity":5,"item_price":55}]}}', + ], + }, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, ].map((d) => ({ ...d, mockFns })); From 93a82bd4856b462768d0213ae3de8b9b78e9858c Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Mon, 13 Nov 2023 13:21:51 +0530 Subject: [PATCH 93/98] feat: use custom screen name amplitude (#2823) * feat: use custom screen name amplitude * fix: use name if custom screen name is empty --- src/v0/destinations/am/transform.js | 44 +++++--- test/__tests__/data/am_input.json | 100 ++++++++++++++++++ test/__tests__/data/am_output.json | 156 ++++++++++++++++++++++++++++ 3 files changed, 286 insertions(+), 14 deletions(-) diff --git a/src/v0/destinations/am/transform.js b/src/v0/destinations/am/transform.js index 27d5bc3161..bed5d45b28 100644 --- a/src/v0/destinations/am/transform.js +++ b/src/v0/destinations/am/transform.js @@ -591,7 +591,8 @@ const processSingleMessage = (message, destination) => { const { name, event, properties } = message; const messageType = message.type.toLowerCase(); const CATEGORY_KEY = 'properties.category'; - const { useUserDefinedPageEventName, userProvidedPageEventString } = destination.Config; + const { useUserDefinedPageEventName, userProvidedPageEventString, + useUserDefinedScreenEventName, userProvidedScreenEventString } = destination.Config; switch (messageType) { case EventType.IDENTIFY: payloadObjectName = 'events'; // identify same as events @@ -601,17 +602,17 @@ const processSingleMessage = (message, destination) => { case EventType.PAGE: if (useUserDefinedPageEventName) { const getMessagePath = userProvidedPageEventString - .substring( - userProvidedPageEventString.indexOf('{') + 2, - userProvidedPageEventString.indexOf('}'), - ) - .trim(); + .substring( + userProvidedPageEventString.indexOf('{') + 2, + userProvidedPageEventString.indexOf('}'), + ) + .trim(); evType = - userProvidedPageEventString.trim() === '' - ? name - : userProvidedPageEventString - .trim() - .replaceAll(/{{([^{}]+)}}/g, get(message, getMessagePath)); + userProvidedPageEventString.trim() === '' + ? name + : userProvidedPageEventString + .trim() + .replaceAll(/{{([^{}]+)}}/g, get(message, getMessagePath)); } else { evType = `Viewed ${name || get(message, CATEGORY_KEY) || ''} Page`; } @@ -624,10 +625,25 @@ const processSingleMessage = (message, destination) => { case EventType.SCREEN: { const { eventType, updatedProperties } = getScreenevTypeAndUpdatedProperties( - message, - CATEGORY_KEY, + message, + CATEGORY_KEY, ); - evType = eventType; + let customScreenEv = ''; + if (useUserDefinedScreenEventName) { + const getMessagePath = userProvidedScreenEventString + .substring( + userProvidedScreenEventString.indexOf('{') + 2, + userProvidedScreenEventString.indexOf('}'), + ) + .trim(); + customScreenEv = + userProvidedScreenEventString.trim() === '' + ? name + : userProvidedScreenEventString + .trim() + .replaceAll(/{{([^{}]+)}}/g, get(message, getMessagePath)); + } + evType =useUserDefinedScreenEventName ? customScreenEv : eventType; message.properties = updatedProperties; category = ConfigCategory.SCREEN; } diff --git a/test/__tests__/data/am_input.json b/test/__tests__/data/am_input.json index 3e5cde2cca..126d235787 100644 --- a/test/__tests__/data/am_input.json +++ b/test/__tests__/data/am_input.json @@ -4842,5 +4842,105 @@ "userProvidedPageEventString": "Viewed {{context.page.title}} event." } } + }, + { + "message": { + "type": "screen", + "userId": "identified user id", + "anonymousId": "anon-id-new", + "event": "Screen View", + "properties": { + "prop1": "5" + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "useUserDefinedScreenEventName": true, + "userProvidedScreenEventString": "My {{ event }} event." + } + } + }, + { + "message": { + "type": "screen", + "userId": "identified user id", + "anonymousId": "anon-id-new", + "event": "Screen View", + "properties": { + "prop1": "5" + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "useUserDefinedScreenEventName": false, + "userProvidedScreenEventString": "My {{ event }} event." + } + } + }, + { + "message": { + "type": "screen", + "userId": "identified user id", + "anonymousId": "anon-id-new", + "event": "Screen same as event", + "properties": { + "prop1": "5" + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "useUserDefinedScreenEventName": true, + "userProvidedScreenEventString": "{{ event }}" + } + } + }, + { + "message": { + "type": "screen", + "userId": "identified user id", + "anonymousId": "anon-id-new", + "name": "Screen", + "properties": { + "prop1": "5" + }, + "context": { + "ip": "14.5.67.21", + "library": { + "name": "http" + } + }, + "timestamp": "2020-02-02T00:23:09.544Z" + }, + "destination": { + "Config": { + "apiKey": "abcde", + "useUserDefinedScreenEventName": true, + "userProvidedScreenEventString": "" + } + } } ] \ No newline at end of file diff --git a/test/__tests__/data/am_output.json b/test/__tests__/data/am_output.json index ea4b8b908d..5a9c674113 100644 --- a/test/__tests__/data/am_output.json +++ b/test/__tests__/data/am_output.json @@ -4311,5 +4311,161 @@ }, "files": {}, "userId": "00000000000000000000000000" + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.amplitude.com/2/httpapi", + "headers": { + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "api_key": "abcde", + "events": [ + { + "device_id": "anon-id-new", + "library": "rudderstack", + "event_properties": { + "prop1": "5", + "name": "Screen View" + }, + "event_type": "My Screen View event.", + "time": 1580602989544, + "user_id": "identified user id", + "user_properties": {}, + "session_id": -1, + "ip": "14.5.67.21" + } + ], + "options": { + "min_id_length": 1 + } + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "anon-id-new" + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.amplitude.com/2/httpapi", + "headers": { + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "api_key": "abcde", + "events": [ + { + "device_id": "anon-id-new", + "library": "rudderstack", + "event_properties": { + "prop1": "5", + "name": "Screen View" + }, + "event_type": "Viewed Screen View Screen", + "time": 1580602989544, + "user_id": "identified user id", + "user_properties": {}, + "session_id": -1, + "ip": "14.5.67.21" + } + ], + "options": { + "min_id_length": 1 + } + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "anon-id-new" + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.amplitude.com/2/httpapi", + "headers": { + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "api_key": "abcde", + "events": [ + { + "device_id": "anon-id-new", + "library": "rudderstack", + "event_properties": { + "prop1": "5", + "name": "Screen same as event" + }, + "event_type": "Screen same as event", + "time": 1580602989544, + "user_id": "identified user id", + "user_properties": {}, + "session_id": -1, + "ip": "14.5.67.21" + } + ], + "options": { + "min_id_length": 1 + } + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "anon-id-new" + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api2.amplitude.com/2/httpapi", + "headers": { + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "api_key": "abcde", + "events": [ + { + "device_id": "anon-id-new", + "library": "rudderstack", + "event_properties": { + "prop1": "5", + "name": "Screen" + }, + "event_type": "Screen", + "time": 1580602989544, + "user_id": "identified user id", + "user_properties": {}, + "session_id": -1, + "ip": "14.5.67.21" + } + ], + "options": { + "min_id_length": 1 + } + }, + "XML": {}, + "JSON_ARRAY": {}, + "FORM": {} + }, + "files": {}, + "userId": "anon-id-new" } ] \ No newline at end of file From b92846170b11158b9fea889f579ec590ed2c512a Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 13 Nov 2023 07:58:21 +0000 Subject: [PATCH 94/98] chore(release): 1.50.0 --- CHANGELOG.md | 18 ++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97a3a2c226..04ebb304cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ 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.50.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.49.1...v1.50.0) (2023-11-13) + + +### Features + +* add clickId support for tiktok and pinterest destination ([#2784](https://github.com/rudderlabs/rudder-transformer/issues/2784)) ([0e14296](https://github.com/rudderlabs/rudder-transformer/commit/0e1429663d167a2c5cded0d9130374eb586a18c0)) +* add delivery_category as part of contents, remove flattening custom_data in FB conversions ([#2812](https://github.com/rudderlabs/rudder-transformer/issues/2812)) ([e82cef8](https://github.com/rudderlabs/rudder-transformer/commit/e82cef88e154d47519f0deeb60f55773f25fd3ad)) +* add delivery_category as part of contents, update flattening custom_data in FB Pixel ([#2816](https://github.com/rudderlabs/rudder-transformer/issues/2816)) ([ee1f473](https://github.com/rudderlabs/rudder-transformer/commit/ee1f4733e82291375d85a6de8b8626ffdc8907b1)) +* adding support for future oauth facility in salesforce ([#2746](https://github.com/rudderlabs/rudder-transformer/issues/2746)) ([916ea4c](https://github.com/rudderlabs/rudder-transformer/commit/916ea4c8d08f69b68b7795dd513a25a3cded55fa)) +* introduce v1/source/sourceType endpoint ([#2722](https://github.com/rudderlabs/rudder-transformer/issues/2722)) ([0996e81](https://github.com/rudderlabs/rudder-transformer/commit/0996e816d3671c3e25561f76e3219be99225f24b)) +* move cdkV1 to cdkv2 component tests ([#2804](https://github.com/rudderlabs/rudder-transformer/issues/2804)) ([195b48a](https://github.com/rudderlabs/rudder-transformer/commit/195b48ac0f438a200933e4bbb956fcc3941b7aed)) +* use custom screen name amplitude ([#2823](https://github.com/rudderlabs/rudder-transformer/issues/2823)) ([93a82bd](https://github.com/rudderlabs/rudder-transformer/commit/93a82bd4856b462768d0213ae3de8b9b78e9858c)) + + +### Bug Fixes + +* shopify redis metric when there is no data returned for a key ([#2811](https://github.com/rudderlabs/rudder-transformer/issues/2811)) ([c02370e](https://github.com/rudderlabs/rudder-transformer/commit/c02370e38fabb581698baa00e1ddd3da93dc07fa)) + ### [1.49.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.49.0...v1.49.1) (2023-11-10) diff --git a/package-lock.json b/package-lock.json index f1d3be597c..28d814c925 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.49.1", + "version": "1.50.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.49.1", + "version": "1.50.0", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 076e912112..e4a4d9151c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.49.1", + "version": "1.50.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From a56d66810bdcbcf8a4073735dd1a9622ba48c27e Mon Sep 17 00:00:00 2001 From: chandumlg <54652834+chandumlg@users.noreply.github.com> Date: Mon, 13 Nov 2023 09:07:36 -0600 Subject: [PATCH 95/98] fix: source transform error stat (#2825) * fix: source_transform_error_stat * chore: update changelog --------- Co-authored-by: Chandra shekar Varkala --- CHANGELOG.md | 1 + src/services/source/nativeIntegration.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04ebb304cf..c720cc8718 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file. See [standa ### Bug Fixes +* source_transform_error stat label correction ([#2825](https://github.com/rudderlabs/rudder-transformer/issues/2825)) ([f3bcd7c](https://github.com/rudderlabs/rudder-transformer/commit/f3bcd7c9338ef96267be84f845c63f5234d37e33)) * shopify redis metric when there is no data returned for a key ([#2811](https://github.com/rudderlabs/rudder-transformer/issues/2811)) ([c02370e](https://github.com/rudderlabs/rudder-transformer/commit/c02370e38fabb581698baa00e1ddd3da93dc07fa)) ### [1.49.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.49.0...v1.49.1) (2023-11-10) diff --git a/src/services/source/nativeIntegration.ts b/src/services/source/nativeIntegration.ts index f29d68d054..22783db049 100644 --- a/src/services/source/nativeIntegration.ts +++ b/src/services/source/nativeIntegration.ts @@ -42,7 +42,7 @@ export default class NativeIntegrationSourceService implements IntegrationSource } catch (error: FixMe) { const metaTO = this.getTags(); stats.increment('source_transform_errors', { - sourceType, + source: sourceType, version, }); return PostTransformationServiceSource.handleFailureEventsSource(error, metaTO); From 2055dabb25e0e67a61dda263ca75f93408f1bf9c Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Tue, 14 Nov 2023 11:24:35 +0530 Subject: [PATCH 96/98] fix: snapchat_conversion category mapping (#2826) * fix: snapchat_conversion category mapping --- CHANGELOG.md | 1 + .../data/OrderCompletedConfig.json | 2 +- .../snapchat_conversion/processor/data.ts | 309 ++++++++++++++++++ 3 files changed, 311 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c720cc8718..8f990fe3b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file. See [standa * source_transform_error stat label correction ([#2825](https://github.com/rudderlabs/rudder-transformer/issues/2825)) ([f3bcd7c](https://github.com/rudderlabs/rudder-transformer/commit/f3bcd7c9338ef96267be84f845c63f5234d37e33)) * shopify redis metric when there is no data returned for a key ([#2811](https://github.com/rudderlabs/rudder-transformer/issues/2811)) ([c02370e](https://github.com/rudderlabs/rudder-transformer/commit/c02370e38fabb581698baa00e1ddd3da93dc07fa)) +* snapchat_conversion category mapping ([#2826](https://github.com/rudderlabs/rudder-transformer/issues/2826)) ([7acd004](https://github.com/rudderlabs/rudder-transformer/commit/7acd004e4290dfb5ea20402929041462eddb4496)) ### [1.49.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.49.0...v1.49.1) (2023-11-10) diff --git a/src/v0/destinations/snapchat_conversion/data/OrderCompletedConfig.json b/src/v0/destinations/snapchat_conversion/data/OrderCompletedConfig.json index dc5696e9a4..38e85ca2d8 100644 --- a/src/v0/destinations/snapchat_conversion/data/OrderCompletedConfig.json +++ b/src/v0/destinations/snapchat_conversion/data/OrderCompletedConfig.json @@ -6,7 +6,7 @@ }, { "destKey": "item_category", - "sourceKeys": "properties.item_category", + "sourceKeys": ["properties.item_category", "properties.category"], "required": false }, { diff --git a/test/integrations/destinations/snapchat_conversion/processor/data.ts b/test/integrations/destinations/snapchat_conversion/processor/data.ts index ed38673d95..baa2b2b99e 100644 --- a/test/integrations/destinations/snapchat_conversion/processor/data.ts +++ b/test/integrations/destinations/snapchat_conversion/processor/data.ts @@ -4291,6 +4291,315 @@ export const data = [ }, }, }, + { + name: 'snapchat_conversion', + description: 'Test Case for Order Completed event category', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + 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: { + brands: ['brand01', 'brand02'], + products: [ + { + product_id: '123', + price: '14', + quantity: 1, + }, + { + product_id: '124', + price: 14, + quantity: 3, + }, + ], + category: 'shoes' + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 31, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 31, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event_type: 'PURCHASE', + item_ids: ['123', '124'], + brands: ['brand01', 'brand02'], + item_category: "shoes", + price: '56', + 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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'snapchat_conversion', + description: 'Test Case for Order Completed event with both category and item_category', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + 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', + 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: { + brands: ['brand01', 'brand02'], + products: [ + { + product_id: '123', + price: '14', + quantity: 1, + }, + { + product_id: '124', + price: 14, + quantity: 3, + }, + ], + category: 'shoes', + item_category: 'glass' + }, + integrations: { + All: true, + }, + sentAt: '2022-04-22T10:57:58Z', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: false, + }, + }, + Config: { + apiKey: 'dummyApiKey', + pixelId: 'dummyPixelId', + appId: 'dhfeih44f', + snapAppId: 'hfhdhfd', + }, + }, + metadata: { + jobId: 31, + destinationId: 'd2', + workspaceId: 'w2', + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 31, + destinationId: 'd2', + workspaceId: 'w2', + }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://tr.snapchat.com/v2/conversion', + headers: { + Authorization: 'Bearer dummyApiKey', + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + event_type: 'PURCHASE', + item_ids: ['123', '124'], + brands: ['brand01', 'brand02'], + item_category: "glass", + price: '56', + 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: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + } ].map((tc) => ({ ...tc, mockFns: (_) => { From 06c6503c8857e61d084c7f5f997ab2efaf9012f9 Mon Sep 17 00:00:00 2001 From: Utsab Chowdhury Date: Tue, 14 Nov 2023 17:27:48 +0530 Subject: [PATCH 97/98] chore: update import and export names, default new routes (#2810) --- .eslintrc.json | 2 +- package.json | 1 + src/controllers/delivery.ts | 12 +- src/controllers/destination.ts | 26 +-- src/controllers/eventTest.ts | 4 +- src/controllers/misc.ts | 4 +- src/controllers/profile.ts | 6 +- src/controllers/regulation.ts | 9 +- src/controllers/source.ts | 12 +- src/controllers/trackingPlan.ts | 6 +- src/controllers/userTransform.ts | 6 +- src/controllers/util/index.test.ts | 2 +- src/controllers/util/index.ts | 2 +- src/helpers/fetchHandlers.ts | 4 +- src/helpers/serviceSelector.ts | 16 +- src/index.ts | 14 +- src/interfaces/DestinationService.ts | 2 +- src/interfaces/SourceService.ts | 2 +- src/middlewares/featureFlag.ts | 2 +- src/middlewares/routeActivation.ts | 2 +- src/routes/delivery.ts | 4 +- src/routes/destination.ts | 26 +-- src/routes/misc.ts | 4 +- src/routes/source.ts | 8 +- src/routes/testEvents.ts | 2 +- src/routes/trackingPlan.ts | 2 +- src/routes/userTransform.ts | 18 +- src/services/comparator.ts | 13 +- src/services/delivertTest/deliveryTest.ts | 2 +- src/services/destination/cdkV1Integration.ts | 6 +- src/services/destination/cdkV2Integration.ts | 6 +- src/services/destination/nativeIntegration.ts | 8 +- .../destination/postTransformation.ts | 4 +- src/services/destination/preTransformation.ts | 2 +- src/services/errorReporting.ts | 2 +- src/services/eventTest/eventTester.ts | 2 +- src/services/misc.ts | 2 +- src/services/profile.ts | 2 +- src/services/source/nativeIntegration.ts | 12 +- src/services/source/postTransformation.ts | 4 +- src/services/trackingPlan.ts | 2 +- src/services/userTransform.ts | 2 +- src/util/dynamicConfigParser.ts | 2 +- src/v0/destinations/hs/util.js | 3 +- src/v0/sources/shopify/util.js | 5 +- .../data/sanity/active_campaign_output.json | 54 ----- .../data/sanity/destination_config.json | 102 --------- .../data/sanity/marketo_router_output.json | 165 -------------- test/__tests__/data/sanity/sanity_input.json | 185 ---------------- .../data/sanity/sanity_router_input.json | 59 ----- test/__tests__/legacyRouter.test.ts | 2 +- test/__tests__/sanity.test.js | 204 ------------------ test/__tests__/user_transformation_ts.test.ts | 2 +- .../data_scenarios/source/v1/pipedream.json | 2 +- test/controllerUtility/ctrl-utility.test.ts | 2 +- 55 files changed, 138 insertions(+), 916 deletions(-) delete mode 100644 test/__tests__/data/sanity/active_campaign_output.json delete mode 100644 test/__tests__/data/sanity/destination_config.json delete mode 100644 test/__tests__/data/sanity/marketo_router_output.json delete mode 100644 test/__tests__/data/sanity/sanity_input.json delete mode 100644 test/__tests__/data/sanity/sanity_router_input.json delete mode 100644 test/__tests__/sanity.test.js diff --git a/.eslintrc.json b/.eslintrc.json index c2614ac5ef..d2928e50fd 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -54,7 +54,7 @@ "@typescript-eslint/no-explicit-any": "off", "class-methods-use-this": "off", "@typescript-eslint/return-await": "error", - "import/prefer-default-export": "error", + "import/prefer-default-export": "off", "sonarjs/no-ignored-return": "error", "no-new": "error", "@typescript-eslint/no-shadow": "error", diff --git a/package.json b/package.json index e4a4d9151c..f8851cc687 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "build:ci": "tsc -p tsconfig.json", "build:swagger": "npm run build && npm run setup:swagger", "build": "npm run build:ci && npm run copy", + "clean:build": "npm run clean && npm run build", "build:clean": "npm run clean && npm run build", "verify": "eslint . || exit 1; npm run test:js || exit 1", "test:testRouter": "jest testRouter --detectOpenHandles --coverage --notify --watchAll=false", diff --git a/src/controllers/delivery.ts b/src/controllers/delivery.ts index 5dee091c46..af94764d46 100644 --- a/src/controllers/delivery.ts +++ b/src/controllers/delivery.ts @@ -1,15 +1,15 @@ import { Context } from 'koa'; -import MiscService from '../services/misc'; +import { MiscService } from '../services/misc'; import { DeliveryResponse, ProcessorTransformationOutput } from '../types/index'; -import ServiceSelector from '../helpers/serviceSelector'; -import DeliveryTestService from '../services/delivertTest/deliveryTest'; -import ControllerUtility from './util'; +import { ServiceSelector } from '../helpers/serviceSelector'; +import { DeliveryTestService } from '../services/delivertTest/deliveryTest'; +import { ControllerUtility } from './util'; import logger from '../logger'; -import DestinationPostTransformationService from '../services/destination/postTransformation'; +import { DestinationPostTransformationService } from '../services/destination/postTransformation'; import tags from '../v0/util/tags'; import { FixMe } from '../util/types'; -export default class DeliveryController { +export class DeliveryController { public static async deliverToDestination(ctx: Context) { logger.debug('Native(Delivery):: Request to transformer::', JSON.stringify(ctx.request.body)); let deliveryResponse: DeliveryResponse; diff --git a/src/controllers/destination.ts b/src/controllers/destination.ts index 60eac8a56c..71075d1b4c 100644 --- a/src/controllers/destination.ts +++ b/src/controllers/destination.ts @@ -1,22 +1,22 @@ import { Context } from 'koa'; -import MiscService from '../services/misc'; -import PreTransformationDestinationService from '../services/destination/preTransformation'; -import PostTransformationDestinationService from '../services/destination/postTransformation'; +import { MiscService } from '../services/misc'; +import { DestinationPreTransformationService } from '../services/destination/preTransformation'; +import { DestinationPostTransformationService } from '../services/destination/postTransformation'; import { ProcessorTransformationRequest, RouterTransformationRequest, ProcessorTransformationResponse, RouterTransformationResponse, } from '../types/index'; -import ServiceSelector from '../helpers/serviceSelector'; -import ControllerUtility from './util'; +import { ServiceSelector } from '../helpers/serviceSelector'; +import { ControllerUtility } from './util'; import stats from '../util/stats'; import logger from '../logger'; import { getIntegrationVersion } from '../util/utils'; import tags from '../v0/util/tags'; -import DynamicConfigParser from '../util/dynamicConfigParser'; +import { DynamicConfigParser } from '../util/dynamicConfigParser'; -export default class DestinationController { +export class DestinationController { public static async destinationTransformAtProcessor(ctx: Context) { const startTime = new Date(); logger.debug( @@ -36,7 +36,7 @@ export default class DestinationController { const integrationService = ServiceSelector.getDestinationService(events); try { integrationService.init(); - events = PreTransformationDestinationService.preProcess( + events = DestinationPreTransformationService.preProcess( events, ctx, ) as ProcessorTransformationRequest[]; @@ -59,7 +59,7 @@ export default class DestinationController { tags.FEATURES.PROCESSOR, ); metaTO.metadata = ev.metadata; - const errResp = PostTransformationDestinationService.handleProcessorTransformFailureEvents( + const errResp = DestinationPostTransformationService.handleProcessorTransformFailureEvents( error, metaTO, ); @@ -110,7 +110,7 @@ export default class DestinationController { const integrationService = ServiceSelector.getDestinationService(events); let resplist: RouterTransformationResponse[]; try { - events = PreTransformationDestinationService.preProcess(events, ctx); + events = DestinationPreTransformationService.preProcess(events, ctx); const timestampCorrectEvents = ControllerUtility.handleTimestampInEvents(events); events = DynamicConfigParser.process(timestampCorrectEvents); resplist = await integrationService.doRouterTransformation( @@ -127,7 +127,7 @@ export default class DestinationController { tags.FEATURES.ROUTER, ); metaTO.metadatas = events.map((ev) => ev.metadata); - const errResp = PostTransformationDestinationService.handleRouterTransformFailureEvents( + const errResp = DestinationPostTransformationService.handleRouterTransformFailureEvents( error, metaTO, ); @@ -165,7 +165,7 @@ export default class DestinationController { let events = routerRequest.input; const integrationService = ServiceSelector.getDestinationService(events); try { - events = PreTransformationDestinationService.preProcess(events, ctx); + events = DestinationPreTransformationService.preProcess(events, ctx); const timestampCorrectEvents = ControllerUtility.handleTimestampInEvents(events); const resplist = integrationService.doBatchTransformation( timestampCorrectEvents, @@ -182,7 +182,7 @@ export default class DestinationController { tags.FEATURES.BATCH, ); metaTO.metadatas = events.map((ev) => ev.metadata); - const errResp = PostTransformationDestinationService.handleBatchTransformFailureEvents( + const errResp = DestinationPostTransformationService.handleBatchTransformFailureEvents( error, metaTO, ); diff --git a/src/controllers/eventTest.ts b/src/controllers/eventTest.ts index 8888b63807..d5507f65d2 100644 --- a/src/controllers/eventTest.ts +++ b/src/controllers/eventTest.ts @@ -1,9 +1,9 @@ import { Context } from 'koa'; -import EventTesterService from '../services/eventTest/eventTester'; +import { EventTesterService } from '../services/eventTest/eventTester'; // eslint-disable-next-line @typescript-eslint/no-unused-vars import { CatchErr, FixMe } from '../util/types'; -export default class EventTestController { +export class EventTestController { private static API_VERSION = '1'; public static async testEvent(ctx: Context) { diff --git a/src/controllers/misc.ts b/src/controllers/misc.ts index 92ec33f80f..e2efdab5db 100644 --- a/src/controllers/misc.ts +++ b/src/controllers/misc.ts @@ -1,7 +1,7 @@ import { Context } from 'koa'; -import MiscService from '../services/misc'; +import { MiscService } from '../services/misc'; -export default class MiscController { +export class MiscController { public static healthStats(ctx: Context) { ctx.body = MiscService.getHealthInfo(); ctx.status = 200; diff --git a/src/controllers/profile.ts b/src/controllers/profile.ts index 984f4ac645..a0a62bf479 100644 --- a/src/controllers/profile.ts +++ b/src/controllers/profile.ts @@ -1,8 +1,8 @@ import { Context } from 'koa'; -import ProfileService from '../services/profile'; -import ControllerUtility from './util'; +import { ProfileService } from '../services/profile'; +import { ControllerUtility } from './util'; -export default class ProfileController { +export class ProfileController { /** * Example usage of API * diff --git a/src/controllers/regulation.ts b/src/controllers/regulation.ts index cefe1f748a..a50541780d 100644 --- a/src/controllers/regulation.ts +++ b/src/controllers/regulation.ts @@ -1,15 +1,14 @@ import { Context } from 'koa'; import logger from '../logger'; import { UserDeletionRequest, UserDeletionResponse } from '../types'; -import ServiceSelector from '../helpers/serviceSelector'; +import { ServiceSelector } from '../helpers/serviceSelector'; import tags from '../v0/util/tags'; import stats from '../util/stats'; -import PostTransformationDestinationService from '../services/destination/postTransformation'; +import { DestinationPostTransformationService } from '../services/destination/postTransformation'; // eslint-disable-next-line @typescript-eslint/no-unused-vars import { CatchErr } from '../util/types'; -// TODO: refactor this class to new format -export default class RegulationController { +export class RegulationController { public static async deleteUsers(ctx: Context) { logger.debug( 'Native(Process-Transform):: Requst to transformer::', @@ -44,7 +43,7 @@ export default class RegulationController { tags.FEATURES.USER_DELETION, ); // eslint-disable-next-line @typescript-eslint/no-unused-vars - const errResp = PostTransformationDestinationService.handleUserDeletionFailureEvents( + const errResp = DestinationPostTransformationService.handleUserDeletionFailureEvents( error, metaTO, ); diff --git a/src/controllers/source.ts b/src/controllers/source.ts index b1e7e8fe12..ef5483a756 100644 --- a/src/controllers/source.ts +++ b/src/controllers/source.ts @@ -1,11 +1,11 @@ import { Context } from 'koa'; -import MiscService from '../services/misc'; -import ServiceSelector from '../helpers/serviceSelector'; -import ControllerUtility from './util'; +import { MiscService } from '../services/misc'; +import { ServiceSelector } from '../helpers/serviceSelector'; +import { ControllerUtility } from './util'; import logger from '../logger'; -import PostTransformationServiceSource from '../services/source/postTransformation'; +import { SourcePostTransformationService } from '../services/source/postTransformation'; -export default class SourceController { +export class SourceController { public static async sourceTransform(ctx: Context) { logger.debug( 'Native(Source-Transform):: Request to transformer::', @@ -30,7 +30,7 @@ export default class SourceController { ctx.body = resplist; } catch (err: any) { const metaTO = integrationService.getTags(); - const resp = PostTransformationServiceSource.handleFailureEventsSource(err, metaTO); + const resp = SourcePostTransformationService.handleFailureEventsSource(err, metaTO); ctx.body = [resp]; } ControllerUtility.postProcess(ctx); diff --git a/src/controllers/trackingPlan.ts b/src/controllers/trackingPlan.ts index 66bf360700..74e47e0ec9 100644 --- a/src/controllers/trackingPlan.ts +++ b/src/controllers/trackingPlan.ts @@ -1,8 +1,8 @@ import { Context } from 'koa'; -import TrackingPlanservice from '../services/trackingPlan'; -import ControllerUtility from './util'; +import { TrackingPlanservice } from '../services/trackingPlan'; +import { ControllerUtility } from './util'; -export default class TrackingPlanController { +export class TrackingPlanController { public static async validateTrackingPlan(ctx: Context) { const events = ctx.request.body; const requestSize = Number(ctx.request.get('content-length')); diff --git a/src/controllers/userTransform.ts b/src/controllers/userTransform.ts index 6cbf578077..c344bd072a 100644 --- a/src/controllers/userTransform.ts +++ b/src/controllers/userTransform.ts @@ -1,15 +1,15 @@ import { Context } from 'koa'; import { ProcessorTransformationRequest, UserTransformationServiceResponse } from '../types/index'; -import UserTransformService from '../services/userTransform'; +import { UserTransformService } from '../services/userTransform'; import logger from '../logger'; import { setupUserTransformHandler, extractLibraries, validateCode, } from '../util/customTransformer'; -import ControllerUtility from './util'; +import { ControllerUtility } from './util'; -export default class UserTransformController { +export class UserTransformController { public static async transform(ctx: Context) { logger.debug( '(User transform - router:/customTransform ):: Request to transformer', diff --git a/src/controllers/util/index.test.ts b/src/controllers/util/index.test.ts index 0bc5f174b0..e23d3f6832 100644 --- a/src/controllers/util/index.test.ts +++ b/src/controllers/util/index.test.ts @@ -1,4 +1,4 @@ -import ControllerUtility from './index'; +import { ControllerUtility } from './index'; describe('adaptInputToVersion', () => { it('should return the input unchanged when the implementation version is not found', () => { diff --git a/src/controllers/util/index.ts b/src/controllers/util/index.ts index c52eb6899e..75d3d8ffa7 100644 --- a/src/controllers/util/index.ts +++ b/src/controllers/util/index.ts @@ -15,7 +15,7 @@ import { getValueFromMessage } from '../../v0/util'; import genericFieldMap from '../../v0/util/data/GenericFieldMapping.json'; import { EventType, MappedToDestinationKey } from '../../constants'; -export default class ControllerUtility { +export class ControllerUtility { private static sourceVersionMap: Map = new Map(); public static timestampValsMap: Record = { diff --git a/src/helpers/fetchHandlers.ts b/src/helpers/fetchHandlers.ts index 96a74e528d..ef7d9e6611 100644 --- a/src/helpers/fetchHandlers.ts +++ b/src/helpers/fetchHandlers.ts @@ -1,6 +1,6 @@ -import MiscService from '../services/misc'; +import { MiscService } from '../services/misc'; -export default class FetchHandler { +export class FetchHandler { private static sourceHandlerMap: Map = new Map(); private static destHandlerMap: Map = new Map(); diff --git a/src/helpers/serviceSelector.ts b/src/helpers/serviceSelector.ts index 891c21313d..89678e9407 100644 --- a/src/helpers/serviceSelector.ts +++ b/src/helpers/serviceSelector.ts @@ -1,16 +1,16 @@ import { PlatformError } from '@rudderstack/integrations-lib'; import { ProcessorTransformationRequest, RouterTransformationRequestData } from '../types/index'; import { INTEGRATION_SERVICE } from '../routes/utils/constants'; -import CDKV1DestinationService from '../services/destination/cdkV1Integration'; -import CDKV2DestinationService from '../services/destination/cdkV2Integration'; -import DestinationService from '../interfaces/DestinationService'; -import NativeIntegrationDestinationService from '../services/destination/nativeIntegration'; -import SourceService from '../interfaces/SourceService'; -import NativeIntegrationSourceService from '../services/source/nativeIntegration'; -import ComparatorService from '../services/comparator'; +import { CDKV1DestinationService } from '../services/destination/cdkV1Integration'; +import { CDKV2DestinationService } from '../services/destination/cdkV2Integration'; +import { DestinationService } from '../interfaces/DestinationService'; +import { NativeIntegrationDestinationService } from '../services/destination/nativeIntegration'; +import { SourceService } from '../interfaces/SourceService'; +import { NativeIntegrationSourceService } from '../services/source/nativeIntegration'; +import { ComparatorService } from '../services/comparator'; import { FixMe } from '../util/types'; -export default class ServiceSelector { +export class ServiceSelector { private static serviceMap: Map = new Map(); private static services = { diff --git a/src/index.ts b/src/index.ts index d1cc95cc36..36f32f1aed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,8 +4,6 @@ import gracefulShutdown from 'http-graceful-shutdown'; import dotenv from 'dotenv'; import logger from './logger'; import cluster from './util/cluster'; -import { router } from './legacy/router'; -import { testRouter } from './testRouter'; import { metricsRouter } from './routes/metricsRouter'; import { addStatMiddleware, addRequestSizeMiddleware, initPyroscope } from './middleware'; import { logProcessInfo } from './util/utils'; @@ -14,7 +12,6 @@ import { RedisDB } from './util/redis/redisConnector'; dotenv.config(); const clusterEnabled = process.env.CLUSTER_ENABLED !== 'false'; -const useUpdatedRoutes = process.env.ENABLE_NEW_ROUTES !== 'false'; const port = parseInt(process.env.PORT ?? '9090', 10); const metricsPort = parseInt(process.env.METRICS_PORT || '9091', 10); @@ -35,15 +32,8 @@ app.use( addRequestSizeMiddleware(app); addSwaggerRoutes(app); -if (useUpdatedRoutes) { - logger.info('Using new routes'); - applicationRoutes(app); -} else { - // To be depricated - logger.info('Using old routes'); - app.use(router.routes()).use(router.allowedMethods()); - app.use(testRouter.routes()).use(testRouter.allowedMethods()); -} +logger.info('Using new routes'); +applicationRoutes(app); function finalFunction() { RedisDB.disconnect(); diff --git a/src/interfaces/DestinationService.ts b/src/interfaces/DestinationService.ts index 123da35292..b27f98da2a 100644 --- a/src/interfaces/DestinationService.ts +++ b/src/interfaces/DestinationService.ts @@ -10,7 +10,7 @@ import { UserDeletionResponse, } from '../types/index'; -export default interface DestinationService { +export interface DestinationService { getName(): string; init(): void; diff --git a/src/interfaces/SourceService.ts b/src/interfaces/SourceService.ts index 99b29f095b..c7de8cfe8b 100644 --- a/src/interfaces/SourceService.ts +++ b/src/interfaces/SourceService.ts @@ -1,6 +1,6 @@ import { MetaTransferObject, SourceTransformationResponse } from '../types/index'; -export default interface SourceService { +export interface SourceService { getTags(): MetaTransferObject; sourceTransformRoutine( diff --git a/src/middlewares/featureFlag.ts b/src/middlewares/featureFlag.ts index 146e57186c..206fa7c5ea 100644 --- a/src/middlewares/featureFlag.ts +++ b/src/middlewares/featureFlag.ts @@ -6,7 +6,7 @@ export interface FeatureFlags { export const FEATURE_FILTER_CODE = 'filter-code'; -export default class FeatureFlagMiddleware { +export class FeatureFlagMiddleware { public static async handle(ctx: Context, next: Next): Promise { // Initialize ctx.state.features if it doesn't exist ctx.state.features = (ctx.state.features || {}) as FeatureFlags; diff --git a/src/middlewares/routeActivation.ts b/src/middlewares/routeActivation.ts index dfdaef964e..ffb1e15e80 100644 --- a/src/middlewares/routeActivation.ts +++ b/src/middlewares/routeActivation.ts @@ -18,7 +18,7 @@ const destinationFilterList = process.env.DESTINATION_FILTER_LIST?.toLocaleLower const sourceFilteList = process.env.SOURCE_FILTER_LIST?.toLocaleLowerCase(); const deliveryFilterList = process.env.DESTINATION_DELIVERY_FILTER_LIST?.toLocaleLowerCase(); -export default class RouteActivationMiddleware { +export class RouteActivationMiddleware { private static executeActivationRule(ctx: Context, next: Next, shouldActivate: boolean) { if (shouldActivate) { return next(); diff --git a/src/routes/delivery.ts b/src/routes/delivery.ts index 141700fd9f..0591dc8b9e 100644 --- a/src/routes/delivery.ts +++ b/src/routes/delivery.ts @@ -1,6 +1,6 @@ import Router from '@koa/router'; -import DeliveryController from '../controllers/delivery'; -import RouteActivationMiddleware from '../middlewares/routeActivation'; +import { DeliveryController } from '../controllers/delivery'; +import { RouteActivationMiddleware } from '../middlewares/routeActivation'; const router = new Router(); diff --git a/src/routes/destination.ts b/src/routes/destination.ts index 3d4be42ff3..1c47825145 100644 --- a/src/routes/destination.ts +++ b/src/routes/destination.ts @@ -1,30 +1,30 @@ import Router from '@koa/router'; -import DestinationController from '../controllers/destination'; -import RegulationController from '../controllers/regulation'; -import FeatureFlagController from '../middlewares/featureFlag'; -import RouteActivationController from '../middlewares/routeActivation'; +import { DestinationController } from '../controllers/destination'; +import { RegulationController } from '../controllers/regulation'; +import { FeatureFlagMiddleware } from '../middlewares/featureFlag'; +import { RouteActivationMiddleware } from '../middlewares/routeActivation'; const router = new Router(); router.post( '/:version/destinations/:destination', - RouteActivationController.isDestinationRouteActive, - RouteActivationController.destinationProcFilter, - FeatureFlagController.handle, + RouteActivationMiddleware.isDestinationRouteActive, + RouteActivationMiddleware.destinationProcFilter, + FeatureFlagMiddleware.handle, DestinationController.destinationTransformAtProcessor, ); router.post( '/routerTransform', - RouteActivationController.isDestinationRouteActive, - RouteActivationController.destinationRtFilter, - FeatureFlagController.handle, + RouteActivationMiddleware.isDestinationRouteActive, + RouteActivationMiddleware.destinationRtFilter, + FeatureFlagMiddleware.handle, DestinationController.destinationTransformAtRouter, ); router.post( '/batch', - RouteActivationController.isDestinationRouteActive, - RouteActivationController.destinationBatchFilter, - FeatureFlagController.handle, + RouteActivationMiddleware.isDestinationRouteActive, + RouteActivationMiddleware.destinationBatchFilter, + FeatureFlagMiddleware.handle, DestinationController.batchProcess, ); diff --git a/src/routes/misc.ts b/src/routes/misc.ts index 750c1194dd..4d1c5d5fb5 100644 --- a/src/routes/misc.ts +++ b/src/routes/misc.ts @@ -1,6 +1,6 @@ import Router from '@koa/router'; -import ProfileController from '../controllers/profile'; -import MiscController from '../controllers/misc'; +import { ProfileController } from '../controllers/profile'; +import { MiscController } from '../controllers/misc'; const router = new Router(); diff --git a/src/routes/source.ts b/src/routes/source.ts index ade26c8700..1abc46e2e4 100644 --- a/src/routes/source.ts +++ b/src/routes/source.ts @@ -1,13 +1,13 @@ import Router from '@koa/router'; -import RouteActivationController from '../middlewares/routeActivation'; -import SourceController from '../controllers/source'; +import { RouteActivationMiddleware } from '../middlewares/routeActivation'; +import { SourceController } from '../controllers/source'; const router = new Router(); router.post( '/:version/sources/:source', - RouteActivationController.isSourceRouteActive, - RouteActivationController.sourceFilter, + RouteActivationMiddleware.isSourceRouteActive, + RouteActivationMiddleware.sourceFilter, SourceController.sourceTransform, ); diff --git a/src/routes/testEvents.ts b/src/routes/testEvents.ts index 556ec10198..a35fe447ba 100644 --- a/src/routes/testEvents.ts +++ b/src/routes/testEvents.ts @@ -1,5 +1,5 @@ import Router from '@koa/router'; -import EventTestController from '../controllers/eventTest'; +import { EventTestController } from '../controllers/eventTest'; const router = new Router({ prefix: '/test-router' }); diff --git a/src/routes/trackingPlan.ts b/src/routes/trackingPlan.ts index d177af7b2c..3e62ba2a74 100644 --- a/src/routes/trackingPlan.ts +++ b/src/routes/trackingPlan.ts @@ -1,5 +1,5 @@ import Router from '@koa/router'; -import TrackingPlanController from '../controllers/trackingPlan'; +import { TrackingPlanController } from '../controllers/trackingPlan'; const router = new Router(); diff --git a/src/routes/userTransform.ts b/src/routes/userTransform.ts index 23870db3b4..1fb8ad3a1c 100644 --- a/src/routes/userTransform.ts +++ b/src/routes/userTransform.ts @@ -1,34 +1,34 @@ import Router from '@koa/router'; -import RouteActivationController from '../middlewares/routeActivation'; -import FeatureFlagController from '../middlewares/featureFlag'; -import UserTransformController from '../controllers/userTransform'; +import { RouteActivationMiddleware } from '../middlewares/routeActivation'; +import { FeatureFlagMiddleware } from '../middlewares/featureFlag'; +import { UserTransformController } from '../controllers/userTransform'; const router = new Router(); router.post( '/customTransform', - RouteActivationController.isUserTransformRouteActive, - FeatureFlagController.handle, + RouteActivationMiddleware.isUserTransformRouteActive, + FeatureFlagMiddleware.handle, UserTransformController.transform, ); router.post( '/transformation/test', - RouteActivationController.isUserTransformTestRouteActive, + RouteActivationMiddleware.isUserTransformTestRouteActive, UserTransformController.testTransform, ); router.post( '/transformationLibrary/test', - RouteActivationController.isUserTransformTestRouteActive, + RouteActivationMiddleware.isUserTransformTestRouteActive, UserTransformController.testTransformLibrary, ); router.post( '/transformation/sethandle', - RouteActivationController.isUserTransformTestRouteActive, + RouteActivationMiddleware.isUserTransformTestRouteActive, UserTransformController.testTransformSethandle, ); router.post( '/extractLibs', - RouteActivationController.isUserTransformRouteActive, + RouteActivationMiddleware.isUserTransformRouteActive, UserTransformController.extractLibhandle, ); diff --git a/src/services/comparator.ts b/src/services/comparator.ts index 3495b7bbfd..7f63da9402 100644 --- a/src/services/comparator.ts +++ b/src/services/comparator.ts @@ -1,5 +1,5 @@ /* eslint-disable class-methods-use-this */ -import IntegrationDestinationService from '../interfaces/DestinationService'; +import { DestinationService } from '../interfaces/DestinationService'; import { DeliveryResponse, Destination, @@ -20,15 +20,12 @@ import { CommonUtils } from '../util/common'; const NS_PER_SEC = 1e9; -export default class ComparatorService implements IntegrationDestinationService { - secondaryService: IntegrationDestinationService; +export class ComparatorService implements DestinationService { + secondaryService: DestinationService; - primaryService: IntegrationDestinationService; + primaryService: DestinationService; - constructor( - primaryService: IntegrationDestinationService, - secondaryService: IntegrationDestinationService, - ) { + constructor(primaryService: DestinationService, secondaryService: DestinationService) { this.primaryService = primaryService; this.secondaryService = secondaryService; } diff --git a/src/services/delivertTest/deliveryTest.ts b/src/services/delivertTest/deliveryTest.ts index e5713073c1..0d960ade17 100644 --- a/src/services/delivertTest/deliveryTest.ts +++ b/src/services/delivertTest/deliveryTest.ts @@ -7,7 +7,7 @@ import stats from '../../util/stats'; import logger from '../../logger'; import tags from '../../v0/util/tags'; -export default class DeliveryTestService { +export class DeliveryTestService { public static async doTestDelivery( destination: string, routerDestReqPayload: any, diff --git a/src/services/destination/cdkV1Integration.ts b/src/services/destination/cdkV1Integration.ts index 2f655fca9b..8ccd3341e5 100644 --- a/src/services/destination/cdkV1Integration.ts +++ b/src/services/destination/cdkV1Integration.ts @@ -2,7 +2,7 @@ import { ConfigFactory, Executor, RudderBaseConfig } from 'rudder-transformer-cdk'; import path from 'path'; import { TransformationError } from '@rudderstack/integrations-lib'; -import IntegrationDestinationService from '../../interfaces/DestinationService'; +import { DestinationService } from '../../interfaces/DestinationService'; import { DeliveryResponse, ErrorDetailer, @@ -15,12 +15,12 @@ import { UserDeletionRequest, UserDeletionResponse, } from '../../types/index'; -import DestinationPostTransformationService from './postTransformation'; +import { DestinationPostTransformationService } from './postTransformation'; import tags from '../../v0/util/tags'; import { getErrorInfo } from '../../cdk/v1/handler'; import { CatchErr } from '../../util/types'; -export default class CDKV1DestinationService implements IntegrationDestinationService { +export class CDKV1DestinationService implements DestinationService { public init() { ConfigFactory.init({ basePath: path.resolve(__dirname, '../../cdk/v1'), diff --git a/src/services/destination/cdkV2Integration.ts b/src/services/destination/cdkV2Integration.ts index bc5a1126a8..e333d4544e 100644 --- a/src/services/destination/cdkV2Integration.ts +++ b/src/services/destination/cdkV2Integration.ts @@ -3,7 +3,7 @@ import groupBy from 'lodash/groupBy'; import { TransformationError } from '@rudderstack/integrations-lib'; import { processCdkV2Workflow } from '../../cdk/v2/handler'; -import IntegrationDestinationService from '../../interfaces/DestinationService'; +import { DestinationService } from '../../interfaces/DestinationService'; import { DeliveryResponse, ErrorDetailer, @@ -17,11 +17,11 @@ import { UserDeletionResponse, } from '../../types/index'; import tags from '../../v0/util/tags'; -import DestinationPostTransformationService from './postTransformation'; +import { DestinationPostTransformationService } from './postTransformation'; import stats from '../../util/stats'; import { CatchErr } from '../../util/types'; -export default class CDKV2DestinationService implements IntegrationDestinationService { +export class CDKV2DestinationService implements DestinationService { public init() {} public getName(): string { diff --git a/src/services/destination/nativeIntegration.ts b/src/services/destination/nativeIntegration.ts index a788b388e4..6763f54c7e 100644 --- a/src/services/destination/nativeIntegration.ts +++ b/src/services/destination/nativeIntegration.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import groupBy from 'lodash/groupBy'; import cloneDeep from 'lodash/cloneDeep'; -import IntegrationDestinationService from '../../interfaces/DestinationService'; +import { DestinationService } from '../../interfaces/DestinationService'; import { DeliveryResponse, ErrorDetailer, @@ -14,12 +14,12 @@ import { UserDeletionRequest, UserDeletionResponse, } from '../../types/index'; -import DestinationPostTransformationService from './postTransformation'; +import { DestinationPostTransformationService } from './postTransformation'; import networkHandlerFactory from '../../adapters/networkHandlerFactory'; -import FetchHandler from '../../helpers/fetchHandlers'; +import { FetchHandler } from '../../helpers/fetchHandlers'; import tags from '../../v0/util/tags'; -export default class NativeIntegrationDestinationService implements IntegrationDestinationService { +export class NativeIntegrationDestinationService implements DestinationService { public init() {} public getName(): string { diff --git a/src/services/destination/postTransformation.ts b/src/services/destination/postTransformation.ts index 090e39b059..0b91eb7cc1 100644 --- a/src/services/destination/postTransformation.ts +++ b/src/services/destination/postTransformation.ts @@ -12,11 +12,11 @@ import { UserDeletionResponse, } from '../../types/index'; import { generateErrorObject } from '../../v0/util'; -import ErrorReportingService from '../errorReporting'; +import { ErrorReportingService } from '../errorReporting'; import tags from '../../v0/util/tags'; import stats from '../../util/stats'; -export default class DestinationPostTransformationService { +export class DestinationPostTransformationService { public static handleProcessorTransformSucessEvents( event: ProcessorTransformationRequest, transformedPayloads: ProcessorTransformationOutput | ProcessorTransformationOutput[], diff --git a/src/services/destination/preTransformation.ts b/src/services/destination/preTransformation.ts index dd5579b7b9..db1d76d64e 100644 --- a/src/services/destination/preTransformation.ts +++ b/src/services/destination/preTransformation.ts @@ -1,7 +1,7 @@ import { Context } from 'koa'; import { ProcessorTransformationRequest, RouterTransformationRequestData } from '../../types/index'; -export default class PreTransformationDestinationService { +export class DestinationPreTransformationService { public static preProcess( events: ProcessorTransformationRequest[] | RouterTransformationRequestData[], ctx: Context, diff --git a/src/services/errorReporting.ts b/src/services/errorReporting.ts index 2d3c84ff30..3a4276f978 100644 --- a/src/services/errorReporting.ts +++ b/src/services/errorReporting.ts @@ -1,6 +1,6 @@ import { client } from '../util/errorNotifier'; -export default class ErrorReportingService { +export class ErrorReportingService { public static reportError(error: NonNullable, context: string, errorResp: object) { client.notify(error, context, { ...errorResp, diff --git a/src/services/eventTest/eventTester.ts b/src/services/eventTest/eventTester.ts index a3755d3e80..75df29cc63 100644 --- a/src/services/eventTest/eventTester.ts +++ b/src/services/eventTest/eventTester.ts @@ -1,7 +1,7 @@ import { sendToDestination, userTransformHandler } from '../../routerUtils'; import { FixMe } from '../../util/types'; -export default class EventTesterService { +export class EventTesterService { private static getDestHandler(version, destination) { // eslint-disable-next-line global-require, import/no-dynamic-require return require(`../../${version}/destinations/${destination}/transform`); diff --git a/src/services/misc.ts b/src/services/misc.ts index 4c3e2ae6da..e0953d08bf 100644 --- a/src/services/misc.ts +++ b/src/services/misc.ts @@ -6,7 +6,7 @@ import { DestHandlerMap } from '../constants/destinationCanonicalNames'; import { Metadata } from '../types'; import { getCPUProfile, getHeapProfile } from '../middleware'; -export default class MiscService { +export class MiscService { public static getDestHandler(dest: string, version: string) { if (DestHandlerMap.hasOwnProperty(dest)) { return require(`../${version}/destinations/${DestHandlerMap[dest]}/transform`); diff --git a/src/services/profile.ts b/src/services/profile.ts index 4d7a7104e7..d71826e251 100644 --- a/src/services/profile.ts +++ b/src/services/profile.ts @@ -22,7 +22,7 @@ logger.info(`Interval Bytes set: ${intervalBytes}`); heap.start(intervalBytes, stackDepth); -export default class ProfileService { +export class ProfileService { private static async promisifiedRead(readable: any) { // eslint-disable-next-line no-new new Promise((resolve, reject) => { diff --git a/src/services/source/nativeIntegration.ts b/src/services/source/nativeIntegration.ts index 22783db049..6eaef2f835 100644 --- a/src/services/source/nativeIntegration.ts +++ b/src/services/source/nativeIntegration.ts @@ -1,4 +1,4 @@ -import IntegrationSourceService from '../../interfaces/SourceService'; +import { SourceService } from '../../interfaces/SourceService'; import { ErrorDetailer, MetaTransferObject, @@ -6,12 +6,12 @@ import { SourceTransformationResponse, } from '../../types/index'; import { FixMe } from '../../util/types'; -import PostTransformationServiceSource from './postTransformation'; -import FetchHandler from '../../helpers/fetchHandlers'; +import { SourcePostTransformationService } from './postTransformation'; +import { FetchHandler } from '../../helpers/fetchHandlers'; import tags from '../../v0/util/tags'; import stats from '../../util/stats'; -export default class NativeIntegrationSourceService implements IntegrationSourceService { +export class NativeIntegrationSourceService implements SourceService { public getTags(): MetaTransferObject { const metaTO = { errorDetails: { @@ -38,14 +38,14 @@ export default class NativeIntegrationSourceService implements IntegrationSource try { const respEvents: RudderMessage | RudderMessage[] | SourceTransformationResponse = await sourceHandler.process(sourceEvent); - return PostTransformationServiceSource.handleSuccessEventsSource(respEvents); + return SourcePostTransformationService.handleSuccessEventsSource(respEvents); } catch (error: FixMe) { const metaTO = this.getTags(); stats.increment('source_transform_errors', { source: sourceType, version, }); - return PostTransformationServiceSource.handleFailureEventsSource(error, metaTO); + return SourcePostTransformationService.handleFailureEventsSource(error, metaTO); } }), ); diff --git a/src/services/source/postTransformation.ts b/src/services/source/postTransformation.ts index f732cac3a7..20c815171b 100644 --- a/src/services/source/postTransformation.ts +++ b/src/services/source/postTransformation.ts @@ -1,9 +1,9 @@ import { MetaTransferObject, RudderMessage, SourceTransformationResponse } from '../../types/index'; import { CatchErr } from '../../util/types'; import { generateErrorObject } from '../../v0/util'; -import ErrorReportingService from '../errorReporting'; +import { ErrorReportingService } from '../errorReporting'; -export default class PostTransformationSourceService { +export class SourcePostTransformationService { public static handleFailureEventsSource( error: CatchErr, metaTO: MetaTransferObject, diff --git a/src/services/trackingPlan.ts b/src/services/trackingPlan.ts index 35f21320a5..2e68df55e9 100644 --- a/src/services/trackingPlan.ts +++ b/src/services/trackingPlan.ts @@ -4,7 +4,7 @@ import { getMetadata } from '../v0/util'; import eventValidator from '../util/eventValidation'; import stats from '../util/stats'; -export default class TrackingPlanservice { +export class TrackingPlanservice { public static async validateTrackingPlan(events, requestSize, reqParams) { const requestStartTime = new Date(); const respList: any[] = []; diff --git a/src/services/userTransform.ts b/src/services/userTransform.ts index 4fe1ad0b52..ddd5c82f67 100644 --- a/src/services/userTransform.ts +++ b/src/services/userTransform.ts @@ -24,7 +24,7 @@ import { CatchErr, FixMe } from '../util/types'; import { FeatureFlags, FEATURE_FILTER_CODE } from '../middlewares/featureFlag'; import { HTTP_CUSTOM_STATUS_CODES } from '../constants'; -export default class UserTransformService { +export class UserTransformService { public static async transformRoutine( events: ProcessorTransformationRequest[], features: FeatureFlags = {}, diff --git a/src/util/dynamicConfigParser.ts b/src/util/dynamicConfigParser.ts index 73ad85a0d2..6de2e38f94 100644 --- a/src/util/dynamicConfigParser.ts +++ b/src/util/dynamicConfigParser.ts @@ -6,7 +6,7 @@ import { FixMe } from './types'; const get = require('get-value'); const unset = require('unset-value'); -export default class DynamicConfigParser { +export class DynamicConfigParser { private static getDynamicConfigValue( event: ProcessorTransformationRequest | RouterTransformationRequestData, value: FixMe, diff --git a/src/v0/destinations/hs/util.js b/src/v0/destinations/hs/util.js index 72025997d2..f83ce0b6de 100644 --- a/src/v0/destinations/hs/util.js +++ b/src/v0/destinations/hs/util.js @@ -607,7 +607,8 @@ const splitEventsForCreateUpdate = async (inputs, destination) => { const { destinationExternalId } = getDestinationExternalIDInfoForRetl(message, DESTINATION); const filteredInfo = updateHubspotIds.filter( - (update) => update.property.toString().toLowerCase() === destinationExternalId.toString().toLowerCase(), + (update) => + update.property.toString().toLowerCase() === destinationExternalId.toString().toLowerCase(), ); if (filteredInfo.length > 0) { diff --git a/src/v0/sources/shopify/util.js b/src/v0/sources/shopify/util.js index 1da75cba3d..61501bdab6 100644 --- a/src/v0/sources/shopify/util.js +++ b/src/v0/sources/shopify/util.js @@ -32,7 +32,10 @@ const getDataFromRedis = async (key, metricMetadata) => { ...metricMetadata, }); const redisData = await RedisDB.getVal(key); - if (redisData === null || (typeof redisData === "object" && Object.keys(redisData).length === 0)) { + if ( + redisData === null || + (typeof redisData === 'object' && Object.keys(redisData).length === 0) + ) { stats.increment('shopify_redis_no_val', { ...metricMetadata, }); diff --git a/test/__tests__/data/sanity/active_campaign_output.json b/test/__tests__/data/sanity/active_campaign_output.json deleted file mode 100644 index 544f9b937f..0000000000 --- a/test/__tests__/data/sanity/active_campaign_output.json +++ /dev/null @@ -1,54 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://active.campaigns.rudder.com/api/3/contact/sync", - "headers": { - "Content-Type": "application/json", - "Api-Token": "dummyApiToken" - }, - "params": {}, - "body": { - "JSON": { - "contact": { - "email": "manashi@gmail.com", - "phone": 9090909000, - "firstName": null, - "lastName": null - }, - "apiKey": "dummyApiKey" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://active.campaigns.rudder.com/api/3/contact/sync", - "headers": { - "Content-Type": "application/json", - "Api-Token": "dummyApiToken" - }, - "params": {}, - "body": { - "JSON": { - "contact": { - "email": "testkolkata@rudderlabs.com", - "phone": "570-690-4150", - "firstName": "Sajal", - "lastName": "Mohanta" - }, - "apiKey": "dummyApiKey" - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - } -] diff --git a/test/__tests__/data/sanity/destination_config.json b/test/__tests__/data/sanity/destination_config.json deleted file mode 100644 index 11c999aa9c..0000000000 --- a/test/__tests__/data/sanity/destination_config.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "active_campaign": { - "config": { - "processor": { - "Config": { - "apiKey": "dummyApiKey", - "apiUrl": "https://active.campaigns.rudder.com", - "actid": "476550467", - "eventKey": "f8a866fddc721350fdc2fbbd2e5c43a6dddaaa03" - } - } - } - }, - "clevertap": { - "config": { - "processor": {}, - "router": {} - } - }, - "marketo": { - "config": { - "router": { - "Config": { - "accountId": "marketo_acct_id_success", - "clientId": "marketo_client_id_success", - "clientSecret": "marketo_client_secret_success", - "trackAnonymousEvents": true, - "customActivityEventMap": [{ "from": "Product Clicked", "to": "100001" }], - "customActivityPropertyMap": [{ "from": "name", "to": "productName" }], - "customActivityPrimaryKeyMap": [{ "from": "Product Clicked", "to": "name" }], - "leadTraitMapping": [{ "from": "leadScore", "to": "customLeadScore" }] - }, - "secretConfig": {}, - "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", - "name": "Marketo", - "enabled": true, - "workspaceId": "1TSN08muJTZwH8iCDmnnRt1pmLd", - "deleted": false, - "createdAt": "2020-12-30T08:39:32.005Z", - "updatedAt": "2021-02-03T16:22:31.374Z", - "destinationDefinition": { - "config": { - "destConfig": { - "defaultConfig": [ - "accountId", - "clientId", - "clientSecret", - "trackAnonymousEvents", - "customActivityEventMap", - "customActivityPropertyMap", - "customActivityPrimaryKeyMap", - "leadTraitMapping" - ] - }, - "secretKeys": ["clientSecret"], - "excludeKeys": [], - "includeKeys": [], - "routerTransform": true, - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "reactnative" - ] - }, - "responseRules": { - "responseType": "JSON", - "rules": { - "retryable": [ - { "success": "false", "errors.0.code": 600 }, - { "success": "false", "errors.0.code": 601 }, - { "success": "false", "errors.0.code": 602 }, - { "success": "false", "errors.0.code": 604 }, - { "success": "false", "errors.0.code": 606 }, - { "success": "false", "errors.0.code": 607 }, - { "success": "false", "errors.0.code": 608 }, - { "success": "false", "errors.0.code": 611 } - ], - "abortable": [ - { "success": "false", "errors.0.code": 603 }, - { "success": "false", "errors.0.code": 605 }, - { "success": "false", "errors.0.code": 609 }, - { "success": "false", "errors.0.code": 610 } - ] - } - }, - "id": "1aIXqM806xAVm92nx07YwKbRrO9", - "name": "MARKETO", - "displayName": "Marketo", - "createdAt": "2020-04-09T09:24:31.794Z", - "updatedAt": "2021-01-11T11:03:28.103Z" - }, - "transformations": [], - "isConnectionEnabled": true, - "isProcessorEnabled": true - } - } - } -} diff --git a/test/__tests__/data/sanity/marketo_router_output.json b/test/__tests__/data/sanity/marketo_router_output.json deleted file mode 100644 index 9f967074a3..0000000000 --- a/test/__tests__/data/sanity/marketo_router_output.json +++ /dev/null @@ -1,165 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://marketo_acct_id_success.mktorest.com/rest/v1/activities/external.json", - "headers": { - "Authorization": "Bearer access_token_success", - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "input": [ - { - "activityDate": "2020-12-17T21:00:59.176Z", - "activityTypeId": 100001, - "attributes": [], - "leadId": 4, - "primaryAttributeValue": "Test Product" - } - ] - }, - "XML": {}, - "JSON_ARRAY": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [ - { - "jobId": 1 - } - ], - "batched": false, - "statusCode": 200, - "destination": { - "Config": { - "accountId": "marketo_acct_id_success", - "clientId": "marketo_client_id_success", - "clientSecret": "marketo_client_secret_success", - "trackAnonymousEvents": true, - "customActivityEventMap": [ - { - "from": "Product Clicked", - "to": "100001" - } - ], - "customActivityPropertyMap": [ - { - "from": "name", - "to": "productName" - } - ], - "customActivityPrimaryKeyMap": [ - { - "from": "Product Clicked", - "to": "name" - } - ], - "leadTraitMapping": [ - { - "from": "leadScore", - "to": "customLeadScore" - } - ] - }, - "secretConfig": {}, - "ID": "1mMy5cqbtfuaKZv1IhVQKnBdVwe", - "name": "Marketo", - "enabled": true, - "workspaceId": "1TSN08muJTZwH8iCDmnnRt1pmLd", - "deleted": false, - "createdAt": "2020-12-30T08:39:32.005Z", - "updatedAt": "2021-02-03T16:22:31.374Z", - "destinationDefinition": { - "config": { - "destConfig": { - "defaultConfig": [ - "accountId", - "clientId", - "clientSecret", - "trackAnonymousEvents", - "customActivityEventMap", - "customActivityPropertyMap", - "customActivityPrimaryKeyMap", - "leadTraitMapping" - ] - }, - "secretKeys": ["clientSecret"], - "excludeKeys": [], - "includeKeys": [], - "routerTransform": true, - "supportedSourceTypes": ["android", "ios", "web", "unity", "amp", "cloud", "reactnative"] - }, - "responseRules": { - "responseType": "JSON", - "rules": { - "retryable": [ - { - "success": "false", - "errors.0.code": 600 - }, - { - "success": "false", - "errors.0.code": 601 - }, - { - "success": "false", - "errors.0.code": 602 - }, - { - "success": "false", - "errors.0.code": 604 - }, - { - "success": "false", - "errors.0.code": 606 - }, - { - "success": "false", - "errors.0.code": 607 - }, - { - "success": "false", - "errors.0.code": 608 - }, - { - "success": "false", - "errors.0.code": 611 - } - ], - "abortable": [ - { - "success": "false", - "errors.0.code": 603 - }, - { - "success": "false", - "errors.0.code": 605 - }, - { - "success": "false", - "errors.0.code": 609 - }, - { - "success": "false", - "errors.0.code": 610 - } - ] - } - }, - "id": "1aIXqM806xAVm92nx07YwKbRrO9", - "name": "MARKETO", - "displayName": "Marketo", - "createdAt": "2020-04-09T09:24:31.794Z", - "updatedAt": "2021-01-11T11:03:28.103Z" - }, - "transformations": [], - "isConnectionEnabled": true, - "isProcessorEnabled": true - } - } -] diff --git a/test/__tests__/data/sanity/sanity_input.json b/test/__tests__/data/sanity/sanity_input.json deleted file mode 100644 index 9dd9961160..0000000000 --- a/test/__tests__/data/sanity/sanity_input.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "messages": [ - { - "type": "identify", - "event": "identify", - "sentAt": "2021-02-08T12:45:42.760Z", - "userId": "User_111", - "channel": "mobile", - "context": { - "os": { - "name": "iOS", - "version": "13.0" - }, - "app": { - "name": "MyApp", - "build": "1", - "version": "1.0", - "namespace": "com.rudderlabs.MyApp" - }, - "device": { - "id": "e2b94e2d-8327-429c-9d91-792a80d189c8", - "name": "iPhone 11 Pro Max", - "type": "iOS", - "model": "iPhone", - "manufacturer": "Apple" - }, - "locale": "en-US", - "screen": { - "width": 896, - "height": 414, - "density": 3 - }, - "traits": { - "age": 24, - "city": "Bangalore", - "name": "Manashi Mazumder", - "email": "manashi@gmail.com", - "phone": 9090909000, - "userId": "User_111", - "anonymousId": "e2b94e2d-8327-429c-9d91-792a80d189c8" - }, - "library": { - "name": "rudder-ios-library", - "version": "1.0.11" - }, - "network": { - "wifi": true, - "carrier": "unavailable", - "cellular": false, - "bluetooth": false - }, - "timezone": "Asia/Kolkata", - "userAgent": "unknown" - }, - "rudderId": "139d65bb-8a40-48c7-854c-06bbf44f686e", - "messageId": "1612788330-7e1e60a8-fb7e-437d-81c1-5b000318d0cb", - "anonymousId": "e2b94e2d-8327-429c-9d91-792a80d189c8", - "integrations": { - "All": true - }, - "originalTimestamp": "2021-02-08T12:45:30.717Z" - }, - { - "type": "identify", - "sentAt": "2021-04-15T19:43:53.393Z", - "userId": "sajal1234", - "channel": "web", - "context": { - "id": "ID101", - "ip": "0.0.0.0", - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.17", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "www.rudderstack.com", - "path": "/path5", - "title": "JS Test", - "search": "My Page", - "tab_url": "https://odd-rat-19.loca.lt/Rectified.html", - "referrer": "www.google.com", - "initial_referrer": "$direct", - "referring_domain": "", - "initial_referring_domain": "" - }, - "event": "Sample Identify call", - "locale": "en-US", - "screen": { - "density": 2.75 - }, - "traits": { - "id": "ID101", - "city": "east greenwich", - "plan": "Open source", - "tags": ["x0002x", "y0004y", "t0001t"], - "email": "testkolkata@rudderlabs.com", - "event": "Sample Identify call", - "lists": [ - { - "id": 2, - "status": "unsubscribed" - }, - { - "id": 3, - "status": "unsubscribe" - } - ], - "phone": "570-690-4150", - "state": "RI", - "title": "Mr", - "logins": 5, - "mobile": "123456786", - "rating": "Hot", - "street": "19123 forest lane", - "company": { - "id": 378763009439, - "name": "Rudderlabs", - "industry": "IT", - "employee_count": 1200 - }, - "country": "USA", - "sent_at": "20210109134567", - "birthDay": "2021/04/15", - "category": "SampleIdentify", - "industry": "ITES", - "lastName": "Mohanta", - "timezone": "Berlin", - "Homephone": 9836543283, - "createdAt": "2021/04/15", - "fieldInfo": { - "state": "California", - "Address": "kolkata", - "listBox": ["Option1", "Option2"], - "CheckBox": ["Option1", "Option2", "Option3"], - "TextArea": "This is a sample text area field value . it is tested for Active Campaign. It should have more than 100 words. Lorem ipsum is a dummy sentence to fill up any area. And also , it is used to fill up dummy website. So, it is wriiten by simply wasting time. ", - "DateField": "1988-12-05", - "HiddenField": "Hidden", - "RadioButton": "Option1", - "multiChoice": "Option 1", - "DateTimeField": "2020-05-19T02:45:00-05:00" - }, - "firstName": "Sajal", - "isEnabled": true, - "timestamp": "1403743443", - "event_text": "identify", - "leadSource": "WEB", - "postalCode": "94115", - "received_at": "202101091347654", - "organizationId": 378763009439, - "original_timestamp": "1403743443" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.17" - }, - "sent_at": "20210109134567", - "campaign": {}, - "timestamp": "1403743443", - "userAgent": "Mozilla/5.0 (Linux; Android 11; sdk_gphone_x86_arm Build/RSR1.201013.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/83.0.4103.106 Mobile Safari/537.36", - "event_text": "identify", - "externalId": [ - { - "id": "0035g000002XN5MAAW", - "type": "Salesforce-Contact" - } - ], - "received_at": "202101091347654", - "original_timestamp": "1403743443" - }, - "rudderId": "bc2402b7-6796-4fa5-9beb-bad3761fc961", - "messageId": "9d0df235-d354-4a81-8056-07dcb58081d7", - "anonymousId": "anonIDfromAndroid", - "integrations": { - "All": true - }, - "originalTimestamp": "2021-04-15T19:43:53.392Z" - } - ] -} diff --git a/test/__tests__/data/sanity/sanity_router_input.json b/test/__tests__/data/sanity/sanity_router_input.json deleted file mode 100644 index 16b8ccffad..0000000000 --- a/test/__tests__/data/sanity/sanity_router_input.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "messages": [ - { - "anonymousId": "anon_id_success", - "channel": "mobile", - "context": { - "app": { - "build": "1", - "name": "TestAppName", - "namespace": "com.android.sample", - "version": "1.0" - }, - "device": { - "id": "anon_id_success", - "manufacturer": "Google", - "model": "Android SDK built for x86", - "name": "generic_x86", - "type": "android" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.0.1-beta.1" - }, - "locale": "en-US", - "network": { - "carrier": "Android", - "bluetooth": false, - "cellular": true, - "wifi": true - }, - "os": { - "name": "Android", - "version": "8.1.0" - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "anon_id_success" - }, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.007)" - }, - "event": "Product Clicked", - "integrations": { - "All": true - }, - "messageId": "id1", - "properties": { - "name": "Test Product" - }, - "originalTimestamp": "2020-12-17T21:00:59.176Z", - "type": "track", - "sentAt": "2020-03-12T09:05:03.421Z" - } - ] -} diff --git a/test/__tests__/legacyRouter.test.ts b/test/__tests__/legacyRouter.test.ts index 768db08ca8..926f6e76d4 100644 --- a/test/__tests__/legacyRouter.test.ts +++ b/test/__tests__/legacyRouter.test.ts @@ -1,6 +1,6 @@ import fs from 'fs'; import path from 'path'; -import DestinationController from '../../src/controllers/destination'; +import { DestinationController } from '../../src/controllers/destination'; const destArg = process.argv.filter((x) => x.startsWith('--destName='))[0]; // send arguments on which destination const typeArg = process.argv.filter((x) => x.startsWith('--type='))[0]; // send argument on which function diff --git a/test/__tests__/sanity.test.js b/test/__tests__/sanity.test.js deleted file mode 100644 index ae5faa917c..0000000000 --- a/test/__tests__/sanity.test.js +++ /dev/null @@ -1,204 +0,0 @@ -jest.mock("axios"); -const name = "Sanity"; -const fs = require("fs"); -const path = require("path"); -const version = "v0"; -const { getDirectories } = require("./util"); -const { mockaxios } = require("../__mocks__/network"); - -// ******************************** -// Getting Started -// ******************************** -// sanity-folder-structure -// __tests__ -// | -// |--sanity.test.js -// |--data -// | | -// | |--sanity -// | | -// | {integration(s)}_output.json -// | {integration(s)}_router_output.json -// | sanity_input.json -// | sanity_router_input.json -// | destination_config.json - -// ------ destination_config.json ------ -// JSON to store the destination-config of all the destinations -// Each destination-config object has a config object storing the -// processor/ router (transform-at) configs -// ------------------------------------- -// If transformation is only done at processor -// only use the processor as key and store the -// destination definition as value. -// -// Format : -// { -// "clevertap": { -// "config": { -// "processor": { ...destination_definition }, -// "router": { ...destination_definition } -// } -// } -// .. -// .. -// } - -// ----- sanity_input.json ----- -// JSON to store the sanity input messages which will be -// used to test sanity for all the destination. -// -// Format: -// { -// "messages": [ -// { sanity_input_message_1}, -// { sanity_input_message_2}, -// { sanity_input_message_3} -// ... -// ] -// } - -// ----- sanity_router_input.json ----- -// JSON to store the sanity input messages which will be -// used to test sanity for all the destination. -// These inputs will be used for testing router -// transformation for all destination which support it. -// -// Format: -// { -// "messages": [ -// { router_sanity_input_message_1}, -// { router_sanity_input_message_2}, -// { router_sanity_input_message_3} -// ... -// ] -// } - -// ------ {integration(s)}_output.json ------ -// These are specific output for each of the destinations -// given the sanity input. We are using jest result matcher -// to check if the output is matching with the expected output. -// Example clevertap_output.json -// Format: -// [ -// {sanity_output_for_message_1}, -// {sanity_output_for_message_2}, -// .. -// ] - -// ------ {integration(s)}_router_output.json ------ -// These are specific output for each of the destinations -// given the router sanity input. -// ** CHECK IF THE PARTICULAR DESTINATION SUPPORTS ROUTER TRANSFORMATION ** -// Example clevertap_router_output.json -// Format: -// [ -// {router_sanity_output_for_message_1}, -// {router_sanity_output_for_message_2}, -// .. -// ] - -// Parsing all the destination names from /v0/destinations dir structure -// parsing it into an array of string. This keeping the destinations to test -// dynamic. -// const integrations = getDirectories( -// path.resolve(__dirname, `../${version}/destinations/`) -// ); -// For Testing Current: -// Uncomment this Line and comment the above 3 lines -const integrations = ["marketo"]; - -// Parsing the sanity input JSON which will be used for testing each destination -const processorSanityInput = JSON.parse( - fs.readFileSync(path.resolve(__dirname, `./data/sanity/sanity_input.json`)) -); - -// Parsing the sanity router input JSON which will be used for testing each destination -// which support it -const routerSanityInputRouter = JSON.parse( - fs.readFileSync( - path.resolve(__dirname, `./data/sanity/sanity_router_input.json`) - ) -); -// Parsing the destination config JSON from which we will get the destination definitions -// along with if the destination supports router-transformation -const destinationConfig = JSON.parse( - fs.readFileSync( - path.resolve(__dirname, `./data/sanity/destination_config.json`) - ) -); - -// Iterating each of the destinations -integrations.forEach(intg => { - // Getting the transformation object - const transformer = require(`../../src/${version}/destinations/${intg}/transform`); - // Getting the config for this particular destination - const { config } = destinationConfig[`${intg}`]; - // Where the ransformation is done at (processor, router ..) - Object.keys(config).forEach(processAt => { - // Depending on the case - switch (processAt) { - case "processor": - { - // Parsing the expected data for this particular destination - const expectedData = JSON.parse( - fs.readFileSync( - path.resolve(__dirname, `./data/sanity/${intg}_output.json`) - ) - ); - // For each of the messages we are processing using the transformer - processorSanityInput.messages.forEach((message, index) => { - // Building the event object with specified destination-definition - const event = { - message, - destination: config[`${processAt}`] - }; - // Sending the event to transformer and matching the result with expected output - it(`${name} - integration[Processor]: ${intg} payload:${index}`, async () => { - try { - const output = await transformer.process(event); - expect(output).toEqual(expectedData[index]); - } catch (error) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - } - break; - - case "router": - { - // Parsing the expected router output data for this particular destination - const expectedData = JSON.parse( - fs.readFileSync( - path.resolve( - __dirname, - `./data/sanity/${intg}_router_output.json` - ) - ) - ); - // For each of the messages we are processing using the router transformer - routerSanityInputRouter.messages.forEach((message, index) => { - // Building the event object with specified destination-definition - const events = [ - { - message, - metadata: { - jobId: 1 - }, - destination: config[`${processAt}`] - } - ]; - // Sending the event to router transformer of this destinationand matching the result with expected output - it(`${name} - integration(Router): ${intg} payload:${index}`, async () => { - const routerOutput = await transformer.processRouterDest(events); - expect(routerOutput[0]).toEqual(expectedData[index]); - }); - }); - } - break; - default: - throw new Error("Undefined Transform-At Config"); - } - }); -}); diff --git a/test/__tests__/user_transformation_ts.test.ts b/test/__tests__/user_transformation_ts.test.ts index 418c42fe33..971476e513 100644 --- a/test/__tests__/user_transformation_ts.test.ts +++ b/test/__tests__/user_transformation_ts.test.ts @@ -1,5 +1,5 @@ import fetch from 'node-fetch'; -import UserTransformService from '../../src/services/userTransform'; +import { UserTransformService } from '../../src/services/userTransform'; import { FeatureFlags, FEATURE_FILTER_CODE } from '../../src/middlewares/featureFlag'; jest.mock('node-fetch', () => jest.fn()); diff --git a/test/apitests/data_scenarios/source/v1/pipedream.json b/test/apitests/data_scenarios/source/v1/pipedream.json index 4219f3f6b1..1496471066 100644 --- a/test/apitests/data_scenarios/source/v1/pipedream.json +++ b/test/apitests/data_scenarios/source/v1/pipedream.json @@ -46,4 +46,4 @@ } } ] -} \ No newline at end of file +} diff --git a/test/controllerUtility/ctrl-utility.test.ts b/test/controllerUtility/ctrl-utility.test.ts index c3a668d7e7..bf9eef1846 100644 --- a/test/controllerUtility/ctrl-utility.test.ts +++ b/test/controllerUtility/ctrl-utility.test.ts @@ -1,5 +1,5 @@ import { ProcessorTransformationRequest, RouterTransformationRequestData } from '../../src/types'; -import ControllerUtility from '../../src/controllers/util'; +import { ControllerUtility } from '../../src/controllers/util'; type timestampTestCases = { caseName: string; From ff80b885fe0507c137b3c9eacffcef331010da0c Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Tue, 14 Nov 2023 18:33:35 +0530 Subject: [PATCH 98/98] feat(INT-305): onboard gladly destination (#2786) * feat: onboard gladly destination * chore: code review changes * chore: code review changes * chore: code review changes * chore: code review changes * chore: code review changes * chore: code review changes * chore: code review changes * chore: code review changes * fix: package.json changes * chore: added utility tests * chore: added gladly router and processor tests * chore: added gladly rETL tests * fix: sonar code smell * chore: code review changes --- package-lock.json | 131 ++- package.json | 2 +- .../v2/destinations/gladly/procWorkflow.yaml | 88 ++ .../v2/destinations/gladly/rtWorkflow.yaml | 33 + src/cdk/v2/destinations/gladly/utils.js | 175 ++++ src/cdk/v2/destinations/gladly/utils.test.js | 503 +++++++++++ src/cdk/v2/handler.ts | 11 +- src/constants/destinationCanonicalNames.js | 2 +- src/features.json | 1 + src/services/destination/cdkV2Integration.ts | 7 +- .../destinations/gladly/network.ts | 120 +++ .../destinations/gladly/processor/data.ts | 809 ++++++++++++++++++ .../destinations/gladly/router/data.ts | 604 +++++++++++++ 13 files changed, 2456 insertions(+), 30 deletions(-) create mode 100644 src/cdk/v2/destinations/gladly/procWorkflow.yaml create mode 100644 src/cdk/v2/destinations/gladly/rtWorkflow.yaml create mode 100644 src/cdk/v2/destinations/gladly/utils.js create mode 100644 src/cdk/v2/destinations/gladly/utils.test.js create mode 100644 test/integrations/destinations/gladly/network.ts create mode 100644 test/integrations/destinations/gladly/processor/data.ts create mode 100644 test/integrations/destinations/gladly/router/data.ts diff --git a/package-lock.json b/package-lock.json index 28d814c925..4f83954e5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@ndhoule/extend": "^2.0.0", "@pyroscope/nodejs": "^0.2.6", "@rudderstack/integrations-lib": "^0.1.8", - "@rudderstack/workflow-engine": "^0.5.7", + "@rudderstack/workflow-engine": "^0.6.9", "ajv": "^8.12.0", "ajv-draft-04": "^1.0.0", "ajv-formats": "^2.1.1", @@ -6657,13 +6657,45 @@ "tslib": "^2.4.0" } }, - "node_modules/@rudderstack/json-template-engine": { + "node_modules/@rudderstack/integrations-lib/node_modules/@aws-crypto/sha256-js": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-4.0.0.tgz", + "integrity": "sha512-MHGJyjE7TX9aaqXj7zk2ppnFUOhaDs5sP+HtNS0evOxn72c+5njUmyJmpGd7TfyoDznZlHMmdo/xGUdu2NIjNQ==", + "dependencies": { + "@aws-crypto/util": "^4.0.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^1.11.1" + } + }, + "node_modules/@rudderstack/integrations-lib/node_modules/@aws-crypto/sha256-js/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/@rudderstack/integrations-lib/node_modules/@aws-crypto/util": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/util/-/util-4.0.0.tgz", + "integrity": "sha512-2EnmPy2gsFZ6m8bwUQN4jq+IyXV3quHAcwPOS6ZA3k+geujiqI8aRokO2kFJe+idJ/P3v4qWI186rVMo0+zLDQ==", + "dependencies": { + "@aws-sdk/types": "^3.222.0", + "@aws-sdk/util-utf8-browser": "^3.0.0", + "tslib": "^1.11.1" + } + }, + "node_modules/@rudderstack/integrations-lib/node_modules/@aws-crypto/util/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/@rudderstack/integrations-lib/node_modules/@rudderstack/json-template-engine": { "version": "0.5.5", - "license": "MIT" + "resolved": "https://registry.npmjs.org/@rudderstack/json-template-engine/-/json-template-engine-0.5.5.tgz", + "integrity": "sha512-p3HdTqgZiJjjZmjaHN2paa1e87ifGE5UjkA4zdvge4bBzJbKKMQNWqRg6I96SwoA+hsxNkW/f9R83SPLU9t7LA==" }, - "node_modules/@rudderstack/workflow-engine": { - "version": "0.5.7", - "license": "MIT", + "node_modules/@rudderstack/integrations-lib/node_modules/@rudderstack/workflow-engine": { + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/@rudderstack/workflow-engine/-/workflow-engine-0.5.8.tgz", + "integrity": "sha512-H1aCowYqTnOoqJtL9cGDhdhoGNl+KzqmVbSjFmE7n75onZaIMs87+HQyW08jYxS9l1Uo4TL8SAvzFICqFqkBbw==", "dependencies": { "@aws-crypto/sha256-js": "^4.0.0", "@rudderstack/json-template-engine": "^0.5.5", @@ -6673,27 +6705,81 @@ "object-sizeof": "^2.6.3" } }, + "node_modules/@rudderstack/json-template-engine": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/@rudderstack/json-template-engine/-/json-template-engine-0.8.2.tgz", + "integrity": "sha512-9oMBnqgNuwiXd7MUlNOAchCnJXQAy6w6XGmDqDM6iXdYDkvqYFiq7sbg5j4SdtpTTST293hahREr5PXfFVzVKg==" + }, + "node_modules/@rudderstack/workflow-engine": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@rudderstack/workflow-engine/-/workflow-engine-0.6.9.tgz", + "integrity": "sha512-b0ZHURJfCj2REIL/w7AJgJ+K5BGwIVX3sRDZQqN3F4YWcZX3ZYUXo7gtUeb99FLnZzm7KuThIWR02Fxwos+L4Q==", + "dependencies": { + "@aws-crypto/sha256-js": "^5.0.0", + "@rudderstack/json-template-engine": "^0.8.1", + "jsonata": "^2.0.3", + "lodash": "^4.17.21", + "object-sizeof": "^2.6.3", + "yaml": "^2.3.2" + } + }, "node_modules/@rudderstack/workflow-engine/node_modules/@aws-crypto/sha256-js": { - "version": "4.0.0", - "license": "Apache-2.0", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-5.2.0.tgz", + "integrity": "sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==", "dependencies": { - "@aws-crypto/util": "^4.0.0", + "@aws-crypto/util": "^5.2.0", "@aws-sdk/types": "^3.222.0", - "tslib": "^1.11.1" + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=16.0.0" } }, "node_modules/@rudderstack/workflow-engine/node_modules/@aws-crypto/util": { - "version": "4.0.0", - "license": "Apache-2.0", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/util/-/util-5.2.0.tgz", + "integrity": "sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==", "dependencies": { "@aws-sdk/types": "^3.222.0", - "@aws-sdk/util-utf8-browser": "^3.0.0", - "tslib": "^1.11.1" + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" } }, - "node_modules/@rudderstack/workflow-engine/node_modules/tslib": { - "version": "1.14.1", - "license": "0BSD" + "node_modules/@rudderstack/workflow-engine/node_modules/@smithy/is-array-buffer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.0.0.tgz", + "integrity": "sha512-z3PjFjMyZNI98JFRJi/U0nGoLWMSJlDjAW4QUX2WNZLas5C0CmVV6LJ01JI0k90l7FvpmixjWxPFmENSClQ7ug==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@rudderstack/workflow-engine/node_modules/@smithy/util-buffer-from": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.0.0.tgz", + "integrity": "sha512-/YNnLoHsR+4W4Vf2wL5lGv0ksg8Bmk3GEGxn2vEQt52AQaPSCuaO5PM5VM7lP1K9qHRKHwrPGktqVoAHKWHxzw==", + "dependencies": { + "@smithy/is-array-buffer": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@rudderstack/workflow-engine/node_modules/@smithy/util-utf8": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.2.tgz", + "integrity": "sha512-qOiVORSPm6Ce4/Yu6hbSgNHABLP2VMv8QOC3tTDNHHlWY19pPyc++fBTbZPtx6egPXi4HQxKDnMxVxpbtX2GoA==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } }, "node_modules/@sideway/address": { "version": "4.1.4", @@ -19379,8 +19465,9 @@ } }, "node_modules/tslib": { - "version": "2.5.3", - "license": "0BSD" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/tsscmp": { "version": "1.0.6", @@ -19918,9 +20005,9 @@ "license": "ISC" }, "node_modules/yaml": { - "version": "2.3.1", - "dev": true, - "license": "ISC", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", + "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", "engines": { "node": ">= 14" } diff --git a/package.json b/package.json index f8851cc687..8a8b6177bd 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "@ndhoule/extend": "^2.0.0", "@pyroscope/nodejs": "^0.2.6", "@rudderstack/integrations-lib": "^0.1.8", - "@rudderstack/workflow-engine": "^0.5.7", + "@rudderstack/workflow-engine": "^0.6.9", "ajv": "^8.12.0", "ajv-draft-04": "^1.0.0", "ajv-formats": "^2.1.1", diff --git a/src/cdk/v2/destinations/gladly/procWorkflow.yaml b/src/cdk/v2/destinations/gladly/procWorkflow.yaml new file mode 100644 index 0000000000..fe8697bc31 --- /dev/null +++ b/src/cdk/v2/destinations/gladly/procWorkflow.yaml @@ -0,0 +1,88 @@ +bindings: + - name: EventType + path: ../../../../constants + - path: ./utils + exportAll: true + - name: defaultRequestConfig + path: ../../../../v0/util + - name: removeUndefinedAndNullValues + path: ../../../../v0/util + - name: getDestinationExternalID + path: ../../../../v0/util + - name: httpGET + path: ../../../../adapters/network + - name: processAxiosResponse + path: ../../../../adapters/utils/networkUtils + + +steps: + - name: checkIfProcessed + condition: .message.statusCode + template: | + $.batchMode ? .message.body.JSON : .message + onComplete: return + + - name: messageType + template: | + .message.type.toLowerCase() + + - name: validateInput + template: | + let messageType = $.outputs.messageType + $.assert(messageType, "message Type is not present. Aborting") + $.assert(messageType in {{$.EventType.([.IDENTIFY])}}, "message type " + messageType + " is not supported") + $.assertConfig(.destination.Config.apiToken, "API Token is not present. Aborting") + $.assertConfig(.destination.Config.domain, "Gladly domain is not present. Aborting") + $.assertConfig(.destination.Config.userName, "User Name is not present. Aborting") + + - name: preparePayload + template: | + $.context.payload = { + name: .message.traits.name || .message.context.traits.name, + image: .message.traits.avatar || .message.context.traits.avatar, + address: .message.traits.address || .message.context.traits.address + } + $.context.payload.address && typeof $.context.payload.address === "object" ? $.context.payload.address = JSON.stringify($.context.payload.address) + $.context.payload.emails = $.formatField(.message, "email") + $.context.payload.phones = $.formatField(.message, "phone") + $.context.payload.customAttributes = $.getCustomAttributes(.message) + $.context.payload.externalCustomerId = $.getExternalCustomerId(.message) + $.context.payload.id = $.getCustomerId(.message) + $.context.payload = $.removeUndefinedAndNullValues($.context.payload) + + - name: validatePayload + template: | + $.validatePayload($.context.payload) + + - name: findCustomer + description: Find if customer is exist or not based on email, phone or externalCustomerId + condition: $.getQueryParams($.context.payload) !== undefined + template: | + const requestOptions = { + headers: $.getHeaders(.destination) + } + const endpoint = $.getEndpoint(.destination) + "?" + $.getQueryParams($.context.payload); + const rawResponse = await $.httpGET(endpoint,requestOptions) + const processedResponse = $.processAxiosResponse(rawResponse) + processedResponse + + - name: createCustomer + description: Build response for create customer + condition: $.outputs.findCustomer.status === 400 || ($.outputs.findCustomer.status === 200 && $.outputs.findCustomer.response.length === 0) || $.getQueryParams($.context.payload) === undefined + template: | + const response = $.defaultRequestConfig() + response.body.JSON = $.removeUndefinedAndNullValues($.context.payload) + response.endpoint = $.getEndpoint(.destination) + response.method = "POST" + response.headers = $.getHeaders(.destination) + response + else: + name: updateCustomer + description: Build response for update customer + template: | + const response = $.defaultRequestConfig() + response.body.JSON = $.removeUndefinedAndNullValues($.context.payload.{~["id"]}) + response.endpoint = $.getEndpoint(.destination) + "/" + $.outputs.findCustomer.response[0].id + response.method = "PATCH" + response.headers = $.getHeaders(.destination) + response diff --git a/src/cdk/v2/destinations/gladly/rtWorkflow.yaml b/src/cdk/v2/destinations/gladly/rtWorkflow.yaml new file mode 100644 index 0000000000..341e5552c8 --- /dev/null +++ b/src/cdk/v2/destinations/gladly/rtWorkflow.yaml @@ -0,0 +1,33 @@ +bindings: + - name: handleRtTfSingleEventError + path: ../../../../v0/util/index + - path: ./utils + exportAll: true + +steps: + - name: validateInput + template: | + $.assert(Array.isArray(^) && ^.length > 0, "Invalid event array") + + - name: transform + externalWorkflow: + path: ./procWorkflow.yaml + loopOverInput: true + + - name: successfulEvents + template: | + $.outputs.transform#idx.output.({ + "batchedRequest": ., + "batched": false, + "destination": ^[idx].destination, + "metadata": ^[idx].metadata[], + "statusCode": 200 + })[] + - name: failedEvents + template: | + $.outputs.transform#idx.error.( + $.handleRtTfSingleEventError(^[idx], .originalError ?? ., {}) + )[] + - name: finalPayload + template: | + [...$.outputs.successfulEvents, ...$.outputs.failedEvents] \ No newline at end of file diff --git a/src/cdk/v2/destinations/gladly/utils.js b/src/cdk/v2/destinations/gladly/utils.js new file mode 100644 index 0000000000..5abc9b6dd0 --- /dev/null +++ b/src/cdk/v2/destinations/gladly/utils.js @@ -0,0 +1,175 @@ +const get = require('get-value'); +const { InstrumentationError } = require('@rudderstack/integrations-lib'); +const { + base64Convertor, + getDestinationExternalID, +} = require('../../../../v0/util'); +const { MappedToDestinationKey } = require('../../../../constants'); + +const reservedCustomAttributes = [ + 'email', + 'phone', + 'address', + 'name', + 'avatar', + 'firstName', + 'lastName', + 'userId', +]; + +const externalIdKey = 'context.externalId.0.id'; +const identifierTypeKey = 'context.externalId.0.identifierType'; + +const getHeaders = (destination) => { + const { apiToken, userName } = destination.Config; + const credentials = `${userName}:${apiToken}`; + const base64Credentials = base64Convertor(credentials); + return { + 'Content-Type': 'application/json', + Authorization: `Basic ${base64Credentials}`, + }; +}; + +const getEndpoint = (destination) => { + const { domain } = destination.Config; + return `https://${domain}/api/v1/customer-profiles`; +}; + + +const getFieldValue = (field) => { + if (field) { + if (Array.isArray(field)) { + return field.map((item) => ({ original: item })); + } + return [{ original: field }]; + } + return undefined; +} + +const formatFieldForRETl = (message, fieldName) => { + const identifierType = get(message, identifierTypeKey); + if (identifierType && identifierType === fieldName) { + const field = get(message, externalIdKey); + if (field) { + return [{ original: field }]; + } + } + const key = fieldName === 'email' ? 'emails' : 'phones'; + const field = get(message, `traits.${key}`); + return getFieldValue(field); +}; + +const formatFieldForEventStream = (message, fieldName) => { + const field = get(message, `context.traits.${fieldName}`); + return getFieldValue(field); +}; + +const formatField = (message, fieldName) => { + const mappedToDestination = get(message, MappedToDestinationKey); + if (mappedToDestination) { + return formatFieldForRETl(message, fieldName); + } + return formatFieldForEventStream(message, fieldName); + +}; + +const getCustomAttributes = (message) => { + const mappedToDestination = get(message, MappedToDestinationKey); + // for rETL + if (mappedToDestination) { + if (message?.traits?.customAttributes && typeof message.traits.customAttributes === 'object') { + return Object.keys(message.traits.customAttributes).length > 0 ? message.traits.customAttributes : undefined; + } + return undefined; + } + + // for event stream + const customAttributes = message.context?.traits || {}; + reservedCustomAttributes.forEach((customAttribute) => { + if (customAttributes[customAttribute]) { + delete customAttributes[customAttribute]; + } + }); + return Object.keys(customAttributes).length > 0 ? customAttributes : undefined; +}; + +const getExternalCustomerId = (message) => { + const mappedToDestination = get(message, MappedToDestinationKey); + // for rETL + if (mappedToDestination) { + const identifierType = get(message, identifierTypeKey); + if (identifierType === 'externalCustomerId') { + return get(message, externalIdKey); + } + + if (message?.traits?.externalCustomerId) { + return message.traits.externalCustomerId; + } + + return undefined; + } + + // for event stream + return message.userId; +}; + +const getCustomerId = (message) => { + const mappedToDestination = get(message, MappedToDestinationKey); + // for rETL + if (mappedToDestination) { + const identifierType = get(message, identifierTypeKey); + if (identifierType === 'id') { + return get(message, externalIdKey); + } + + if (message?.traits?.id) { + return message.traits.id; + } + + return undefined; + } + + // for event stream + const customerId = getDestinationExternalID(message, 'GladlyCustomerId'); + if (customerId) { + return customerId; + } + + return undefined; +}; + +const validatePayload = (payload) => { + if (!(payload?.phones || payload?.emails || payload?.id || payload?.externalCustomerId)) { + throw new InstrumentationError('One of phone, email, userId or GladlyCustomerId is required for an identify call'); + } +}; + +const getQueryParams = (payload) => { + if (payload.emails && payload.emails.length > 0) { + return `email=${encodeURIComponent(payload.emails[0].original)}` + } + + if (payload.phones && payload.phones.length > 0) { + return `phoneNumber=${encodeURIComponent(payload.phones[0].original)}` + } + + if (payload.externalCustomerId) { + return `externalCustomerId=${encodeURIComponent(payload.externalCustomerId)}` + } + + return undefined; +} + +module.exports = { + getHeaders, + getEndpoint, + formatField, + getFieldValue, + getCustomerId, + getQueryParams, + validatePayload, + formatFieldForRETl, + getCustomAttributes, + getExternalCustomerId, + formatFieldForEventStream +}; diff --git a/src/cdk/v2/destinations/gladly/utils.test.js b/src/cdk/v2/destinations/gladly/utils.test.js new file mode 100644 index 0000000000..116f150448 --- /dev/null +++ b/src/cdk/v2/destinations/gladly/utils.test.js @@ -0,0 +1,503 @@ +const { + getHeaders, + getEndpoint, + formatField, + getCustomerId, + getFieldValue, + getQueryParams, + validatePayload, + formatFieldForRETl, + getCustomAttributes, + getExternalCustomerId, + formatFieldForEventStream, +} = require('./utils'); +const { base64Convertor } = require('../../../../v0/util'); + +describe('Unit test cases for getHeaders function', () => { + it('Should return headers', () => { + const destination = { + Config: { + apiToken: 'token', + userName: 'user', + }, + }; + const expectedHeaders = { + 'Content-Type': 'application/json', + Authorization: `Basic ${base64Convertor('user:token')}`, + }; + + const result = getHeaders(destination); + + expect(result).toEqual(expectedHeaders); + }); +}); + +describe('Unit test cases for getEndpoint function', () => { + it('Should return destination endpoint', () => { + const destination = { + Config: { + domain: 'rudderstack.us-uat.gladly.qa', + }, + }; + const expected = 'https://rudderstack.us-uat.gladly.qa/api/v1/customer-profiles'; + const result = getEndpoint(destination); + expect(result).toBe(expected); + }); +}); + +describe('Unit test cases for getFieldValue function', () => { + it('Should return an array with a single object containing the original value when the input field is a string', () => { + const field = 'rudderlabs1@gmail.com'; + const result = getFieldValue(field); + expect(result).toEqual([{ original: field }]); + }); + + it('should return an array with each element containing the original value when the input field is an array', () => { + const field = ['rudderlabs1@gmail.com', 'rudderlabs2@gmail.com', 'rudderlabs3@gmail.com']; + const result = getFieldValue(field); + expect(result).toEqual([ + { + original: 'rudderlabs1@gmail.com', + }, + { + original: 'rudderlabs2@gmail.com', + }, + { + original: 'rudderlabs3@gmail.com', + }, + ]); + }); + + it('Should return undefined when the input field is null', () => { + const field = null; + const result = getFieldValue(field); + expect(result).toBeUndefined(); + }); + + it('Should return undefined when the input field is undefined', () => { + const field = undefined; + const result = getFieldValue(field); + expect(result).toBeUndefined(); + }); +}); + +describe('Unit test cases for formatFieldForRETl function', () => { + it('should return the object containing the original value when identifierType matches fieldName', () => { + const message = { + context: { + externalId: [ + { + id: 'test@rudderlabs.com', + identifierType: 'email', + }, + ], + }, + traits: { + emails: ['test@rudderlabs.com', 'test@rudderlabshome.com'], + }, + }; + const fieldName = 'email'; + const expected = [{ original: 'test@rudderlabs.com' }]; + + const result = formatFieldForRETl(message, fieldName); + + expect(result).toEqual(expected); + }); + + it('Should retrieve the email value from traits when fieldName does not match with identifierType', () => { + const message = { + context: { + externalId: [ + { + id: '+91 9999999999', + identifierType: 'phone', + }, + ], + }, + traits: { + emails: ['test@rudderlabs.com', 'test@rudderlabshome.com'], + }, + }; + const fieldName = 'email'; + const expected = [{ original: 'test@rudderlabs.com' }, { original: 'test@rudderlabshome.com' }]; + + const result = formatFieldForRETl(message, fieldName); + + expect(result).toEqual(expected); + }); +}); + +describe('Unit test cases for formatFieldForEventStream function', () => { + it('Should return field value when fieldName exist in payload', () => { + const message = { + context: { + traits: { + phone: '+91 9999999999', + }, + }, + }; + const fieldName = 'phone'; + const expected = [{ original: '+91 9999999999' }]; + + const result = formatFieldForEventStream(message, fieldName); + expect(result).toEqual(expected); + }); + + it('Should return undefined when fieldName does not exist in payload', () => { + const message = { + context: { + traits: { + phone: '+91 9999999999', + }, + }, + }; + const fieldName = 'email'; + const result = formatFieldForEventStream(message, fieldName); + expect(result).toBeUndefined(); + }); +}); + +describe('Unit test cases for formatField function', () => { + describe('rETL tests', () => { + it('Should return field value from externalId when identifier type matches with fieldName', () => { + const message = { + context: { + externalId: [ + { + id: '+91 9999999999', + identifierType: 'phone', + }, + ], + mappedToDestination: true, + }, + traits: { + emails: ['test@rudderlabs.com', 'test@rudderlabshome.com'], + }, + }; + const result = formatField(message, 'phone'); + expect(result).toEqual([{ original: '+91 9999999999' }]); + }); + + it('Should return field value from traits when identifier type does not match with fieldName', () => { + const message = { + context: { + externalId: [ + { + id: 'user@1', + identifierType: 'externalCustomerId', + }, + ], + mappedToDestination: true, + }, + traits: { + phones: ['+91 9999999999'], + }, + }; + const result = formatField(message, 'phone'); + expect(result).toEqual([{ original: '+91 9999999999' }]); + }); + }); + + describe('Event stream tests', () => { + it('Should return field value from payload', () => { + const message = { + context: { + traits: { + phone: ['+91 9999999999'], + }, + }, + }; + const result = formatField(message, 'phone'); + expect(result).toEqual([{ original: '+91 9999999999' }]); + }); + }); +}); + +describe('Unit test cases for getCustomAttributes function', () => { + describe('rETL tests', () => { + it('Should return custom attributes from payload', () => { + const message = { + context: { + mappedToDestination: true, + }, + traits: { + customAttributes: { + attribute1: 'value1', + attribute2: 'value2', + }, + }, + }; + const result = getCustomAttributes(message); + expect(result).toEqual({ + attribute1: 'value1', + attribute2: 'value2', + }); + }); + + it('Should return undefined when empty custom attributes object is present in payload', () => { + const message = { + context: { + mappedToDestination: true, + }, + traits: { + customAttributes: {}, + }, + }; + const result = getCustomAttributes(message); + expect(result).toBeUndefined(); + }); + + it('Should return undefined when no custom attributes are present in payload', () => { + const message = { + context: { + mappedToDestination: true, + }, + traits: {}, + }; + const result = getCustomAttributes(message); + expect(result).toBeUndefined(); + }); + }); + + describe('Event stream tests', () => { + it('Should filter traits and return remaining custom attributes from payload', () => { + const message = { + context: { + traits: { + name: 'John Doe', + email: 'john@gmail.com', + age: 65, + source: 'rudderstack', + }, + }, + }; + const result = getCustomAttributes(message); + expect(result).toEqual({ + age: 65, + source: 'rudderstack', + }); + }); + + it('Should return undefined when empty traits object is present in payload', () => { + const message = { + context: { + traits: {}, + }, + }; + const result = getCustomAttributes(message); + expect(result).toBeUndefined(); + }); + + it('Should return undefined when no traits object is present in payload', () => { + const message = { + context: {}, + }; + const result = getCustomAttributes(message); + expect(result).toBeUndefined(); + }); + }); +}); + +describe('Unit test cases for getExternalCustomerId function', () => { + describe('rETL tests', () => { + it('Should return the external ID when the identifier type is "externalCustomerId"', () => { + const message = { + context: { + externalId: [ + { + id: 'externalCustomer@1', + identifierType: 'externalCustomerId', + }, + ], + mappedToDestination: true, + }, + }; + + const result = getExternalCustomerId(message); + expect(result).toBe('externalCustomer@1'); + }); + + it('Should return the external ID from traits when identifier type is not "externalCustomerId"', () => { + const message = { + context: { + externalId: [ + { + id: 'test@rudderlabs.com', + identifierType: 'email', + }, + ], + mappedToDestination: true, + }, + traits: { + externalCustomerId: 'externalCustomer@1', + }, + }; + const result = getExternalCustomerId(message); + expect(result).toBe('externalCustomer@1'); + }); + + it('Should return undefined when external customer id is not present in payload', () => { + const message = { + context: { + mappedToDestination: true, + }, + }; + + const result = getExternalCustomerId(message); + expect(result).toBeUndefined(); + }); + }); + + describe('Event stream tests', () => { + it('Should return the external ID as userId is present in payload', () => { + const message = { + userId: 'externalCustomer@1', + context: {}, + }; + + const result = getExternalCustomerId(message); + expect(result).toBe('externalCustomer@1'); + }); + + it('Should return undefined when userId is not present in payload', () => { + const message = { + context: {}, + }; + + const result = getExternalCustomerId(message); + expect(result).toBeUndefined(); + }); + }); +}); + +describe('Unit test cases for getCustomerId function', () => { + describe('rETL tests', () => { + it('Should return the customerId when the identifier type is "id"', () => { + const message = { + context: { + externalId: [ + { + id: 'user@1', + identifierType: 'id', + }, + ], + mappedToDestination: true, + }, + }; + + const result = getCustomerId(message); + expect(result).toBe('user@1'); + }); + + it('Should return the customerId from traits when identifier type is not "id"', () => { + const message = { + context: { + externalId: [ + { + id: 'test@rudderlabs.com', + identifierType: 'email', + }, + ], + mappedToDestination: true, + }, + traits: { + id: 'user@1', + }, + }; + const result = getCustomerId(message); + expect(result).toBe('user@1'); + }); + + it('Should return undefined when customerId is not present in payload', () => { + const message = { + context: { + mappedToDestination: true, + }, + }; + + const result = getCustomerId(message); + expect(result).toBeUndefined(); + }); + }); + + describe('Event stream tests', () => { + it('Should return the customerId as GladlyCustomerId is present in payload', () => { + const message = { + context: { + externalId: [ + { + id: 'user@1', + type: 'GladlyCustomerId', + }, + ], + }, + }; + const result = getCustomerId(message); + expect(result).toBe('user@1'); + }); + + it('Should return undefined when GladlyCustomerId is not present in payload', () => { + const message = { + context: {}, + }; + const result = getCustomerId(message); + expect(result).toBeUndefined(); + }); + }); +}); + +describe('Unit test cases for validatePayload function', () => { + it('Should throw an error when payload does not have all required fields', () => { + const payload = {}; + try { + validatePayload(payload); + } catch (err) { + expect(err.message).toEqual( + 'One of phone, email, userId or GladlyCustomerId is required for an identify call', + ); + } + }); + + it('Should throw an error when payload is undefined', () => { + const payload = undefined; + try { + validatePayload(payload); + } catch (err) { + expect(err.message).toEqual( + 'One of phone, email, userId or GladlyCustomerId is required for an identify call', + ); + } + }); +}); + +describe('Unit test cases for getQueryParams function', () => { + it('Should return email as query parameter if email is present in payload', () => { + const payload = { + emails: [{ original: 'test@example.com' }], + }; + const result = getQueryParams(payload); + expect(result).toBe('email=test%40example.com'); + }); + + it('Should return phone as query parameter if phone is present in payload', () => { + const payload = { + phones: [{ original: '+91 9999999999' }], + }; + const result = getQueryParams(payload); + expect(result).toBe('phoneNumber=%2B91%209999999999'); + }); + + it('Should return externalCustomerId as query parameter if externalCustomerId is present in payload', () => { + const payload = { + externalCustomerId: 'externalCustomer@1', + }; + const result = getQueryParams(payload); + expect(result).toBe('externalCustomerId=externalCustomer%401'); + }); + + it('should return undefined when no supported query params are present in payload', () => { + const payload = {}; + const result = getQueryParams(payload); + expect(result).toBeUndefined(); + }); +}); diff --git a/src/cdk/v2/handler.ts b/src/cdk/v2/handler.ts index 3058d62e51..47d6d10179 100644 --- a/src/cdk/v2/handler.ts +++ b/src/cdk/v2/handler.ts @@ -64,8 +64,12 @@ export function getCachedWorkflowEngine( return workflowEnginePromiseMap[destName][feature]; } -export async function executeWorkflow(workflowEngine: WorkflowEngine, parsedEvent: FixMe) { - const result = await workflowEngine.execute(parsedEvent); +export async function executeWorkflow( + workflowEngine: WorkflowEngine, + parsedEvent: FixMe, + requestMetadata: NonNullable = {}, +) { + const result = await workflowEngine.execute(parsedEvent, { requestMetadata }); // TODO: Handle remaining output scenarios return result.output; } @@ -74,11 +78,12 @@ export async function processCdkV2Workflow( destType: string, parsedEvent: FixMe, feature: string, + requestMetadata: NonNullable = {}, bindings: Record = {}, ) { try { const workflowEngine = await getCachedWorkflowEngine(destType, feature, bindings); - return await executeWorkflow(workflowEngine, parsedEvent); + return await executeWorkflow(workflowEngine, parsedEvent, requestMetadata); } catch (error) { throw getErrorInfo(error, isCdkV2Destination(parsedEvent), defTags); } diff --git a/src/constants/destinationCanonicalNames.js b/src/constants/destinationCanonicalNames.js index d1e199c9e2..48e7c6d8bb 100644 --- a/src/constants/destinationCanonicalNames.js +++ b/src/constants/destinationCanonicalNames.js @@ -140,7 +140,7 @@ const DestCanonicalNames = { 'twitter_ads', 'TWITTER_ADS', ], - BRAZE: ['BRAZE', 'Braze', 'braze'], + BRAZE: ['BRAZE', 'Braze', 'braze'] }; module.exports = { DestHandlerMap, DestCanonicalNames }; diff --git a/src/features.json b/src/features.json index 27da6cfaf2..224968c99b 100644 --- a/src/features.json +++ b/src/features.json @@ -60,6 +60,7 @@ "TWITTER_ADS": true, "CLEVERTAP": true, "ORTTO": true, + "GLADLY": true, "ONE_SIGNAL": true, "TIKTOK_AUDIENCE": true }, diff --git a/src/services/destination/cdkV2Integration.ts b/src/services/destination/cdkV2Integration.ts index e333d4544e..f3be2c0144 100644 --- a/src/services/destination/cdkV2Integration.ts +++ b/src/services/destination/cdkV2Integration.ts @@ -52,7 +52,7 @@ export class CDKV2DestinationService implements DestinationService { events: ProcessorTransformationRequest[], destinationType: string, _version: string, - _requestMetadata: NonNullable, + requestMetadata: NonNullable, ): Promise { // TODO: Change the promise type const respList: ProcessorTransformationResponse[][] = await Promise.all( @@ -64,6 +64,7 @@ export class CDKV2DestinationService implements DestinationService { destinationType, event, tags.FEATURES.PROCESSOR, + requestMetadata ); stats.increment('event_transform_success', { @@ -108,7 +109,7 @@ export class CDKV2DestinationService implements DestinationService { events: RouterTransformationRequestData[], destinationType: string, _version: string, - _requestMetadata: NonNullable, + requestMetadata: NonNullable, ): Promise { const allDestEvents: object = groupBy( events, @@ -126,7 +127,7 @@ export class CDKV2DestinationService implements DestinationService { metaTo.metadata = destInputArray[0].metadata; try { const doRouterTransformationResponse: RouterTransformationResponse[] = - await processCdkV2Workflow(destinationType, destInputArray, tags.FEATURES.ROUTER); + await processCdkV2Workflow(destinationType, destInputArray, tags.FEATURES.ROUTER, requestMetadata); return DestinationPostTransformationService.handleRouterTransformSuccessEvents( doRouterTransformationResponse, undefined, diff --git a/test/integrations/destinations/gladly/network.ts b/test/integrations/destinations/gladly/network.ts new file mode 100644 index 0000000000..8c1c228738 --- /dev/null +++ b/test/integrations/destinations/gladly/network.ts @@ -0,0 +1,120 @@ +const deleteNwData = [ + { + httpReq: { + method: 'get', + url: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles?email=test%40rudderlabs.com', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + }, + }, + httpRes: { + data: [], + status: 200, + }, + }, + { + httpReq: { + method: 'get', + url: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles?email=test%2B2%40rudderlabs.com', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + }, + }, + httpRes: { + data: [ + { + emails: [ + { + normalized: 'test+2@rudderstack.com', + original: 'test+2@rudderlabs.com', + }, + ], + externalCustomerId: 'externalCustomer@2', + name: 'Test Rudderstack', + phones: [], + id: 'user@2', + }, + ], + status: 200, + }, + }, + { + httpReq: { + method: 'get', + url: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles?phoneNumber=%2B91%209999999988', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + }, + }, + httpRes: { + data: [ + { + emails: [ + { + normalized: 'test+3@rudderstack.com', + original: 'test+3@rudderlabs.com', + }, + ], + externalCustomerId: 'externalCustomer@3', + name: 'Test Rudderstack', + phones: [], + id: 'user@3', + }, + { + emails: [ + { + normalized: 'test+4@rudderstack.com', + original: 'test+4@rudderlabs.com', + }, + ], + externalCustomerId: 'externalCustomer@4', + name: 'Test Rudderstack', + phones: [], + id: 'user@4', + }, + ], + status: 200, + }, + }, + { + httpReq: { + method: 'get', + url: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles?email=test6%40rudderlabs.com', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + }, + }, + httpRes: { + data: [], + status: 200, + }, + }, + { + httpReq: { + method: 'get', + url: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles?email=abc', + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + }, + }, + httpRes: { + data: { + errors: [ + { + attr: 'email', + code: 'invalid', + detail: 'invalid email address', + }, + ], + }, + status: 400, + }, + }, +]; + +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/gladly/processor/data.ts b/test/integrations/destinations/gladly/processor/data.ts new file mode 100644 index 0000000000..211fa78134 --- /dev/null +++ b/test/integrations/destinations/gladly/processor/data.ts @@ -0,0 +1,809 @@ +export const data = [ + { + name: 'gladly', + description: 'No message type', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user@1', + channel: 'web', + context: { + traits: { + age: 23, + email: 'adc@test.com', + firstName: 'Test', + }, + }, + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.757+05:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 1, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 1, + }, + statusCode: 400, + error: + 'message Type is not present. Aborting: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message Type is not present. Aborting', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'GLADLY', + module: 'destination', + implementation: 'cdkV2', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'gladly', + description: 'Unsupported message type', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user@1', + channel: 'web', + context: { + traits: { + age: 23, + email: 'adc@test.com', + firstName: 'Test', + }, + }, + event: 'Product Viewed', + type: 'track', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.757+05:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 2, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 2, + }, + statusCode: 400, + error: + 'message type track is not supported: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: message type track is not supported', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'GLADLY', + module: 'destination', + implementation: 'cdkV2', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'gladly', + description: 'Missing config', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'user@1', + channel: 'web', + context: { + traits: { + age: 23, + email: 'adc@test.com', + firstName: 'Test', + }, + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.757+05:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 3, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 3, + }, + statusCode: 400, + error: + 'User Name is not present. Aborting: Workflow: procWorkflow, Step: validateInput, ChildStep: undefined, OriginalError: User Name is not present. Aborting', + statTags: { + errorCategory: 'dataValidation', + errorType: 'configuration', + destType: 'GLADLY', + module: 'destination', + implementation: 'cdkV2', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'gladly', + description: 'Create customer with email as lookup field', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'externalCustomer@1', + channel: 'web', + context: { + traits: { + age: 23, + email: 'test@rudderlabs.com', + phone: '+91 9999999999', + firstName: 'Test', + lastName: 'Rudderlabs', + address: 'california usa', + }, + externalId: [ + { + id: 'user@1', + type: 'GladlyCustomerId', + }, + ], + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.757+05:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 4, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + JSON: { + address: 'california usa', + customAttributes: { age: 23 }, + emails: [{ original: 'test@rudderlabs.com' }], + externalCustomerId: 'externalCustomer@1', + id: 'user@1', + phones: [{ original: '+91 9999999999' }], + }, + XML: {}, + FORM: {}, + JSON_ARRAY: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles', + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + userId: '', + version: '1', + type: 'REST', + method: 'POST', + files: {}, + params: {}, + }, + metadata: { jobId: 4 }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'gladly', + description: 'Update customer with email as lookup field', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'externalCustomer@2', + channel: 'web', + context: { + traits: { + age: 23, + email: 'test+2@rudderlabs.com', + phone: '+91 9999999998', + firstName: 'Test', + lastName: 'Rudderstack', + address: 'New York, USA', + }, + externalId: [ + { + id: 'user@2', + type: 'GladlyCustomerId', + }, + ], + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.757+05:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 5, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + JSON: { + address: 'New York, USA', + customAttributes: { age: 23 }, + emails: [{ original: 'test+2@rudderlabs.com' }], + externalCustomerId: 'externalCustomer@2', + phones: [{ original: '+91 9999999998' }], + }, + XML: {}, + FORM: {}, + JSON_ARRAY: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles/user@2', + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + userId: '', + version: '1', + type: 'REST', + method: 'PATCH', + files: {}, + params: {}, + }, + metadata: { jobId: 5 }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'gladly', + description: 'Update customer with phone as lookup field', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'externalCustomer@3', + channel: 'web', + context: { + traits: { + phone: '+91 9999999988', + firstName: 'Test', + lastName: 'Rudderstack', + address: 'New York, USA', + }, + externalId: [ + { + id: 'user@3', + type: 'GladlyCustomerId', + }, + ], + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.757+05:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 6, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + JSON: { + address: 'New York, USA', + externalCustomerId: 'externalCustomer@3', + phones: [{ original: '+91 9999999988' }], + }, + XML: {}, + FORM: {}, + JSON_ARRAY: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles/user@3', + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + userId: '', + version: '1', + type: 'REST', + method: 'PATCH', + files: {}, + params: {}, + }, + metadata: { jobId: 6 }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'gladly', + description: 'Required values are not present in payload to create or update customer', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'Test', + lastName: 'Rudderstack', + address: 'New York, USA', + }, + }, + type: 'identify', + anonymousId: '78c53c15-32a1-4b65-adac-bec2d7bb8fab', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.757+05:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 7, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { + jobId: 7, + }, + statusCode: 400, + error: + 'One of phone, email, userId or GladlyCustomerId is required for an identify call: Workflow: procWorkflow, Step: validatePayload, ChildStep: undefined, OriginalError: One of phone, email, userId or GladlyCustomerId is required for an identify call', + statTags: { + errorCategory: 'dataValidation', + errorType: 'instrumentation', + destType: 'GLADLY', + module: 'destination', + implementation: 'cdkV2', + feature: 'processor', + }, + }, + ], + }, + }, + }, + { + name: 'gladly', + description: 'Multiple emails and phones are present in payload', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + userId: 'externalCustomer@6', + channel: 'web', + context: { + traits: { + age: 23, + email: [ + 'test6@rudderlabs.com', + 'test6home@rudderlabs.com', + 'test6office@rudderlabs.com', + ], + phone: ['+91 8888888888', '+91 8888888889'], + firstName: 'Test', + lastName: 'Rudderlabs', + address: 'Germany', + }, + externalId: [ + { + id: 'user@6', + type: 'GladlyCustomerId', + }, + ], + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.757+05:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 8, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + JSON: { + address: 'Germany', + customAttributes: { age: 23 }, + emails: [ + { original: 'test6@rudderlabs.com' }, + { original: 'test6home@rudderlabs.com' }, + { original: 'test6office@rudderlabs.com' }, + ], + externalCustomerId: 'externalCustomer@6', + id: 'user@6', + phones: [{ original: '+91 8888888888' }, { original: '+91 8888888889' }], + }, + XML: {}, + FORM: {}, + JSON_ARRAY: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles', + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + userId: '', + version: '1', + type: 'REST', + method: 'POST', + files: {}, + params: {}, + }, + metadata: { jobId: 8 }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'gladly', + description: 'Create customer with only GladlyCustomerId', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'Test', + lastName: 'Undefined', + address: 'India', + isProUser: true, + }, + externalId: [ + { + id: 'user@9', + type: 'GladlyCustomerId', + }, + ], + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.757+05:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 9, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + JSON: { + address: 'India', + customAttributes: { isProUser: true }, + id: 'user@9', + }, + XML: {}, + FORM: {}, + JSON_ARRAY: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles', + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + userId: '', + version: '1', + type: 'REST', + method: 'POST', + files: {}, + params: {}, + }, + metadata: { jobId: 9 }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'gladly', + description: 'Create customer with invalid lookup field value', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + channel: 'web', + context: { + traits: { + firstName: 'Test', + lastName: 'Undefined', + address: 'Pakistan', + email: 'abc', + }, + externalId: [ + { + id: 'user@10', + type: 'GladlyCustomerId', + }, + ], + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.757+05:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 10, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + output: { + body: { + JSON: { + address: 'Pakistan', + emails: [{original: 'abc'}], + id: 'user@10', + }, + XML: {}, + FORM: {}, + JSON_ARRAY: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles', + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + userId: '', + version: '1', + type: 'REST', + method: 'POST', + files: {}, + params: {}, + }, + metadata: { jobId: 10 }, + statusCode: 200, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/gladly/router/data.ts b/test/integrations/destinations/gladly/router/data.ts new file mode 100644 index 0000000000..d3339d8108 --- /dev/null +++ b/test/integrations/destinations/gladly/router/data.ts @@ -0,0 +1,604 @@ +export const data = [ + { + name: 'gladly', + description: 'Gladly router tests', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + userId: 'externalCustomer@1', + channel: 'web', + context: { + traits: { + age: 23, + email: 'test@rudderlabs.com', + phone: '+91 9999999999', + firstName: 'Test', + lastName: 'Rudderlabs', + address: 'california usa', + }, + externalId: [ + { + id: 'user@1', + type: 'GladlyCustomerId', + }, + ], + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.75705:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 1, + }, + }, + { + message: { + userId: 'externalCustomer@2', + channel: 'web', + context: { + traits: { + age: 23, + email: 'test+2@rudderlabs.com', + phone: '+91 9999999998', + firstName: 'Test', + lastName: 'Rudderstack', + address: 'New York, USA', + }, + externalId: [ + { + id: 'user@2', + type: 'GladlyCustomerId', + }, + ], + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.75705:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 2, + }, + }, + { + message: { + userId: 'externalCustomer@3', + channel: 'web', + context: { + traits: { + phone: '+91 9999999988', + firstName: 'Test', + lastName: 'Rudderstack', + address: 'New York, USA', + }, + externalId: [ + { + id: 'user@3', + type: 'GladlyCustomerId', + }, + ], + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.75705:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 3, + }, + }, + ], + destType: 'gladly', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: { + body: { + FORM: {}, + JSON: { + address: 'california usa', + customAttributes: { + age: 23, + }, + emails: [ + { + original: 'test@rudderlabs.com', + }, + ], + externalCustomerId: 'externalCustomer@1', + id: 'user@1', + phones: [ + { + original: '+91 9999999999', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles', + files: {}, + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + method: 'POST', + params: {}, + type: 'REST', + version: '1', + }, + destination: { + Config: { + apiToken: 'testApiToken', + domain: 'rudderlabs.us-uat.gladly.qa', + userName: 'testUserName', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + metadata: [ + { + jobId: 1, + }, + ], + statusCode: 200, + }, + { + batched: false, + batchedRequest: { + body: { + FORM: {}, + JSON: { + address: 'New York, USA', + customAttributes: { + age: 23, + }, + emails: [ + { + original: 'test+2@rudderlabs.com', + }, + ], + externalCustomerId: 'externalCustomer@2', + phones: [ + { + original: '+91 9999999998', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles/user@2', + files: {}, + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + method: 'PATCH', + params: {}, + type: 'REST', + version: '1', + }, + destination: { + Config: { + apiToken: 'testApiToken', + domain: 'rudderlabs.us-uat.gladly.qa', + userName: 'testUserName', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + metadata: [ + { + jobId: 2, + }, + ], + statusCode: 200, + }, + { + batched: false, + batchedRequest: { + body: { + FORM: {}, + JSON: { + address: 'New York, USA', + externalCustomerId: 'externalCustomer@3', + phones: [ + { + original: '+91 9999999988', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles/user@3', + files: {}, + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + method: 'PATCH', + params: {}, + type: 'REST', + version: '1', + }, + destination: { + Config: { + apiToken: 'testApiToken', + domain: 'rudderlabs.us-uat.gladly.qa', + userName: 'testUserName', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + metadata: [ + { + jobId: 3, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, + { + name: 'gladly', + description: 'Gladly rETL tests', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + userId: 'externalCustomer@1', + channel: 'web', + context: { + externalId: [ + { + id: 'externalCustomer@1', + identifierType: 'externalCustomerId', + }, + ], + mappedToDestination: true + }, + traits: { + id: 'user@1', + emails: ['test@rudderlabs.com'], + phones: ['+91 9999999999'], + firstName: 'Test', + lastName: 'Rudderlabs', + address: 'california usa', + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.75705:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 1, + }, + }, + { + message: { + userId: 'externalCustomer@2', + channel: 'web', + context: { + externalId: [ + { + id: 'externalCustomer@2', + identifierType: 'externalCustomerId', + }, + ], + mappedToDestination: true, + }, + traits: { + id: 'user@2', + emails: 'test+2@rudderlabs.com', + phones: '+91 9999999998', + firstName: 'Test', + lastName: 'Rudderstack', + address: 'New York, USA', + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.75705:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 2, + }, + }, + { + message: { + userId: 'externalCustomer@3', + channel: 'web', + context: { + externalId: [ + { + id: 'externalCustomer@3', + identifierType: 'externalCustomerId', + }, + ], + mappedToDestination: true, + }, + traits: { + id: 'user@3', + phones: '+91 9999999988', + firstName: 'Test', + lastName: 'Rudderstack', + address: 'New York, USA', + }, + type: 'identify', + originalTimestamp: '2023-11-10T14:42:44.724Z', + timestamp: '2023-11-22T10:12:44.75705:30', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + apiToken: 'testApiToken', + userName: 'testUserName', + domain: 'rudderlabs.us-uat.gladly.qa', + }, + }, + metadata: { + jobId: 3, + }, + }, + ], + destType: 'gladly', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: { + body: { + FORM: {}, + JSON: { + address: 'california usa', + emails: [ + { + original: 'test@rudderlabs.com', + }, + ], + externalCustomerId: 'externalCustomer@1', + id: 'user@1', + phones: [ + { + original: '+91 9999999999', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles', + files: {}, + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + method: 'POST', + params: {}, + type: 'REST', + version: '1', + }, + destination: { + Config: { + apiToken: 'testApiToken', + domain: 'rudderlabs.us-uat.gladly.qa', + userName: 'testUserName', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + metadata: [ + { + jobId: 1, + }, + ], + statusCode: 200, + }, + { + batched: false, + batchedRequest: { + body: { + FORM: {}, + JSON: { + address: 'New York, USA', + emails: [ + { + original: 'test+2@rudderlabs.com', + }, + ], + externalCustomerId: 'externalCustomer@2', + phones: [ + { + original: '+91 9999999998', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles/user@2', + files: {}, + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + method: 'PATCH', + params: {}, + type: 'REST', + version: '1', + }, + destination: { + Config: { + apiToken: 'testApiToken', + domain: 'rudderlabs.us-uat.gladly.qa', + userName: 'testUserName', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + metadata: [ + { + jobId: 2, + }, + ], + statusCode: 200, + }, + { + batched: false, + batchedRequest: { + body: { + FORM: {}, + JSON: { + address: 'New York, USA', + externalCustomerId: 'externalCustomer@3', + phones: [ + { + original: '+91 9999999988', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://rudderlabs.us-uat.gladly.qa/api/v1/customer-profiles/user@3', + files: {}, + headers: { + Authorization: 'Basic dGVzdFVzZXJOYW1lOnRlc3RBcGlUb2tlbg==', + 'Content-Type': 'application/json', + }, + method: 'PATCH', + params: {}, + type: 'REST', + version: '1', + }, + destination: { + Config: { + apiToken: 'testApiToken', + domain: 'rudderlabs.us-uat.gladly.qa', + userName: 'testUserName', + }, + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + }, + metadata: [ + { + jobId: 3, + }, + ], + statusCode: 200, + }, + ], + }, + }, + }, + }, +];